vlan
vlan
Use the vlan global configuration command with a VLAN ID to add a VLAN and to enter VLAN
configuration mode. Use the no form of this command to delete the VLAN. Configuration information
for normal-range VLANs (VLAN IDs 1 to 1005) is always saved in the VLAN database as well as in the
switch running configuration file. Configuration information for extended-range VLANs (VLAN IDs
greater than 1005), are saved only in the switch running configuration file. You can save configurations
in the switch startup configuration file by entering the copy running-config startup-config privileged
EXEC command.
Syntax Description
vlan-id
Defaults
This command has no default settings.
Command Modes
Global configuration
Command History
Release
12.2(25)EX
Usage Guidelines
Extended-range VLANs (VLAN IDs 1006 to 4094) are not added to the VLAN database, but all VLAN
configurations are saved in the running configuration, and you can save them in the switch startup
configuration file.
Entering the vlan command with a VLAN ID enables VLAN configuration mode. If you enter an invalid
VLAN ID, you receive an error message and do not enter VLAN configuration mode.
When you enter the VLAN ID of an existing VLAN, you do not create a new VLAN, but you can modify
VLAN parameters for that VLAN. The specified VLANs are added or modified when you exit VLAN
configuration mode. Only the shutdown command (for VLANs 1 to 1005) takes effect immediately.
These configuration commands are available in VLAN configuration mode. The no form of each
command returns the characteristic to its default state.
Although all commands are visible, the only VLAN configuration commands that are supported on
Note
extended-range VLANs are mtu mtu-size, private-vlan, remote-span and uni-vlan. For extended-range
VLANs, all other characteristics must remain at the default state.
Cisco ME 3400 Ethernet Access Switch Command Reference
2-716
vlan vlan-id
no vlan vlan-id
ID of the VLAN to be added and configured. For vlan-id, the range is 1 to 4094. You
can enter a single VLAN ID, a series of VLAN IDs separated by commas, or a range
of VLAN IDs separated by hyphens.
Modification
This command was introduced.
Chapter 2 Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
OL-9640-10