Binding a VSI to the L2VE Interface

Take the L2VE interface as Attachment Circuit (AC) interface when binding a VSI to the L2VE interface.

Context

Do as follows on NPEs.

Procedure

  1. Configure a single VLAN for an L2VE sub-interface and bind the L2VE sub-interface to a VSI.
    1. Run system-view

      The system view is displayed.

    1. Run interface virtual-ethernet interface-number.subinterface-number

      The L2VE sub-interface view is displayed.

    1. Run vlan-type dot1q vlan-id

      The VLAN ID of the L2VE sub-interface is configured.

    1. Run l2 binding vsi vsi-name

      The L2VE interface is bound to a VSI.

    1. Run commit

      The configuration is committed.

  2. Configure a VLAN range for an L2VE sub-interface and bind the L2VE sub-interface to a VSI.
    1. Run system-view

      The system view is displayed.

    1. Run interface virtual-ethernet interface-number.subinterface-number

      The L2VE sub-interface view is displayed.

    1. Run encapsulation dot1q-termination [ rt-protocol ]

      A termination encapsulation type is configured for the L2VE sub-interface.

    1. Run vlan-group group-id

      A user VLAN group is configured.

    1. Run commit

      The configuration is committed.

    1. Run quit

      Exit the VLAN group view.

    2. Run dot1q termination vid low-pe-vid [ to high-pe-vid ] [ vlan-group group-id ]

      A VLAN range is configured for the L2VE sub-interface.

    3. Run l2 binding vsi vsi-name

      The L2VE interface is bound to a VSI.

    4. (Optional) Run dot1q termination client-mode single

      The dot1q VLAN tag termination sub-interface is enabled to deliver only one leaf for replication of one copy of broadcast traffic when the sub-interface provides access for qualify-mode VPLS services.

      Before running the dot1q termination client-mode single command:
      • A dot1q VLAN tag termination sub-interface has been configured.
      • The dot1q VLAN tag termination sub-interface has been bound to a qualify-mode VSI (namely, the mac-learn-style qualify command has been run for the VSI).

    5. Run commit

      The configuration is committed.

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