loop-detection-hop-count
Use this command to set the loop detection hop count, which determines the maximum hop-count value.
This command sets the maximum hop count value, which specifies the permitted maximum permitted hop-count. An LSR that detects a maximum hop count behaves as if the containing message has traversed a loop. The use of this command ensures that a loop is detected while establishing a label switched path before any data is passed via LSP.
Use the no parameter to revert to the default loop detection count
Command Syntax
loop-detection-hop-count <1-255>
Parameters
<1-255>
Indicates the loop detection hop count.
Default
By default, loop detection hop is disabled
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router ldp
(config-router)#loop-detection-hop-count 128
Last modified date: 10/17/2023