Configuring a bypass LSP record route

The user can configure a bypass LSP with a record route option for RSVP session Route recording. The record route option enables by default. The user can manually enable or disable the command by using the record enable and record disable commands respectively.

To enable or disable the bypass LSP record route, 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. Enable or disable the record command.
    • To enable the record command.
      device(config-router-mpls-bypass-lsp-my-bypass-lsp)# record enable
    • To disable the record command.
      device(config-router-mpls-bypass-lsp-my-bypass-lsp)# record disable

Example

The following example combines the steps above to configure a static bypass LSP with a unique bypass LSP name of my-bypass-lsp and a record reroute option of record enable or record disable.

device>configure
device(config)# router mpls
device(config-router-mpls)# bypass-lsp my-bypass-lsp
device(config-router-mpls-bypass-lsp-my-bypass-lsp)# record enable
-or-
device(config-router-mpls-bypass-lsp-my-bypass-lsp)# record disable