Similar to the detection elements of well-known routing protocols, Bidirectional Forwarding Detection (BFD) is a straightforward Hello protocol. Every path connecting the two systems is periodically flooded with BFD packets from the pair of systems; if one of the systems stops receiving BFD packets for an extended period of time, it is presumed that the neighboring system has failed.
Routers and Edges exchange the learnt routes through routing protocols like OSPF or BGP. These protocols use their own mechanism to exchange routes and identify route faults. The keepalive technique, which involves one entity echoing another on a frequently defined interval known as the keepalive time, is typically used to detect route problems. Because these routing protocols have longer keepalive times, it takes longer to identify route failures. When detecting route failures between two connected entities, BFD does so quickly and with minimal overhead.
Here are some good things about using routing methods with BFD.
- With a short re-convergence time, route failures can be found quickly.
- Reduced overhead while detecting route failures.
- Route failures are found at the same rate by all routing