< Home

Configuring Root Protection on an Interface

Context

Due to incorrect configurations or malicious attacks on the network, a root bridge may receive 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 changed, triggering spanning tree recalculation. This may also result in traffic that should be transmitted over high-speed links being transmitted over low-speed links, leading to network congestion. The root protection function on a switch preserves the role of the designated port in order to protect the root bridge.

Root protection takes effect only on designated ports.

Perform the following steps on the root bridge in an MST region.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The view of the Ethernet interface participating in STP calculation is displayed.

  3. (Optional) Run stp binding process process-id

    The port is bound to an MSTP process.

    Skip this step if the interface belongs to process 0.

  4. Run stp root-protection

    Root protection is configured on the switch.

    By default, root protection is disabled.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >