vlan (global configuration)
If you enter an invalid VLAN ID, you receive an error message and do not enter config-vlan mode.
Entering the vlan command with a VLAN ID enables config-vlan 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 the config-vlan mode. Only the
shutdown command (for VLANs 1 to 1005) takes effect immediately.
These configuration commands are available in config-vlan 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 and remote-span. For extended-range VLANs, all other
characteristics must remain at the default state.
are are-number: defines the maximum number of all-routes explorer (ARE) hops for this VLAN.
•
This keyword applies only to TrCRF VLANs.The range is 0 to 13. The default is 7. If no value is
entered, 0 is assumed to be the maximum.
backupcrf: specifies the backup CRF mode. This keyword applies only to TrCRF VLANs.
•
bridge {bridge-number| type}: specifies the logical distributed source-routing bridge, the bridge
•
that interconnects all logical rings having this VLAN as a parent VLAN in FDDI-NET, Token
Ring-NET, and TrBRF VLANs. The range is 0 to 15. The default bridge number is 0 (no
source-routing bridge) for FDDI-NET, TrBRF, and Token Ring-NET VLANs. The type keyword
applies only to TrCRF VLANs and is one of these:
exit: applies changes, increments the VLAN database revision number (VLANs 1 to 1005 only), and
•
exits config-vlan mode.
media: defines the VLAN media type. See
•
media types.
Note
mtu mtu-size: specifies the maximum transmission unit (MTU) (packet size in bytes). The range is
•
1500 to 18190. The default is 1500 bytes.
Catalyst 2960 Switch Command Reference
2-585
enable backup CRF mode for this VLAN.
–
disable backup CRF mode for this VLAN (the default).
–
srb (source-route bridging)
–
srt (source-route transparent) bridging VLAN
–
The switch supports only Ethernet ports. You configure only FDDI and Token Ring
media-specific characteristics for VLAN Trunking Protocol (VTP) global advertisements to
other switches. These VLANs are locally suspended.
ethernet is Ethernet media type (the default).
–
fddi is FDDI media type.
–
fd-net is FDDI network entity title (NET) media type.
–
tokenring is Token Ring media type if the VTP v2 mode is disabled, or TrCRF if the VTP
–
Version 2 (v) mode is enabled.
tr-net is Token Ring network entity title (NET) media type if the VTP v2 mode is disabled or
–
TrBRF media type if the VTP v2 mode is enabled.
Chapter 2 Catalyst 2960 Switch Cisco IOS Commands
Table 2-34
for valid commands and syntax for different
OL-8604-04