2-679
Catalyst 6500 Series Switch Command Reference—Release8.1
78-15474-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set vlan
If you specify a range of VLANs, you cannot use the VLA N name .
If you enter the mistp-instance none command, the specified VLANs are unmapped from any instance
they are mapped to.
The set vlan vlan_num mistp-instance mistp_instance command is available in PVST+ mode.
You cannot set multiple VLANs for ISL ports using this command. The VLAN name can be from 1 to
32 characters in length. If you are adding a new VLAN or modifying an existing VLAN, the VLAN
number must be within the range of 1 to 1000 and 1025 to 4094.
If you want to use the extended-range VLANs (1025 to 4 094 ), yo u m ust en ab le t h e MAC addre ss
reduction feature using the set spantree macreduction command. When you enable MAC address
reduction, the pool of MAC addresses used for the VLAN spanning tree is disa bled , leaving a s ingle
MAC address that identifies the switch.
If you use the rspan keyword for remote SPAN VLANs, you should not configure an access port (except
the remote SPAN destination ports) on these VLANs. Learning is disabled for remote SPAN VLANs.
If you use the rspan keyword for remote SPAN VLANs, only the name name and the state
{active|suspend} variables are supported.
The stemaxhop hopcount parameter is valid only when defining or configuring TrCRFs.
The bridge bridge_num, mode bridge_mode, stp stp_type, and translation vlan_num keywords and
values are supported only when the Catalyst 6500 series switch is used as a VTP server for Cat alyst 5000
family switches in the Token Ring and FDDI networks.
You must configure a private VLAN on the supervisor engine.
Valid values for pvlan-type are as follows:
•primary specifies the VLAN as the primary VLAN in a private VLAN.
•isolated specifies the VLAN as the isolated VLAN in a private VLAN.
•community specifies the VLAN as the community VLAN in a private VLAN.
•twoway-community specifies the VLAN as a bidirectional community VLAN that carries the
traffic among community ports and to and from community ports to and from the MSFC.
•none specifies that the VLAN is a normal Ethernet VLAN, not a private VLAN.
Only regular VLANs with no access ports assigned to them can be used in private VLANs. Do not use
the set vlan command to add ports to a private VLAN; use the set pvlan command to add ports to a
private VLAN.
VLANs 1001, 1002, 1003, 1004, and 1005 cannot be used in private VLANs.
VLANs 1025 to 4094 are extended-range VLANs.
VLANs in a suspended state do not pass packets.