Configuring MPLS LDP Capability
Follow these steps to configure MPLS LDP capability:
To do...
Enter system view
Enable LDP capability globally
and enter MPLS LDP view
Configure the LDP LSR ID
Exit to system view
Enter interface view
Enable LDP capability for the
interface
Currently, only VLAN-interface supports LDP capability.
Disabling LDP on an interface terminates all LDP sessions on the interface. As a result, all LSPs
using the sessions will be deleted.
Usually, you do not need to configure the LDP LSR ID, which defaults to the MPLS LSR ID. In
some VPN applications (for example, MPLS L3VPN applications), however, you need to ensure
that different LDP instances have different LDP LSR IDs if the address spaces overlap. Otherwise,
the TCP connections cannot be established normally.
Configuring Local LDP Session Parameters
You can configure a local session transport address to be the IP address of an interface or a specified IP
address.
Follow these steps to configure local LDP session parameters:
To do...
Enter system view
Enter interface view
Set the link Hello timer
Set the link Keepalive timer
Use the command...
system-view
mpls ldp
lsr-id lsr-id
quit
interface interface-type
interface-number
mpls ldp
Use the command...
system-view
interface interface-type
interface-number
mpls ldp timer hello-hold
value
mpls ldp timer
keepalive-hold value
1-21
Remarks
—
Required
Not enabled by default
Optional
MPLS LSR ID of the LSR by
default
—
—
Required
Not enabled by default
Remarks
—
—
Optional
15 seconds by default
Optional
45 seconds by default