Using VLAN Database Mode

CAUTION: The VLAN database mode has been deprecated and will be removed in some future Cisco IOS Software release. It is recommended to use only VLAN configuration mode.

Switch#vlan database

Enters VLAN database mode.

Switch(vlan)#vlan 4 name Sales

Creates VLAN 4 and names it Sales. The length of the name can be from 1 to 32 characters.

Switch(vlan)#vlan 10

Creates VLAN 10 and gives it a name of VLAN0010 as a default.

Switch(vlan)#apply

Applies changes to the VLAN database and increases the revision number by 1.

Switch(vlan)#exit

Applies changes to the VLAN database, increases the revision number by 1, and exits VLAN database mode.

Switch#

NOTE: You must apply the changes to the VLAN database for the changes to take effect. You must use either the apply command or the exit command to do so. Using the command to exit out of the VLAN database does not work in this mode because it aborts all changes made to the VLAN database—you must either use exit or apply and then the exit command.

Was this article helpful?

0 0

Post a comment