VLAN

bmaurobmauro Member Posts: 307
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. :D

Comments

  • agustinchernitskyagustinchernitsky Member Posts: 299
    Hello,

    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.
  • EdTheLadEdTheLad 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 $$$$
  • wildfirewildfire Member Posts: 654
    And.. 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 honest
    Looking for CCIE lab study partnerts, in the UK or Online.
  • darkuserdarkuser Member Posts: 620 ■■■□□□□□□□
    know both ......

    but i believe vlan database is depricated ....
    rm -rf /
  • bmaurobmauro Member Posts: 307
    Thanks 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-o87steve-o87 Member Posts: 274
    bmauro 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 icon_mrgreen.gif

    Im in agreement with everyone else - Know Both! It cant hurt :D
    I am the lizard King. I can do anything.
  • bmaurobmauro Member Posts: 307
    Steve - 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!
  • bmaurobmauro Member Posts: 307
    I 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? :D
  • darkuserdarkuser 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 /
  • darkuserdarkuser 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
    end
    rm -rf /
  • keenonkeenon Member Posts: 1,922 ■■■■□□□□□□
    darkuser wrote:
    know both ......

    but 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
    Become the stainless steel sharp knife in a drawer full of rusty spoons
  • wildfirewildfire Member Posts: 654
    but 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. icon_confused.gif

    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.
Sign In or Register to comment.