Use it to map a stuck neighbour state to the packet that is failing: Init is a Hello problem, ExStart and Exchange are Database Description, Loading is a missing Update.
OSPF Packet Types Reference
OSPF uses five packet types: Hello finds and keeps neighbours; Database Description, Link State Request, Link State Update and Link State Acknowledgment synchronise the database and carry changes. They travel directly in IP (protocol 89), not in TCP or UDP.
1. show ip ospf neighbor — note the state.
2. No neighbour or Init → Hellos: compare area, timers, mask and authentication on both ends.
3. ExStart or Exchange → Database Description: compare MTU and router IDs.
4. Loading → a requested LSA is not arriving: look for loss of large packets.
Hello accepted both ways (2-Way) → Database Description exchange completes → requested LSAs arrive in Updates and are acknowledged → Full → later changes flooded and acknowledged
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ip ospf neighborVerification & 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 Operational verification Verify boundary
show ip ospf neighbor
show ip ospf traffic
show ip ospf interface GigabitEthernet0/0
debug ip ospf adj
The neighbour state shows how far the exchange has got. show ip ospf traffic counts packets sent and received per type, and errors such as mismatched area or authentication. The interface view shows the parameters carried in this router's Hellos. debug ip ospf adj follows the exchange packet by packet; use it briefly.
Known-good: the neighbour is Full (or 2-Way between two non-DR routers), Hello counters rise steadily, and the error counters do not.
Step 2 Typical faults & boundaries Narrow the fault
- No neighbour, or stuck in Init. A Hello problem: packets not arriving, arriving one way only, or rejected for a parameter mismatch.
- Stuck in ExStart or Exchange. A DBD problem — usually an MTU mismatch.
- Stuck in Loading. A requested LSA never arrives: an LSU is lost.
- Full, but changes arrive late or not at all. Updates or acknowledgments are being lost; look at the retransmission list.
- OSPF does not work through a firewall or ACL. IP protocol 89 and the multicast addresses must be permitted; there is no port number to open.
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 neighbor— how far the exchange has got.show ip ospf traffic— packets sent and received per type, and errors.show ip ospf interface <interface>— the values this router sends in its Hellos.debug ip ospf adj— the exchange packet by packet; use briefly.
ReferenceWhat it is1 section · depth on demand
Mechanics & mental model
OSPF uses five packet types. Hello finds and keeps neighbours; Database Description, Link State Request, Link State Update and Link State Acknowledgment synchronise the link-state database and carry changes.
ReferenceWhy it matters1 section · depth on demand
Why it matters operationally
Each stage of forming a neighbour relationship uses particular packets, so the state a neighbour is stuck in says which packet is failing. That turns "OSPF is not coming up" into a question about one exchange.
ReferenceHow it works1 section · depth on demand
How it works
OSPF packets are carried directly in IP, as protocol number 89 — not in TCP or UDP. They are sent with a TTL of 1, so they never leave the local link, and mostly to multicast addresses: 224.0.0.5 (all OSPF routers) and 224.0.0.6 (the DR and BDR).
| Type | Name | Purpose | Seen in state |
|---|---|---|---|
| 1 | Hello | Discover neighbours, agree on parameters, elect DR/BDR, keep the neighbour alive | Init, 2-Way, and continuously afterwards |
| 2 | Database Description (DBD) | List the LSAs each router has, headers only | ExStart, Exchange |
| 3 | Link State Request (LSR) | Ask for specific LSAs that are missing or outdated | Loading |
| 4 | Link State Update (LSU) | Carry complete LSAs — in answer to a request, or to flood a change | Loading, and whenever something changes |
| 5 | Link State Acknowledgment (LSAck) | Confirm that LSAs were received | Loading, and after every update |
All five share a header with the router ID, the area ID and the authentication data. A packet whose area or authentication does not match the receiving interface is dropped before its contents are looked at.
OSPF provides its own reliability: DBDs are acknowledged by sequence number, and every LSA sent is retransmitted until it is acknowledged.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Five packet types, one common header
RFC 2328 Appendix A defines a 24-byte OSPF header on every packet: version, packet type, packet length, router ID, area ID, checksum, AuType and a 64-bit authentication field. OSPF runs directly over IP as protocol 89.
| Type | Packet | Purpose |
|---|---|---|
| 1 | Hello | Discover neighbours, check parameters, elect DR/BDR, keepalive |
| 2 | Database Description (DBD) | Summarise the LSDB as a list of LSA headers during adjacency setup |
| 3 | Link State Request (LSR) | Ask for LSAs that are missing or newer at the neighbour |
| 4 | Link State Update (LSU) | Carry one or more full LSAs (flooding and LSR replies) |
| 5 | Link State Acknowledgment (LSAck) | Acknowledge received LSAs |
Where each type appears in an adjacency
| Phase | Packets |
|---|---|
| Neighbour discovery (Init, 2-Way) | Hello |
| Master/slave and database summary (ExStart, Exchange) | DBD |
| Fetching missing LSAs (Loading) | LSR, LSU, LSAck |
| Steady state (Full) | Hello every hello interval; LSU/LSAck on changes and refreshes |
Seeing the counters on Cisco IOS XE
C9300# show ip ospf traffic Te1/1/1
OSPF statistics:
Rcvd: 18342 total, 0 checksum errors
17988 hello, 6 database desc, 2 link state req
221 link state updates, 125 link state acks
Sent: 18410 total
18001 hello, 7 database desc, 2 link state req
198 link state updates, 202 link state acks
C9300# debug ip ospf packet ! lab only
Reading problems from packet counts
| Observation | Likely issue |
|---|---|
| Hellos sent, none received | One-way link, ACL dropping protocol 89, mismatched multicast handling |
| DBD counters keep rising | Stuck in ExStart/Exchange, often an MTU mismatch |
| Many LSU retransmissions | Lossy link or a slow neighbour |
| Checksum errors | Corruption on the link |
Hellos and most flooding on broadcast and point-to-point links use multicast to 224.0.0.5 (AllSPFRouters). Updates towards the DR/BDR use 224.0.0.6. Filters that block these addresses or protocol 89 break OSPF silently.
Documented example, not captured output.
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 Packet Types Reference. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2328.html · confidence 94%What changed and what may be affected
Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.
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.
Operational notes
Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.