Remarks
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Enable BFD bidirectional control
detection.
ospf bfd enable
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.
Configuring single-hop echo detection
Ste
Remarks
1. Enter system view.
system-view N/A
2. Configure the source address of echo
packets.
bfd echo-source-ip ip-address
By default, the source
address of echo packets is
not configured.
3. Enter interface view.
interface interface-type
interface-number
N/A
4. Enable BFD single-hop echo
detection.
ospf bfd enable echo
By default, BFD single-hop
echo detection is disabled.
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 uses BFD to detect failures and enables
fast rerouting to minimize the impact of link or node failures.
Figure 19 Network diagram for OSPF FRR
In Figure 19, configure FRR on Router B by using a routing policy to specify a backup next hop. When the
primary link fails, OSPF directs packets to the backup next hop. At the same time, OSPF calculates the
shortest path based on the new network topology, and forwards packets over the path after network
convergence.
You can configure OSPF FRR to calculate a backup next hop by using the loop free alternate (LFA)
algorithm, or specify a backup next hop by using a routing policy.