< Home

Configuring the VLAN Range to Which an AC Sub-interface Sends L2VPN Loop Detection Packets

Context

After L2VPN loop detection is enabled on an interface, the Dot1q termination sub-interface and QinQ termination sub-interface do not send L2VPN loop detection packets by default. You need to configure the VLAN range to which the Dot1q termination sub-interface and QinQ termination sub-interface send L2VPN loop detection packets. After the VLAN range is configured, the sub-interfaces send L2VPN loop detection packets to the specified VLANs.

Perform the following operations on the PE.

VLAN termination sub-interfaces cannot be created on a VCMP client. You can run the vcmp role command to configure the role for a switch in a VCMP domain.

L2VPN loop detection takes effect on a sub-interface. If any VLAN in the specified VLAN range that receives L2VPN loop detection packets has a loop, this sub-interface will be blocked.

Procedure

  • Configure the VLAN range to which a Dot1q termination sub-interface sends L2VPN loop detection packets.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number.subinterface-number

      The Dot1q termination sub-interface view is displayed.

    3. Run loop-detect detection vid low-vid [ to high-vid ]

      The VLAN range to which the Dot1q termination sub-interface sends L2VPN loop detection packets is configured.

      By default, the Dot1q termination sub-interface does not send L2VPN loop detection packets.

  • Configure the VLAN range to which a QinQ termination sub-interface sends L2VPN loop detection packets.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number.subinterface-number

      The QinQ termination sub-interface view is displayed.

    3. Run loop-detect detection pe-vid pe-vid ce-vid low-vid [ to high-vid ]

      The VLAN range to which the QinQ termination sub-interface sends L2VPN loop detection packets is configured.

      By default, the QinQ termination sub-interface does not send L2VPN loop detection packets.

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