The hop-limit command sets the hop limit in a CR-LSP attribute template.
The undo hop-limit command restore the default hop limit from a CR-LSP attribute template.
By default, the hop limit in a CR-LSP attribute template is 32.
Parameter | Description | Value |
---|---|---|
hop-limit |
Specifies the value of the hop limit. |
The value is an integer that ranges from 1 to 32. The hop limit is 32 by default. |
Usage Scenario
To limit the maximum number of hops supported by each CR-LSP established using the CR-LSP attribute template, run the hop-limit command in the LSP attribute view. This hop limit restricts CR-LSP path selection.
Prerequisites
A CR-LSP attribute template has been created and the LSP attribute view has been entered using the lsp-attribute command.