Multi-Area OSPF
Cheat sheet · https://pcornel.dk/topic.php?topic=633
Answer
Multi-area OSPFv2 partitions the link-state domain so each router keeps detailed topology only for its own area or areas, while ABRs connect those scopes and advertise inter-area reachability through the backbone. The design reduces LSDB/SPF scope and creates explicit failure boundaries: intra-area adjacency can be healthy while inter-area reachability is broken at an ABR, backbone attachment, summary advertisement or route-policy step. Area identity is carried in OSPF interface/process configuration, not inferred from IP subnetting alone. Operational troubleshooting should therefore map the destination path across source area, serving ABR, Area 0, remote ABR and destination area before changing costs or resetting neighbors.
Remember
Do not infer service health from one role or command. For Multi-Area OSPF, distinguish configured intent, election/database state, installed forwarding state and the original workload result.
First checks
show ip ospf— ABR flag and areasshow ip ospf border-routers— ABRs/ASBRsshow ip route ospf— O IA routes
Commands
show ip ospf database- OSPF LSDB inventory and LSA visibility.
show ip ospf border-routers- Display ABR/ASBR reachability.
network <network> <wildcard> area <area>- Enable OSPF on interfaces matching the network and wildcard, in the given area.
ip ospf <process-id> area <area>- Enable OSPF on the interface directly, without a network statement.
show ip ospfshow ip ospf database summary <prefix>show ip route ospf
Verify in this order
area LSAs → ABR → type 3 summaries → other areas
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
OSPF route-type quick map
| Route code | Meaning |
|---|---|
| O | OSPF intra-area route |
| O IA | OSPF inter-area route |
| O E1 / O E2 | OSPF external route types |
| O N1 / O N2 | NSSA external route types |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=633