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 incorrectly 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. Root protection takes effect only on a designated port.
Do as follows on the root bridge.
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.
Root protection is configured on the device.
The configuration is committed.