Gives the ability to change the hop limit to a lower number.
By default, there is no hop-limit configuration .
MPLS LSP configuration mode (config-router-mpls-lsp-lsp_name).
MPLS router bypass LSP configuration mode (config-router-mpls-bypass-lsp-bypass_name).
MPLS router MPLS interface dynamic bypass configuration mode (config-router-mpls-if-ethernet-slot/port-dynamic-bypass)
The no form of the command removes the specified number of hops and returns to the default hop number of 255 hops.
The user can configure an interface level hop-limit for dynamic Bypass LSPs to be created corresponding to a protected link.
Compute the dynamic bypass path, so the hop-limit is the minimum number of the backup requested hop limit and the interface mode configured hop limit. This computed hop limit sets as the dynamic bypass LSP hop limit during the initial creation of dynamic bypass.
MPLS is supported only on devices based on the DNX chipset family. For a list of such devices, see "Supported Hardware".
The following example limits the CSPF to choosing a path consisting of no more than 20 hops for LSP tunnel1 .
device# configure device(config)# router mpls device(config-router-mpls)# lsp tunnel1 device(config-router-mpls-lsp-tunnel1)# hop-limit 20
The following example configures the bypass LSP hop limit to 6.
device# configure device(config)# router mpls device(config-router-mpls)# bypass-lsp my-bypass-lsp device(config-router-mpls-bypass-lsp-my-bypass-lsp)# hop-limit 6
The following example configures dynamic bypass MPLS Ethernet interface 0/8 s hop-limit to 5 .
device# configure device(config)# router mpls device(config-router-mpls)# mpls-interface ethernet 0/8 device(config-router-mpls-if-ethernet-0/8)# dynamic bypass device(config-router-mpls-if-ethernet-0/8-dynamic-bypass)# hop-limit 5