
Virtual Local Area Network (VLAN) Commands
78-20269-01 Command Line Interface Reference Guide
403
30
30
Virtual Local Area Network (VLAN) Commands
30.1
vlan database
Use the vlan database Global Configuration mode command to enter the VLAN
Configuration mode. Commands in this mode are at the VLAN level and perform
actions, such as creating and naming VLANs and defining the default VLAN.
Use the exit command to return to Global Configuration mode.
Syntax
vlan database
Parameters
N/A
Default Configuration
VLAN 1 exists by default.
Command Mode
Global Configuration mode
Example
The following example enters the VLAN Configuration mode, creates VLAN 1972
and exits VLAN Configuration mode.
Console(config)#
vlan database
Console(config-vlan)#
vlan
1972
Console(config-vlan)#
exit
Console(config)#
30.2
vlan
Use the vlan VLAN Configuration mode command to create a VLAN. Use the no
form of this command to delete the VLAN(s). To assign the VLAN a name, use
.