2-774
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set vlan
set vlan
To group ports into a VLAN, set the private VLAN type, map or unmap VLANs to or from an instance,
specify an 802.1X port to a VLAN, or secure a range of VLANs on a Firewall Services Module, use the
set vlan command.
set vlan {vlans}{mod/ports}
set vlan {vlans} [name name] [type type] [state state] [said said] [mtu mtu]
[bridge bridge_num] [mode bridge_mode] [stp stp_type] [translation vlan_num]
[aremaxhop hopcount] [pvlan-type pvlan_type] [mistp-instance mistp_instance]
[ring hex_ring_number] [decring decimal_ring_number] [parent vlan_num]
[backupcrf {off | on}] [stemaxhop hopcount] [rspan]
set vlan {vlans} firewall-vlan {mod}
set vlan {vlan} firewall-vlan {mod} msfc-fwsm-interface
Syntax Description vlans Number identifying the VLAN; valid values are from 1 to 4094.
mod/ports Number of the module and ports on the module belonging to the VLAN.
name name (Optional) Defines a text string used as the name of the VLAN; valid values
are from 1to 32 characters.
type type (Optional) Identifies the VLAN type.
state state (Optional) Specifies whether the state of the VLAN is activ e or suspen ded.
said said (Optional) Specifies the security association identifier; valid values are
from 1 to 4294967294.
mtu mtu (Optional) Specifies the maximum transmission unit (packet size, in byte s)
that the VLAN can use; valid values are from 576 to 18190.
bridge bridge_num (Optional) Specifies the identification number of the bridge; valid values
are hexadecimal numbers from 0x1 to 0xF.
mode bridge_mode (Optional) Specifies the bridge mode; valid values are srt and srb.
stp stp_type (Optional) Specifies the STP type; valid values are ieee, ibm, and auto.
translation vlan_num (Optional) Specifies a translational VLAN used to translate FDDI or Token
Ring to Ethernet; valid values are from 1 to 4094.
aremaxhop hopcount (Optional) Specifies the maximum number of hops for All-Routes Explorer
frames; valid values are from 1to 13.
pvlan-type pvlan-type (Optional) Keyword and options to specify the private VLAN type. Se e the
“Usage Guidelines” section for valid values.
mistp-instance
mistp_instance (Optional) Specifies the MISTP instance; valid values are none and from 1
to 16.
ring hex_ring_number (Optional) Keyword to specify the VLAN as the primary VLAN in a p rivate
VLAN.
decring
decimal_ring_number (Optional) Specifies the decimal ring number; valid values are from 1 to
4095.
parent vlan_num (Optional) Specifies the VLAN number of the parent VLAN; valid values
are from 1 to 4094.
backupcrf off | on (Optional) Specifies whether the TrCRF is a backup path for traffic.