Configuring a bypass LSP adaptive parameter

Bypass LSPs can be made adaptive by using the adaptive command. By default, bypass LSPs are non-adaptive . The user can modify the adaptive bypass LSP adaptive-parameters without disabling the LSP. When the LSP is UP, then modifying an adaptive parameter, such as exclude-interface or bandwidth, leads to the creation of a new instance of the bypass LSP. Adaptiveness can be manually enabled by using the adaptive command and can be disabled by no adaptive for of the same command.

To make the bypass LSP adaptive, 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 of my-bypass-lsp .
    device(config-router-mpls)# bypass-lsp my-bypass-lsp
  4. Configure the command to be adaptive.
    device(config-router-mpls-bypass-lsp-my-bypass-lsp)# adaptive

The following example combines the steps above to configure a static bypass LSP as adaptive with a unique bypass LSP name of my-bypass-lsp .

device>configure
device(config)# router mpls
device(config-router-mpls)# bypass-lsp my-bypass-lsp
device(config-router-mpls-bypass-lsp-my-bypass-lsp)# adaptive