Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Multi-Area OSPF

Direct answer

Multi-area OSPFv2 partitions the link-state domain so each router keeps detailed topology only for its own area or areas, while ABRs connect those scopes and advertise inter-area reachability through the backbone. The design reduces LSDB/SPF scope and creates explicit failure boundaries: intra-area adjacency can be healthy while inter-area reachability is broken at an ABR, backbone attachment, summary advertisement or route-policy step. Area identity is carried in OSPF interface/process configuration, not inferred from IP subnetting alone. Operational troubleshooting should therefore map the destination path across source area, serving ABR, Area 0, remote ABR and destination area before changing costs or resetting neighbors.

When to use this

Use it when the design or fault is specifically about the hierarchical OSPFv2 design that partitions topology into areas while using Area 0 and ABRs to exchange inter-area reachability without flooding every topology detail everywhere. Stay on that boundary until configuration intent, live protocol state and the adjacent forwarding dependency agree.

First 30 seconds

1. Multi-area OSPF reduces LSDB and SPF size.

2. ABRs summarise between areas with type 3 LSAs.

3. All areas attach to area 0.

4. Summarise at ABRs.

5. Inter-area routes show as O IA.

Operational verification

area LSAs → ABR → type 3 summaries → other areas

Failure signatureRoutes from one OSPF area are missing in the rest of the network

Routers inside an area work, but other areas do not learn its prefixes (no O IA routes).

Possible stored cause: The area is not connected to area 0 through an ABR, or the backbone itself is partitioned.
Evidence · next step

Inspect the target Type 3 summary LSA on source/ABR/receiving sides and then the remote RIB.

Continue only after interpreting the current observation.
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 / IOS XE · IOS/IOS XE
Key commandnetwork <network> <wildcard> area <area>
Scope / prerequisiteUse it when the design or fault is specifically about the hierarchical OSPFv2 design that partitions topology into area…
Show · 2Reference · 2
What next?3 suggested next steps
Child topics (this level)3
Catalog command links4
Evidence1
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

How to read the output

show ip ospf database

Look first: LSA type, link-state ID, advertising router, sequence/age

Healthy: Expected LSAs are present and consistent with topology.

Warning: Missing/stale/unexpected LSAs or differing topology view.

Does not prove: LSDB presence does not prove route wins in RIB.

Operational workflow

Verification & Troubleshooting

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

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

Routers inside an area work, but other areas do not learn its prefixes (no O IA routes).

Step 1 First 30 seconds Verify boundary

Immediate answer: Separate local adjacency/LSDB health from ABR area boundaries and inter-area summary LSAs before changing costs or summaries.

Verification chain: Hello/adjacency → area-local LSDB → ABR state → type-3 summary LSAs → SPF/RIB → FIB → traffic

Stop condition: FULL neighbors inside both areas do not show the ABR is advertising or selecting the required inter-area prefix.

Step 2 Operational verification and known-good state Verify boundary
show ip ospf
show ip ospf border-routers
show ip ospf database summary 10.20.0.0
show ip route ospf

show ip ospf lists the areas and states whether the router is an ABR. The border-router table shows which ABRs are reachable from here and at what cost. The summary lookup shows the Summary LSA for one prefix and which ABR issued it. The routing table marks inter-area routes O IA.

Known-good: every ABR has a Full adjacency in area 0, each area's prefixes appear as Summary LSAs in the other areas, and O IA routes are installed with the expected ABR as next hop.

Step 3 Verification and output interpretation Verify boundary

Verify the local area/interface mapping first, then neighbor state per interface. On an ABR, inspect which interfaces belong to Area 0 and which belong to non-backbone areas, and verify the expected LSDBs exist for each area. Use show ip route ospf to distinguish intra-area O from inter-area O IA routes and pick representative prefixes from each direction. For a summary, compare component routes on the ABR with the summary advertised beyond the boundary and test representative destinations inside the aggregate. If inter-area routing behaves unexpectedly, show backbone reachability and ABR role before changing route policy.

Step 4 Step-by-step troubleshooting Narrow the fault

Boundary rule: FULL neighbors inside both areas do not show the ABR is advertising or selecting the required inter-area prefix.

Step 5 Verification & troubleshooting Narrow the fault

1. In the originating area: is the prefix an O route, and is it in the database?

2. On that area's ABR: show ip ospf confirms it is an area border router; show ip ospf database summary <prefix> shows whether it originates a Summary LSA for the prefix.

3. In area 0: is the prefix there as O IA?

4. On the ABR of the receiving area, and then inside that area: the same check.

5. Wherever the prefix stops, look at that ABR for area … range and area … filter-list.

Step 6 Failure signatures and troubleshooting branches Narrow the fault
  • A prefix is present in its own area and missing elsewhere, with all adjacencies Full. Look at the ABR: no working adjacency in area 0, a range with not-advertise, or a filter list.
  • An O IA route points to an unexpected ABR. Add up the costs through each ABR.
  • Traffic stays on a longer path inside one area. Intra-area routes are preferred over inter-area ones.
  • Routes disappear when an ABR loses its area 0 link although it still has links in other areas. Without area 0 it is no longer an ABR.
  • Specific routes vanished and only an aggregate remains. An area range is doing its job.
Step 7 When the problem is really fixed Narrow the fault
  • Each area's prefixes are visible as O IA in the other areas (or as the intended summary).
  • Every ABR is listed as a border router from inside its areas.
  • Paths between areas go through the expected ABR.
  • With one ABR or backbone link failed in a test, inter-area routes remain.
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.

command output · 1
Command lookup Jump straight to Cisco syntax
Drill down

Subtopics

Go one level deeper into this subject.

Key points

Do not infer service health from one role or command. For Multi-Area OSPF, distinguish configured intent, election/database state, installed forwarding state and the original workload result.

Key checks
  • show ip ospf — ABR flag and areas
  • show ip ospf border-routers — ABRs/ASBRs
  • show ip route ospf — O IA routes
ReferenceWhat it is1 section · depth on demand

What it is

Multi-area OSPF divides the network into area 0 and one or more other areas, joined to it by area border routers (ABRs). Each area keeps its own database; between areas only prefixes and costs are passed on.

ReferenceWhy it matters1 section · depth on demand

Why it matters

It is used when a single area has grown too large, when an unstable part of the network should be isolated, or when points for summarisation and filtering are needed. It also brings a new kind of fault: a prefix exists in its own area, every adjacency is Full, and it is still missing elsewhere — because of something at an ABR.

ReferenceImportant terms & boundaries5 sections · depth on demand

Key points

  • An ABR has interfaces in area 0 and in at least one other area, and keeps one database per area. The role is automatic.
  • Routes inside the own area are O, routes from other areas O IA; O is always preferred.
  • For each prefix in an area the ABR creates a Summary LSA (type 3) for the other areas.
  • Summarise with area <id> range, filter with area <id> filter-list.
  • All traffic between areas passes through area 0.
  • An address plan in which each area has its own contiguous block makes summarisation possible.

In depth

Multi-area OSPF: area 0 in the middle, other areas around it

The Catalyst 9000 OSPF guide states that area 0 is the backbone and all other areas must connect to it. An ABR has interfaces in more than one area, including area 0. Each area has its own LSDB, and each router runs SPF only for the areas it belongs to.

ABR1(config)# router ospf 1
ABR1(config-router)# network 10.0.0.1 0.0.0.0 area 0
ABR1(config-router)# network 10.255.0.0 0.0.0.255 area 0
ABR1(config-router)# network 10.30.0.0 0.0.255.255 area 30
ABR1(config-router)# area 30 range 10.30.0.0 255.255.0.0
ABR1# show ip ospf border-routers
ABR1# show ip ospf | include Area|ABR
 It is an area border router
    Area BACKBONE(0)
    Area 30
R5# show ip route ospf | include IA
O IA     10.40.0.0/16 [110/21] via 10.30.255.1, 1d02h, Vlan300

O IA marks inter-area routes learned via an ABR's summary LSAs.

What changes with areas

Within an areaBetween areas
Router and network LSAs (full topology)Summary LSAs from ABRs (prefixes and costs only)
SPF on topology changesA remote change only updates summary routes
Routes shown as ORoutes shown as O IA

Benefits

BenefitMechanism
Smaller LSDB per routerTopology details stay inside each area
Fewer full SPF runsChanges in other areas only update summaries
Summarisationarea <id> range on the ABR
Stub areasKeep external routes out of an area

Design rules

  • All areas attach to area 0, and area 0 must be contiguous.
  • Put area boundaries where summarisation is possible: an address block per area.
  • Keep ABRs few and well connected, since they carry the LSDBs of several areas.

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.

Mechanics and state ownership

An ABR runs SPF separately in each of its areas. For every route it finds inside area X it issues a Summary LSA into area 0, with its own cost to the prefix. The other ABRs learn it in area 0, install it as O IA, and issue their own Summary LSA into their areas with their total cost. A router inside a receiving area adds its cost to reach its ABR; with two ABRs, the lower total wins.

Two rules shape the result. An ABR does not advertise a route back into the area it came from. And an intra-area route is always preferred over an inter-area route to the same prefix, even at a higher cost — so a link placed in the "wrong" area can keep traffic on a longer path inside one area.

Because each step is a new LSA from a specific ABR, a missing inter-area route can be traced hop by hop: the advertising router of the Summary LSA names the ABR that produced it, and the first place where no LSA exists is where to look.

State model and protocol mechanics

OSPF areas are control-plane flooding and calculation boundaries, not arbitrary labels. Routers inside an area share the relevant area LSDB; an Area Border Router has interfaces in multiple areas and maintains the information needed to connect those areas through the backbone hierarchy. Area 0 is the transit backbone for normal inter-area communication. ABRs originate summary information so routers can reach prefixes in other areas without learning every internal topology detail from those areas. This means a route seen as intra-area on one router can appear as inter-area elsewhere. The separation reduces SPF scope and creates policy/summarization boundaries, but it also makes area placement and backbone continuity part of routing correctness.

Limits and common misconceptions

An ABR having a FULL neighbor in each area does not show that all intended prefixes are advertised inter-area. An O IA route is not inherently less preferred than O because path selection follows OSPF rules plus the local RIB context; the code primarily describes route type. Summarization can intentionally hide component topology, so absence of a specific component route outside an area can be healthy. Area 0 is a control-plane hierarchy requirement, not the same as a physical core VLAN. Multi-area design does not automatically improve convergence or scale if the chosen boundaries do not meaningfully reduce LSDB/SPF scope.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Design areas around stable topology boundaries and scale requirements rather than simply assigning a different area per site. Keep Area 0 contiguous according to the intended OSPF design and place ABRs where the physical/routing topology naturally crosses area boundaries. Interfaces must be assigned to the correct area on both ends of a neighbor relationship. Summarization should be configured only at supported ABR/ASBR boundaries and only when the aggregate accurately represents reachable component space. Stub/NSSA choices, when used, alter external-route visibility and should be treated as deliberate route-distribution policy. Avoid excessive area fragmentation that adds operational complexity without reducing meaningful topology scope.

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 → OSPFv2 → Multi-Area OSPF. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc2328.html · confidence 94%
2026-09-13 · vendor docCisco IOS XE current

Official Cisco vendor documentation reviewed for bounded reference claims: multi-area OSPF and area-boundary behavior. This is documentation-based technical verification, not lab or production-runtime proof. Deployment-specific applicability and runtime outcome remain separate evidence.

Basis: https://www.cisco.com/c/en/us/td/docs/switches/lan/c9000/lyr3-fwd/ospf/ospf-configuration-guide/ospf.html · confidence 94%
Terminology layer

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.

Embedded reference data

Quick lookup tables

OSPF route-type quick map

Fast interpretation of common Cisco IPv4 OSPF route codes.

Route codeMeaning
OOSPF intra-area route
O IAOSPF inter-area route
O E1 / O E2OSPF external route types
O N1 / O N2NSSA external route types

Multi-Area OSPF · operational reference

Compact state and interpretation boundaries for fast lookup.

ElementRoleVerification focus
Area 0Backbone for inter-area hierarchyABR backbone connectivity
ABRConnects area contextsInterfaces/LSDBs in multiple areas
OIntra-area routePrefix learned inside local area
O IAInter-area routeReachability advertised through ABR

Multi-Area OSPF operational reference

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

BoundaryKnown-good for Multi-Area OSPFSuspicious signatureNext proof
IntentMatches the hierarchical OSPFv2 design that partitions topology into areas while using Area 0 and ABRs to exchange inter-area reachability without flooding every topology detail everywhere designConfiguration differs from design/peerCompare effective configuration
Control-plane stateStable expected election/adjacency/LSA/role statelocal intra-area routes working while remote-area routes disappear, an ABR missing valid Area 0 attachment, interfaces assigned to unintended areas, summary/filter policy hiding required reachability, or operators comparing only neighbor state and never tracing the inter-area control pathInspect peer/database/election detail
ForwardingExpected RIB/FIB or virtual-gateway pathControl state exists but traffic path disagreesARP/MAC/RIB/FIB/CEF proof
ClosureOriginal test passes for explained reasonSymptom moved, was bypassed or role was forcedRegression test
Confirmation

Confirm action

Continue?