Single Area
Cheat sheet · https://pcornel.dk/topic.php?topic=629
Answer
Single-area OSPF puts every router and link in area 0. It is the simplest design: every router knows every link, and there are no area borders to configure.
Remember
Fine up to a moderate number of routers and links; beyond that, the database and SPF runs grow, and areas help. Everything still has to match per link: subnet, timers, network type, authentication, MTU.
First checks
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.
Commands
passive-interface <interface>- Suppress OSPF neighbor Hellos on the selected interface while preserving protocol participation as configured.
router ospf <process-id>- Start an OSPF process.
router-id <router-id>- Set the router ID of the routing process; changes take effect after a process restart.
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.
passive-interface default- Make all interfaces passive in OSPF; enable only the needed ones with no passive-interface.
no passive-interface <interface>- Make an interface active in OSPF when passive-interface default is used.
clear ip ospf process- Restart the OSPF process; all adjacencies drop and re-form.
ip ospf 1 area 0show ip protocolsshow ip ospf interface briefshow ip ospf neighborshow ip ospf databaseshow ip route ospfshow ip ospf interface <interface>show ip route <destination>
Verify in this order
interface in OSPF and not passive → hellos match → 2WAY → DR/BDR elected on broadcast links → database exchange → FULL → LSAs in the database → SPF → routes installed
Where it usually breaks
interface participation/link → Hello compatibility → database exchange → target advertisement → RIB competition/next hop → forwarding/policy/return path
Single Area · operational reference
| State / evidence | Interpretation |
|---|---|
| Neighbor FULL | Adjacency synchronized |
| LSDB | Area topology knowledge |
| SPF route | Computed candidate |
| RIB/CEF | Installed forwarding state |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=629