13-10
Catalyst 2928 Switch Software Configuration Guide
OL-23389-01
Chapter 13 Configuring VLANs
Configuring Extended-Range VLANs
Switch(config-if)#
switchport mode access
Switch(config-if)#
switchport access vlan 2
Switch(config-if)#
end
Configuring Extended-Range VLANs
When the switch is in VTP transparent mode (VTP disabled), you can create extended-range VLANs (in
the range 1006 to 4094). Extended-range VLANs enable service providers to extend their infrastructure
to a greater number of customers. The extended-range VLAN IDs are allowed for any switchport
commands that allow VLAN IDs.
Extended-range VLAN configurations are not stored in the VLAN database, but because VTP mode is
transparent, they are stored in the switch running configuration file, and you can save the configuration
in the startup configuration file by using the
copy running-config startup-config
privileged EXEC
command.
Note
Although the switch supports 4094 VLAN IDs, see the
“Supported VLANs” section on page 13-2
the actual number of VLANs supported.
These sections contain extended-range VLAN configuration information:
•
Default VLAN Configuration, page 13-10
•
Extended-Range VLAN Configuration Guidelines, page 13-10
•
Creating an Extended-Range VLAN, page 13-11
Default VLAN Configuration
for the default configuration for Ethernet VLANs. You can change only the
MTU size and the remote SPAN configuration state on extended-range VLANs; all other characteristics
must remain at the default state.
Extended-Range VLAN Configuration Guidelines
Follow these guidelines when creating extended-range VLANs:
•
VLAN IDs in the extended range are not saved in the VLAN database and are not recognized by
VTP.
•
You cannot include extended-range VLANs in the pruning eligible range.
•
The switch must be in VTP transparent mode when you create extended-range VLANs. If VTP mode
is server or client, an error message is generated, and the extended-range VLAN is rejected.
•
You can set the VTP mode to transparent in global configuration mode or in VLAN database
configuration mode. See the
“Disabling VTP (VTP Transparent Mode)” section on page 14-10
. You
should save this configuration to the startup configuration so that the switch boots up in VTP
transparent mode. Otherwise, you lose the extended-range VLAN configuration if the switch resets.
•
STP is enabled by default on extended-range VLANs, but you can disable it by using the
no
spanning-tree vlan
vlan-id
global configuration command. When the maximum number of
spanning-tree instances are on the switch, spanning tree is disabled on any newly created VLANs.