13-11
Catalyst 2928 Switch Software Configuration Guide
OL-23389-01
Chapter 13 Configuring VLANs
Configuring Extended-Range VLANs
If the number of VLANs on the switch exceeds the maximum number of spanning-tree instances,
we recommend that you configure the IEEE 802.1s Multiple STP (MSTP) on your switch to map
multiple VLANs to a single spanning-tree instance. For more information about MSTP, see
Chapter 17, “Configuring MSTP.”
•
Although the switch supports a total of 64 (normal-range and extended-range) VLANs, the number
of configured features affects the use of the switch hardware. If you try to create an extended-range
VLAN and there are not enough hardware resources available, an error message is generated, and
the extended-range VLAN is rejected.
Creating an Extended-Range VLAN
You create an extended-range VLAN in global configuration mode by entering the
vlan
global
configuration command with a VLAN ID from 1006 to 4094. This command accesses the VLAN
configuration mode. The extended-range VLAN has the default Ethernet VLAN characteristics (see
) and the MTU size. See the description of the
vlan
global configuration command in the
command reference for the default settings of all parameters. If you enter an extended-range VLAN ID
when the switch is not in VTP transparent mode, an error message is generated when you exit from
VLAN configuration mode, and the extended-range VLAN is not created.
Extended-range VLANs are not saved in the VLAN database; they are saved in the switch running
configuration file. You can save the extended-range VLAN configuration in the switch startup
configuration file by using the
copy running-config startup-config
privileged EXEC command.
Beginning in privileged EXEC mode, follow these steps to create an extended-range VLAN:
To delete an extended-range VLAN, use the
no vlan
vlan-id
global configuration command.
The procedure for assigning static-access ports to an extended-range VLAN is the same as for
normal-range VLANs. See the
“Assigning Static-Access Ports to a VLAN” section on page 13-9
.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
vtp mode transparent
Configure the switch for VTP transparent mode, disabling VTP.
Step 3
vlan
vlan-id
Enter an extended-range VLAN ID and enter VLAN configuration mode.
The range is 1006 to 4094.
Step 4
mtu
mtu-size
(Optional) Modify the VLAN by changing the MTU size.
Note
Although all VLAN commands appear in the CLI help in VLAN
configuration mode, only the
mtu
mtu-size
, and
remote-span
commands are supported for extended-range VLANs.
Step 5
end
Return to privileged EXEC mode.
Step 6
show vlan
id
vlan-id
Verify that the VLAN has been created.
Step 7
copy running-config startup config
Save your entries in the switch startup configuration file. To save
extended-range VLAN configurations, you need to save the VTP
transparent mode configuration and the extended-range VLAN
configuration in the switch startup configuration file. Otherwise, if the
switch resets, it will default to VTP server mode, and the extended-range
VLAN IDs will not be saved.