Configuring Vlans, use VLAN database?
nmilot
Member Posts: 22 ■□□□□□□□□□
in CCNA & CCENT
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
Thanks
Comments
-
EricO 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.
-
keenon 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
-
kplab Member Posts: 101You 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