R3303-HP HSR6800 Routers MPLS Command Reference

47
undo graceful-restart timer recovery
Default
The LDP recovery time is 300 seconds.
Views
MPLS LDP view
Default command level
2: System level
Parameters
timer: Specifies the LDP recovery time in the range of 3 to 300 seconds.
Usage guidelines
The LDP recovery time refers to the maximum time that the stale state label will be kept by the LSR after
a TCP reconnection.
Modifying the LDP recovery time will cause all LDP sessions and all LSPs based on the sessions to be
removed and then reestablished.
Examples
# Set the LDP recovery time to 45 seconds.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-mpls-ldp] graceful-restart timer recovery 45
hops-count
Use hops-count to set the maximum hop count for loop detection.
Use undo hops-count to restore the default.
Syntax
hops-count hop-number
undo hops-count
Default
The maximum hop count for loop detection is 32.
Views
MPLS LDP view, MPLS LDP VPN instance view
Default command level
2: System level
Parameters
hop-number: Specifies the hop count in the range of 1 to 32.
Usage guidelines
Configure this command before enabling LDP on any interface.
The maximum hop count dictates how fast LDP detects a loop. Adjust this value as required.