Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

OSPF Adjacencies & Packet Types

Direct answer

OSPF routers form adjacencies through Hello, DBD, LSR, LSU and LSAck packets. Neighbours move through Down, Init, 2-Way, ExStart, Exchange, Loading and Full; only Full neighbours (and DR/BDR relationships on broadcast links) exchange the database.

When to use this

Use it when an OSPF neighbour is missing or stuck in a state, or when reading OSPF captures.

First 30 seconds

1. Adjacency = neighbours that exchange LSDBs; state FULL.

2. Stuck in EXSTART/EXCHANGE → usually MTU mismatch.

3. DROTHERs stay 2WAY with each other on broadcast networks (normal).

Operational verification

Hellos exchanged with matching parameters → 2-Way → DR/BDR elected on broadcast links → ExStart/Exchange of DBDs (MTU must match) → Loading via LSR/LSU → Full

Failure signatureOSPF neighbor never reaches FULL

The neighbor is missing, stuck in INIT/2WAY on a point-to-point link, or stuck in EXSTART/EXCHANGE.

Possible stored cause: A hello parameter differs (area, hello/dead timers, authentication, subnet, stub flags, network type) or an MTU mismatch blocks the database exchange.
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 · Cisco IOS XE · IOS/IOS XE
Key commandshow ip interface brief
Scope / prerequisiteUse it when an OSPF neighbour is missing or stuck in a state, or when reading OSPF captures.
Show · 4
What next?3 suggested next steps
Catalog command links4
Evidence0
On this pageJump to a specific section
Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

How to read the output

show ip ospf neighbor

Look first: neighbor ID, state, dead timer, address, interface

Healthy: Expected neighbor reaches FULL where the network type requires it.

Warning: INIT/EXSTART/EXCHANGE or repeated resets indicate a boundary before route installation.

Does not prove: FULL does not prove expected LSAs/routes are installed.

show ip ospf database [router|network|summary|external]

Look first: LSA type, link-state ID, advertising router, sequence/age

Healthy: Expected LSAs are present and consistent with topology.

Warning: Missing/stale/unexpected LSAs or differing topology view.

Does not prove: LSDB presence does not prove route wins in RIB.

Operational workflow

Verification & Troubleshooting

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

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

The neighbor is missing, stuck in INIT/2WAY on a point-to-point link, or stuck in EXSTART/EXCHANGE.

Step 1 Verification & evidence Verify boundary
Step 2 Commands & verification Verify boundary
  • show ip interface brief — Quick overview of interface state and IPv4 addressing.
  • show ip ospf database — Inspect OSPF LSDB and LSA types.
  • show ip ospf interface — Inspect area, network type, timers and cost.
  • show ip ospf neighbor — Display OSPF neighbor adjacencies.
Step 3 Common failure modes Narrow the fault

Area/timer/auth/network-type/MTU mismatch, one-way Hellos, duplicate router ID or passive interface.

Step 4 Troubleshooting workflow Narrow the fault

Focus for this topic: Area/timer/auth/network-type/MTU mismatch, one-way Hellos, duplicate router ID or passive interface.

Step 5 State tells you where to look Narrow the fault

No neighbor points toward interface/Hello/area/auth reachability. INIT often means one-way Hello visibility. EXSTART/EXCHANGE commonly narrows toward MTU, duplicate Router ID, negotiation or unstable transport. LOADING indicates LS requests/updates are still resolving. FULL shows adjacency synchronization only; continue to the LSDB and specific route when the symptom is missing reachability.

Step 6 Common mistakes Narrow the fault
  • MTU mismatch leaving neighbours stuck in EXSTART/EXCHANGE.
  • Hello/dead timer mismatch.
Command lookup Jump straight to Cisco syntax
Key points

Stuck in Init → one-way Hellos (ACL, multicast). Stuck in 2-Way between DROthers → normal on broadcast segments. Stuck in ExStart/Exchange → MTU mismatch. Hellos must match: area, subnet/mask, hello and dead timers, authentication, stub flags and network type.

Key checks

Start with show ip ospf neighbor, show ip ospf interface <interface>, show ip ospf database, show interfaces <interface>, show logging | include OSPF. Compare the relevant peer, area, binding or forwarding dependency, then verify the original traffic consequence.

ReferenceWhat it is1 section · depth on demand

Concept overview

Hello, DBD, LSR, LSU and LSAck exchange plus neighbor-state progression.

Key ideas: Hellos discover/maintain neighbors; database description and request/update/acknowledgment packets synchronize LSDBs before FULL adjacency.

ReferenceWhy it matters1 section · depth on demand

Why it matters

Hellos discover/maintain neighbors; database description and request/update/acknowledgment packets synchronize LSDBs before FULL adjacency.

ReferenceHow it works1 section · depth on demand

OSPF neighbor lifecycle

OSPF neighbors progress through a state machine rather than jumping directly from discovery to FULL. Hellos discover peers and validate key compatibility. Database description exchange establishes master/slave behavior, link-state requests/updates synchronize missing information, and FULL means the expected adjacency database exchange completed.

Different network types and DR/BDR behavior mean not every visible neighbor relationship must become FULL with every other router. Always judge the state in the context of interface/network type.

ReferenceImportant terms & boundaries3 sections · depth on demand

In depth

OSPF adjacencies and packet types

Two OSPF routers become fully adjacent only after agreeing on their parameters and synchronising their databases. RFC 2328 defines five packet types: Hello (1), Database Description (2), Link State Request (3), Link State Update (4) and Link State Acknowledgement (5), all carried as IP protocol 89. Neighbours move from Down through Init, 2-Way, ExStart and Exchange to Full. A Hello is accepted only if several fields match: the area ID, the HelloInterval and RouterDeadInterval, the network mask on broadcast and NBMA networks, the stub flag (E-bit) and the authentication type.

Neighbour states and what each tells you

StateMeaningStuck here usually means
DownNo hellos receivedNo connectivity, OSPF not enabled, ACL
InitHello received, but our router ID isn't in itOne-way communication, multicast filtered
2-WayBidirectional; DR/BDR electedNormal between DROTHERs on a LAN
ExStart / ExchangeNegotiating and exchanging DBDsMTU mismatch
LoadingRequesting missing LSAsLSA problems, packet loss
FullDatabases synchronisedHealthy

DR and BDR election (RFC 2328)

The highest router priority wins and the router ID breaks ties. Priority 0 means the router never becomes DR or BDR. The election isn't pre-emptive in practice: a new router with a higher priority doesn't take over an existing DR.

Parameters checked in Hellos

ParameterMismatch effect
Area IDHello ignored
Hello or dead intervalHello ignored; no neighbour
Subnet mask (broadcast/NBMA)Hello ignored
Stub flagHello ignored
AuthenticationHello ignored; authentication error logged
MTU (in DBD packets)Stuck in ExStart/Exchange
R1# show ip ospf neighbor
Neighbor ID     Pri   State           Dead Time   Address         Interface
10.255.0.2        1   FULL/DR         00:00:36    10.0.12.2       GigabitEthernet0/0/1
10.255.0.3        1   EXSTART/BDR     00:00:31    10.0.12.3       GigabitEthernet0/0/1
R1# show ip ospf interface GigabitEthernet0/0/1 | include Timer|Priority|MTU|Network Type
R1# debug ip ospf adj
OSPF-1 ADJ   Gi0/0/1: Nbr 10.255.0.3 has larger interface MTU
R1(config-if)# ip ospf mtu-ignore

ExStart and MTU

A neighbour stuck in EXSTART, with a debug message about a larger interface MTU, is the classic MTU mismatch. Fix the MTU on both sides rather than using mtu-ignore. Large LSA updates would still be lost otherwise.

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.

Quick reference

OSPF uses five packet types: Hello to discover and keep neighbors, Database Description (DBD) to list LSAs during synchronisation, Link State Request and Link State Update to fetch and send LSAs, and Link State Acknowledgement to confirm receipt. Neighbors progress through states from Down to Full.

StateMeaning
InitHello received, own router ID not yet in it
2-WayBidirectional; DR/BDR election on multiaccess links
ExStartMaster/slave negotiation (MTU checked)
ExchangeDBDs exchanged
LoadingMissing LSAs requested
FullDatabases synchronised
show ip ospf neighbor
debug ip ospf adj

Documented example, not captured output.

Stuck in ExStart/Exchange almost always means an MTU mismatch; stuck in Init means Hellos are only going one way.

Adjacency compatibility checklist

Before changing OSPF globally, compare the actual adjacency boundary: IP/subnet reachability, area ID, Hello/Dead timers, authentication, network type, MTU/database exchange behavior, passive-interface state, Router ID uniqueness and any area-specific rules. Some mismatches prevent Hellos from becoming neighbors; others appear later such as EXSTART/EXCHANGE.

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 Infrastructure → OSPF Adjacencies & Packet Types. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc2328.html · confidence 94%
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.

Depth when you need it

Deep reference

Healthy vs suspicious evidence

How to read the evidence

Verification: Match neighbor state and timers on both peers, inspect the relevant LSA/prefix, confirm the selected RIB entry and CEF adjacency, then generate the original flow and inspect forward/return behavior.

Design & tradeoffs

ENCOR design tradeoffs

Adjacency state is a diagnostic clue: the stuck state narrows which part of discovery/database synchronization is failing.

Confirmation

Confirm action

Continue?