HP MSR2000/3000/4000 Router Series MPLS Configuration Guide

21
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
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable LDP for the local
node or for a VPN.
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
By default, LDP is disabled.
3. Configure an LDP LSR ID.
lsr-id lsr-id
By default, the LDP LSR ID is
the same as the MPLS LSR ID.
Enabling LDP on an interface
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
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 Link Hello parameters
Ste
p
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.