Question: how bfd works with ospf?
Answer: The OSPF Support for BFD over IPv4 feature enables Open Shortest Path First (OSPF), which is a dynamic routing protocol, to register with Bidirectional Forwarding Detection (BFD) to receive forwarding path detection failure messages from BFD.