Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

OSPF Packet Types Reference

Direct answer

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.

When to use this

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.

First 30 seconds

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.

Operational verification

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
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard
Key commandshow ip ospf neighbor
Scope / prerequisiteUse it to map a stuck neighbour state to the packet that is failing: Init is a Hello problem, ExStart and Exchange are …
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

Each state of a forming adjacency uses particular packets, so the state tells you which exchange to look at. OSPF has no port number — a firewall has to permit IP protocol 89 and the multicast addresses 224.0.0.5 and 224.0.0.6.

Key checks
  • 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).

TypeNamePurposeSeen in state
1HelloDiscover neighbours, agree on parameters, elect DR/BDR, keep the neighbour aliveInit, 2-Way, and continuously afterwards
2Database Description (DBD)List the LSAs each router has, headers onlyExStart, Exchange
3Link State Request (LSR)Ask for specific LSAs that are missing or outdatedLoading
4Link State Update (LSU)Carry complete LSAs — in answer to a request, or to flood a changeLoading, and whenever something changes
5Link State Acknowledgment (LSAck)Confirm that LSAs were receivedLoading, 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.

TypePacketPurpose
1HelloDiscover neighbours, check parameters, elect DR/BDR, keepalive
2Database Description (DBD)Summarise the LSDB as a list of LSA headers during adjacency setup
3Link State Request (LSR)Ask for LSAs that are missing or newer at the neighbour
4Link State Update (LSU)Carry one or more full LSAs (flooding and LSR replies)
5Link State Acknowledgment (LSAck)Acknowledge received LSAs

Where each type appears in an adjacency

PhasePackets
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

ObservationLikely issue
Hellos sent, none receivedOne-way link, ACL dropping protocol 89, mismatched multicast handling
DBD counters keep risingStuck in ExStart/Exchange, often an MTU mismatch
Many LSU retransmissionsLossy link or a slow neighbour
Checksum errorsCorruption 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 2328

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%
Technical changelog & impact

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.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

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.

Aliases that resolve here
ospf packetshello dbd lsr lsu lsackospf protocol 89
Embedded quick reference

Operational notes

Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.

OSPF Packet Types

Hello → DBD → LSR → LSU → LSAck.

TypePacketPurpose
1HelloDiscover/maintain neighbors
2DBD/DDSummarize LSDB
3LSRRequest LSAs
4LSUCarry LSAs
5LSAckAcknowledge flooding

Capture: ip proto 89.

Confirmation

Confirm action

Continue?