Configuring Basic MSTP Functions
Context
MSTP divides a switching network into multiple regions, each of which has multiple spanning trees that are independent of each other. MSTP isolates traffic from different VLANs and load-balances VLAN traffic.
MSTP is configured on switching devices to trim a ring network into a loop-free network. Devices start spanning tree calculation after the working mode is set and MSTP is enabled. Use any of the following methods if you need to intervene in the spanning tree calculation:
Manually configure the root bridge and secondary root bridge.
Set a priority for a switching device in an MSTI. The lower the numerical value, the higher the priority of the switching device and the more likely the switching device will become a root bridge.
Set the path cost for a port in an MSTI. The lower the numerical value, the smaller the cost of the path from the port to the root bridge and the more likely the port will become a root port (assuming the same calculation method is used).
Set a priority for a port in an MSTI. The lower the numerical value, the more likely the port will become a designated port.
- Configuring the MSTP Mode
- Configuring an MST Region
- (Optional) Configuring the Root Bridge and Secondary Root Bridge
- (Optional) Configuring a Priority for a Switching Device in an MSTI
- (Optional) Configuring a Path Cost of a Port in an MSTI
- (Optional) Configuring a Port Priority in an MSTI
- Enabling MSTP
- Verifying the Basic MSTP Configuration