Configuring a static bypass LSP

Configure the bypass LSP by specifying a unique name. The name must be unique across the regular LSPs and the bypass LSPs in the system. The bypass-lsp command creates an instance of the bypass LSP with its administrative status as down. You must configure a few of the mandatory parameters in order to enable (admin up) the bypass LSP. You can delete the bypass LSP by using the no bypass-lsp form of the command.

To configure the static bypass LSP, 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

Example

The following example shows how to configure a static bypass LSP with a unique bypass LSP 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)#