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.


Configuration Guide - VPN

S1720, S2700, S5700, and S6720 V200R010C00

This document describes the VPN configuration procedures and provides configuration examples.
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 an SVC VLL

Configuring an SVC VLL

Pre-configuration Tasks

The SVC VLL is a simplified Martini mode, in which inner labels are manually specified. The SVC mode makes planning of label resources on VLL networks easier, but it increases configuration workload and is not easy to extend.

Before configuring the SVC VLL, complete the following tasks:

  • Configure static routes or an IGP protocol for the PE and P devices on the MPLS backbone network to implement IP connectivity.

  • Enable MPLS for PEs and Ps.

  • Set up an LSP tunnel or a TE tunnel between the PEs

    You also need to configure tunnel policies when VLL services need to be transmitted over TE tunnels or when VLL services need to be load balanced among multiple tunnels to fully use network resources. For details, see step 1 in Configuring and Applying a Tunnel Policy.


Perform the following operations on the PE devices at both ends of a VC:

  1. Run:


    The system view is displayed.

  2. Run:

    mpls l2vpn

    MPLS L2VPN is enabled and the MPLS L2VPN view is displayed.

  3. Run:


    Return to the system view.

  4. Run:

    interface interface-type interface-number

    The AC interface view is displayed.

    The SVC VLL can use the following interfaces as AC interfaces: GE interfaces, GE sub-interfaces, XGE interfaces, XGE sub-interfaces, 40GE interfaces, 40GE sub-interfaces, Eth-Trunk sub-interfaces, VLANIF interfaces, and Eth-Trunk interfaces.

    The sub-interfaces can be dot1q sub-interfaces, QinQ sub-interfaces, QinQ mapping sub-interfaces or QinQ stacking sub-interfaces.


    To use an XGE interface, a GE interface, a 40GE interface, or an Eth-Trunk interface of the device as the AC interface of the PE, run the undo portswitch command to change a Layer 2 interface to a Layer 3 interface.

  5. Run:

    mpls static-l2vc { { destination ip-address | pw-template pw-template-name vc-id } * | destination ip-address [ vc-id ] } transmit-vpn-label transmit-label-value receive-vpn-label receive-label-value tunnel-policy tnl-policy-name | [ [ control-word | no-control-word ] | [ raw | tagged ] ]  *

    The SVC VLL is created.

    A PW template must be configured before you can use the SVC VLL. For details on how to configure a PW template, see Creating a PW Template and Setting Attributes for the PW Template.

    • If virtual circuit connectivity verification (VCCV) is not required for a static VC, vc-id does not need to be specified. vc-id is mandatory when VCCV needs to be performed.

    • The incoming label of the CCC and receive label of the SVC all range from 16 to 1023. They are in the same label space with those reserved for static LSPs. However, the outgoing label of the CCC and the transmit label of the SVC range from 0 to 1048575 because they are used for interworking.

  6. (Optional) Run:

    mpls l2vpn service-name service-name

    A name is configured for the L2VPN service. You can now monitor the L2VPN service by clicking the name directly on the NMS GUI.

Checking the Configuration

After completing the SVC VLL configuration, run the following commands to check information about the SVC connection and interfaces used by the SVC connection.

  • Run the display mpls static-l2vc [ interface interface-type interface-number ] command to check the SVC L2VPN connection information on the PE.
  • Run the display mpls static-l2vc brief command to check the SVC L2VPN connection brief information on the PE.
  • Run the display l2vpn ccc-interface vc-type static-vc [ down | up ] command to check the interface information of the SVC connections in Up/Down state.
Updated: 2019-08-21

Document ID: EDOC1000141944

Views: 127981

Downloads: 606

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