Use it when an OSPF neighbour is missing or stuck in a state, or when reading OSPF captures.
OSPF Adjacencies & Packet Types
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
Operational reference
Fast context before you go deeper.
show ip interface briefShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show ip interface briefShowCompact IPv4 interface/address/protocol state.
Use when: Use as the prior manifest-approved bounded observation/validation surface for this exact Topic.
Quick note: Restores exact/ ownership only; this authored guidance is not observed production Evidence.
Cisco IOS XE · stateshow ip ospf neighborShowDisplay OSPF neighbor adjacencies.
Use when: OSPF adjacency verification.
Quick note: FULL is the expected adjacency state in normal cases.
IOS/IOS XE · mixedshow ip ospf database [router|network|summary|external]ShowInspect OSPF LSDB and LSA types.
Use when: Analyze LSDB/flooding.
IOS/IOS XE · mixed · verifiesshow ip ospf interface [interface]ShowInspect area, network type, timers and cost.
Use when: Adjacency/tuning verification.
IOS/IOS XE · mixedHow to read the output
show ip ospf neighborLook 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.
Verification & 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.
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
show ip ospf neighbor detail; show ip ospf interface; debug ip ospf adj selectively in lab conditions.
Step 2 Commands & verification Verify boundary
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.
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.
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.
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
| State | Meaning | Stuck here usually means |
|---|---|---|
| Down | No hellos received | No connectivity, OSPF not enabled, ACL |
| Init | Hello received, but our router ID isn't in it | One-way communication, multicast filtered |
| 2-Way | Bidirectional; DR/BDR elected | Normal between DROTHERs on a LAN |
| ExStart / Exchange | Negotiating and exchanging DBDs | MTU mismatch |
| Loading | Requesting missing LSAs | LSA problems, packet loss |
| Full | Databases synchronised | Healthy |
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
| Parameter | Mismatch effect |
|---|---|
| Area ID | Hello ignored |
| Hello or dead interval | Hello ignored; no neighbour |
| Subnet mask (broadcast/NBMA) | Hello ignored |
| Stub flag | Hello ignored |
| Authentication | Hello 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.
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.
| State | Meaning |
|---|---|
| Init | Hello received, own router ID not yet in it |
| 2-Way | Bidirectional; DR/BDR election on multiaccess links |
| ExStart | Master/slave negotiation (MTU checked) |
| Exchange | DBDs exchanged |
| Loading | Missing LSAs requested |
| Full | Databases 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
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 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%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.
An adjacency is a protocol relationship that has progressed far enough for the protocol to exchange or synchronize the state needed for route calculation. In OSPF, not every discovered neighbor becomes fully adjacent on every network type.
OSPF · relatedLSALink-State Advertisement: an OSPF database entry that describes topology or reachability.
OSPF · relatedLSDBOSPF Link-State Database: the local database of LSAs for one flooding scope or area.
Deep reference
Healthy vs suspicious evidence
How to read the evidence
Design & tradeoffs
ENCOR design tradeoffs
Adjacency state is a diagnostic clue: the stuck state narrows which part of discovery/database synchronization is failing.