Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
vlan (VLAN configuration)
Use the vlan VLAN configuration command on the switch stack or on a standalone switch to configure
VLAN characteristics for a normal-range VLAN (VLAN IDs 1 to 1005) in the VLAN database. You
access VLAN configuration mode by entering the
no form of this command without additional parameters to delete a VLAN. Use the no form with
parameters to change its configured characteristics.
Extended-range VLANs (with VLAN IDs from 1006 to 4094) cannot be added or modified by using
these commands. To add extended-range VLANs, use the
config-vlan mode.
The switch supports only Ethernet ports. You configure only FDDI and Token Ring media-specific
Note
characteristics for VLAN Trunking Protocol (VTP) global advertisements to other switches. These
VLANs are locally suspended.
Syntax Description
vlan-id
are are-number
backupcrf {enable | disable} (Optional) Specify the backup CRF mode. This keyword applies only
bridge bridge-number|
type {srb | srt}
78-16181-01
vlan vlan-id [are are-number] [backupcrf {enable | disable}] [bridge bridge-number |
type {srb | srt}] [media {ethernet | fddi | fdi-net | tokenring | tr-net}] [mtu mtu-size]
[name vlan-name] [parent parent-vlan-id] [ring ring-number] [said said-value]
[state {suspend | active}] [ste ste-number] [stp type {ieee | ibm | auto}]
[tb-vlan1 tb-vlan1-id] [tb-vlan2 tb-vlan2-id]
no vlan vlan-id [are are-number] [backupcrf {enable | disable}] [bridge bridge-number |
type {srb | srt}] [media {ethernet | fddi | fdi-net | tokenring | tr-net}] [mtu mtu-size]
[name vlan-name] [parent parent-vlan-id] [ring ring-number] [said said-value]
[state {suspend | active}] [ste ste-number] [stp type {ieee | ibm | auto}]
[tb-vlan1 tb-vlan1-id] [tb-vlan2 tb-vlan2-id]
vlan database
vlan (global configuration)
ID of the configured VLAN. The range is 1 to 1005 and must be unique
within the administrative domain. Do not enter leading zeros.
(Optional) Specify 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. If no value is entered, 0 is assumed to be the maximum.
to TrCRF VLANs.
•
enable backup CRF mode for this VLAN.
disable backup CRF mode for this VLAN.
•
(Optional) Specify 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 type keyword applies only to TrCRF VLANs and is one of these:
srb (source-route bridging)
•
srt (source-route transparent) bridging VLAN
•
Catalyst 3750 Switch Command Reference
vlan (VLAN configuration)
privileged EXEC command. Use the
command to enter
2-521