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

Reminder

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

upgrade

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).
Creating a VSI and Configuring LDP Signaling

Creating a VSI and Configuring LDP Signaling

Context

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.

On a PW in LDP mode between two PEs with a Huawei device functioning as one PE and a non-Huawei device functioning as the other, if the non-Huawei device does not have the capability of processing L2VPN label requests, the mpls l2vpn no-request-message command needs to be run on the Huawei device to allow communication between the two devices. This command cannot be used in other cases.

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

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    vsi vsi-name static

    A VSI is created and static member discovery mechanism is adopted.

  3. 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.

  4. Run:

    vsi-id vsi-id

    The VSI ID is configured.

    NOTE:

    The two ends of the VSI must agree on the same VSI ID.

    By default, no VSI ID is set.

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

  5. Run:

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

    The VSI peer is configured.

    By default, no peer is configured for a VSI.

  6. (Optional) 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.

    NOTE:
    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.

  7. (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.

  8. (Optional) Run:

    ignore-stp-loopcheck

    The STP loop detection function of PW is disabled, that is, the PW that cannot be blocked by STP.

    By default, STP loop detection is enabled for the PW.

  9. (Optional) Run:

    quit

    Return to the VSI-LDP view.

  10. (Optional) The VPLS encapsulation type is configured.
    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.

      When the QinQ sub-interface or dot1q sub-interface is bound to the VSI, the VPLS encapsulation type cannot be set to ethernet.

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000141944

Views: 104283

Downloads: 577

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