Adjacency
Cheat sheet · https://pcornel.dk/topic.php?topic=1091
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 2WAYshow 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 neighborshow ip ospf request-listshow ip ospf neighbor detailip 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
| State | Meaning | First useful check |
|---|---|---|
| Down | No current neighbor activity | Interface/OSPF enablement/Hello reachability |
| Init | Hello received, bidirectional discovery incomplete | One-way visibility, parameters, policy |
| 2-Way | Bidirectional discovery | Can be normal for DROTHER↔DROTHER |
| ExStart | Database exchange negotiation | MTU/negotiation/network-type consistency |
| Exchange | DBD exchange | Packet loss/DBD progression |
| Loading | Requested LSAs are loading | Missing/unanswered LSR/LSU |
| Full | Required LSDB synchronization complete | Move 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