The root protection function on a device protects a root bridge by preserving the role of a designated port.
Due to incorrect configurations or malicious attacks on the network, a root bridge may receive Bridge Protocol Data Units (BPDUs) with a higher priority. Consequently, the legitimate root bridge is no longer able to serve as the root bridge, and the network topology is illegitimately changed, triggering spanning tree recalculation. This also may cause the traffic that should be transmitted over high-speed links to be transmitted over low-speed links, leading to network congestion. The root protection function on a device is used to protect the root bridge by preserving the role of the designated port.
Root protection is configured on a designated port. It takes effect only when being configured on the port that functions as a designated port on all Multiple Spanning Tree Instances (MSTIs). If root protection is configured on other types of ports, it does not take effect.
Do as follows on a root bridge in a Multiple Spanning Tree (MST) region:
The system view is displayed.
The view of the Ethernet interface participating in STP calculation is displayed.
The following configuration can be configured both on a Layer 2 interface and a Layer 3 interface.
The port is bound to an MSTP process.
This step is performed only when the interface needs to be bound to an MSTP process with a non-zero ID. If the interface belongs to process 0, skip this step.
Root protection is configured on the device.
The configuration is committed.