Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Adjacency · OSPF Fundamentals

Direct answer

An OSPF adjacency is a neighbor relationship where the routers have synchronised their databases. After Hellos reach 2-Way, adjacent routers go through ExStart, Exchange and Loading to Full; stuck in ExStart/Exchange usually means an MTU mismatch.

When to use this

Use it when the design or fault is specifically about the synchronized OSPF neighbor relationship in which database description and LSA exchange complete to the required adjacency state. Stay on that boundary until configuration intent, live control/security state and the adjacent dependency agree.

First 30 seconds

1. An adjacency is a neighbour that exchanges the LSDB (state FULL).

2. On broadcast links DROTHERs stay 2WAY with each other.

3. Area, timers, subnet, auth, MTU and network type must match.

4. Stuck EXSTART/EXCHANGE usually means MTU mismatch.

5. Stuck INIT means one-way hellos.

Operational verification

hello → 2WAY → DR/BDR → EXSTART → EXCHANGE → LOADING → FULL

Evidence · next step

Compare interface MTU and OSPF network type on both ends; inspect DBD packets/logs before changing settings.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Stuck-state clues

Init suggests one-way Hello visibility or parameter/policy problems. Persistent ExStart commonly points to negotiation/MTU issues. Loading suggests database synchronization cannot finish. Always compare both sides and logs/packets before changing configuration.

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 · IOS/IOS XE · Cisco IOS XE
Key commanddebug ip ospf adj
Scope / prerequisiteUse it when the design or fault is specifically about the synchronized OSPF neighbor relationship in which database des…
Troubleshoot · 1
What next?3 suggested next steps
Catalog command links1
Evidence1
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

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

7 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 First 30 seconds Verify boundary

Immediate answer: Read the neighbor state transition and stop at the first state that does not progress before changing OSPF timers or authentication.

Verification chain: neighbor discovery → 2-Way → ExStart/Exchange → Loading → Full → LSDB agreement → route calculation

Stop condition: FULL adjacency shows database synchronization with that peer for the scope, but it does not show every desired route wins the RIB or forwards.

Step 2 Operational verification and known-good state Verify boundary
show ip ospf neighbor
show ip ospf neighbor detail
show ip interface GigabitEthernet0/0 | include MTU

In the neighbour table the state is shown together with the neighbour's role on the segment. The detail view adds the uptime and the number of state changes. The MTU line is the first thing to compare when a neighbour sits in ExStart or Exchange.

Known-good: FULL with the DR and BDR on multi-access segments, FULL/ - on point-to-point links, and a neighbour uptime that keeps growing.

Step 3 Verification and output interpretation Verify boundary

Verify adjacency with the neighbor table first: peer Router ID, state, dead timer, local interface and DR/BDR role where applicable. Then verify interface OSPF parameters and area membership to establish why the relationship has the observed state. If a peer is Full, correlate LSDB scope and route installation separately; Full shows database adjacency, not that a desired prefix exists or wins the RIB. ExStart/Exchange indicates the relationship advanced beyond Hello processing but database synchronization is incomplete. On broadcast networks, verify whether a 2-Way peer is a DROTHER before calling it a failure. Preserve both local and peer evidence when possible because asymmetric configuration can make one side more informative than the other.

Step 4 Step-by-step troubleshooting Narrow the fault

Boundary rule: FULL adjacency shows database synchronization with that peer for the scope, but it does not show every desired route wins the RIB or forwards.

Step 5 Verification & troubleshooting Narrow the fault

1. show ip ospf neighbor → the State column, for example FULL/DR, 2WAY/DROTHER, EXSTART/BDR.

2. Stuck in ExStart or Exchange: compare show ip interface <interface> | include MTU on both routers.

3. Stuck in Loading: show ip ospf request-list shows what is still being asked for.

4. 2-Way with every neighbour on a segment: no DR was elected — check that not all priorities are 0.

5. show ip ospf neighbor detail → how long the neighbour has been up and how often the state changed.

Step 6 Failure signatures and troubleshooting branches Narrow the fault
  • Stuck in ExStart or Exchange. MTU mismatch; less often unicast OSPF packets are blocked while multicast Hellos pass, or the router IDs are duplicates.
  • Stuck in Loading. A requested LSA never arrives or arrives damaged.
  • 2WAY/DROTHER with everyone on the segment. No DR exists because all routers have priority 0.
  • Stuck in Init. One-way Hellos; see Neighbor.
  • Full, but the adjacency resets now and then. %OSPF-5-ADJCHG in the log gives the reason — dead timer expired, or interface down.
Step 7 When the problem is really fixed Narrow the fault
  • The state is Full where an adjacency is expected, on both routers.
  • MTU is the same on both ends of the link.
  • The neighbour uptime grows and the log shows no new adjacency changes.
  • Routes learned over the adjacency are in the routing table.
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.

command output · 1
Command lookup Jump straight to Cisco syntax
Key points

Do not infer service health from one command. For Adjacency, distinguish configured intent, protocol/security state, installed forwarding state and the original workload result.

Key checks
  • show ip ospf neighbor — state FULL or 2WAY
  • show ip ospf interface <interface> — area, timers, network type
ReferenceWhat it is1 section · depth on demand

What it is

An adjacency is the relationship between two OSPF neighbours that have gone on to synchronise their link-state databases. Its target state is Full. Not every pair of neighbours becomes adjacent: on a multi-access segment, routers form adjacencies only with the DR and the BDR.

ReferenceWhy it matters1 section · depth on demand

Why it matters

Routing information is exchanged only over adjacencies. A neighbour that is listed but stuck short of Full contributes nothing. The state at which it is stuck is the best clue to what is wrong.

ReferenceHow it works1 section · depth on demand

Neighbor state interpretation

Down: no valid Hello state. Init: Hello received but local Router ID is not yet seen in the neighbor Hello. 2-Way: bidirectional discovery; normal stopping point for some DROTHER pairs. ExStart: master/slave and sequence negotiation. Exchange: DBD exchange. Loading: requested LSAs are being obtained. Full: required database synchronization completed.

ReferenceImportant terms & boundaries6 sections · depth on demand

Key points

  • States in order: Down, Init, 2-Way, ExStart, Exchange, Loading, Full.
  • 2-Way between two non-designated routers is final and normal.
  • Stuck in ExStart or Exchange usually means an MTU mismatch.
  • Packets involved: DBD (database description), LSR (request), LSU (update), LSAck.
  • In ExStart the router with the higher router ID becomes master of the exchange; this has nothing to do with the DR.
  • On point-to-point links an adjacency always forms and there is no DR.
  • Full means the databases were synchronised.

In depth

Adjacency: the neighbour relationship that synchronises databases

Not every neighbour becomes adjacent. RFC 2328 (Section 10.4) states that point-to-point, point-to-multipoint and virtual links always form adjacencies. On broadcast and NBMA networks, routers form adjacencies only with the DR and BDR; two DROTHERs stay at 2-Way.

From 2-Way to Full (RFC 2328, Section 10.1)

StateWhat happens
ExStartThe routers choose master and slave and an initial Database Description (DD) sequence number
ExchangeEach router describes its LSDB in DD packets, one outstanding at a time, each acknowledged
LoadingLink State Requests ask for LSAs the neighbour has that are newer or missing
FullDatabases are synchronised; the neighbours appear in each other's router and network LSAs
%OSPF-5-ADJCHG: Process 1, Nbr 10.0.0.4 on TenGigabitEthernet1/1/1 from LOADING to FULL, Loading Done
R1# show ip ospf neighbor TenGigabitEthernet1/1/1
Neighbor ID     Pri   State           Dead Time   Address         Interface
10.0.0.4          0   FULL/  -        00:00:38    10.255.0.2      TenGigabitEthernet1/1/1
R1# show ip ospf interface TenGigabitEthernet1/1/1 | include Adjacent
  Neighbor Count is 1, Adjacent neighbor count is 1

Common reasons an adjacency doesn't reach Full

Stuck inTypical cause
EXSTART / EXCHANGEMTU mismatch: DD packets larger than the peer's MTU are dropped
EXSTARTDuplicate router IDs
LOADINGCorrupted or rejected LSAs, or packet loss during requests
2WAYNormal between DROTHERs; a problem only on point-to-point links (network type mismatch)

MTU mismatch

Both ends must agree on the IP MTU, because OSPF checks the interface MTU field in DD packets. ip ospf mtu-ignore suppresses the check, but the better fix is to correct the MTU, or large LSA updates will still be lost later.

After Full

Adjacent routers keep their databases synchronised by flooding: every new or changed LSA is sent to adjacent neighbours and acknowledged. Retransmission happens every retransmit interval (5 s by default, per the Catalyst 9300 OSPF guide) until acknowledged.

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

An OSPF adjacency is a neighbor relationship where databases are synchronised. Adjacent routers exchange DBDs, request and send missing LSAs, and reach Full state. On multiaccess networks, DROTHERs become adjacent only with the DR and BDR.

show ip ospf neighbor
! Neighbor ID   Pri State      Dead Time  Address     Interface
! 10.255.255.2   1  FULL/DR    00:00:35   10.0.0.2    Gi0/1
! 10.255.255.3   1  2WAY/DROTHER 00:00:33 10.0.0.3    Gi0/1

Documented example, not captured output.

2WAY/DROTHER between two DROTHERs is normal and not a failed adjacency.

Mechanics and state ownership

Once two routers are at 2-Way they decide whether to become adjacent: always on a point-to-point link, and on a multi-access segment only if one of them is DR or BDR.

In ExStart they exchange empty database-description packets to agree on who leads the exchange and on a starting sequence number. In Exchange they send each other the headers of all LSAs they hold. Each compares that list with its own database and notes what it lacks or has only in an older version. In Loading it requests those LSAs and receives them. When nothing is left to request, the state is Full.

The MTU check sits in the database-description packets, which carry the sender's interface MTU. A router that receives a larger MTU than its own ignores the packet, the sender retransmits, and the pair stays in ExStart. Hellos are small and unaffected, which is why the neighbour appears but never completes. ip ospf mtu-ignore skips the check, but the real fix is to make the MTUs equal.

State model and technical mechanics

OSPF adjacency is a higher state than simple neighbor discovery. Hellos establish bidirectional neighbor awareness, but adjacency formation continues through ExStart, Exchange and Loading while the routers negotiate database exchange, describe LSDB contents, request missing LSAs and acknowledge updates. Full means the adjacency database-synchronization process has completed for the relevant area; it does not mean the routing tables or forwarding paths are identical. On point-to-point links, neighbors normally become fully adjacent. On broadcast and NBMA-style multiaccess networks, DR/BDR behavior intentionally limits which pairs form full adjacencies, so 2-Way between DROTHER routers can be healthy. Neighbor state therefore has to be interpreted together with network type, interface role, area and the expected topology.

Limits and common misconceptions

Do not equate neighbor presence with adjacency or Full adjacency with end-to-end reachability. A Full adjacency can coexist with missing LSAs due to area design, missing routes due to policy or better administrative distance, and broken forwarding due to unresolved next hops or downstream issues. Conversely, 2-Way is not inherently bad on a broadcast segment between DROTHER routers. Adjacency state also does not show application health. Keep the evidence chain explicit: interface/Hello compatibility → bidirectional neighbor → adjacency/database synchronization → LSDB contents → SPF result → RIB → CEF/actual forwarding. Use the state as a precise control-plane fact, not as a universal health verdict.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Design adjacency expectations from the OSPF network type and topology instead of requiring Full everywhere. Keep area ID, hello/dead timers, authentication, IP addressing, MTU behavior and network-type assumptions consistent on a link where adjacency is required. Router IDs should be stable because they identify peers independently of the source interface address. On shared Ethernet segments, let DR/BDR election reduce adjacency scale unless the design explicitly changes the network type. Avoid treating adjacency knobs as route-policy tools: route filtering, summarization and redistribution occur at different boundaries. A clean design documents which neighbors should exist, which should become Full, and which 2-Way states are intentional.

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 Routing → OSPF → OSPF Fundamentals → Adjacency. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc2328.html · confidence 94%
2026-09-13 · vendor docCisco IOS XE current

Official Cisco vendor documentation reviewed for bounded reference claims: OSPF neighbor and adjacency states. This is documentation-based technical verification, not lab or production-runtime proof. Deployment-specific applicability and runtime outcome remain separate evidence.

Basis: https://www.cisco.com/c/en/us/td/docs/switches/lan/c9000/lyr3-fwd/ospf/ospf-configuration-guide/ospf.html · confidence 94%
Embedded reference data

Quick lookup tables

OSPF neighbor state map

Fast interpretation of the common OSPF adjacency states.

StateMeaningFirst useful check
DownNo current neighbor activityInterface/OSPF enablement/Hello reachability
InitHello received, bidirectional discovery incompleteOne-way visibility, parameters, policy
2-WayBidirectional discoveryCan be normal for DROTHER↔DROTHER
ExStartDatabase exchange negotiationMTU/negotiation/network-type consistency
ExchangeDBD exchangePacket loss/DBD progression
LoadingRequested LSAs are loadingMissing/unanswered LSR/LSU
FullRequired LSDB synchronization completeMove to LSDB/route boundary

Adjacency · technical reference

Compact OSPF/FHRP mechanics, design and evidence boundaries for fast lookup.

ItemMeaning
Down/InitNeighbor not yet bidirectional
2-WayBidirectional Hello relationship
ExStart/Exchange/LoadingDatabase synchronization in progress
FullRequired adjacency synchronization complete

Adjacency operational reference

Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.

BoundaryKnown-good for AdjacencySuspicious signatureNext proof
IntentMatches the synchronized OSPF neighbor relationship in which database description and LSA exchange complete to the required adjacency state designConfiguration differs from design/peerCompare effective configuration
Control/security stateStable expected neighbor/database/binding/election stateneighbors stuck in ExStart/Exchange from MTU or DBD negotiation issues, Loading that never completes, repeated Full-to-Down churn, or assuming Full explains a missing route without checking the LSDBInspect protocol/security detail and adjacent state
ForwardingExpected Layer-2 or RIB/FIB/gateway pathControl state exists but traffic path disagreesMAC/ARP/RIB/FIB/CEF proof
ClosureOriginal test passes for explained reasonSymptom moved, was bypassed or protection disabledRegression test
Confirmation

Confirm action

Continue?