LSDB (Link-State Database)
Cheat sheet · https://pcornel.dk/topic.php?topic=1092
Answer
The LSDB (link-state database) holds all LSAs a router knows for an area. All routers in the same area should have identical LSDBs; SPF runs on this database to calculate routes. View it with show ip ospf database.
Remember
Do not infer service health from one command. For LSDB, distinguish configured intent, protocol/security state, installed forwarding state and the original workload result.
First checks
show ip ospf database— LSDB summaryshow ip ospf database database-summary— countsshow ip ospf statistics— SPF runs
Commands
show ip ospf databaseshow ip ospf database router <router-id>show ip ospf database summary <prefix>show ip ospf database database-summaryshow ip ospf retransmission-list
Verify in this order
LSAs flooded → synchronized LSDB → SPF input
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
LSDB · technical reference
| Item | Meaning |
|---|---|
| LSDB | Scoped OSPF LSA collection |
| Synchronization | Database exchange/flooding aligns instances |
| SPF input | Topology calculation consumes LSDB |
| Not RIB | Installed routes are a later local decision |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1092