25
Step Command
Remarks
2.
Enter interface view.
interface
interface-type interface-number
If the interface is bound to a
VPN instance, you must
enable LDP for the VPN
instance by using the
vpn-instance
command in
LDP view.
3.
Enable LDP on the interface.
mpls ldp enable
By default, LDP is disabled
on an interface.
Configuring Hello parameters
Perform this task to configure the following hello timers:
•
Link Hello hold time and Link Hello interval.
•
Targeted Hello hold time and Targeted Hello interval for a specific peer.
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.