No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


NE40E V800R010C10SPC500 Configuration Guide - User Access 01

This is NE40E V800R010C10SPC500 Configuration Guide - User Access
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring vCPE L2 Openness

Configuring vCPE L2 Openness

To allow home users and VAS servers to reside in the same L2 domain for facilitated information transfer and also allow the deployment of a test server to remotely locate faults, configure vCPE L2 openness.

Usage Scenario

vCPE allows a BRAS to manage downstream L2 CPEs as home users and send traffic from different L2 CPEs to the carrier network through different GRE tunnels. To differentiate and manage home users, vCPE allows DHCP servers to allocate private network addresses based on QinQ information. Each QinQ pair corresponds to independent address space.

Figure 9-4 vCPE L2 openness networking

On the network shown in Figure 9-4, the BRAS uses user-VLAN sub-interfaces bound to the same VSI to connect to the OLT and test server, which send packets carrying double VLAN tags to the BRAS. The BRAS uses a QinQ sub-interface bound to the same VSI to connect to the value-added service platform (VSP), with any CE-VLAN ID allowed by the QinQ sub-interface. The BRAS can then transparently transmit packets carrying double VLAN tags from the OLT and test server to the VSP.

vCPE L2 openness offers the following benefits:
  • User terminals and VSP are connected through the BRAS in the same L2 bridge domain, facilitating information transfer.

  • The test server can communicate with home users in the L2 bridge domain. If a user reports a fault, the test server can simulate the user login behavior and use ARP, ping, and port scanning to detect the user services and terminal information for remote fault locating.

Pre-configuration Tasks

Before configuring vCPE L2 openness, configure vCPE access.

Configuration Procedures

Figure 9-5 Flowchart for configuring vCPE L2 openness

Configuring QinQ Transparent Transmission

After transparent transmission is configured for a QinQ VLAN tag termination sub-interface, the sub-interface directly transparently transmits received double-tagged packets.


In vCPE Layer 2 open scenarios, QinQ is used to plan and manage home users, and private IP addresses are planned for QinQ when a DHCP server assigns IP addresses. A BRAS must transparently transmit double-tagged packets from an OLT and test server to a peer device.


  1. Run system-view

    The system view is displayed.

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

    The view of the PE's user-side Ethernet sub-interface is displayed.

  3. Run encapsulation qinq-termination

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

    By default, no QinQ termination is configured on a sub-interface.

  4. Run qinq termination l2 transparent

    Transparent transmission is configured on the sub-interface.


    This command is supported only on the Admin-VS.

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

    The VLAN ID in the inner tag is configured as any value.

  6. Run commit

    The configuration is committed.

Binding an AC Interface to a VSI

This section describes how to bind an AC interface to a vCPE VSI, so that a PC can communicate with a server.


  1. Configure a vCPE VSI.
    1. Run system-view

      The system view is displayed.

    2. Run mpls

      MPLS is enabled.

    3. Run quit

      Return to the system view.

    4. Run mpls l2vpn

      MPLS L2VPN is enabled.

    5. Run quit

      Return to the system view.

    6. Run vsi vsi-name vcpe-mode

      A vCPE VSI is configured.

    7. Run quit

      Return to the system view.

  2. Bind an AC interface to a vCPE VSI.
    1. Run interface interface-type interface-number.sub-number

      The view of the AC interface connecting the BRAS to an OLT is displayed.

    2. Run l2 binding vsi vsi-name

      The AC interface, which may be a QinQ VLAN tag termination sub-interface or user-VLAN interface, is bound to the vCPE VSI.


    After this step is performed, BUM packets in the VSI's broadcast domain will be broadcast to every open Layer 2 sub-interface, and you have to configure sub-interface-based traffic limit on the access sub-interface.

  3. Run commit

    The configuration is committed.

Updated: 2019-01-03

Document ID: EDOC1100055031

Views: 19364

Downloads: 85

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next