Pcornel
Networking · Network & Protocols › OSPF Protocol Reference

OSPF Area Types Reference

Cheat sheet · https://pcornel.dk/topic.php?topic=211

Back to the Topic

Answer

An OSPF area can be normal, stub, totally stubby or NSSA. The type decides whether external routes and routes from other areas are let in fully, or replaced by a default route from the ABR.

Remember

Every router in the area must be configured with the same type, or no neighbours form. Stub areas block external routes and get a default route; no-summary on the ABR also removes inter-area routes. An NSSA allows redistribution inside the area but gets no default route unless one is configured.

First checks

  • show ip ospf — each area and its type.
  • show ip ospf database — which LSA types are present in the area.
  • show ip route ospf — look for O*IA 0.0.0.0/0 from the ABR.
  • show ip ospf neighbor — neighbours still Full after a change of type.

Commands

show ip ospf

Verify in this order

area type identical on all routers → neighbours Full → blocked LSA types absent from the area's database → default route injected by the ABR → inside routers reach outside destinations through it

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=211

Confirmation

Confirm action

Continue?