
12
Step Command
Remarks
6.
Enable LDP capability for the
interface.
mpls ldp
Not enabled by default.
NOTE:
Disabling LDP on an interface terminates all LDP sessions on the interface. As a result, all LSPs
using the sessions are deleted.
Configuring local LDP session parameters
LDP sessions established between local LDP peers are local LDP sessions. To establish a local LDP
session:
•
Determine the LDP transport addresses of the two peers and make sure that the LDP transport
addresses are reachable to each other. This step is to establish the TCP connection.
•
If many LDP sessions exist between the two LSRs or the CPU is occupied much, you must
adjust timers to ensure the stability of the LDP sessions.
To configure local LDP session parameters:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Set the link Hello timer.
mpls ldp timer
hello-hold
value
Optional.
15 seconds by default.
4.
Set the link Keepalive timer.
mpls ldp timer
keepalive-hold
value
Optional.
45 seconds by default.
5.
Configure the LDP transport
address.
mpls ldp transport-address
{
ip-address
|
interface
}
Optional.
The default takes the value of the
MPLS LSR ID.
The specified IP address must be
the IP address of an interface on
the device.
Configuring remote LDP session parameters
LDP sessions established between remote LDP peers are remote LDP sessions. Remote LDP
sessions are mainly used in Martini MPLS L2VPN, Martini VPLS, and MPLS LDP over MPLS TE. For
more information about remote session applications, see "Configuring MPLS L2VPN," "Configuring
VPLS," and "Configuring MPLS TE."
To establish a remote LDP session, perform the following operations:
•
Determine the LDP transport addresses of the two peers and make sure the LDP transport
addresses are reachable to each other. Do this to establish the TCP connection.
•
If many LDP sessions exist between the two LSRs or the CPU is occupied often, adjust timers
to ensure the stability of the LDP sessions.
To configure remote LDP session parameters: