Example of MPLS Fast Reroute Configuration

This example describes an MPLS Fast Reroute Loop Configuration. It provides the configuration required on Ingress Router 4 and examples of the show mpls rsvp session displays for all of the routers in the configuration. These examples show how the MPLS Fast Reroute configuration of an LSP affects the RSVP session on each of the routers in the configuration.

As illustrated in MPLS Fast Reroute Loop configuration and described in the configuration example that follows, Ingress Router 4 is configured with a strict Label Switch Path A to Egress Router 5. In this configuration, when the path is broken between Ingress Router 4 and Egress Router 5, Transit Routers 2 or 6 take a detour path back through Ingress Router 4 and continue through Transit Routers 3 and 1 to reach Egress Router 5.

Click to expand in new window
MPLS Fast Reroute Loop configuration

The following is the MPLS Fast Reroute configuration for Ingress Router 4.

device(config)# interface loopback 1
device4(config-Loopback-1)# ip address 10.4.4.4/24
device4(config)# interface ethernet 0/1
device4(config-if-eth-0/1)# ip address 10.10.10.2/24
device4(config)# interface ethernet 0/9
device4(config-if-eth-0/9)# ip address 10.13.13.1/24
device4(config)# router mpls
device4(config-router-mpls)# mpls-interface ethernet 0/1 ethernet 0/9
device4(config-router-mpls-if-eth-0/1-eth-0/9)# path a
device4(config-router-mpls-path-a)#hop 10.2.2.2 strict              
device4(config-router-mpls-path-a)# hop 10.6.6.6 strict
device4(config-router-mpls)# lsp 1
device4(config-router-mpls-lsp-1)# to 10.5.5.5
device4(config-router-mpls-lsp-1)# primary-path a
device4(config-router-mpls-lsp-1)# frr