VLAN
bmauro
Member Posts: 307
in CCNA & CCENT
First question...
For vlan creation on the test are we to use the older "vlan database" command or just the global config vlan command.
At work I get
#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.
Which is due to the new IOS its running I'm guessing. Does the test still use 12.2 as the IOS?
I'm planning on upgrading the IOS on all my switches and routers - where can i look to see what version I should be running?
Currently I have:
2507
2611
2621
2950
3550
I'm heading over to cisco.com to see if I can find the info - but if anyone knows off the top of their head any help would be appreciated.
For vlan creation on the test are we to use the older "vlan database" command or just the global config vlan command.
At work I get
#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.
Which is due to the new IOS its running I'm guessing. Does the test still use 12.2 as the IOS?
I'm planning on upgrading the IOS on all my switches and routers - where can i look to see what version I should be running?
Currently I have:
2507
2611
2621
2950
3550
I'm heading over to cisco.com to see if I can find the info - but if anyone knows off the top of their head any help would be appreciated.
Comments
-
agustinchernitsky Member Posts: 299Hello,
Well... if they don't tell you what SW you are using, you can always try. I would use the VLAN N command.
I took the test recently but there weren't any sims on that. -
EdTheLad Member Posts: 2,111 ■■■■□□□□□□I think you should know both methods, but when implementing use the newer vlan x method as its quicker and easier.I would have said forget about vlan database altogether but to my suprise in the CIT i had a question involving vlan database.Networking, sometimes i love it, mostly i hate it.Its all about the $$$$
-
wildfire Member Posts: 654And.. IF you use something like a 2811 with the 16ESW module it only supports the Vlan database and not the new VLAN int conf t. and this is running 12.4! MAKE UP YOUR MIND CISCO!!!
So as ED says know both!! I use the Vlan database mode to be honestLooking for CCIE lab study partnerts, in the UK or Online. -
darkuser Member Posts: 620 ■■■□□□□□□□know both ......
but i believe vlan database is depricated ....rm -rf / -
bmauro Member Posts: 307Thanks guys.
I looked everywhere for the IOS version that is used on the CCNA, but I came up emtpy handed - anyone know that one? -
steve-o87 Member Posts: 274bmauro wrote:I'm planning on upgrading the IOS on all my switches and routers - where can i look to see what version I should be running?
You can have a look at Cisco Feature Navigator to see what IOS version offers what. It's a great tool
Im in agreement with everyone else - Know Both! It cant hurtI am the lizard King. I can do anything. -
bmauro Member Posts: 307Steve - thanks for the link - that will come in handy.
OK - so I'll just keep both commands in mind - no big deal.
Now I ran into another question.
When you are adding interfaces to a vlan the book and cisco's site instruct you to:
Switch-A#conf t
Switch-A#int Fa0/1
Switch-A#swtichport mode access
Switch-A#switchport access vlan 2
Isn't that the same as:
Switch-A#conf t
Switch-A#int Fa0/1
Switch-A#switchport access vlan 2
Wouldnt the "switchport access vlan 2" define the interface as an access port already - which would mean you wouldn't need the "switchport mode access" command? I know its no big deal and I'll do it the Cisco way for the test, I just like to understand WHY things work the way they do.
Thanks again! -
bmauro Member Posts: 307I think I figured my question out - it looks like without that first
switchport mode access
that the port will still be set to negotiate for trunking.
Confirm - deny? Anything else? -
darkuser Member Posts: 620 ■■■□□□□□□□you are correct
use this command to see what everything is set for ....
archive-network#sh int gigabitEthernet 1/0/1 switchport
Name: Gi1/0/1
Switchport: Enabled
Administrative Mode: static access
Operational Mode: static access
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: Off
Access Mode VLAN: 10 (VLAN0010)
Trunking Native Mode VLAN: 1 (default)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none
archive-network#rm -rf / -
darkuser Member Posts: 620 ■■■□□□□□□□and to see the port config ....
archive-network#sh run in gigabitEthernet 1/0/1
Building configuration...
Current configuration : 137 bytes
!
interface GigabitEthernet1/0/1
switchport access vlan 10
switchport mode access
duplex full
speed 100
spanning-tree portfast
endrm -rf / -
wildfire Member Posts: 654but i believe vlan database is depricated ....
this is true. you may hit an area in your testing/real world where vlan database is not an option
Except the 2811 with ESW! Vlan database is the only option.
Cisco said they would support IOS 10.0 commands such as write mem and write erase, but I still use them on 12.4.Looking for CCIE lab study partnerts, in the UK or Online.