Use it when choosing how much routing information an edge area needs, or when default routes and external routes behave differently in one area than in the rest of the network.
OSPF Area Types Reference
1. show ip ospf on every router in the area — same type everywhere?
2. Neighbours lost after a change → one router was not configured.
3. No default route → in an NSSA it must be requested: area <id> nssa default-information-originate or no-summary.
4. Inter-area routes still present → no-summary is missing on the ABR.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ip ospfVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational verification Verify boundary
show ip ospf
show ip ospf database
show ip route ospf
show ip ospf describes each area, for example "It is a stub area" or "It is a NSSA area". In the database of a stub area there are no type 5 LSAs; in a totally stubby area the only summary LSA is the default. The routing table of an inside router shows O*IA 0.0.0.0/0 from the ABR.
Known-good: all routers in the area report the same type, neighbours are Full, the expected LSA types are absent, and the default route is present.
Step 2 Typical faults & boundaries Narrow the fault
- No neighbours after changing the area type. Not all routers in the area were configured; the Hellos no longer match.
- No default route in an NSSA. It is not generated automatically; add
default-information-originateor useno-summary. - External routes missing in the area. That is what a stub area does; reachability depends on the default route.
- Redistribution in a stub area has no effect. A stub area cannot contain an ASBR; use an NSSA.
- Inter-area routes still present in a "totally stubby" area.
no-summaryis missing on the ABR. - NSSA routes not visible elsewhere. The ABR is not translating type 7 to type 5.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
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.
ReferenceWhat it is1 section · depth on demand
Mechanics & mental model
An OSPF area can be configured as one of several types. The type decides which kinds of routes are let into the area in full, and which are replaced by a default route.
ReferenceWhy it matters1 section · depth on demand
Why it matters operationally
Restricting an area keeps the databases and routing tables of its routers small — useful at the edge of a network. But the type must be configured identically on every router in the area, and each type changes what happens to external routes; both are common sources of error.
ReferenceHow it works1 section · depth on demand
How it works
| Area type | External routes (type 5) | Inter-area routes (type 3) | Default route from ABR | Configured with |
|---|---|---|---|---|
| Normal | Yes | Yes | No | — |
| Stub | No | Yes | Yes | area <id> stub on all routers |
| Totally stubby | No | No | Yes | area <id> stub no-summary on the ABR, stub on the others |
| NSSA | No, but own redistribution allowed (type 7) | Yes | Not by default | area <id> nssa on all routers |
| Totally NSSA | No, but own redistribution allowed | No | Yes | area <id> nssa no-summary on the ABR |
A stub area is for a part of the network with no exits of its own: external routes are not needed in detail, because everything external is reached through the ABR anyway. The ABR injects a default route in their place.
A totally stubby area — a Cisco extension — goes one step further and replaces the routes to other areas as well. Routers inside know their own area and a default route.
An NSSA is a stub area that needs to redistribute something itself, for example a connection to a small external network. Redistribution creates type 7 LSAs inside the area, and the ABR translates them to type 5. An NSSA ABR does not send a default route unless told to with area <id> nssa default-information-originate.
Limits: area 0 cannot be any kind of stub, and a virtual link cannot cross one. All routers in the area must agree on the type, or they will not become neighbours.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Area types control which LSAs enter an area
The Catalyst 9300 OSPF guide documents the commands: area <id> stub blocks external routes, adding no-summary also blocks summary LSAs, and area <id> nssa defines a not-so-stubby area. It also notes that virtual links cannot cross stub areas.
| Area type | Type 3 (inter-area) | Type 5 (external) | Type 7 | Default route |
|---|---|---|---|---|
| Normal | Yes | Yes | No | Only if originated |
| Stub | Yes | No | No | Injected by the ABR |
| Totally stubby | No (only a default) | No | No | Injected by the ABR |
| NSSA | Yes | No | Yes (local redistribution) | Optional (default-information-originate) |
| Totally NSSA | No | No | Yes | Injected by the ABR |
! all routers in area 10
C9300(config-router)# area 10 stub
! ABR only: make it totally stubby
C9300-ABR(config-router)# area 10 stub no-summary
! NSSA with redistribution of a local static route
C9300-R5(config-router)# area 20 nssa
C9300-R5(config-router)# redistribute static subnets
C9300# show ip ospf | begin Area 10
Area 10
Number of interfaces in this area is 3
It is a stub area, no summary LSA in this area
C9300# show ip route ospf | include N2|IA
Choosing a type
| Area | Good choice |
|---|---|
| Branch or access area with a single exit | Totally stubby: smallest table |
| Area with a local internet or partner connection to redistribute | NSSA |
| Area that transits a virtual link | Normal (stub areas can't) |
| Area 0 | Always normal |
Rules
- Every router in the area must have the same stub or NSSA setting. The stub flag is carried in hellos, and a mismatch prevents adjacencies.
no-summaryis configured only on the ABRs.- NSSA type 7 LSAs are translated to type 5 at the NSSA ABR, so external routes from the NSSA still reach the rest of the domain.
Documented example, not captured output.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
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 Network & Protocols → OSPF Area Types Reference. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2328.html · confidence 94%What changed and what may be affected
Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.
Terms & aliases
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.
Operational notes
Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.
OSPF Area Types
Compact area behavior comparison.
Standard → inter-area + external LSAs
Stub → blocks Type 5; ABR provides default
Totally stubby (Cisco) → also suppresses most Type 3 summaries
NSSA → accepts local redistribution as Type 7
Totally NSSA (vendor feature) → NSSA + stronger summary suppression
All routers in an area must agree on compatible area type.