Spanning-Tree Instance Interface Priority
The root port is the interface on the nonroot bridge with the lowest path cost to the root bridge. When multiple interfaces have the same path cost to the root bridge, the interface with the lowest interface priority is selected as the root port.
If the interface priority is not configured and multiple interfaces have the same path cost to the root bridge, the interface with the lowest interface identifier is selected as the root port.
If the interface priority is configured under the MSTP protocol, this becomes the default value for all interfaces. If the interface priority is configured under the MSTI interface, the value overrides the default for that interface.
If the interface priority is configured at both the VSTP global and VLAN levels, the configuration at the VLAN level overrides the global configuration.
To configure the interface priority, include the following statement:
You can include this statement at the following hierarchy levels:
- [edit protocols rstp interface interface-name]
- [edit protocols mstpinterface interface-name]
- [edit protocols mstp msti msti-id interface interface-name]
- [edit protocols vstp interface interface-name]
- [edit protocols vstpvlan vlan-id interface interface-name]
- [edit routing-instances routing-instance-name protocols rstp interface interface-name]
- [edit routing-instances routing-instance-name protocols mstp interface interface-name]
- [edit routing-instances routing-instance-name protocols mstp msti msti-id interface interface-name]
- [edit routing-instances routing-instance-name protocols vstp interface interface-name]
- [edit routing-instances routing-instance-name protocols vstp vlan vlan-idinterface interface-name]

