To configure MPLS fast reroute by using the one-to-one backup method for a defined LSP, complete the following steps.
device# configure
device(config)# router mpls
device(config-router-mpls)# lsp frr_tunnel
device(config-router-mpls-lsp-frr_tunnel)# to 10.1.1.1
device(config-router-mpls-lsp-frr_tunnel)# primary-path direct_path
device(config-router-mpls-lsp-frr_tunnel)# secondary-path alt_path
device(config-router-mpls-lsp-frr_tunnel)# frr
device(config-router-mpls-lsp-frr-tunnel_frr)# bandwidth 100
device(config-router-mpls-lsp-frr-tunnel_frr)# hop-limit 20
In the following example, MPLS Fast Reroute is configured by using the one-to-one backup method for a defined LSP named frr_tunnel .
device# configure device(config)# router mpls device(config-router-mpls)# lsp frr_tunnel device(config-router-mpls-lsp-frr_tunnel)# to 10.1.1.1 device(config-router-mpls-lsp-frr_tunnel)# primary-path direct_path device(config-router-mpls-lsp-frr_tunnel)# secondary-path alt_path device(config-router-mpls-lsp-frr_tunnel)# frr device(config-router-mpls-lsp-frr_tunnel-frr)# bandwidth 100 device(config-router-mpls-lsp-frr_tunnel-frr)# hop-limit 20
Th frr command enables MPLS Fast Reroute using the one-to-one backup on the LSP under whose configuration it is enabled.