(Optional) Configuring Port Priorities
Context
In VBST spanning tree calculation, the port path cost, bridge ID of the sending switch, and port priority determine whether the port can be selected as the designated port. A smaller priority value indicates higher probability of becoming the designated port, and a larger priority value indicates higher probability of becoming the blocking port.
On a network running VBST, a port can function as different roles in different spanning trees so that traffic from different VLANs is forwarded through different physical paths.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The view of the Ethernet interface that participates in spanning tree calculation is displayed.
- Run stp vlan vlan-id [ to vlan-id ] [ vlan-id [ to vlan-id ] ] &<1-9> port priority priority
The priority of the port in each VLAN is set.
By default, the priority of a switch port is 128.
- Run commit
The configuration is committed.