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.
OSPF Summarization & Filtering Deep Reference
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.
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
Operational reference
Fast context before you go deeper.
show ip ospf database summary 10.10.0.0Verification & 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 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 rangehas 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 rangeused for redistributed routes. External routes needsummary-addresson 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 incauses 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 · 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.
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.
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)
| Where | Command | Effect |
|---|---|---|
| ABR | area <id> range <net> <mask> | One type 3 LSA for the range instead of one per subnet |
| ABR, suppress | area <id> range <net> <mask> not-advertise | Hides the range from other areas |
| ASBR | summary-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
| Tool | Where | Effect |
|---|---|---|
area <id> filter-list prefix <list> in\|out | ABR | Filters type 3 LSAs into or out of an area |
distribute-list <acl\|prefix> in | Any router | Removes routes from this router's routing table only; LSAs still flood |
Route maps on redistribute | ASBR | Controls which external routes enter OSPF |
| Stub, totally stubby and NSSA areas | ABR and area routers | Blocks 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.
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 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%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.
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.
Operational notes
Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.