spanning-tree port-priority

Syntax

spanning-tree port-priorityno spanning-tree port-priority []

Description

配置端口的优先级。订单的优先级rt can be different for each MST instance to which it belongs.

Thenoform of the command sets the port priority for MST instance 0 to the default of 8. The default priority value is derived by multiplying 8 by 8. For LAG interfaces the default is 4.

Command context

config-if

Parameters

Specifies the port priority as a multiplier. Default: 8, except for LAG interfaces where the default is 4. Range: 0 to15.

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

Authority

Administrators or local user group members with execution rights for this command.

Examples

On the 6400 Switch Series, interface identification differs.

Setting the port priority to 8 on interface1/1/1:

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

Setting the port priority to the default on interface1/1/1:

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