A SERVICE OF

logo

1542 CHAPTER 95: MPLS BASICS CONFIGURATION COMMANDS
Modifying the LDP recovery time may cause the original sessions to be
reestablished. The LSPs based on the sessions will be removed and need to be
reestablished.
Example # Set the LDP recovery time to 45 seconds.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-mpls-ldp] graceful-restart timer recovery 45
hops-count
Syntax hops-count hop-number
undo hops-count
View MPLS LDP view/MPLS LDP VPN instance view
Parameter hop-number: Hop count, in the range 1 to 32.
Description Use the
hops-count command to set the maximum hop count for loop detection.
Use the undo hops-count command to restore the default.
By default, the maximum hop count for loop detection is 32.
Note that:
You must configure the command before enabling LDP on any interface.
The maximum hop count dictates how fast LDP detects a loop. Adjust this
argument as required.
Related command: loop-detect, path-vectors.
Example # Set the maximum hop count for loop detection to 25 for the public network LDP.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-mpls-ldp] hops-count 25
# Set the maximum hop count for loop detection to 25 for LDP instance named
vpn1.
<Sysname> system-view
[Sysname] mpls ldp vpn-instance vpn1
[Sysname-mpls-ldp-vpn-instance-vpn1] hops-count 25
label advertise
Syntax label advertise { explicit-null | implicit-null | non-null }