hop-limit
Syntax
Hierarchy Level
[edit protocols mpls],
[edit protocols mplslabel-switched-pathlsp-path-name],
[edit protocols mplslabel-switched-pathlsp-path-name(primary|secondary)path-name],
[edit protocols mpls label-switched-pathlsp-path-namefast-reroute]Description
For an LSP, the maximum number of routers that the LSP can traverse, including the ingress and egress routers.
For fast reroute, how many more routers a detour is allowed to traverse compared to the LSP itself. For example, if an LSP traverses four routers, any detour for the LSP can be no more than ten router hops, including the ingress and egress routers.
Options
number—Maximum number of hops.
Range: 2 through 255 (for an LSP); 0 through 255 (for fast reroute)
Default: 255 (for an LSP); 6 (for fast reroute)Usage Guidelines
See Configure Fast Reroute and Configure the Maximum Path Length.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.