R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)
326
[RouterA] bfd echo-source-ip 11.1.1.1
# Create routing policy frr to set a backup next hop 30.1.1.3 (Router C) for the route destined for
4.4.4.4/32.
[RouterA] ip prefix-list abc index 10 permit 4.4.4.4 32
[RouterA] route-policy frr permit node 10
[RouterA-route-policy] if-match ip address prefix-list abc
[RouterA-route-policy] apply fast-reroute backup-nexthop 30.1.1.3
[RouterA-route-policy] quit
# Use echo-mode BFD to detect the connectivity to Router D.
[RouterA] bgp 100
[RouterA-bgp] primary-path-detect bfd echo
# Apply the routing policy to BGP FRR for BGP IPv4 unicast address family.
[RouterA-bgp] address-family ipv4 unicast
[RouterA-bgp-ipv4] fast-reroute route-policy frr
[RouterA-bgp-ipv4] quit
[RouterA-bgp] quit
# On Router D, configure the source address of BFD echo packets as 44.1.1.1.
[RouterD] bfd echo-source-ip 44.1.1.1
# Create routing policy frr to set a backup next hop 3.3.3.3 (Router C) for the route destined for
1.1.1.1/32.
[RouterD] ip prefix-list abc index 10 permit 1.1.1.1 32
[RouterD] route-policy frr permit node 10
[RouterD-route-policy] if-match ip address prefix-list abc
[RouterD-route-policy] apply fast-reroute backup-nexthop 3.3.3.3
[RouterD-route-policy] quit
# Use echo-mode BFD to detect the connectivity to Router A.
[RouterD] bgp 200
[RouterD-bgp] primary-path-detect bfd echo
# Apply the routing policy to BGP FRR for BGP IPv4 unicast address family.
[RouterD-bgp] address-family ipv4 unicast
[RouterD-bgp-ipv4] fast-reroute route-policy frr
[RouterD-bgp-ipv4] quit
[RouterD-bgp] quit
Verifying the configuration
# Display detailed information about the route to 4.4.4.4/32 on Router A. The output shows the backup
next hop for the route.
[RouterA] display ip routing-table 4.4.4.4 32 verbose
Summary Count : 1
Destination: 4.4.4.4/32
Protocol: BGP Process ID: 0
SubProtID: 0x2 Age: 00h01m52s
Cost: 0 Preference: 255
IpPre: N/A QosLocalID: N/A
Tag: 0 State: Active Adv