Specifications
2-342
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
vlan (global configuration)
vlan (global configuration)
Use the vlan global configuration command to add a VLAN and enter the config-vlan 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. When VLAN Trunking Protocol (VTP) mode is
transparent, you can create extended-range VLANs (VLAN IDs greater than 1005), and the VTP mode
and domain name and the VLAN configuration are saved 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.
vlan vlan-id
no vlan vlan-id
Syntax Description
Defaults This command has no default settings.
Command Modes Global configuration
Command History
Usage Guidelines You must use the vlan vlan-id global configuration command to add extended-range VLANs (VLAN IDs
1006 to 4094). Before configuring VLANs in the extended range, you must use the vtp transparent
global configuration or VLAN configuration command to put the switch in VTP transparent mode.
Extended-range VLANs are not learned by VTP and are not added to the VLAN database, but when VTP
mode is transparent, VTP mode and domain name and all VLAN configurations are saved in the running
configuration, and you can save them in the switch startup configuration file.
vlan-id ID of the VLAN to be added and configured. For vlan-id, the range is 1 to 4094 when
the enhanced software image (EI) is installed and 1 to 1005 when the standard
software image (SI) is installed; do not enter leading zeros. You can enter a single
VLAN ID, a series of VLAN IDs separated by commas, or a range of VLAN IDs
separated by hyphens.
Release Modification
12.1(9)EA1 This command was first introduced.
12.1(11)EA1 The remote-span configuration command was added.