94
Step Command
Remarks
6.
Enable OSPF FRR to calculate
a backup next hop by using
the LFA algorithm.
fast-reroute
lfa
[
abr-only
]
By default, OSPF FRR is not configured.
If
abr-only
is specified, the route to the
ABR is selected as the backup path.
Configuring OSPF FRR to specify a backup next hop using a routing policy
Before you configure this task, use the
apply fast-reroute backup-interface
command to specify a backup
next hop in the routing policy to be referenced. For more information about the
apply fast-reroute
backup-interface
command and routing policy configuration, see "
Configuring routing policies
."
To configure OSPF FRR to specify a backup next hop using a routing policy:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter OSPF view.
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
] *
N/A
3.
Enable OSPF FRR to specify a
backup next hop by using a
routing policy.
fast-reroute
route-policy
route-policy-name
By default, OSPF FRR is not
configured.
Configuring BFD for OSPF FRR
By default, OSPF FRR does not use BFD to detect primary link failures. To speed up OSPF convergence,
enable BFD single-hop echo detection for OSPF FRR to detect primary link failures.
To configure BFD for OSPF FRR:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the source
IP address of BFD
echo packets.
bfd echo-source-ip
ip-address
By default, the source IP
address of BFD echo packets is
not configured.
3.
Enter interface view.
interface
interface-type interface-number
N/A
4.
Enable BFD for
OSPF FRR.
ospf primary-path-detect bfd echo
By default, BFD for OSPF FRR
is disabled.
Displaying and maintaining OSPF
Execute
display
commands in any view and
reset
commands in user view.
Task Command
Display OSPF process information.
display ospf
[
process-id
] [
verbose
]
Display OSPF GR information.
display ospf
[
process-id
]
graceful-restart
[
verbose
]
Display OSPF FRR backup next hop
information.
display ospf
[
process-id
]
[
area
area-id
]
fast-reroute lfa-candidate