Creating a VLAN in Global Config Mode
VLANs must be created before they may be used. VLANs may be created in
global configuration mode or in VLAN database mode. Creating VLANs in
global configuration is easy—just identify the VLAN number and name it!
(config)#vlan 12
(config-vlan)#name MYVLAN
Creating a VLAN in Database Mode
Creating a VLAN in VLAN database mode is very similar to global configuration.
There are no advantages to either method. Either method creates an
entry in a VLAN.DAT file. Remember that copying the configuration, by
itself, does not move the VLAN information! To do that you must move the
VLAN.DAT file.
#vlan database
(vlan)#vlan 12 name MYVLAN
Delete a VLAN by using the same command with no in front of it. There is
no need to include the name when deleting.