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).
Configuring a PW

Configuring a PW


Only LDP PWs can be configured.

Do as follows on the SPE and the UPE devices:


  • Configure a PW in HVPLS networking mode.

    For details, see Configuring LDP HVPLS.

    1. Run:


      The system view is displayed.

    2. Run:

      vsi vsi-name static

      A VSI is created and the static member discovery mode is specified.

    3. Run:

      pwsignal ldp

      LDP is configured as the PW signaling protocol and the VSI-LDP view is displayed.

    4. Run:

      vsi-id vsi-id

      The VSI ID is set.

    5. Run the following commands to configure VSI peers and establish PWs:

      • To specify an SPE as the peer of the UPE or to specify an NPE as the peer of an SPE, run:

        peer peer-address [ negotiation-vc-id vc-id ] [ tnl-policy policy-name ]
      • To specify the UPE as the peer of an SPE, run:

        peer peer-address [ negotiation-vc-id vc-id ] [ tnl-policy policy-name ] upe  [ ignore-standby-state ]

      From the perspective of the UPE, the PW between itself and an SPE is a hub PW; from the perspective of an SPE, the PW between itself and the UPE is a spoke PW.

    6. Run:


      Return to the VSI view.

    7. Run:


      Return to the system view.

    8. Run:

      interface interface-type interface-number

      The AC interface view is displayed.

      This command must be run on the UPEs, but does not need to be run on the SPEs. In this scenario, the AC interface of the UPE is an Ethernet interface.

    9. Run:

      undo portswitch

      The Layer 2 interface is configured as a Layer 3 interface.

    10. Run:

      l2 binding vsi vsi-name

      The AC interface is bound to the VSI.

Updated: 2019-08-21

Document ID: EDOC1000142068

Views: 119787

Downloads: 212

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