Virtual Local Area Network (VLAN) Commands
1053
OL-32830-01 Command Line Interface Reference Guide
56
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
vlan-range
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)#
vlan database
switchxxxxxx(config-vlan)#
vlan
100,1972
switchxxxxxx(config-vlan)# exit
56.3 show vlan
Use the show vlan Privileged EXEC mode command to display the following VLAN
information.
Summary of Contents for 300 Series
Page 2: ......