2-677
Catalyst 6500 Series Switch Command Reference—Release 8.1
78-15474-01
Chapter 2 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}
Syntax Description vlans Number identifying the VLAN; valid values are from 1 to 1005 and
from 1025 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 1 to 32 characters.
type type (Optional) Identifies the VLAN type.
state state (Optional) Specifies whether the state of the VLAN is active or
suspended.
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
bytes) 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 1000 and from
1025 to 4094.
aremaxhop hopcount (Optional) Specifies the maximum number of hops for All-Routes
Explorer frames; valid values are from 1 to 13.
pvlan-type pvlan-type (Optional) Keyword and options to specify the private VLAN type.
See 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 private VLAN.
decring
decimal_ring_number
(Optional) Specifies the decimal ring number; valid values are from
1 to 4095.