2-602
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set spantree portvlanpri
set spantree portvlanpriTo set the port priority for a subset of VLANs in the trunk port, use the set spantree portvlanpri
command.
set spantree portvlanpri mod/port priority [vlans]
Syntax Description
Defaults The default is the port VLAN priority is set to 0, with no VLANs specified.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines The priority value that is not a multiple of 16 (between the values of 0 to 63) is converted to the nearest
multiple of 16.
This command is not supported by the NAM.
This command is not supported by extended-range VLANs.
Use this command to add VLANs to a specified port priority level. Subsequent calls to this command do
not replace VLANs that are already set at a specified port priority level.
This feature is not supported for the MSM.
The set spantree portvlanpri command applies only to trunk ports. If you enter this comm and, you see
this message:
Port xx is not a trunk-capable port
Examples This example shows how to set the port priority for modul e 1, po rt 2 , on V LAN s 2 1 t o 40 :
Console> (enable) set spantree portvlanpri 1/2 16 21-40
Port 1/2 vlans 3,6-20,41-1000 using portpri 32
Port 1/2 vlans 1-2,4-5,21-40 using portpri 16
Console> (enable)
mod/port Number of the module and the port on the module.
priority Number that represents the cost of a link in a spanning tree bridge; valid values
are 0, 16, 32, 48, 64, 80, 96, 112, 128, 144,160, 176, 192, 208, 224, 240, with 0
indicating high priority and 240, low priority. See the “Usage Guidelines”
section for more information.
vlans (Optional) VLANs that use the specified priority level; valid values are from 1to
1005.