Cisco Cisco IOS Software Release 12.4(15)T

Page de 54
 
Extended VLAN ID
  vlan (global configuration mode)
51
Cisco IOS Release 12.4(15)T
vlan (global configuration mode)
To add a VLAN and enter config-VLAN submode, use the vlan command in global configuration mode. 
To delete the VLAN, use the no form of this command.
vlan {vlan-id | vlan-range} 
no vlan {vlan-id | vlan-range}
Syntax Description
Defaults
This command has no default settings.
Command Modes
Global configuration (config)
Command History
Usage Guidelines
VLAN 1 parameters are factory configured and cannot be changed.
VLAN 1 and VLANs 1002–1005 are default VLANs. Default VLANs are created automatically and 
cannot be configured or deleted by users.
The specified VLAN is added or modified in the VLAN database when you exit config-VLAN submode.
When you enter the vlan vlan-id command, a new VLAN is created with all default parameters in a 
temporary buffer and causes the CLI to enter config-VLAN submode. If the vlan-id that you entered 
matches an existing VLAN, any configuration commands you enter in config-VLAN submode will apply 
to the existing VLAN. You will not create a new VLAN. 
If you define a range of configured VLANS, you are not allowed to set the vlan-name argument in 
config-VLAN submode. 
You can enter the vlan-range argument using a comma (,), a dash (-), and the number.
VLAN IDs in the range from 1006 to 4094 are considered “extended VLAN IDs.” Beginning in 
Cisco IOS Release 12.4(15)T, you can configure extended VLAN IDs on the following routers:
Cisco 800 series routers, including models 851, 857, 871, 876, 877, 878
Cisco 1700 series routers, including models 1711, 1712, 1751, 1751V, 1760 
vlan-id
Number of the VLAN; valid values are from 1 to 4094. See the “Usage 
Guidelines” section for details on configuring VLAN ID numbers. 
vlan-range
Range of configured VLANs; see the “Usage Guidelines” section for details on 
configuring ranges of VLAN ID numbers. 
Release
Modification
12.2(14)SX
Support for this command was introduced on the Supervisor Engine 720.
12.2(17d)SXB
Support for this command on the Supervisor Engine 2 was integrated into 
Cisco IOS Release 12.2(17d)SXB. 
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.4(15)T
This command was integrated into Cisco IOS Release 12.4(15)T.