
Figure 19: Remote LFA Topology
Configuration
To configure RLFA with OSPF, use the following steps.
1.
Configure the interface(s) of the router.
RP/0/RP0/CPU0:router#
configure
RP/0/RP0/CPU0:router(config)#
interface gigabitEthernet 0/0/0/1
RP/0/RP0/CPU0:router(config-if)#
ipv4 address 10.1.1.1 255.255.255.0
RP/0/RP0/CPU0:router(config-if)#
no shutdown
RP/0/RP0/CPU0:router(config-if)#
exit
RP/0/RP0/CPU0:router(config)#
interface gigabitEthernet 0/0/0/2
RP/0/RP0/CPU0:router(config-if)#
ipv4 address 10.10.10.1 255.255.255.0
RP/0/RP0/CPU0:router(config-if)#
no shutdown
RP/0/RP0/CPU0:router(config-if)#
exit
RP/0/RP0/CPU0:router(config)#
interface loopback0
RP/0/RP0/CPU0:router(config-if)#
ipv4 address 10.10.10.1 255.255.255.255
RP/0/RP0/CPU0:router(config-if)#
no shutdown
RP/0/RP0/CPU0:router(config-if)#
exit
2.
Configure OSPF.
RP/0/RP0/CPU0:router(config)#
router ospf rlfa
RP/0/RP0/CPU0:router(config-ospf)#
router-id 10.1.1.1
RP/0/RP0/CPU0:router(config-ospf)#
area 1
3.
Add the configured interface(s) to OSPF, and configure RLFA.
RP/0/RP0/CPU0:router(config-ospf-ar)#
interface gigabitEthernet 0/0/0/1
RP/0/RP0/CPU0:router(config-ospf-ar-if)#
fast-reroute per-prefix remote-lfa tunnel mpls-ldp
RP/0/RP0/CPU0:router(config-ospf-ar-if)#
fast-reroute per-prefix remote-lfa maximum-cost
20
RP/0/RP0/CPU0:router(config-ospf-ar-if)#
exit
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
327
Implementing OSPF
Configure Remote Loop-Free Alternate Paths for OSPF