< Home

Configuring a PW

Context

Only LDP PWs can be configured.

Do as follows on the SPE and the UPE devices:

Procedure

  • Configure a PW in HVPLS networking mode.

    For details, see Configuring LDP HVPLS.

    1. Run system-view

      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:

      • Run peer peer-address [ negotiation-vc-id vc-id ] [ tnl-policy policy-name ]

        An SPE is specified 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 ] upe [ ignore-standby-state ]

        A UPE is specified as the peer of an SPE

      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 quit

      Return to the VSI view.

    7. Run quit

      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.

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