Book now with code EOY2025
p1xels wrote: » Hi Jon and Wolfman, Thank You but the answers dont work in my case. Firstly Wolfman I am trying to put it up and not shut the Vlan down! I said that I wanted to put the VLan up up along with the native vlan in the "up" state. like Vlan 1 - up up vlan 20 - up up And Jon I did exctly that what you said here before i posted this question here . These were my commands - 2950>en >conf t >int vlan 20 >ip address 10.0.0.1 255.255.255.248 > no shutdown >end(or ^Z)Then from enable mode I ran "show ip int brief" which showed both vlan 1 and vlan 20 in down state, but vlan showed "administratively down" ,whereas vlan 20 was just "down down" And I want to make both vlan 1 (native) and vlan 20 "up up " . Is that possible? Also, I tried running the command " delete flash:vlan.dat" but still I couldn't delete the vlan 20!! 2) Neither of you answered my 2nd question as to what is so special about Ad mode in 2960 being in "Dynamic Auto" which according to Packet Tracer is also there in other 2950 switch?
Also, I tried running the command " delete flash:vlan.dat" but still I couldn't delete the vlan 20!!
#vlan 2 #exit #interface f0/1 #switchport access vlan 2 (If you use this command, using the #vlan 2 command won't be needed)
Why do you say these that "switchport access vlan 2" won't be needed if we already use the #vlan2 command??And why do you use the #vlan 2 command when you have already created the vlan 2 by using these commands -
Jon_Cisco wrote: » OfWolfAndMan gave you some great feedback. For the record I did not ignore your entire question. I simply believe it's better to give a few ideas and work through the process. This allows everyone to learn from to posts on the forms. So you will notice my answers are always a little vague rather then just stating what I think might be wrong. Great observations so far!
p1xels wrote: » I still have some questions - Why do you say these that "switchport access vlan 2" won't be needed if we already use the #vlan2 command??And why do you use the #vlan 2 command when you have already created the vlan 2 by using these commands -#conf t #interface vlan 2 #ip address 192.168.32.1 255.255.255.240 #no shutAnd strangely untill you issue the commands #vlan 2 , the SVI vlan 2 is not up! Why should that be when I have already created the vlan with the interface vlan command? Can any of you please explain that?I also dont understand that why will you use "switchport mode trunk" command at the end of these commands -#interface f0/1 #switchport access vlan 2 (If you use this command, using the #vlan 2 command won't be needed)#no shutdown #switchport mode [access | trunk] if you already create port fa0/1 as an access-port for vlan 2?? Another thing I like to point out regarding your advice to reload after deleting vlan.dat I already tried that in the morning but nothing changed in the configuration ! When I ran the "show ip int brief" command all the vlans i created were up and showing! How is that possible then? Another bug of Packet tracer? Lastly, why would you need the #switchport trunk native vlan 2 command on the trunk, when you can create the trunk by just using #switchport mode trunk command?
On the contray if you use "switchport trunk vlan 2" on fe0/20 your telling this port that is going to used as a trunk port or uplink to another switch
OfWolfAndMan wrote: » R1(config)#interface f0/0 #ip address 192.168.32.2 255.255.255.240 #no shutdownNext, you configure the router to provide a subnet for each vlan and specify the vlan.#interface f0/0.3 #encapsulation dot1q 3 #ip address 192.168.33.1 255.255.255.0 #interface f0/0.4 #encapsulation dot1q 4 #ip address 192.168.34.1 255.255.255.0
I've never seen this where you would apply an IP address on the physical interface when using sub-interfaces. TBH, I don't have working experience with router on a stick; only seen it in books and labs.
Should the switch set its native vlan to 2 in this setup? The switch will be tagging its vlan across the trunk, I don't know what will happen if it doesn't find the equivalent dot1q interface on the router.
OfWolfAndMan wrote: » Actually it doesn't have to be connected to a switch. A user could get access from a trunk port, but it would be a massive security hole on a corporate network as they could sniff all trafficif they were to pose as a rogue switch. In addition, switch trunk vlan 2 is not the legal command. switchport trunk native vlan 2 would be the appropriate command.
OfWolfAndMan wrote: » How's the command line with the Dell switches? Virtualization I'd my next interest outside of routing and switching. Hoping my next job provides me a little insight into it. I would start the certs, but busy studying for the CCNP and about to start up with WGU
OfWolfAndMan wrote: » You're right. It'd be #encapsulation dot1q 2 and the ip address on a subinterface. Disregard what I said before. I was kinda in a rush typing. The switch's native vlan does not have to be the switch's primary SVI for the switch. For security purposes in a corporate network, , you'd want to set it something not being used by the users or switches i.e. native vlan 403. The native vlan has nothing to do with the vlans on the switch. Because the native vlan is untagged when it crosses a trunk, it can communicate with all vlans (Which is a bad thing if you configure a user as the native vlan). I HAVE seen switches trunked to each other that have different native vlans on each side before. Will things still operate properly? Yes, but with the exception of causing spanning tree loops and potentially allowing vlan hopping. This is not an NA topic so just stick to making sure the native vlan is identical on each side of the link. Example:https://kb.meraki.com/knowledge_base/best-practices-for-8021q-vlan-tagging
Use code EOY2025 to receive $250 off your 2025 certification boot camp!