R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)
126
2. Configure OSPF on the routers to make sure Router S, Router A, and Router D can communicate
with each other at the network layer. (Details not shown.)
3. Configure OSPF FRR:
You can enable OSPF FRR to either calculate a backup next hop by using the LFA algorithm, or
specify a backup next hop by using a routing policy.
{ (Method 1.) Enable OSPF FRR to calculate a backup next hop by using the LFA algorithm:
# Configure Router S.
<RouterS> system-view
[RouterS] ospf 1
[RouterS-ospf-1] fast-reroute lfa
[RouterS-ospf-1] quit
# Configure Router D.
<RouterD> system-view
[RouterD] ospf 1
[RouterD-ospf-1] fast-reroute lfa
[RouterD-ospf-1] quit
{ (Method 2.) Enable OSPF FRR to specify a backup next hop by using a routing policy:
# Configure Router S.
<RouterS> system-view
[RouterS] ip prefix-list abc index 10 permit 4.4.4.4 32
[RouterS] route-policy frr permit node 10
[RouterS-route-policy-frr-10] if-match ip address prefix-list abc
[RouterS-route-policy-frr-10] apply fast-reroute backup-interface
gigabitethernet 2/1/1 backup-nexthop 12.12.12.2
[RouterS-route-policy-frr-10] quit
[RouterS] ospf 1
[RouterS-ospf-1] fast-reroute route-policy frr
[RouterS-ospf-1] quit
# Configure Router D.
<RouterD> system-view
[RouterD] ip prefix-list abc index 10 permit 1.1.1.1 32
[RouterD] route-policy frr permit node 10
[RouterD-route-policy-frr-10] if-match ip address prefix-list abc
[RouterD-route-policy-frr-10] apply fast-reroute backup-interface
gigabitethernet 2/1/1 backup-nexthop 24.24.24.2
[RouterD-route-policy-frr-10] quit
[RouterD] ospf 1
[RouterD-ospf-1] fast-reroute route-policy frr
[RouterD-ospf-1] quit
Verifying the configuration
# Display route 4.4.4.4/32 on Router S to view the backup next hop information.
[RouterS] display ip routing-table 4.4.4.4 verbose
Summary Count : 1
Destination: 4.4.4.4/32