Pcornel
Networking · Network & Protocols › OSPF Protocol Reference

OSPF Hello Field Reference

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

Back to the Topic

Answer

OSPF Hello packets discover neighbors and keep adjacencies alive. Their fields — area ID, network mask (on broadcast), Hello and Dead intervals, options/stub flags, authentication, priority, DR/BDR and neighbor list — must match for neighbors to form.

First checks

  • show ip ospf interface <interface> — hello/dead, area, network type, DR
  • debug ip ospf hello — mismatch messages (lab)

Commands

debug ip ospf hello

Verify in this order

hello sent → fields checked → neighbour list → 2-WAY

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

OSPF Hello Field Reference packet-level operational reference

Wire boundaryKnown-good for OSPF Hello Field ReferenceSuspicious signatureNext proof
Message identityCorrect peer/direction/type and coherent lengthsWrong sender, type, length or packet phasePacket sequence + peer state
Field semanticscommon header Version/Type/Router ID/Area ID plus Network Mask, Hello Interval, Options, Router Priority, Router Dead Interval, DR, BDR and Neighbor list match intended protocol stateHellos seen only one direction, Area ID or subnet-mask disagreement where applicable, Hello/Dead timer mismatch, incompatible options/authentication context, duplicate Router ID, multicast/L2 filtering, or a peer remaining Init because bidirectional recognition never appearsDecode exact fields on both sides
State consequencePacket produces expected protocol/route transitionWire looks healthy but local state disagreesFSM/LSDB/BGP table → RIB/FIB
ClosureOriginal workload succeeds for the explained reasonSession/adjacency recovered only transientlyRepeat capture + regression/failover test

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

Confirmation

Confirm action

Continue?