56
1053
56.2 vlan
Use the vlan VLAN Configuration mode or Global Configuration mode command to
create a VLAN. Use the no form of this command to delete the VLAN(s).
Syntax
vlan-range
vlan
no vlan
vlan-range
Parameters
•
vlan-range
—Specifies a list of VLAN IDs. Separate nonconsecutive VLAN
IDs with a comma and no spaces. Use a hyphen to designate a range of IDs
(range: 2-4094).
Default Configuration
VLAN 1 exists by default.
Command Mode
VLAN Database Configuration mode
User Guidelines
To assign the VLAN a name, use the name command in Interface Configuration
(VLAN) mode.
Example
The following example creates VLANs 100 and 1972.
switchxxxxxx(config)#
switchxxxxxx(config-vlan)#
switchxxxxxx(config-vlan)# exit
56.3 show vlan
Use the show vlan Privileged EXEC mode command to display the following VLAN
information.
Virtual Local Area Network (VLAN) Commands
vlan database
100,1972
vlan
OL-32830-01 Command Line Interface Reference Guide