Route missing or unexpected
Fix destination, address family and VRF. Read the installed route, then inspect the originating protocol, advertisement and policy. An OSPF neighbor alone does not prove the prefix was learned or selected.
Search reference content or use the available lookup modes. Use Escape to close and arrow keys to move through results.
ospf lsdb, ceph pg inactive or powershell remoting.Fast context before you go deeper.
default-information originate [always]Fix destination, address family and VRF. Read the installed route, then inspect the originating protocol, advertisement and policy. An OSPF neighbor alone does not prove the prefix was learned or selected.
Continue to RIB / FIB / CEF, recursive next-hop resolution and adjacency. Compare policy, the downstream path and the return route using the original source and destination.
10 unique read-only examples; catalog links are counted separately. Replace placeholders and confirm syntax, VRF and version on the actual device. The OSPF examples here are for OSPFv2; use the OSPFv3 subtopic for its commands.
| Command | Read this / proof limit |
|---|---|
show ip ospf interface <interface>Catalog reference | Inspect area, network type, interface cost, DR/BDR role, timers and participation. |
show ip ospf neighborCatalog reference | Read peer Router ID, state, dead timer and interface. Interpret state against network type and DR/BDR roles. |
show ip ospf neighbor detail | Inspect adjacency transitions and per-neighbor detail before changing or resetting a process. |
show ip ospf databaseCatalog reference | Locate the relevant LSA and area; database presence is separate from route installation. |
show ip ospf database routerCatalog reference | Inspect Type 1 router LSAs within their area. |
show ip ospf database networkCatalog reference | Inspect Type 2 network LSAs originated by a DR on a transit multiaccess network. |
show ip ospf database summaryCatalog reference | Inspect Type 3 inter-area network information originated by an ABR. |
show ip route <destination> | Find the longest matching installed prefix, its source, next hop and interface. Use the matching VRF/address-family syntax on the device. |
show ip cef <prefix> detail | Compare local forwarding with the selected route and resolved next hop. This does not prove hardware forwarding or delivery. |
show ip protocolsCatalog reference | Inspect active IPv4 routing processes and their advertised networks, filters and routing sources. |
Wireshark display filter: ip.proto == 89 selects IPv4 OSPF packets in a capture. This is a packet filter, not an IOS command; absence in one capture does not prove that the peer sent no packets.
Use network type and intended adjacency to interpret the state. Check both ends before changing configuration.
| State | Meaning | Next check |
|---|---|---|
| Down | No recent Hello received. | Check interface participation, passive state, reachability and protocol 89 filtering. |
| Attempt | NBMA: trying to contact a configured neighbor. | Check configured neighbor identity and NBMA reachability. |
| Init | Hello received; the peer has not listed our Router ID. | Check the reverse Hello path and both peers; suspect one-way communication. |
| 2-Way | Bidirectional Hello communication. | Normal between broadcast DROTHERs. If adjacency is expected, inspect DR/BDR election and network type. |
| ExStart | Negotiating database exchange roles and sequence. | Compare MTU, Router IDs, network type and packet exchange; state alone does not prove an MTU fault. |
| Exchange | Exchanging database descriptions. | Inspect negotiation, DBD retransmissions and consistent parameters on both ends. |
| Loading | Requesting missing LSAs. | Inspect outstanding requests, retransmissions and loss; identify the missing LSA. |
| Full | The intended adjacency has synchronized its database. | Continue to the required LSA, route installation and traffic test. Full does not prove delivery. |
Synthetic rows from two interfaces, used to explain three cases. Assume R1 is a DROTHER on GigabitEthernet0/0. These are not a capture from Pcornel or a verified device.
R1# show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 1 FULL/DR 00:00:32 192.0.2.2 GigabitEthernet0/0
3.3.3.3 1 2WAY/DROTHER 00:00:36 192.0.2.3 GigabitEthernet0/0
4.4.4.4 1 EXSTART/BDR 00:00:35 198.51.100.2 GigabitEthernet0/1
FULL/DR: database synchronization with the elected DR. 2WAY/DROTHER: can be healthy between two DROTHERs on the broadcast segment. EXSTART/BDR: exchange negotiation has not completed; compare MTU and other parameters rather than declaring MTU the cause.
Neighbor ID identifies the peer Router ID; Address is the neighbor interface address. State combines synchronization state and DR role. Dead Time counts down toward neighbor expiry. None of these columns proves the destination route or application path.
Broadcast and NBMA networks elect a DR and BDR. DROTHERs form full adjacencies with these roles; two DROTHERs may remain 2-Way. Point-to-point networks do not elect a DR/BDR. Compare network type on both ends.
Type 1 describes a router inside an area; Type 2 describes a multiaccess transit network; Type 3 carries inter-area networks; Type 4 identifies an ASBR; Type 5 carries external routes. Stub areas exclude external Type 5 information; NSSA uses Type 7 external LSAs with translation at its boundary. Inspect area type and LSA scope before expecting a prefix.
Cisco automatic interface cost uses reference bandwidth divided by interface bandwidth, with a minimum cost of 1. Interface cost overrides automatic calculation. Use consistent reference bandwidth across routers; cost selects paths within OSPF, while administrative distance compares route sources.
A passive OSPF interface sends no Hellos and forms no neighbors while its attached network can still be advertised. Compare Hello/Dead timers, area settings and compatible authentication on both ends. Verify the actual interface and IOS release rather than assuming one set of defaults.
Documentation reviewed 12 October 2026 (a documentation check, not a device test). Confirm release and platform support on your own device.
Configuration and operational commands for this Topic.
Go one level deeper into this subject.
OSPF Fundamentals: Link-State Protocol, Router ID, Neighbor, Adjacency.
Subtopic OSPFv2OSPFv2 reference for IPv4 link-state operation, neighbor/adjacency state, LSDB scope, SPF calculation and route installation.
Subtopic OSPFv3OSPFv3: IPv6 OSPF, Router ID, Areas, Neighbors.
Prove the nearest boundary, branch on the observation, and repeat the original test after the minimum controlled change.
Separate adjacency, LSDB, SPF/RIB and forwarding; a FULL neighbor does not prove route installation.
Useful read-only checks: show ip ospf neighbor · show ip ospf database · show ip route · show ip cef
Confirm the expected neighbor state on the expected interface.
If healthy: Required neighbors are stable at the proper state.
If broken: Resolve Hello/area/auth/network-type/MTU adjacency problems first.
Search the LSDB for the expected prefix/topology information.
If healthy: The necessary LSA is present and current.
If broken: Trace origination, area or filtering before RIB analysis.
Compare advertising router, LSA type, sequence and topology context.
If healthy: The LSDB view matches the intended topology.
If broken: Resolve stale/wrong topology information before SPF/RIB.
Check whether the prefix is installed and why another route may win.
If healthy: The expected route is in the RIB.
If broken: Investigate AD, route type, filtering or competing sources.
Confirm the installed prefix resolves to the intended adjacency.
If healthy: FIB/CEF points toward the expected next hop.
If broken: Stop at unresolved/drop/punt adjacency.
Prove the reverse direction for the original traffic.
If healthy: Forward and return paths are plausible.
If broken: Fix asymmetry or downstream routing rather than OSPF blindly.
Use the same destination/prefix that exposed the problem.
If healthy: The original flow succeeds.
If broken: Do not equate LSDB/RIB presence with end-to-end delivery.
A passing step proves only that boundary; continue until the original symptom is explained and retested.
Observed symptom → candidate boundary → discriminating check → original-test closure. A signature narrows the search; it never proves root cause by itself.
The adjacency passes Hello discovery but cannot complete database exchange.
MTU mismatch · DBD negotiation · packet loss · duplicate router ID or adjacency instability
compare interface MTU → inspect neighbor resets/events → check packet loss and DBD progression
EXSTART is a state signature, not proof that MTU is the cause.
Repeat the original failing test after the minimum controlled change before calling recovery verified.The neighbor adjacency is complete, yet the expected prefix is absent from the RIB.
LSA origination/area boundary · filtering/summarization · RIB selection/AD · topology/LSDB mismatch
check LSDB for the prefix → compare route candidates/AD → check CEF only after RIB proof
FULL proves adjacency, not LSA presence, route selection or forwarding.
Repeat the original failing test after the minimum controlled change before calling recovery verified.Preserved source content, including previous workflows and technical details. The focused reference above is documentation; opening this section does not establish verification.
Use it when an OSPF neighbour does not come up, a route is missing, or traffic takes an unexpected path.
1. show ip ospf neighbor — is the neighbour there, and FULL (or 2WAY between two DROTHERs)?
2. Missing → show ip ospf interface <interface> on both ends: same area, subnet, timers, network type, authentication? Passive?
3. Stuck in EXSTART/EXCHANGE → MTU mismatch.
4. FULL but route missing → show ip ospf database: is the LSA there? Filtered at an ABR?
5. Unexpected path → compare costs along both paths.
Test the next-hop/data-plane path and inspect forwarding/interface evidence if traffic still fails.
Continue only after interpreting the current observation.- Looking only at the route table and skipping the LSDB.
- Assuming matching Cisco process IDs are required between neighbors.
- Confusing OSPF cost with administrative distance.
- Changing timers/MTU/network type before comparing both interfaces.
- Treating FULL adjacency as evidence a specific prefix is advertised and installed.
Focused checks for this Topic. Stored verification and troubleshooting material remains available below.
show ip ospf interface <interface>: Read process, area, network type, cost and timers on the interface expected to participate. Compare both ends when participation or parameters disagree.
show ip ospf neighbor: Read neighbor ID, state, interface and dead timer. FULL is required for intended adjacencies; 2-WAY can be normal between DROTHERs on a broadcast segment. Investigate the observed state instead of treating every non-FULL neighbor as broken.
show ip ospf database: Find the relevant LSA and its area/type before inspecting the destination route. Use show ip route <destination> separately; a present LSA or FULL neighbor does not prove the desired route wins.
Keep destination, address family and VRF fixed when comparing RIB, forwarding and traffic. If routing is consistent, continue to next-hop resolution, policy, downstream and return-path checks.
Longer notes behind the focused checks above. Start with the checks; use these when you need more detail.
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
show ip ospf neighbor — neighbours with state and DR/BDR role.show ip ospf interface brief — OSPF interfaces, area, cost, state.show ip ospf interface <interface> — timers, network type, priority, authentication.show ip ospf database — the LSAs per area.show ip route ospf — the routes OSPF installed.show ip protocols — router ID, areas, passive interfaces.OSPF-enabled interfaces send Hellos to discover compatible neighbors. Required adjacencies synchronize topology information using Database Description, Link-State Request, Link-State Update and Link-State Acknowledgment packets. LSAs populate the LSDB; SPF calculates paths; the RIB then selects eligible routes. Forwarding is a separate final boundary.
- Metric: cost; lower total path cost wins
- Routers build an LSDB per area and run SPF
- Area 0 is the backbone for normal multiarea design
- A FULL neighbor is only one boundary: always verify LSDB and RIB too.
OSPF begins with interface eligibility and IP transport, then Hello parameter compatibility and neighbor discovery.
OSPF: a link-state IGP built for IP networks
The Catalyst 9300 OSPF guide describes OSPF as an interior gateway protocol designed for IP networks, with support for subnetting, external route tagging, authentication, IP multicast, stub areas, NSSAs and virtual links.
How OSPF works in four steps
| Step | What happens |
|---|---|
| 1 | Routers discover neighbours with Hello packets |
| 2 | Neighbours that should be adjacent synchronise their link-state databases |
| 3 | Every router in an area holds the same LSDB |
| 4 | Each router runs SPF (Dijkstra) on the LSDB and installs the best paths |
Documented defaults on Catalyst 9300
| Setting | Default |
|---|---|
| Hello interval | 10 s |
| Dead interval | 4 × hello |
| Retransmit interval / transmit delay | 5 s / 1 s |
| Router priority | 1 |
| Reference bandwidth | 100 Mb/s |
| Administrative distance | 110 (intra-area, inter-area and external) |
| SPF delay / hold time | 50 ms / 200 ms |
| Log adjacency changes | Enabled |
R1(config)# interface Loopback0
R1(config-if)# ip address 10.0.0.1 255.255.255.255
R1(config)# router ospf 1
R1(config-router)# router-id 10.0.0.1
R1(config-router)# auto-cost reference-bandwidth 100000
R1(config-router)# passive-interface default
R1(config-router)# no passive-interface TenGigabitEthernet1/1/1
R1(config-router)# network 10.0.0.0 0.255.255.255 area 0
R1# show ip ospf neighbor
R1# show ip route ospf
Licensing (from the guide)
OSPF for Routed Access on Network Essentials supports one OSPFv2 and one OSPFv3 instance with up to 1000 dynamically learned routes. Full OSPF needs Network Advantage.
First checks by symptom
| Symptom | Check first |
|---|---|
| No neighbour | Hello/dead timers, area, subnet mask, authentication, passive interface, ACLs |
| Stuck in EXSTART/EXCHANGE | MTU on both sides |
| Neighbour FULL, route missing | Is the LSA in the database? Area type, filtering, summarisation |
| Suboptimal path | Interface costs (reference bandwidth) and area design |
| Routes flap | show ip ospf statistics for SPF runs; look for an unstable link |
R1# show ip ospf interface brief
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Gi0/0/1 1 0 10.0.12.1/31 1 P2P 1/1
Vl110 1 10 10.110.0.1/24 1 DR 0/0
F/C 1/1 means one neighbour, and it is fully adjacent. Vl110 is DR with 0/0: it advertises the user subnet but has no neighbours, which is what a passive user-facing interface should look like.
OSPF topics in brief
| Topic | Key idea |
|---|---|
| Areas | Limit flooding and SPF scope; all areas attach to area 0 |
| DR/BDR | Reduce adjacencies on multi-access segments |
| Cost | Reference bandwidth ÷ interface bandwidth |
| LSAs | Router, network, summary, external, NSSA |
| OSPFv3 | The IPv6 version, which can also carry IPv4 |
Documented example, not captured output.
OSPF is a link-state routing protocol: every router in an area receives the same description of the topology and calculates the shortest path to every destination itself. Areas keep this database small and stop changes from spreading everywhere, with area 0 as the backbone that all other areas connect to. The cost of each link decides which path wins, so setting a sensible reference bandwidth is essential on networks faster than 100 Mb/s. Most OSPF problems are adjacency problems, and the list of matching requirements at the end of this section is the checklist for those.
OSPF essentials: link-state protocol with areas (backbone area 0), LSAs flooded within areas, SPF (Dijkstra) computation, cost = reference bandwidth / interface bandwidth.
router ospf 1
router-id 10.255.0.1
auto-cost reference-bandwidth 100000 ! 100 Gb/s reference
passive-interface default
no passive-interface Te1/1/1
interface Te1/1/1
ip ospf 1 area 0
ip ospf network point-to-point
ip ospf bfd
show ip ospf neighbor
show ip ospf database
show ip ospf interface brief
Adjacency requirements: same area, subnet, timers, authentication, MTU (or ip ospf mtu-ignore), network type compatibility, unique router IDs.
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 Routing → OSPF. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2328.html · confidence 94%Compact reference collections only; they are not a guided troubleshooting workflow.
Adjacency → LSDB → RIB → CEF
Use when OSPF is involved in a reachability or route-installation question.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.
Quick lookup for common OSPF adjacency states.
| State | Meaning | High-value next check |
|---|---|---|
| DOWN / no neighbor | No usable neighbor relationship | Interface/IP, area, Hello visibility, passive state, authentication |
| INIT | Hello received, but two-way visibility is missing | One-way path / peer Hello content |
| 2-WAY | Bidirectional Hello relationship | Normal on some multiaccess DROTHER relationships; check whether FULL is actually expected |
| EXSTART | Database-description negotiation has not completed | MTU, Router ID/negotiation, interface stability |
| EXCHANGE | Database descriptions are being exchanged | MTU/DBD stability and duplicate Router ID evidence |
| LOADING | Missing LSAs are being requested/received | LS requests/updates and adjacency stability |
| FULL | Expected database synchronization completed | Continue to LSDB → RIB → CEF for reachability questions |
Which Cisco command answers which control-plane question.
| Question | Command |
|---|---|
| Is the OSPF process running and which Router ID/areas exist? | show ip ospf |
| Is the interface participating with the expected area/type/timers/cost? | show ip ospf interface |
| Did the expected neighbor/adjacency form? | show ip ospf neighbor |
| Does the required LSA exist? | show ip ospf database |
| Did the route reach the RIB? | show ip route ospf / show ip route |
Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.
Minimal single-area reference plus verification
Neighbor, LSDB and route checks in a compact order.
Compact first-check sequence
1. Confirm interface is up/up and addresses/subnet make sense.
2. Confirm OSPF is active on the intended interface and not passive.
3. Compare area ID, Hello/Dead timers, network type and authentication.
4. Verify bidirectional Hello visibility.
5. If state reaches EXSTART/EXCHANGE, shift focus to MTU/DBD negotiation instead of repeating Hello checks.