27
Setting Link Hello timers
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter the view of the
interface where you want to
establish an LDP session.
interface
interface-type
interface-number
N/A
3.
Set the Link Hello hold time.
mpls ldp timer
hello-hold
timeout
By default, the Link Hello hold
time is 15 seconds.
4.
Set the Link Hello interval.
mpls ldp timer
hello-interval
interval
By default, the Link Hello interval
is 5 seconds.
Setting Targeted Hello timers for an LDP peer
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter LDP view.
mpls ldp
N/A
3.
Specify an LDP peer and enter
LDP peer view. The device will
send unsolicited Targeted
Hellos to the peer and can
respond to the Targeted Hellos
received from the peer.
targeted-peer
{
ipv4-address
|
ipv6-address
}
By default, the device does not
send Targeted Hellos to any
peers, or respond to Targeted
Hellos received from any peers.
4.
Set the Targeted Hello hold
time.
mpls ldp timer
hello-hold
timeout
By default, the Targeted Hello
hold time is 45 seconds.
5.
Set the Target Hello interval.
mpls ldp timer
hello-interval
interval
By default, the Targeted Hello
interval is 15 seconds.
Configuring LDP session parameters
This task configures the following LDP session parameters:
•
Keepalive hold time and Keepalive interval.
•
LDP transport address—IP address for establishing TCP connections.
LDP uses Basic Discovery and Extended Discovery mechanisms to discovery LDP peers and
establish LDP sessions with them.
When you configure LDP session parameters, follow these guidelines:
•
The configured LDP transport address must be the IP address of an up interface on the device.
Otherwise, no LDP session can be established.
•
Make sure the LDP transport addresses of the local and peer LSRs can reach each other.
Otherwise, no TCP connection can be established.
Configuring LDP sessions parameters for Basic Discovery mechanism
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 Keepalive hold time.
mpls ldp timer
keepalive-hold
timeout
By default, the Keepalive hold
time is 45 seconds.