Configuring BFD for OSPF
BFD provides a single mechanism to quickly detect and monitor the connectivity of links between OSPF
neighbors, which improves the network convergence speed. For more information about BFD, see High
Availability Configuration Guide.
OSPF supports the following BFD detection modes:
Bidirectional control detection—Requires BFD configuration to be made on both OSPF routers on
•
the link.
•
Single-hop echo detection—Requires BFD configuration to be made on one OSPF router on the link.
Configuring bidirectional control detection
Step
1.
Enter system view.
2.
Enter interface view.
3.
Enable BFD bidirectional control
detection.
Configuring single-hop echo detection
Step
1.
Enter system view.
2.
Configure the source address of echo
packets.
3.
Enter interface view.
4.
Enable BFD single-hop echo
detection.
Configuring OSPF FRR
A link or router failure on a path can cause packet loss and even routing loop until OSPF completes
routing convergence based on the new network topology. FRR enables fast rerouting to minimize the
impact of link or node failures.
Command
system-view
interface interface-type
interface-number
ospf bfd enable
Command
system-view
bfd echo-source-ip ip-address
interface interface-type
interface-number
ospf bfd enable echo
92
Remarks
N/A
N/A
By default, BFD bidirectional control
detection is disabled.
Both ends of a BFD session must be on
the same network segment and in the
same area.
Remarks
N/A
By default, the source address
of echo packets is not
configured.
N/A
By default, BFD single-hop
echo detection is disabled.