Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Areas · OSPF Fundamentals

Direct answer

OSPF areas divide a network into smaller parts so each router only holds the detailed topology of its own area. Area Border Routers (ABRs) connect areas to the backbone (area 0) and pass summarised routes between them.

When to use this

Use it when the design or fault is specifically about the OSPF hierarchy that scopes topology flooding and SPF while connecting non-backbone areas through ABRs. Stay on that boundary until configuration intent, live control/security state and the adjacent dependency agree.

First 30 seconds

1. Areas limit LSA flooding and SPF scope.

2. All areas must connect to area 0.

3. Interfaces on a link must be in the same area.

4. ABRs connect areas.

5. Area type (stub, NSSA) must match on all routers in the area.

Operational verification

interfaces assigned to areas → intra-area LSAs → ABR summaries between areas

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS XE · IOS/IOS XE
Key commandshow ip ospf interface brief
Scope / prerequisiteUse it when the design or fault is specifically about the OSPF hierarchy that scopes topology flooding and SPF while co…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 network statement 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-routers from inside each area.
  • Inter-area prefixes are present as O IA where expected.
  • Area types are configured identically on all routers of the area.
Evidence references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

Do not infer service health from one command. For Areas, distinguish configured intent, protocol/security state, installed forwarding state and the original workload result.

Key checks
  • show ip ospf — areas and ABR/ASBR role
  • show ip ospf interface brief — interface to area mapping
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

TypeExternal (type 5) LSAsInter-area (type 3) LSAsCommand
NormalYesYes—
StubNo; default route insteadYesarea <id> stub
Totally stubbyNoNo; default onlyarea <id> stub no-summary on the ABR
NSSANo type 5; local redistribution as type 7Yesarea <id> nssa
Totally NSSANo type 5Noarea <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

RuleConsequence
All routers in an area must agree whether it is stubThe E-bit in Hellos differs and adjacencies fail otherwise
No ASBR inside a stub areaUse NSSA when local redistribution is needed
Virtual links can't cross stub areasTransit areas must be normal

Choosing an area type

AreaTypical choice
Branch with one or two exitsTotally stubby: one default route
Branch with a local Internet link that must be redistributedNSSA
Area with several exits and need for exact pathsNormal

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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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 conceptNote
Area 0Backbone; all areas attach to it
ABRRouter in area 0 and another area
Area ID32-bit, written as number or dotted decimal
Area typesNormal, stub, totally stubby, NSSA

Area boundaries are on routers, not links: each interface belongs to exactly one area.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 2328

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%
Embedded reference data

Quick lookup tables

Areas · technical reference

Compact OSPF/FHRP mechanics, design and evidence boundaries for fast lookup.

ItemMeaning
Intra-areaTopology and routes inside one area
ABRConnects areas and holds multiple area LSDBs
Area 0Backbone for normal inter-area exchange
Inter-areaReachability advertised across ABR boundary

Areas operational reference

Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.

BoundaryKnown-good for AreasSuspicious signatureNext proof
IntentMatches the OSPF hierarchy that scopes topology flooding and SPF while connecting non-backbone areas through ABRs designConfiguration differs from design/peerCompare effective configuration
Control/security stateStable expected neighbor/database/binding/election statearea 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 designInspect protocol/security detail and adjacent state
ForwardingExpected Layer-2 or RIB/FIB/gateway pathControl state exists but traffic path disagreesMAC/ARP/RIB/FIB/CEF proof
ClosureOriginal test passes for explained reasonSymptom moved, was bypassed or protection disabledRegression test
Confirmation

Confirm action

Continue?