OSPF ABR / ASBR
1. OSPF summarises only at ABRs (area range) and ASBRs (summary-address).
2. Cannot summarise inside an area.
3. Creates Null0 discard routes.
4. Plan addressing per area.
5. Check generated LSAs.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
area <area-id> range <network> <mask>Primary Commands
Configuration and operational commands for this Topic.
area <area-id> range <network> <mask>ReferenceConfigure an OSPF inter-area summary at an ABR.
Use when: Use this command at the Route Summarization boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. A visible summary does not prove every component is reachable; a component route does not prove the aggregate is advertised.
Cisco IOS / IOS XE · mixedsummary-address <network> <mask>ReferenceConfigure an OSPF external summary at an ASBR.
Use when: Use this command at the Route Summarization boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. A visible summary does not prove every component is reachable; a component route does not prove the aggregate is advertised.
Cisco IOS / IOS XE · mixedVerification & 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 Checks Verify boundary
show ip ospf | include Area|range
show ip ospf database summary 10.10.0.0
show ip route ospf | include 10.10.
On other areas, only the summary (type 3 LSA) should appear, not the component routes.
- The summary must cover only address space the summarizing router can intentionally own
- OSPF ABR
area rangeand ASBRsummary-addressare different boundaries - BGP aggregation and EIGRP summaries have their own semantics
- A discard route prevents loops into uncovered portions of an advertised aggregate.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
OSPF summarisation happens only at area borders (ABR) and redistribution points (ASBR)
OSPF routers in one area share the same link-state database, so routes can't be summarised inside an area. Summarisation is done where information leaves an area or enters OSPF.
| Router role | Command | Summarises |
|---|---|---|
| ABR (area border router) | area <id> range <prefix> <mask> | Inter-area routes (type 3 LSAs) leaving an area |
| ASBR (redistributing router) | summary-address <prefix> <mask> | External routes (type 5/7 LSAs) |
The Catalyst 9300 OSPF guide describes area range as advertising a single route for an address range, and summary-address as advertising one summary for redistributed routes instead of one external LSA per route, which shrinks the link-state database.
C9300-ABR(config)# router ospf 1
C9300-ABR(config-router)# area 10 range 10.10.0.0 255.255.0.0
C9300-ASBR(config)# router ospf 1
C9300-ASBR(config-router)# redistribute static subnets
C9300-ASBR(config-router)# summary-address 172.16.0.0 255.255.240.0
C9300-ABR# show ip ospf border-routes
C9300-ABR# show ip ospf database summary 10.10.0.0
C9300-ABR# show ip route 10.10.0.0 255.255.0.0
O 10.10.0.0/16 is a summary, 00:12:41, Null0
Verification commands from the guide
| Command | Shows |
|---|---|
show ip ospf | Process and area details, including ABR/ASBR status |
show ip ospf database | Summary and external LSAs actually advertised |
show ip ospf border-routes | ABR and ASBR table entries |
show ip protocols | Configured summaries and redistribution |
Design rules
- Allocate addresses per area in contiguous blocks, or summarisation is impossible.
- A summary is advertised while at least one component route exists. If one component subnet fails, traffic still follows the summary towards the ABR.
- The
Null0summary route on the ABR prevents loops for unused parts of the range. - Summaries hide component flaps from other areas, which improves stability.
Documented example, not captured output.
Quick reference
OSPF can only summarise where routing information crosses a boundary: between areas on an Area Border Router, and where external routes enter OSPF on an Autonomous System Boundary Router. Inside an area every router must see the full topology, so no summarisation is possible there. Planning address blocks per area is what makes clean ABR summaries possible.
OSPF summarisation points:
| Router | Command | Summarises |
|---|---|---|
| ABR | area <id> range <prefix> | Type 3 LSAs between areas |
| ASBR | summary-address <prefix> | Type 5/7 external routes |
router ospf 1
area 10 range 10.10.0.0 255.255.0.0 cost 10
summary-address 172.16.0.0 255.255.0.0
show ip ospf database summary 10.10.0.0
Summaries can only be configured where information crosses an area or redistribution boundary — not inside an area.
ReferenceConfiguration & state1 section · depth on demand
Configuration
router ospf 1
area 10 range 10.10.0.0 255.255.0.0 ! on the ABR, inter-area (Type 3)
summary-address 172.16.0.0 255.255.0.0 ! on the ASBR, external (Type 5/7)
Documented example, not captured output. area range only works for routes from that area on the ABR. Check with show ip ospf database summary and show ip route ospf on routers in other areas.
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 Routing → Route Summarization → OSPF ABR / ASBR. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2328.html · confidence 94%