Configuring Interworking Between a VLL and a Common EVPN E-LAN

Traditional VLL is still used at the aggregation layer of a network, whereas the core network has evolved into EVPN. To allow communication between different layers, interworking between VLL and common EVPN E-LAN must be configured.

Context

As the MAN is evolving into EVPN, a large number of devices at the aggregation layer still use traditional VLLs, making E2E evolution into EVPN at a time difficult. However, the core network has evolved into EVPN. To implement communication between different network layers, VLL and common EVPN interworking must be supported.

On the network shown in Figure 1, CE1 with two sites attached is connected to a UPE through a NID (switch). The UPE and NPEs are connected through an MPLS network at the aggregation layer, and services are carried using a VLL. NPE1, NPE2, and NPE3 are connected through an MPLS network at the core layer, and services are carried through an EVPN.

Figure 1 Interworking between a VLL and a common EVPN E-LAN
  • A UPE is dual-homed to NPE1 and NPE2, which improves access reliability. The UPE establishes the primary and secondary PWs with the master and slave NPEs, respectively. Traffic is sent through the primary PW, and the UPE is enabled to receive traffic through both the primary and secondary PWs.

  • On NPE1 and NPE2, the VLL is connected to the EVPN through PW VE interfaces. Specifically, the VLL is configured on the PW VE interfaces, and EVPN instances are bound to the PW VE sub-interfaces that are configured as QinQ VLAN tag termination sub-interfaces. In this manner, traffic is imported to the EVPN instances.

Pre-configuration Tasks

Before configuring interworking between VLL and a common EVPN E-LAN, complete the following tasks:

Procedure

  1. Configure basic EVPN functions on NPE1 and NPE2.
    1. Configure an EVPN instance.
    2. Configure an EVPN source address.
    3. Configure a BGP EVPN peer relationship.
  2. Run mpls l2vpn

    MPLS L2VPN is enabled on NPE1 and NPE2.

  3. Run quit

    Return to the system view.

  4. Configure PW VE interfaces and sub-interfaces on NPE1 and NPE2. Bind the VLL to the PW VE interfaces and bind EVPN instances to the PW VE sub-interfaces.
    1. Run interface interface-type interface-number

      The PW VE interface view is displayed.

    2. Run mpls l2vc { ip-address | pw-template template-name } * vc-id [ tunnel-policy policy-name [ endpoint endpoint-address color color-value ] | [ control-word | no-control-word ] | [ raw | tagged | ip-layer2 | ip-interworking ] | access-port | ignore-standby-state ] *

      A VPWS connection is created.

    3. Run esi esi

      An ESI is configured.

    4. Run quit

      Return to the system view.

    5. Run interface interface-type interface-number [ .subinterface-number ]

      The PW VE sub-interface view is displayed.

      Before running this command, ensure that the Layer 2 main interface does not have the port link-type dot1q-tunnel command configuration. If the configuration has existed, run the undo port link-type command to delete it.

    6. Run encapsulation qinq-termination [ local-switch | rt-protocol ]

      The encapsulation type of the sub-interface is set to QinQ VLAN tag termination.

    7. Run qinq termination pe-vid pe-vid [ to high-pe-vid ] ce-vid ce-vid [ to high-ce-vid ]

      The sub-interface is configured as a QinQ VLAN tag termination sub-interface.

    8. Run evpn binding vpn-instance vpn-instance-name

      The PW VE sub-interface is bound to an EVPN instance.

    9. Run commit

      The configuration is committed.

Verifying the Configuration

  • Run the display evpn vpn-instance [ verbose ] command to view information about the EVPN instance-bound PW VE sub-interfaces.
  • Run the display mpls l2vc [ vc-id | brief | interface interface-type interface-number | remote-info [ vc-id | unmatch | verbose ] | state { down | up } ] command to view the VLL-bound PW VE interfaces.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >