Configuring Vlans, use VLAN database?

nmilotnmilot Member Posts: 22 ■□□□□□□□□□
If I come across a sim where I need to create a vlan. Should I be doing it through the vlan database or not?

Thanks

Comments

  • EricOEricO Member Posts: 94 ■■■□□□□□□□
    In practice I always create them with the "interface vlan x", but the exams want you to do it within a database. It's just the way they want it done.
  • keenonkeenon Member Posts: 1,922 ■■■■□□□□□□
    if you just creating a vlan do it in vlan database as good practice. normally if your switch is in vtp server or transparent mode you can just put the switchport to access that certain vlan if not in the database it will create it if in the 1-1005 range.. anything over that will require the switch being in transparent mode.
    Become the stainless steel sharp knife in a drawer full of rusty spoons
  • kplabkplab Member Posts: 101
    You can create a VLAN through the VLAN database mode or the config-vlan mode:

    VLAN database mode:
    Switch#vlan database
    Switch(vlan)#vlan <vlan id> name <vlan name>
    Switch(vlan)#exit

    Config-vlan mode:
    Switch(config)#vlan <vlan id>
    Switch(config-vlan)#name <vlan name>
    Switch(config-vlan)#exit

    It should be noted that the VLAN database mode is being deprecated. Therefore, the config-vlan mode should be used instead of the VLAN database mode. However, for the exam, you need to know both methods.
    KPLAB
    www.kp-lab.com - Free CCNA, CCNP, and Network+ Study Guides
Sign In or Register to comment.