spanning-tree instance port-priority
Syntax
spanning-tree instance port-priority 没有扩充树实例 port-priority [ ]
Description
优先级配置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.
Theno
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
-
-
Specifies the MSTP instance number. Range: 1-64.
-
-
Specifies the priority as a multiplier. Default: 8. Range: 0 to 15.
The priority range for a port in a given MST instance 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 to 15, 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
Setting the port1/1/1priority for instance1to8:
switch(config)#interface 1/1/1switch(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/1switch(config-if)#没有扩充树实例1 port-priority