No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R012C00 Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, VLAN aggregation, MUX VLAN, VLAN termination, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, and Layer 2 protocol transparent transmission.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Loop Protection on an Interface

Configuring Loop Protection on an Interface

Context

To maintain the root port status and status of blocked ports on a network running MSTP, a switch receives BPDUs from an upstream switch. If the switch cannot receive these BPDUs because of link congestion or unidirectional-link failure, the switch re-selects a root port. The original root port becomes a designated port and the original blocked ports change to the Forwarding state. This may cause network loops. To mitigate this issue, configure loop protection.

If the root port or alternate port does not receive BPDUs from the upstream device for a long period, the switch enabled with loop protection sends a notification to the NMS. If the root port is used, the root port enters the Discarding state and becomes the designated port. If the alternate port is used, the alternate port remains blocked and becomes the designated port. In this case, loops will not occur. After the link congestion subsides or unidirectional link failures are rectified, the port receives BPDUs for negotiation and restores its original role and status.

NOTE:
An alternate port is a backup port for a root port. If a switch has an alternate port, configure loop protection on both the root port and the alternate port.

Perform the following steps on the root port and alternate port on a switch in an MST region.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The Ethernet interface view is displayed.

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

    The port is bound to an MSTP process.

    NOTE:

    Skip this step if the interface belongs to process 0.

  4. Run stp loop-protection

    Loop protection for the root port is configured on the switch.

    By default, loop protection is disabled.

    Root protection and loop protection cannot be configured simultaneously.

Translation
Download
Updated: 2019-01-18

Document ID: EDOC1100038103

Views: 118483

Downloads: 52

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next