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


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


Configuration Guide - VPN

S7700 and S9700 V200R013C00

This document describes the configurations of VPN, including GRE, IPSec, BGP/MPLS IP VPN, BGP/MPLS IPv6 VPN, VLL, PWE3, VPLS, L2VPN Access to L3VPN.
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).
Enabling L2VPN Loop Detection on an AC Interface

Enabling L2VPN Loop Detection on an AC Interface


To prevent loops on an L2VPN network, you can configure L2VPN loop detection on an AC interface of the PE. After this function is enabled, when detecting a loop on the L2VPN network, the PE will automatically block an interface on the loop, report an alarm, and eliminate the loop.

Perform the following operations on the PE.


  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. (Optional) On an Ethernet interface, run undo portswitch

    The interface is switched to Layer 3 mode.

    By default, an Ethernet interface works in Layer 2 mode.

  4. Run loop-detect enable

    L2VPN loop detection is enabled on the interface.

    By default, L2VPN loop detection is disabled on the interface.

    • The interface must be an AC interface bound to a specified VSI. For details about the binding between an AC interface and a VSI, see Binding VSIs to AC Interfaces.
    • VSI encapsulation must use the VLAN encapsulation format that meets the 802.1Q standard. For details about how to configure the VSI encapsulation mode, see encapsulation (VSI view).

Updated: 2019-04-08

Document ID: EDOC1100065751

Views: 35122

Downloads: 50

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