Configuring an LDP PW

Before you configure an LDP PW, enable global and interface MPLS LDP on the PE. For information about MPLS LDP configuration, see "Configuring LDP."

To configure an LDP PW:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter VSI view.

vsi vsi-name

N/A

3. Specify LDP signaling for PWs, and enter VSI LDP signaling view.

pwsignaling ldp

By default, no PW signaling protocol is specified.

4. Configure an LDP PW, and enter VSI LDP PW view.

peer ip-address [ pw-id pw-id ] [ no-split-horizon | pw-class class-name | tunnel-policy tunnel-policy-name ] *

By default, no LDP PW is configured.

If you have configured a default PW ID for the VSI with the default-pw-id command, you can use the default PW ID without providing a PW ID in the peer command. If no default PW ID is configured, you must provide a PW ID in the peer command.

You must specify the no-split-horizon keyword to disable split horizon when you configure an NPE to establish a U-PW with a UPE.