
Virtual Local Area Network (VLAN) Commands
78-20269-01 Command Line Interface Reference Guide
404
30
Syntax
vlan
vlan-range
no vlan
vlan-range
Parameters
•
vlan-range—Specifies a list of VLAN IDs to add. 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 Configuration mode
Example
The following example creates VLAN number 1972.
Console(config)#
vlan database
Console(config-vlan)#
vlan
1972
Console(config-vlan)#
30.3
show vlan
Use the show vlan Privileged EXEC mode command to display the following VLAN
information for all VLANs or for a specific VLAN:
•
VLAN ID
•
VLAN name
•
Ports on the VLAN
•
Whether the VLAN was created dynamically or statically
•
Whether authorization is required on the VLAN