BFD Packet & State Evidence
Cheat sheet · https://pcornel.dk/topic.php?topic=329
Answer
A BFD control packet is 24 bytes: the sender's session state, a diagnostic code for the last failure, two discriminators that identify the session at each end, and the timer values the routers negotiate from.
Remember
Diagnostic 1 means this router stopped receiving; 3 means the neighbour declared the failure — together they give the direction of the loss. The timers in use are negotiated: the slower interval and the other side's multiplier apply. "Your discriminator" 0 means nothing has been received.
First checks
show bfd neighbors details— discriminators, state, diagnostic, configured and negotiated intervals, and the last packet received.show bfd summary— session counts.show logging | include BFD— session changes.- Capture filter
bfd(UDP 3784).
Verify in this order
both ends send control packets → Down → Init → Up (three-way) → discriminators mirrored → intervals negotiated → detection time = remote multiplier × agreed interval
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=329