4-33
Parameters
auto
: Calculates a backup next hop automatically for all routes.
route-policy
route-policy-name
: References a route policy to designate a backup next hop. The
route-policy-name
argument is a string of 1 to 19 characters.
Description
Use the
fast-reroute
command to configure OSPF fast reroute (FRR).
Use the
undo fast-reroute
command to restore the default.
By default, OSPF FRR is not configured.
Note that:
z
Do not use OSPF FRR and BFD (for OSPF) at the same time; otherwise, OSPF FRR may fail to
take effect.
z
Do not use the
fast-reroute auto
command together with the commands
vlink-peer
.
Examples
# Enable FRR to automatically calculate a backup next hop for all routes in OSPF process 100.
<Sysname> system-view
[Sysname] bfd echo-source-ip 1.1.1.1
[Sysname] ospf 100
[Sysname-ospf-100] fast-reroute auto
# Enable FRR to designate a backup next hop by using route policy
frr
for OSPF process 100.
<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 vlan-interface 1 backup-nexthop
193.1.1.8
[Sysname-route-policy] quit
[Sysname] ospf 100
[Sysname-ospf-100] fast-reroute route-policy frr
filter
Syntax
filter
{
acl-number
|
ip-prefix ip-prefix-name
} {
export
|
import
}
undo filter
{
export
|
import
}
View
OSPF area view
Default Level
2: System level
Parameters
acl-number
: ACL number, in the range 2000 to 3999.
ip-prefix-name
: IP prefix list name, a string of up to 19 characters. For details about IP prefix lists, see
Route Policy Configuration
in the
Layer 3 - IP Routing Configuration Guide
.