spanning-tree instance port-priority

Syntax

spanning-tree instance <INSTANCE-ID> port-priority <PRIORITY-MULTIPLIER>

no spanning-tree instance <INSTANCE-ID> port-priority [<PRIORITY-MULTIPLIER>]

Description

Configures the priority as a priority multiplier for the specified ports in the specified MST instance.

For a given port, the priority setting can be different for different MST instances to which the port may belong.

The no form of this command sets the port priority to the default value of 8 for the MST instance. The default priority value is derived by multiplying 8 by 16.

Command context

config-if

Parameters

<INSTANCE-ID>

Specifies the MSTP instance number. Range: 1-64.

<PRIORITY-MULTIPLIER>

Specifies the priority as a multiplier. Default: 8. Range: 0-15.

The priority range for a port in a given MST instance is 0 - 255. However, this command specifies the priority as a multiplier (0 - 15) of 16. When you specify a priority multiplier of 0 - 15, the actual priority assigned to the switch is: (priority-multiplier) x 16.

Authority

Administrators

Examples

Setting the port 1/1/1 priority for instance 1 to 8:

switch(config)# interface 1/1/1
switch(config-if)# spanning-tree instance 1 port-priority 8

Setting the port 1/1/1 priority for instance 1 to the default:

switch(config)# interface 1/1/1
switch(config-if)# no spanning-tree instance 1 port-priority