HP MSR2000/3000/4000 Router Series MPLS Configuration Guide

27
Ste
p
Command
Remarks
2. Enter LDP view or enter
LDP-VPN instance view.
Enter LDP view:
mpls ldp
Enter LDP-VPN instance view:
a. mpls ldp
b. vpn-instance vpn-instance-name
N/A
3. Enable loop detection.
loop-detect
By default, loop detection is
disabled.
After loop detection is
enabled, the device uses both
the maximum hop count and
the path vector methods to
detect loops.
4. Specify the maximum hop
count.
maxhops hop-number
By default, the maximum hop
count is 32.
5. Specify the path vector limit.
pv-limit pv-number
By default, the path vector limit
is 32.
NOTE:
The LDP loop detection feature is applicable only in networks comprised of devices that do not support TTL
mechanism, such as ATM switches. Do not use LDP loop detection on other networks because it only results
in extra LDP overhead.
Configuring LDP GR
Before you configure LDP GR, enable LDP on the GR restarter and GR helpers.
To configure LDP GR:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter LDP view.
mpls ldp N/A
3. Enable LDP GR.
graceful-restart By default, LDP GR is disabled.
4. Configure the Reconnect
timer for LDP GR.
graceful-restart timer reconnect
reconnect-time
By default, the Reconnect time is
120 seconds.
5. Configure the MPLS
Forwarding State Holding
timer for LDP GR.
graceful-restart timer forwarding-hold
hold-time
By default, the MPLS Forwarding
State Holding time is 180 seconds.
Resetting LDP sessions
Changes to LDP session parameters, except the MD5 authentication key, do not take effect on existing
LDP sessions. To validate the changes, you must reset the LDP sessions.
Execute the reset mpls ldp command in user view.