Use it when OSPF neighbours do not form and you need to compare Hello fields.
OSPF Hello Field Reference
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.
1. Hello (type 1) fields: router ID, area ID, mask (on broadcast), hello/dead intervals, options (E, N bits), priority, DR, BDR, neighbours.
2. Must match: area, mask (broadcast), timers, stub flags, authentication.
3. Seeing own RID in neighbour list → 2-WAY.
4. Sent to 224.0.0.5.
5. Mismatch keeps neighbours from forming.
hello sent → fields checked → neighbour list → 2-WAY
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ip ospf interface GigabitEthernet0/0Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Packet capture verification and known-good sequence Verify boundary
show ip ospf interface GigabitEthernet0/0
show ip ospf neighbor
debug ip ospf hello
The interface view shows the values this router puts in its Hellos: area, network type, timers, priority, and the DR and BDR. Compare it line by line with the other router. The neighbour table shows whether a Hello has been received (Init) and whether it is two-way. debug ip ospf hello prints a line naming the mismatched field when a received Hello is rejected; use it briefly and turn it off.
In a capture, filter on OSPF packet type 1 and compare the two routers' Hellos field by field.
Known-good: both routers show the same area, timers and mask, and each lists the other in state 2-Way or Full.
Step 2 Failure signatures and packet-level troubleshooting Narrow the fault
- No neighbour at all. Hellos do not arrive (interface passive, OSPF not enabled, multicast blocked) or are rejected: area, timers, mask, authentication or area type differ.
- Stuck in Init. This router hears the neighbour, but the neighbour does not list it — the Hellos get through in one direction only.
- Timers differ. Often after tuning one side, or because the network types differ, which changes the defaults.
- Mask mismatch on Ethernet. One side has a different prefix length; point-to-point links do not check this.
- Neighbours up, no DR elected as expected. Priority 0 on the intended router, or the election was already settled before it joined.
- Duplicate router ID. The Hello is ignored because it appears to come from the router itself.
Step 3 When the problem is really fixed Narrow the fault
- Both routers list each other, in 2-Way or Full.
- Area, timers, mask, authentication and area type agree.
- The debug shows no mismatch messages and has been turned off.
- The neighbour's dead timer keeps being refreshed.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
show ip ospf interface <interface>— hello/dead, area, network type, DRdebug ip ospf hello— mismatch messages (lab)
ReferenceWhat it is1 section · depth on demand
Mechanics & mental model
The OSPF Hello is the packet two routers use to find each other and to decide whether they can be neighbours. It carries the settings both sides must agree on, and a list of the neighbours the sender has heard.
ReferenceWhy it matters1 section · depth on demand
Why it matters operationally
When two routers that can ping each other do not become OSPF neighbours, the reason is almost always a field in the Hello that differs. Knowing which fields must match — and which need not — turns the problem into a short comparison.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Hello fields: what must match before two routers become neighbours
RFC 2328 lists the Hello fields: network mask, HelloInterval, Options, router priority, RouterDeadInterval, DR, BDR, and the router IDs of neighbours seen on the link. A router knows the link is bidirectional when it sees its own router ID in the neighbour's Hello.
| Field | Must match? | Note |
|---|---|---|
| Area ID (in the header) | Yes | Different areas never form an adjacency |
| Authentication (header) | Yes | Type and key |
| Network mask | Yes on broadcast and NBMA | Not checked on point-to-point links |
| HelloInterval | Yes | Default 10 s on broadcast and point-to-point |
| RouterDeadInterval | Yes | Default 4 × hello |
| Options: E bit | Yes | Stub area agreement |
| Router priority | No | Used for DR/BDR election |
| DR, BDR | No | Current election state |
| Neighbour list | No | Shows bidirectional communication |
Inactivity timer
The RFC sets an inactivity timer per neighbour to RouterDeadInterval. If no Hello arrives before it expires, the neighbour is declared down.
C9300# show ip ospf interface Vlan100 | include Hello|Dead|Priority|Designated
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Transmit Delay is 1 sec, State DR, Priority 100
Designated Router (ID) 10.0.0.11, Interface address 10.100.0.1
C9300# debug ip ospf hello
OSPF-1 HELLO Vl100: Rcv hello from 10.0.0.31 area 0 10.100.0.31
OSPF-1 HELLO Vl100: Mismatched hello parameters from 10.100.0.31
OSPF-1 HELLO Vl100: Dead R 120 C 40, Hello R 30 C 10
R is the received value and C the configured value. Here the neighbour uses the NBMA defaults (30/120).
Transport
Hellos go to 224.0.0.5 on broadcast and point-to-point links. Virtual links and NBMA networks use unicast. On NBMA, PollInterval is used for neighbours that are down.
Checklist when no neighbour appears
Area, authentication, hello/dead timers, mask, stub flag, MTU (later, in DBD), and an ACL that might drop protocol 89.
Documented example, not captured output.
Wire format, fields and state ownership
Every OSPF packet starts with a common header: version, packet type (1 for Hello), router ID, area ID and authentication. The Hello itself adds:
| Field | Meaning | Must match? |
|---|---|---|
| Area ID (header) | The area of the sending interface | Yes |
| Authentication (header) | Type and key | Yes |
| Network mask | Mask of the sending interface | Yes on broadcast networks; not checked on point-to-point |
| Hello interval | Seconds between Hellos (10 by default on Ethernet) | Yes |
| Dead interval | Seconds without a Hello before the neighbour is declared down (40) | Yes |
| Options | Capability bits; the E bit tells whether the area is a normal or stub area | The area-type bits, yes |
| Router priority | Used in the DR election; 0 means never DR | No |
| DR and BDR | Interface addresses of the routers the sender believes hold the roles | No |
| Neighbour list | Router IDs the sender has received Hellos from | — |
The router ID in the header must differ between the two routers.
The neighbour list is what makes the relationship two-way. A router that receives a Hello is in state Init; when it sees its own router ID in the neighbour's list, it knows the neighbour hears it too and moves to 2-Way.
Hellos are sent to the multicast address 224.0.0.5.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Network & Protocols → OSPF Hello Field Reference. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2328.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
OSPF Hello Field Reference packet-level operational reference
Direction-aware field interpretation, suspicious signatures and the next protocol/forwarding proof boundary.
| Wire boundary | Known-good for OSPF Hello Field Reference | Suspicious signature | Next proof |
|---|---|---|---|
| Message identity | Correct peer/direction/type and coherent lengths | Wrong sender, type, length or packet phase | Packet sequence + peer state |
| Field semantics | common 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 state | Hellos 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 appears | Decode exact fields on both sides |
| State consequence | Packet produces expected protocol/route transition | Wire looks healthy but local state disagrees | FSM/LSDB/BGP table → RIB/FIB |
| Closure | Original workload succeeds for the explained reason | Session/adjacency recovered only transiently | Repeat capture + regression/failover test |
Operational notes
Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.
OSPF Hello Fields
Timers/options/priority/DR/neighbor list.
30-second lookup
- Open Packet Field Explorer for field-level metadata.
- Use Packet Decoders for bit/flag values where relevant.
- Use Paste Output / Structured Parser for CLI evidence.
- Use Packet Filters to prove the wire boundary.
Evidence rule
A decoded field proves what is present in that packet/output at that moment. Continue through the verification chain before concluding end-to-end behavior.