Associating the L2VE Interface with a BD

Associate the L2VE interface with a BD on the pUP, so that VXLAN services can be terminated on the L2VE interface.

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 VE or global VE Layer 2 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 } ] }

    A packet encapsulation type is configured, so that a specific type of interface can transmit data packets of the specified encapsulation type.

  4. Run rewrite pop { single | double }

    The function to remove VLAN tags from received packets is enabled.

    For single-tagged packets received by the Layer 2 sub-interface, specify single to enable the sub-interface to remove the VLAN tag from each packet.

    If the packet encapsulation type is set to QinQ in the previous step, specify double to enable the sub-interface to remove double VLAN tags from each double-tagged packet received.

  5. Run bridge-domain bd-id

    The Layer 2 sub-interface is associated with a BD, so that the sub-interface can forward packets through the BD.

    The VNI associated with the BD has been configured during VXLAN configuration in Pre-configuration Tasks.

  6. Run commit

    The configuration is committed.

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