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

S9300, S9300E, and S9300X 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).
(Optional) Configuring an mPW

(Optional) Configuring an mPW


If there are multiple service PWs, configure BFD for mPW and associate these service PWs with the mPW to reduce the number of BFD sessions and save public network bandwidth. In this way, BFD monitors service PWs by detecting the mPW. Generally, an mPW is configured on the primary PW path but not the secondary PW path.

Figure 5-16 and Figure 5-17 show PW redundancy scenarios where CEs are asymmetrically connected to PEs. Assume that the PW between PE1 and PE2 is the primary PW.

Figure 5-18  Networking diagram of PW redundancy in the scenario where CEs are asymmetrically connected to PEs (single-hop PWs)
Figure 5-19  Networking diagram of PW redundancy in the scenario where CEs are asymmetrically connected to PEs (multi-hop PWs)


  • Perform the following operations on PE1 and PE2.
    1. Run:


      The system view is displayed.

    2. Run:

      interface loopback interface-number

      The loopback interface view is displayed.

      An mPW can be configured only in the loopback interface view where no IP address is configured.

    3. Run:

      mpls l2vc { ip-address | pw-template pw-template-name } * vc-id [ tunnel-policy policy-name | control-word ] * admin

      An mPW is configured.

      • When creating a PW, specify the IP address and VC ID of the destination PE. The VC IDs of devices at both ends of the VC must be the same.

      • The default tunnel policy for a dynamic PW uses the LDP tunnel, and only one LDP is used for load balancing. To use another tunnel type, specify tunnel-policy policy-name to import the desired tunnel policy.

      • To configure BFD for PW to rapidly detect faults in public network links, configure control-word to enable the control word function on an mPW because BFD control packets are encapsulated in PW control packets.

      • The encapsulation type of an mPW is ip-interworking.

  • (Optional) Perform the following operations on SPE1 if the service PW is a multi-hop PW.
    1. Run:


      The system view is displayed.

    2. Run:

      mpls switch-l2vc ip-address vc-id [ tunnel-policy policy-name ] between ip-address vc-id [ tunnel-policy policy-name ] encapsulation ip-interworking [ control-word-transparent ]

      A switching PW of the mPW is configured.

      • The PW ID and PW type of a node must be unique. The PW IDs of devices at both sides of the switching PW, however, can be the same.

      • The encapsulation type is set to ip-interworking when an mPW is configured on a loopback interface. Accordingly, the encapsulation type must be set to ip-interworking when a switching PW is configured.

      • control-word-transparent indicates that the control word transparent transmission function must be configured on the SPE before configuring BFD to detect PWs. Otherwise, the BFD session cannot be established.

Updated: 2019-08-21

Document ID: EDOC1000142068

Views: 120854

Downloads: 214

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