2-596
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set spantree portinstancepri
set spantree portinstancepri
To set the port priority for instances in the trunk port, use the set spantree portinstancepri command.
set spantree portinstancepri mod/port priority [instances]
set spantree portinstancepri mod/port priority mst [instances]
Syntax Description
Defaults The default is the port priority is set to 0, with no instances specified.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines Priority values that are not a multiple of 16 (between the values of 0 to 63) are converted to the nearest
multiple of 16.
This command is not supported by the NAM.
Use this command to add instances to a specified port priority level. Subsequent calls to this command
do not replace instances that are already set at a specified port priority level.
This feature is not supported for the MSM.
The set spantree portinstancepri command applies to trunk ports only. If you enter this command, you
see this message:
Port xx is not a trunk-capable port
Examples This example shows how to set the port priority for module 1, port 2, on specific instances:
Console> (enable) set spantree portinstancepri 1/2 16 1-11
Port 1/2 instances 1-11 using portpri 16.
This parameter applies to trunking ports only.
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.
mst Specifies the port priority for MST instances.
instances (Optional) Instance number; valid values are from 0 to 15.