Enabling LDP
To enable LDP, you must enable LDP globally, and then enable LDP on relevant interfaces or configure
IGP to automatically enable LDP on those interfaces.
Enabling LDP globally
Step
1.
Enter system view.
2.
Enable LDP for the local
node or for a VPN.
3.
Configure an LDP LSR ID.
Enabling LDP on an interface
Step
1.
Enter system view.
2.
Enter interface view.
3.
Enable LDP on the 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
1.
Enter system view.
Command
system-view
•
Enable LDP for the local node and
enter LDP view:
mpls ldp
•
Enable LDP for a VPN and enter
LDP-VPN instance view:
a.
mpls ldp
b.
vpn-instance vpn-instance-name
lsr-id lsr-id
Command
system-view
interface interface-type interface-number
mpls ldp enable
Command
system-view
64
Remarks
N/A
By default, LDP is disabled.
By default, the LDP LSR ID is
the same as the MPLS LSR ID.
Remarks
N/A
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.
By default, LDP is disabled
on an interface.
Remarks
N/A