spanning-tree port-priority
Syntax
spanning-tree port-priority <PRIORITY-MULTIPLIER>
no spanning-tree port-priority [<PRIORITY-MULTIPLIER>]
Description
Configures the port priority. The priority of a port can be different for each MST instance to which it belongs.
The
no
form 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
<PRIORITY-MULTIPLIER>
Specifies the port priority as a multiplier. Default: 8, except for LAG interfaces where the default is 4. Range: 0-15.
The priority range for a port in a given MSTI 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 priority to 8 on interface 1/1/1:
switch(config)# interface 1/1/1 switch(config-if)# spanning-tree port-priority 8
Setting the port priority to the default on interface 1/1/1:
switch(config)# interface 1/1/1 switch(config-if)# no spanning-tree port-priority