Configuring link hello timers, Configuring targeted hello timers for an ldp peer, Configuring ldp session parameters – H3C Technologies H3C S12500-X Series Switches User Manual
Page 33
22
Configuring 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.
Configure the Link Hello hold
time.
mpls ldp timer hello-hold timeout
By default, the Link Hello hold time
is 15 seconds.
4.
Configure the Link Hello
interval.
mpls ldp timer hello-interval
interval
By default, the Link Hello interval is
five seconds.
Configuring 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
sent from the peer.
targeted-peer peer-lsr-id
By default, the device does not
send Targeted Hellos to or
receive Targeted Hellos from
any peer.
4.
Configure the Targeted Hello
hold time.
mpls ldp timer hello-hold timeout
By default, the Targeted Hello
hold time is 45 seconds.
5.
Configure 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
To configure parameters for LDP sessions to be established using Basic Discovery mechanism: