Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Summarization

Direct answer

OSPF summarises only at borders: an ABR summarises inter-area routes with area <id> range, an ASBR summarises external routes with summary-address. Inside an area, every link stays visible.

When to use this

Use it to keep routing tables small and to hide flapping links from other areas.

First 30 seconds

1. On the ABR: is there a component route inside the area?

2. show ip route <summary> on the ABR — Null0 route present?

3. In another area: show ip ospf database summary <prefix> — the summary, and no components?

4. Components still visible → the range does not match them exactly.

5. Summary present but traffic black-holed → the range covers networks that are not in the area.

Operational verification

component routes in the area → range configured on the ABR → one type 3 LSA for the summary → Null0 route on the ABR → other areas see only the summary

Evidence · next step

Verify component reachability at the ABR and the aggregate route/forwarding on the receiving side.

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 · Cisco IOS XE
Key commandarea <area> range <network> <mask>
Scope / prerequisiteUse it to keep routing tables small and to hide flapping links from other areas.
Show · 2Reference · 3
What next?3 suggested next steps
Catalog command links5
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 route ospf

Look first: route source/code, prefix, next hop, outgoing interface

Healthy: Expected prefix is installed with intended next hop/source.

Warning: Route absent, unexpected protocol/AD/metric, recursive next hop or wrong exit.

Does not prove: RIB presence does not prove FIB programming or packet delivery.

show ip ospf database summary

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.

Subject-specific reference · not observed execution

Verification & Troubleshooting

Focused checks for this Topic. Stored verification and troubleshooting material remains available below.

4 focused checksScope → observe → prove the owning boundary → repeat the original test

Check 1 — Identify the summarization boundary

Determine whether the device is an ABR summarizing inter-area Type 3 LSAs with area <area> range <network> <mask>, or an ASBR summarizing redistributed external information with summary-address. Neither mechanism aggregates intra-area topology LSAs.

Check 2 — Verify the active contributing routes

Check the exact component prefixes and route ownership on the advertising ABR or ASBR, then inspect the configured range and whether any qualifying components exist. Do not infer aggregate reachability from configuration alone.

Check 3 — Compare what downstream routers learned

Inspect show ip ospf database summary, show ip ospf database external and show ip route ospf on the appropriate devices. Confirm the expected summary is present, unintended specifics are suppressed and LSA type matches the boundary.

Check 4 — Test forwarding inside and outside active components

Inspect summary and component RIB/FIB routes, including any discard/Null0 behavior. Test a reachable component destination and an unused or missing more-specific address inside the advertised aggregate; note the black-hole boundary.

More detailAdditional checks6 sections

Longer notes behind the focused checks above. Start with the checks; use these when you need more detail.

First 30 seconds

Immediate answer: Verify the component routes, summarization point and resulting summary LSA before changing masks or metrics.

Verification chain: component routes → ABR/ASBR summarization point → generated summary → downstream LSDB → RIB/FIB

Stop condition: A configured range or summary-address does not show eligible component routes exist or that the summary is advertised.

Operational verification and known-good state

show ip ospf
show ip route 10.1.0.0 255.255.252.0
show ip ospf database summary 10.1.0.0

In show ip ospf, the section for the area lists Area ranges with the prefix and whether it is active and advertised. The route lookup on the ABR shows the summary pointing to Null0. The database lookup, run in another area, shows one Summary LSA for the range.

Known-good: the range is active on every ABR of the area, other areas see one O IA route for it, and each ABR has the discard route.

Verification and output interpretation

Verify the component routes/LSAs exist at the summarizing router, then confirm the summary appears on the expected side of the boundary and that unwanted specifics are absent where intended. Inspect the local summary/discard route and test forwarding to both active and inactive more-specific space. Route presence shows advertisement state, not that every destination inside the aggregate is reachable.

Verification & troubleshooting

1. On the ABR: show ip ospf → the area's ranges are listed with their state.

2. show ip route <summary> <mask> on the ABR → the discard route to Null0.

3. In another area: show ip route ospf → the summary as one O IA route, without the component prefixes.

4. show ip ospf database summary <summary> → a single Summary LSA from each ABR.

5. Check on paper that the range covers the intended prefixes and nothing that lives elsewhere.

Failure signatures and troubleshooting branches

  • Component prefixes are still visible outside. The range is configured on a router that is not an ABR of that area, under the wrong area number — it must be the area the prefixes belong to — or with a mask that does not cover them.
  • The summary is not advertised. No component route exists in the area.
  • Traffic to unused addresses in the block is dropped at the ABR. The discard route; expected.
  • One subnet is unreachable through one of two ABRs. That ABR has lost its path to the subnet but still advertises the summary.
  • Redistributed routes are not summarised by area range. They need summary-address on the redistributing router.

When the problem is really fixed

  • Other areas see the summary and not the component prefixes.
  • The range is active on all ABRs of the area.
  • Each ABR has the Null0 route for the summary.
  • Every subnet in the block is reachable through each ABR, or the ABRs are linked inside 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.

command output · 1
Command lookup Jump straight to Cisco syntax
Cisco IOS / IOS XE · illustrative only

OSPFv2 summarization — configuration and proof

These are example values, not captured device output or verified production Evidence. Confirm router role, area, source prefixes and IOS release before applying.

ABR · summarize area 1 into a Type 3 inter-area LSA

router ospf 1
 area 1 range 10.1.0.0 255.255.0.0

Configure area 1 range on the ABR. The aggregate is advertised into other areas only when qualifying routes exist; it does not combine or rewrite intra-area Type 1/2 LSAs.

ASBR · summarize redistributed external prefixes

router ospf 1
 redistribute static subnets
 summary-address 10.2.0.0 255.255.0.0

summary-address applies to redistributed external routes. These examples assume suitable component routes and redistribution policy already exist.

Expected receiving-side output (illustrative)

R2# show ip ospf database summary
            Summary Net Link States (Area 0)
  LS Type: Summary Links(Network)
  Link State ID: 10.1.0.0 (summary Network Number)
  Advertising Router: 1.1.1.1
  Network Mask: /16
  Metric: 20

R2# show ip route ospf
O IA 10.1.0.0/16 [110/20] via 192.0.2.1, GigabitEthernet0/0

What it proves: the receiving area has an ABR-originated Type 3 summary and a selected inter-area route. What it does not prove: every component subnet is reachable, the return path works, or no traffic falls into the summarizing router's discard/null route. Verify components and test one valid and one deliberately unused address inside the range.

Key points

The range must cover only networks in that area, or traffic will be attracted to the wrong place. The summary exists while at least one component route exists. The ABR installs a route to Null0 for the summary to prevent loops.

Key checks
  • show ip ospf database summary <prefix> — type 3 LSAs, including the summary.
  • show ip route <summary> — on the ABR: a route to Null0; elsewhere: the summary.
  • show ip ospf | section Area — ranges configured per area.
  • show ip ospf summary-address — external summaries on an ASBR.
ReferenceWhat it is2 sections · depth on demand

What it is

OSPF summarisation replaces many specific prefixes with one covering prefix where routes cross a boundary. Between areas it is done on the ABR with area <id> range; for redistributed routes it is done on the redistributing router with summary-address.

Summarization basics

Route summarization advertises one aggregate for a set of component prefixes at a protocol-supported boundary.

Path: Networking → OSPFv2 → Summarization. Local intent: Summarization is treated as a specific OSPFv2 operational boundary.

ReferenceWhy it matters1 section · depth on demand

Why it matters

The obvious gain is smaller routing tables and databases elsewhere. The more valuable one is isolation: when a single subnet inside the summarised area flaps, nothing changes outside, so nobody there recalculates. The risks are a summary that is too wide and attracts traffic for addresses that do not exist, the loss of detail about which subnet is actually down, and less direct paths when an area has more than one ABR.

ReferenceImportant terms & boundaries7 sections · depth on demand

Key points

  • Possible only on an ABR (between areas) or on the redistributing router (external routes) — never inside an area.
  • area 1 range 10.1.0.0 255.255.252.0 on the ABRs of area 1 summarises area 1's prefixes toward the other areas.
  • The summary is advertised only while at least one component route exists.
  • The ABR installs a discard route to Null0 for the summary, so traffic for unused addresses is dropped there.
  • not-advertise suppresses the block completely.
  • Configure the same range on every ABR of the area.
  • The area needs a contiguous address block that the range covers exactly.

Key operational limits

  • The summary must cover only address space the summarizing router can intentionally own
  • OSPF ABR area range and ASBR summary-address are different boundaries
  • BGP aggregation and EIGRP summaries have their own semantics
  • A discard route prevents loops into uncovered portions of an advertised aggregate.

In depth

Summarisation in OSPF: on ABRs and ASBRs only

OSPF can only summarise where LSAs change type. The Catalyst 9300 OSPF guide documents both places:

WhereCommandSummarises
ABRarea <id> range <address> <mask>Intra-area routes of that area, advertised into other areas
ASBRsummary-address <address> <mask>External routes redistributed into OSPF
ABR1(config)# router ospf 1
ABR1(config-router)# area 30 range 10.30.0.0 255.255.0.0
ABR1(config-router)# area 30 range 10.30.200.0 255.255.255.0 not-advertise
ASBR(config)# router ospf 1
ASBR(config-router)# redistribute static subnets
ASBR(config-router)# summary-address 172.16.0.0 255.255.240.0
ABR1# show ip ospf database summary 10.30.0.0
ABR1# show ip route 10.30.0.0 255.255.0.0
O        10.30.0.0/16 is a summary, 1d02h, Null0

The ABR installs a discard route to Null0 for the summary, so traffic to unused addresses inside the range is dropped instead of looping.

Effect of an ABR range

Without rangeWith range
One summary LSA per subnet in area 30One summary LSA for 10.30.0.0/16
A flapping subnet changes LSAs in all other areasOther areas see no change while any component is up
Exact routes everywherePossible sub-optimal paths with several ABRs

not-advertise

The Catalyst 9000 OSPF guide notes that a range with not-advertise suppresses the type 3 summary LSAs for that range. That hides the networks from other areas, effectively filtering them.

Cost of a summary

A summary is advertised with the cost of the best component route by default. On IOS XE, OSPFv3 ranges accept a cost keyword to set it explicitly, as the Catalyst 9000 guide shows.

Design

Summarisation only works with an addressing plan where each area has a contiguous block. Retrofitting it onto scattered addressing usually needs renumbering.

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

OSPFv2 summarisation reduces the number of routes advertised between areas or into OSPF. It is possible only at ABRs (inter-area, area range) and ASBRs (external, summary-address).

router ospf 1
 area 10 range 10.10.0.0 255.255.0.0
 summary-address 172.16.0.0 255.255.0.0

Documented example, not captured output.

The summarising router installs a discard route to Null0 for the summary to avoid loops; the summary's cost is the lowest (or, with RFC 1583 compatibility off, highest) component cost depending on implementation settings.

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

Without a range, the ABR issues one Summary LSA for every prefix in the area. With a range, it holds back the Summary LSAs for all prefixes that fall inside it and issues a single one for the range itself. The range is active as long as one component prefix exists; when the last one disappears, the summary is withdrawn.

The discard route matters more than it looks. The ABR now claims to reach every address in the range. A packet for an address that is not in use would otherwise follow the ABR's default route back toward the core, be sent to the ABR again because of the summary, and loop. The Null0 route makes the ABR drop it instead.

With two ABRs, both advertise the same summary. Routers outside choose the ABR that is nearer to them, which is not necessarily the one nearer to the subnet in question. And if one ABR loses its path to a particular subnet while other components keep its summary alive, traffic sent to that ABR for that subnet has nowhere to go — a link between the ABRs inside the area prevents this.

State model and protocol mechanics

OSPF summarization reduces the number of prefixes advertised across specific routing boundaries. In OSPFv2 it is primarily an ABR/ASBR function: inter-area summaries are created at area boundaries, while redistributed external routes can be summarized at redistribution boundaries. It is not a generic per-interface route compression feature.

Limits and common misconceptions

Summarization is not filtering and it does not repair poor addressing. An aggregate can remain advertised while one component subnet is down, so the summary intentionally trades detail for stability. Conversely, a missing summary may reflect boundary role, route type or absent components rather than neighbor failure. Keep inter-area, external redistribution and local forwarding semantics separate.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Choose summary ranges that accurately represent stable address blocks and understand the discard/null route behavior used to prevent loops toward more-specific routes that are absent. Summarization changes failure-domain visibility: hiding component prefixes can stabilize the control plane, but it can also mask partial reachability loss behind an aggregate. Design addressing first; do not force unrelated networks into a summary merely to reduce route count.

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

Basis: https://www.rfc-editor.org/rfc/rfc2328.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.

Aliases that resolve here
ospf summary route
Embedded reference data

Quick lookup tables

Summarization · operational reference

Compact state and interpretation boundaries for fast lookup.

State / evidenceInterpretation
ABR summaryInter-area scope
ASBR summaryExternal redistribution scope
Discard routeLoop-prevention boundary
Aggregate presentDoes not prove all specifics alive

Summarization operational reference

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

BoundaryKnown-good for SummarizationSuspicious signatureNext proof
IntentMatches OSPFv2 route summarization at area and external redistribution boundaries, including where aggregation is legal and how it changes advertised reachability without rewriting intra-area topology designPolicy, area, family or metric input differsCompare effective configuration
Protocol stateStable expected adjacency/database/topology decisiona summary appearing from the wrong boundary, component prefixes leaking when aggregation was expected, an aggregate covering unused space and attracting traffic toward a discard path, a summary disappearing because no qualifying component route remains, or operators expecting an ABR area range to summarize external LSAsInspect peer/LSDB/topology detail
Route/forwardingExpected RIB/FIB next hop or multipath setProtocol state exists but route/path disagreesRIB/FIB/CEF and next-hop proof
ClosureOriginal test passes for explained reasonSymptom moved, was bypassed or state was forcedRegression test
Confirmation

Confirm action

Continue?