R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference

31
Usage guidelines
Configuring static route FRR needs to reference a routing policy, which specifies a backup next hop with
the apply fast-reroute backup-interface command. For more information about the command and
routing policy configurations, see Layer 3—IP Routing Configuration Guide.
Static route FRR takes effect only for static routes that have both the outgoing interface and next hop
specified.
Do not use static route FRR and BFD (for static route) at the same time.
Example
# Enable static route FRR to designate a backup next hop using routing policy frr.
<Sysname> system-view
[Sysname] bfd echo-source-ip 1.1.1.1
[Sysname] ip ip-prefix abc index 10 permit 100.1.1.0 24
[Sysname] route-policy frr permit node 10
[Sysname-route-policy] if-match ip-prefix abc
[Sysname-route-policy] apply fast-reroute backup-interface gigabitethernet 2/1/1
backup-nexthop 193.1.1.8
[Sysname-route-policy] quit
[Sysname] ip route-static fast-reroute route-policy frr