Areas · OSPF Fundamentals
interfaces assigned to areas → intra-area LSAs → ABR summaries between areas
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ip ospf interface briefVerification & 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 and known-good state Verify boundary
show ip ospf interface brief
show ip ospf
show ip ospf border-routers
show ip route ospf
The brief view shows which area each interface is in. show ip ospf lists each area with its type and interface count and states whether the router is an area border router. The third lists the border routers this router can reach and at what cost. In the routing table, O routes are from the router's own area and O IA from other areas.
Known-good: every interface is in the intended area, both ends of each link agree, and routes from other areas appear as O IA.
Step 2 Verification and output interpretation Verify boundary
Verify area membership per OSPF-enabled interface, then identify ABRs and confirm Area 0 connectivity. Inspect the LSDB by area and distinguish intra-area from inter-area routes in the RIB. A healthy non-backbone area should have expected internal topology, an ABR relationship to the backbone, and the expected inter-area prefixes; those are separate checks. When summarization is used, confirm both the aggregate advertisement and any local discard/null route behavior. Do not infer area correctness solely from neighbor state: two routers can form a Full adjacency in the wrong area design if both share the same incorrect area assignment.
Step 3 Verification & troubleshooting Narrow the fault
1. show ip ospf interface brief → the Area column for each interface.
2. show ip ospf → the areas the router is in, the number of interfaces in each, and the area type.
3. Missing neighbour: compare the area on both ends of the link.
4. Missing inter-area route: on the ABR, show ip ospf database summary <prefix>; elsewhere, show ip ospf border-routers shows whether an ABR is reachable.
Step 4 Failure signatures and troubleshooting branches Narrow the fault
- No neighbour, and the log reports a mismatched area ID. The two ends of the link are in different areas.
- An interface is in an unexpected area. A broad
networkstatement matched it. - An area's routes are missing everywhere else. The area has no working connection to area 0.
- No neighbour inside a stub or NSSA area. One router lacks the area-type configuration.
- Someone tries to filter or summarise inside an area. That only works on the ABR.
Step 5 When the problem is really fixed Narrow the fault
- Each interface is in its intended area and both ends of every link agree.
- The ABRs are listed in
show ip ospf border-routersfrom inside each area. - Inter-area prefixes are present as
O IAwhere expected. - Area types are configured identically on all routers of the area.
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.
Do not infer service health from one command. For Areas, distinguish configured intent, protocol/security state, installed forwarding state and the original workload result.
ReferenceWhat it is1 section · depth on demand
What it is
An OSPF area is a group of routers and links that share one link-state database. Detailed topology information is flooded only inside the area; other areas receive just the prefixes and a cost. Every interface belongs to exactly one area.
ReferenceWhy it matters1 section · depth on demand
Why it matters
Areas are how OSPF scales and how the effect of a fault is contained: a flapping link in one area does not make routers in other areas rerun the full calculation, and the border router can summarise and filter what leaves the area. The price is a few design rules — above all that every area must attach to area 0 — and the fact that the area is a property of each link and must be the same on both ends.
ReferenceImportant terms & boundaries6 sections · depth on demand
Key points
- The area ID is a 32-bit number, written as a plain number or dotted (area 1 = 0.0.0.1).
- An interface is in exactly one area; a router may have interfaces in several and is then an area border router (ABR).
- Both ends of a link must be in the same area, or no neighbour forms.
- Area 0 is the backbone; every other area connects to it through an ABR.
- Routes from another area appear as
O IA. - Stub, totally stubby and NSSA areas limit which LSAs enter; all routers in such an area must be configured alike.
- Summarisation and filtering happen at the ABR, not inside an area.
- A small network is fine as a single area 0.
In depth
OSPF areas: limiting flooding and SPF to parts of the network
The Catalyst 9300 OSPF guide states that all areas must connect to a backbone, that an ABR connects areas, and that an ASBR is created when routes are redistributed into OSPF. It also documents stub areas (no external routes; the ABR injects a default) and NSSAs (external routes allowed through redistribution).
Area types
| Type | External (type 5) LSAs | Inter-area (type 3) LSAs | Command |
|---|---|---|---|
| Normal | Yes | Yes | — |
| Stub | No; default route instead | Yes | area <id> stub |
| Totally stubby | No | No; default only | area <id> stub no-summary on the ABR |
| NSSA | No type 5; local redistribution as type 7 | Yes | area <id> nssa |
| Totally NSSA | No type 5 | No | area <id> nssa no-summary on the ABR |
ABR1(config)# router ospf 1
ABR1(config-router)# area 40 stub no-summary
R8(config)# router ospf 1
R8(config-router)# area 40 stub
R8# show ip route ospf
O*IA 0.0.0.0/0 [110/11] via 10.40.255.1, 00:03:12, Vlan400
R8# show ip ospf | include Area|stub
Area 40
It is a stub area
Rules from RFC 2328
| Rule | Consequence |
|---|---|
| All routers in an area must agree whether it is stub | The E-bit in Hellos differs and adjacencies fail otherwise |
| No ASBR inside a stub area | Use NSSA when local redistribution is needed |
| Virtual links can't cross stub areas | Transit areas must be normal |
Choosing an area type
| Area | Typical choice |
|---|---|
| Branch with one or two exits | Totally stubby: one default route |
| Branch with a local Internet link that must be redistributed | NSSA |
| Area with several exits and need for exact paths | Normal |
Area IDs are 32-bit numbers, written as decimal (area 30) or dotted (area 0.0.0.30); both forms are the same area.
Documented example, not captured output.
Quick reference
OSPF areas group routers so that detailed topology (Type 1 and 2 LSAs) stays inside each area, and only summary information crosses area borders. This keeps LSDBs and SPF calculations small and contains instability.
| Area concept | Note |
|---|---|
| Area 0 | Backbone; all areas attach to it |
| ABR | Router in area 0 and another area |
| Area ID | 32-bit, written as number or dotted decimal |
| Area types | Normal, stub, totally stubby, NSSA |
Area boundaries are on routers, not links: each interface belongs to exactly one area.
Mechanics and state ownership
Inside an area, routers exchange Router and Network LSAs, hold the full topology, and run SPF on it. At the edge of the area the detail stops. The ABR, which holds a database for each of its areas, calculates the routes in one area and advertises each prefix into its other areas as a Summary LSA carrying just the prefix and the ABR's own cost to it. A router in the receiving area adds its cost to reach the ABR.
Between areas OSPF therefore behaves much like a distance-vector protocol — a prefix and a distance, no topology — and that is why the strict hub-and-spoke rule exists: everything between areas goes through area 0.
An interface is placed in an area either by a network <address> <wildcard> area <id> statement under the process or by ip ospf <process> area <id> on the interface itself. The interface command is the more explicit of the two and avoids surprises from a wide wildcard.
State model and technical mechanics
An OSPF area is a logical link-state flooding boundary. Routers within an area maintain that area’s LSDB and run SPF against its topology, while ABRs connect areas and advertise summarized reachability between them using inter-area information rather than flooding every internal topology detail everywhere. A router can participate in multiple areas only when it is an ABR, and Area 0 provides the backbone transit structure for normal inter-area exchange. Areas reduce LSDB/SPF scope and create policy/summarization boundaries, but they do not create independent routing protocols. Prefix reachability can cross an area boundary even though the receiving area does not learn the source area’s full internal topology.
Limits and common misconceptions
Area boundaries scope topology information; they do not automatically provide security, traffic isolation or VRF-like separation. An inter-area route does not mean the receiving area has the source area’s detailed LSAs. Likewise, a smaller LSDB does not guarantee lower convergence impact if the topology or ABR design remains unstable. Area 0 is a control-plane backbone requirement, not necessarily a single physical core link. Avoid interpreting “area healthy” from one ABR or one route. Keep neighbor/LSDB state, ABR summarization, RIB installation and data-plane forwarding as distinct layers.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration model
Place area boundaries where they match topology and operational ownership rather than merely to reduce a router count. Keep an area contiguous in the normal design and connect non-backbone areas to Area 0 through ABRs. Use summarization deliberately at ABR boundaries when aggregation is technically correct and failure domains support it. Avoid excessive small areas that increase ABR complexity without reducing meaningful SPF or flooding scope. Interface area assignments are fundamental configuration state: a correct process ID alone does not place an interface in the intended LSDB. Document stub/NSSA or other area-type behavior separately because area type changes which LSA classes and external reachability are accepted.
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 Routing → OSPF → OSPF Fundamentals → Areas. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2328.html · confidence 94%Quick lookup tables
Areas · technical reference
Compact OSPF/FHRP mechanics, design and evidence boundaries for fast lookup.
| Item | Meaning |
|---|---|
| Intra-area | Topology and routes inside one area |
| ABR | Connects areas and holds multiple area LSDBs |
| Area 0 | Backbone for normal inter-area exchange |
| Inter-area | Reachability advertised across ABR boundary |
Areas operational reference
Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.
| Boundary | Known-good for Areas | Suspicious signature | Next proof |
|---|---|---|---|
| Intent | Matches the OSPF hierarchy that scopes topology flooding and SPF while connecting non-backbone areas through ABRs design | Configuration differs from design/peer | Compare effective configuration |
| Control/security state | Stable expected neighbor/database/binding/election state | area mismatch on a link, an ABR losing one area attachment, inter-area LSAs absent despite healthy intra-area neighbors, or assuming Area 0 reachability is irrelevant to multi-area design | Inspect protocol/security detail and adjacent state |
| Forwarding | Expected Layer-2 or RIB/FIB/gateway path | Control state exists but traffic path disagrees | MAC/ARP/RIB/FIB/CEF proof |
| Closure | Original test passes for explained reason | Symptom moved, was bypassed or protection disabled | Regression test |