319
[RouterD-bgp-ipv6] quit
[RouterD-bgp] quit
5.
Configure BGP FRR:
# On Router A, create routing policy
frr
to set a backup next hop 2001::2 (Router C) for the route
destined for 4::/64.
<RouterA> system-view
[RouterA] ipv6 prefix-list abc index 10 permit 4:: 64
[RouterA] route-policy frr permit node 10
[RouterA-route-policy] if-match ipv6 address prefix-list abc
[RouterA-route-policy] apply ipv6 fast-reroute backup-nexthop 2001::2
[RouterA-route-policy] quit
# Apply the routing policy to BGP FRR for BGP IPv6 unicast address family.
[RouterA] bgp 100
[RouterA-bgp] address-family ipv6 unicast
[RouterA-bgp-ipv6] fast-reroute route-policy frr
[RouterA-bgp-ipv6] quit
[RouterA-bgp] quit
# On Router D, create routing policy
frr
to set a backup next hop 2002::1 (Router C) for the route
destined for 1::/64.
<RouterD> system-view
[RouterD] ipv6 prefix-list abc index 10 permit 1:: 64
[RouterD] route-policy frr permit node 10
[RouterD-route-policy] if-match ipv6 address prefix-list abc
[RouterD-route-policy] apply ipv6 fast-reroute backup-nexthop 2002::1
[RouterD-route-policy] quit
# Apply the routing policy to BGP FRR for BGP IPv6 unicast address family.
[RouterD] bgp 200
[RouterD-bgp] address-family ipv6 unicast
[RouterD-bgp-ipv6] fast-reroute route-policy frr
[RouterD-bgp-ipv6] quit
[RouterD-bgp] quit
Verifying the configuration
# Display detailed information about the route to 4::/64 on Router A. The output shows the backup next
hop for the route.
[RouterA] display ipv6 routing-table 4:: 64 verbose
Summary Count : 1
Destination: 4::/64
Protocol: BGP4+ Process ID: 0
SubProtID: 0x2 Age: 00h00m58s
Cost: 0 Preference: 255
IpPre: N/A QosLocalID: N/A
Tag: 0 State: Active Adv
OrigTblID: 0x0 OrigVrf: default-vrf
TableID: 0xa OrigAs: 200
NibID: 0x25000003 LastAs: 200