VLAN Commands
vlan default-vlan
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
523
41
Syntax
vlan
vlan-range
no vlan
vlan-range
Parameters
•
vlan-range
—A list of VLANs. Separate nonconsecutive VLAN IDs with a
comma and no spaces. Use a hyphen to designate a range of VLAN IDs
(range: 1 to 4094).
Default Configuration
VLAN 1 exists by default.
Command Mode
Global Configuration mode
Example
The following example creates a new VLAN (VLAN 100):
switchxxxxxx(config)#
vlan 100
switchxxxxxx(config-vlan)#
vlan default-vlan
To define the default VLAN, use the vlan default-vlan VLAN Configuration mode
command.
To set the VLAN 1 as the default VLAN, use the no form of this command.
Syntax
vlan default-vlan
vlan-id
no vlan default-vlan
Parameters
•
vlan-id
—Specifies the default VLAN ID.