Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

OSPF Summarization & Filtering Deep Reference

Direct answer

OSPF can summarise or filter routes only at area boundaries: on an ABR between areas, and on an ASBR where routes are redistributed. Inside an area every router must hold the same database, so nothing can be hidden there.

When to use this

Use it to shrink routing tables, to keep instability in one area from spreading, or when a summary is missing or traffic to part of a summary is dropped.

First 30 seconds

1. Is the command on the right router — the ABR of that area, or the ASBR?

2. Does at least one route fall inside the range?

3. Internal networks → area range; redistributed → summary-address.

4. Two ABRs → configure both alike.

5. Traffic dropped → that part of the summary does not exist; the Null0 route discards it.

Operational verification

component routes exist → summary configured on the boundary router → summary LSA originated, Null0 route installed → other areas see the summary only → all advertised parts of the summary reachable

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
Key commandshow ip ospf database summary 10.10.0.0
Scope / prerequisiteUse it to shrink routing tables, to keep instability in one area from spreading, or when a summary is missing or traffi…
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.

2 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 Verify boundary
show ip ospf database summary 10.10.0.0
show ip route 10.10.0.0 255.255.0.0
show ip ospf summary-address
show ip route ospf

On the ABR, the first command shows the summary LSA it originates; the second shows the Null0 route. show ip ospf summary-address lists external summaries on an ASBR. On a router in another area, the routing table should show the summary as O IA (or O E2) and none of the specific routes.

Known-good: the summary is advertised, the specific routes are absent outside the area, and every part of the summary that is in use is reachable.

Step 2 Failure boundaries & interpretation Narrow the fault
  • area range has no effect. It is configured on a router that is not the ABR, on the wrong area number, or no route falls inside the range.
  • area range used for redistributed routes. External routes need summary-address on the ASBR.
  • Traffic to part of the summary is dropped. That part does not exist, and the Null0 route discards it — the summary covers more than the area contains.
  • Two ABRs, one summarises. The specific routes from the other ABR win on longest match; configure both alike.
  • A distribute-list in causes a black hole. It filtered the local routing table only; other routers still send traffic here.
  • Routes inside the area are still all visible. They always are; summarisation does not apply within an 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

area <id> range on the ABR summarises an area's own networks; summary-address on the ASBR summarises redistributed routes. The router installs a Null0 route for each summary. A distribute-list in only filters the local routing table — other routers are unaffected.

Key checks
  • show ip ospf database summary <network> — the summary LSA on the ABR.
  • show ip route <summary> — the Null0 route on the summarising router.
  • show ip ospf summary-address — external summaries on an ASBR.
  • show ip route ospf on a router in another area — summary present, specifics absent.
ReferenceWhat it is1 section · depth on demand

Mechanics & mental model

OSPF can replace many routes with one summary, or hide routes altogether — but only at two places: on an ABR, between areas, and on an ASBR, where routes enter OSPF. Inside an area nothing can be summarised or filtered.

ReferenceWhy it matters1 section · depth on demand

Why it matters operationally

Summaries shrink routing tables and stop a flapping link in one area from causing recalculation everywhere else. The restriction to area boundaries follows from how OSPF works, and it is why the address plan has to be laid out by area for summarisation to be possible at all.

ReferenceHow it works1 section · depth on demand

How it works

Why only at boundaries. All routers in an area must hold the same link-state database, or their path calculations disagree and loops result. So LSAs inside an area cannot be altered. Between areas, the ABR creates new LSAs anyway, and that is where a summary or a filter can be applied.

Summarising between areas — on the ABR:

router ospf 1
 area 10 range 10.10.0.0 255.255.0.0

The ABR advertises the single /16 into other areas in place of the individual networks of area 10 that fall inside it. The summary exists as long as at least one such network does.

Summarising external routes — on the ASBR that redistributes them:

router ospf 1
 summary-address 172.16.0.0 255.255.0.0

In both cases the router installs a route for the summary pointing to Null0. Traffic for a part of the summary that does not exist is dropped there, where it would otherwise follow a default route and possibly loop.

Filtering between areas — on the ABR: area 10 range … not-advertise hides a range, and area 10 filter-list prefix <list> in or out filters the summaries entering or leaving an area using a prefix list.

Filtering locally. distribute-list … in under the OSPF process keeps routes out of that router's own routing table. The LSAs are still in the database and are still passed on, so other routers are unaffected — and may send traffic to a router that has no route for it.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Summarisation and filtering points in OSPF

OSPF routers in one area must share an identical LSDB, so summaries and filters can only be applied where LSAs are created: at ABRs (inter-area) and ASBRs (external).

Summarisation (Catalyst 9300 guide)

WhereCommandEffect
ABRarea <id> range <net> <mask>One type 3 LSA for the range instead of one per subnet
ABR, suppressarea <id> range <net> <mask> not-advertiseHides the range from other areas
ASBRsummary-address <net> <mask>One type 5 (or 7) LSA for redistributed routes

RFC 2328's ABR rules note that configured address ranges can be advertised as one summary or suppressed.

Filtering options on IOS XE

ToolWhereEffect
area <id> filter-list prefix <list> in\|outABRFilters type 3 LSAs into or out of an area
distribute-list <acl\|prefix> inAny routerRemoves routes from this router's routing table only; LSAs still flood
Route maps on redistributeASBRControls which external routes enter OSPF
Stub, totally stubby and NSSA areasABR and area routersBlocks whole LSA classes
C9300-ABR(config)# ip prefix-list NO-LAB seq 5 deny 10.99.0.0/16 le 32
C9300-ABR(config)# ip prefix-list NO-LAB seq 10 permit 0.0.0.0/0 le 32
C9300-ABR(config)# router ospf 1
C9300-ABR(config-router)# area 10 range 10.10.0.0 255.255.0.0
C9300-ABR(config-router)# area 0 filter-list prefix NO-LAB in
C9300# show ip ospf database summary | include Link State ID
C9300# show ip route 10.10.0.0 255.255.0.0 longer-prefixes

distribute-list in is not an LSA filter

It only stops routes being installed on the router where it is configured. Neighbours still learn and use the LSAs, so other routers may forward traffic to this router expecting it to have the route. Use it with care, typically only on the edge of the domain.

Summarisation checklist

  • Contiguous addressing per area.
  • The same summaries on all ABRs of an area.
  • A Null0 summary route is installed on the summarising router. Keep it, because it prevents loops for unused parts of the range.

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.
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 Network & Protocols → OSPF Summarization & Filtering Deep Reference. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc2328.html · confidence 94%
Technical changelog & impact

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.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
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 summarizationospf area rangeospf summary addressospf filteringospf prefix filter
Embedded quick reference

Operational notes

Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.

OSPF Summarization — Fast Check

Trace component routes through summary boundary to downstream RIB

1. Identify intra/inter/external route type.

2. Identify ABR/ASBR.

3. Confirm component routes.

4. Confirm summary LSA.

5. Check discard/null behavior.

6. Verify downstream route + return path.

Confirmation

Confirm action

Continue?