Configuring a bypass LSP hop limit

The user can set the bypass LSP hop limit by using the hop-limit command. The hop limit is an adaptive parameter. The hop limit, by default, is not configured.

To configure the bypass LSP hop limit , complete the following steps.

  1. Enable the device for configuration.
    device>configure
  2. Enable the MPLS router.
    device(config)# router mpls
  3. Configure the bypass LSP with the unique static bypass LSP name. In this example, the name is my-bypass-lsp .
    device(config-router-mpls)# bypass-lsp my-bypass-lsp
  4. Configure the hop limit. In this example, the hop limit configuration is 10 .
    device(config-router-mpls-bypass-lsp-my-bypass-lsp)# hop-limit 10

Example

The following example combines the steps above to configure a static bypass LSP with a unique bypass LSP of my-bypass-lsp and the hop limit is 10 .

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 10