Pcornel
Networking · Routing › OSPF › OSPF Fundamentals

Adjacency

Cheat sheet · https://pcornel.dk/topic.php?topic=1091

Back to the Topic

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.

Remember

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

First checks

  • show ip ospf neighbor — state FULL or 2WAY
  • show ip ospf interface <interface> — area, timers, network type

Commands

debug ip ospf adj
Emit OSPF adjacency state-machine diagnostics. Use cautiously on production devices.
show ip ospf neighbor
show ip ospf request-list
show ip ospf neighbor detail
ip ospf mtu-ignore

Verify in this order

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

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

OSPF neighbor state map

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

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1091

Confirmation

Confirm action

Continue?