Adding an L2VE Interface to a BD

You can add an L2VE interface to the BD so that EVPN E-LAN services are terminated on the L2VE interface.

Context

Perform the following steps on an NPE:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface virtual-ethernet interface-number.subinterface-number or interface global-ve interface-number.subinterface-number

    The L2VE sub-interface or global L2VE sub-interface view is displayed.

  3. Run encapsulation { dot1q [ vid low-pe-vid [ to high-pe-vid ] ] | untag | qinq [ vid pe-vid ce-vid { low-ce-vid [ to high-ce-vid ] | default } ] }

    An encapsulation type of packets allowed to pass through the Layer 2 sub-interface is specified.

  4. Run rewrite pop { single | double }

    The traffic behavior is set to pop so that the Ethernet sub-interface removes VLAN tags from received packets.

    If the received packets each carry a single VLAN tag, specify single.

    If the encapsulation type of packets has been set to QinQ, specify double in this step to remove double VLAN tags from the received packets.

  5. Run bridge-domain bd-id

    The Layer 2 sub-interface is added to a BD so that the sub-interface can transmit data packets only through this BD.

  6. Run commit

    The configuration is committed.

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