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