< Home

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.

    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.

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

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >