Pcornel
Networking · Network & Protocols › Routing, VRF & Redundancy

BFD

Cheat sheet · https://pcornel.dk/topic.php?topic=170

Back to the Topic

Answer

BFD is a small, fast hello protocol whose only job is to notice that the path to a neighbour has failed. It tells the routing protocols, which react at once without waiting for their own timers.

Remember

Timers go on the interface, and each routing protocol must be told to use BFD — on both routers. A session exists only when a protocol registers. Detection time is interval × multiplier; too aggressive, and BFD itself causes flaps.

First checks

  • show bfd neighbors — sessions with state and interface.
  • show bfd neighbors details — negotiated intervals, multiplier, up time, last failure reason, registered protocols.
  • show ip ospf interface <interface> | include BFD / show ip bgp neighbors <ip> | include BFD — is the protocol using it?

Commands

show bfd neighbors [details]
Display BFD session state and timing evidence.
show bfd neighbors

Verify in this order

BFD timers on the interface, both routers → routing protocol registered with BFD, both routers → session Up → failure detected within interval × multiplier → protocol notified

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=170

Confirmation

Confirm action

Continue?