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.


CLI-based Configuration Guide - VPN

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document describes VPN features on the device and provides configuration procedures and 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).
Creating a VSI and Configuring LDP Signaling

Creating a VSI and Configuring LDP Signaling


When using LDP as the PW signaling, you must configure the VSI ID for a VSI. VSI IDs differentiate VSIs, and you can use these VSI IDs during PW signaling negotiation.

Do as follows on the PEs of the two ends of the PW:


  1. Run system-view

    The system view is displayed.

  2. Run mpls l2vpn

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

  3. Run quit

    Return to the system view.

  4. Run vsi vsi-name static

    A VSI is created and the VSI view is displayed.

  5. Run pwsignal ldp

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

    By default, no signaling mode is configured for a VSI.

  6. Run vsi-id vsi-id

    The VSI ID is configured.

    By default, no VSI ID is set.


    The two ends of the VSI must agree on the same vsi-id.

    The VSI exists only on the PE. One PE can have multiple VSIs. One VPLS on a PE has only one VSI.

  7. Run peer peer-address [ negotiation-vc-id vc-id ]

    The VSI peer is configured.

    By default, no peer is configured for a VSI.

  8. Run peer peer-address [ negotiation-vc-id vc-id ] pw pw-name

    A PW is created and the VSI-LDP-PW view is displayed.

    By default, no PW is created.

    If you have created a PW, you can run the command pw pw-name to enter the VSI-LDP-PW view in the VSI-LDP view.

  9. (Optional) Run undo interface-parameter-type vccv

    The device is configured to delete the VCCV byte following the interface parameter in Mapping packets.

    By default, a mapping packet carries the VCCV byte.

  10. Run quit

    Return to the VSI-LDP view.

  11. (Optional) Configure common VSI parameters.

    Common VSI parameters include the VSI encapsulation mode, MTU for negotiation, and VSI description.

    1. Run quit

      Return to the VSI view.

    2. Run encapsulation { ethernet | vlan }

      The VSI encapsulation type is configured.

      By default, the encapsulation type of the interface is VLAN.

    3. Run mtu mtu-value

      The maximum transmission unit (MTU) for packets sent by the VSI is configured.

      The default value of MTU in the VSI view is 1500.

      When configuring MTUs, note that MTUs of VSIs created for the same VPLS on different PEs must be the same.

      • When an interface is bound to a VSI, the MTU can be configured in the interface view but does not take effect. The PW signaling uses the MTU that is configured in the VSI for PW MTU negotiation.
      • On the router, the MTU value is used only for signaling negotiation and does not limit the size of forwarded packets.

    4. Run description description

      The VSI description is configured.

      By default, the description of a VSI is empty.

Updated: 2019-08-07

Document ID: EDOC1100033725

Views: 150822

Downloads: 365

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