Configuring BFD for OSPF
Bidirectional forwarding detection (BFD) provides a single mechanism to quickly detect and monitor the
connectivity of links between OSPF neighbors, reducing network convergence time. For more information
about BFD, see High Availability Configuration Guide.
OSPF supports the following BFD detection methods:
Control packet bidirectional detection, which requires BFD configuration to be made on both OSPF
•
routers on the link.
Echo packet single-hop detection, which requires BFD configuration to be made on one OSPF router
•
on the link.
Configuring control packet bidirectional detection
Both ends of a BFD session must be on the same network segment and in the same area. One network
segment can only belong to one area.
To enable BFD control packet bidirectional detection on an OSPF interface:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Enable BFD control packet bidirectional
detection on the interface.
Configuring echo packet single-hop detection
Step
1.
Enter system view.
2.
Configure the source address of echo
packets.
3.
Enter interface view.
4.
Enable BFD echo packet single-hop
detection on the interface.
Displaying and maintaining OSPF
Task
Display OSPF brief information.
Display OSPF statistics.
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
Command
display ospf [ process-id ] brief [ | { begin |
exclude | include } regular-expression ]
display ospf [ process-id ] cumulative [ | { begin |
exclude | include } regular-expression ]
83
Remarks
N/A
N/A
Not enabled by
default.
Remarks
N/A
Not configured by
default.
N/A
Not enabled by
default.
Remarks
Available in any
view.
Available in any
view.