Skip to main content
PacketMentor logo
← All topics
IP Connectivity Intermediate

Route Summarization

Why aggregating many specific routes into one shorter prefix shrinks route tables, speeds convergence, and limits the blast radius of a flapping link. Covers manual, OSPF, and EIGRP summarization.

Quick summary
  • Summarization replaces many specific routes with one shorter prefix that covers all of them: 10.1.0.0/24 … 10.1.15.0/24 become 10.1.0.0/20.
  • Smaller route table = less memory, faster lookups. Fewer SPF/EIGRP recalculations when a link flaps.
  • Trade-off: summarized routes hide the specific child prefixes: traffic for a down /24 still gets routed toward the summary holder until it black-holes.

Studying for an exam? Get a free study plan from a Cisco NetAcad instructor. 20 minutes, no card.

Three routers · static routes for branch reachability HQ BR1 10.1.0.0/24 BR2 10.2.0.0/24 10.0.1.0/30 10.0.2.0/30 HQ needs static routes to 10.1.0.0/24 and 10.2.0.0/24 · branches default-route back to HQ
Each router needs to know how to reach every subnet that isn't directly connected, either via static route or a routing protocol.

Mental model

You have 16 sites. Each is 10.1.X.0/24 where X = 0 through 15. Without summarization, every router in your network learns 16 separate routes. With summarization, the router that owns those 16 sites advertises just one route: 10.1.0.0/20.

Why does this matter?

  • Route table memory. A backbone router carrying 100k routes uses real CPU/RAM. Cutting that to 10k makes a tangible difference.
  • Convergence speed. When a link flaps, every affected router runs SPF (OSPF) or diffusing-update (EIGRP). Fewer route entries = faster recompute.
  • Blast radius. Without summarization, a flap of site 7’s link injects a withdrawal/readvertisement update across the entire network. With summarization, the flap stays local: the summary stays advertised as long as any child is up.

How to find the summary prefix

The mechanic is the reverse of subnetting. Find the longest prefix that covers all your specific routes.

For 10.1.0.0/24 through 10.1.15.0/24:

  1. Look at the third octet (the changing one): 0, 1, 2, … 15.
  2. In binary: 00000000 to 00001111. The first 4 bits are constant (0000); the last 4 change.
  3. The constant bits + the constant first two octets = 8 + 8 + 4 = 20 bits.
  4. Summary = 10.1.0.0/20.

Quick check: a /20 covers 2^(32-20) = 4096 addresses = 16 subnets of /24. ✓

Manual summarization on a static route

! Instead of 16 static routes...
R1(config)# ip route 10.1.0.0 255.255.255.0 10.0.0.2
R1(config)# ip route 10.1.1.0 255.255.255.0 10.0.0.2
! ...
R1(config)# ip route 10.1.15.0 255.255.255.0 10.0.0.2

! ...use one summary
R1(config)# ip route 10.1.0.0 255.255.240.0 10.0.0.2

OSPF summarization

OSPF summarizes only at area boundaries, at an ABR (between areas) or ASBR (redistribution into OSPF).

At an ABR (inter-area summarization), summarize a chunk of Area 1’s prefixes before they leak into Area 0:

R1(config)# router ospf 1
R1(config-router)# area 1 range 10.1.0.0 255.255.240.0

At an ASBR (external summarization), summarize redistributed routes:

R1(config-router)# summary-address 10.1.0.0 255.255.240.0

Note: OSPF intentionally does not summarize at arbitrary routers inside an area. All routers in an area must see the same intra-area LSDB.

EIGRP summarization

EIGRP can summarize anywhere, at any interface, on any router, which makes it more flexible than OSPF.

R1(config)# interface Gi0/1
R1(config-if)# ip summary-address eigrp 100 10.1.0.0 255.255.240.0

EIGRP automatically inserts a summary discard route (route to Null0) on the summarizing router. This prevents loops if a packet arrives for a destination inside the summary that has no matching child route (for example 10.1.7.0/24 after its link goes down). It hits Null0 and drops, instead of being forwarded back upstream.

The black-hole gotcha

This is the cost of summarization. Suppose R1 advertises 10.1.0.0/20 covering child sites 0-15. Site 7’s link goes down, R1 no longer has a path to 10.1.7.0/24. But R1 still advertises the summary 10.1.0.0/20 as long as any child is up.

Result: a packet for 10.1.7.0/24 travels across the network to R1, then R1 has no specific route → it hits the summary discard route (Null0) and drops.

This is better than a routing loop but still a black hole. Acceptable trade-off, but be aware.

Auto-summarization (EIGRP/RIP)

Historically, EIGRP and RIP auto-summarized at classful boundaries (/8, /16, /24): usually wrong in modern networks. Always disable:

R1(config-router)# no auto-summary

In IOS 15.0(1)M and later, EIGRP defaults to no auto-summary; RIPv2 still needs no auto-summary. CCNA still tests the concept.

Verification

R1# show ip route ospf       ! Look for "is a summary, 00:01:23, Null0"
R1# show ip route 10.1.0.0
R1# show ip eigrp topology summary
R1# show ip route 10.1.0.0 longer-prefixes   ! See all child routes

Common mistakes

  1. Overlapping summaries. Two routers each summarize half of the same range, but their summaries overlap or one covers the other. Longest-prefix-match wins, which may not be what you wanted.

  2. Summarizing a non-contiguous range. 10.1.0.0/24 and 10.1.15.0/24 (with 1-14 belonging to a different site) cannot be cleanly summarized: a /20 would steal traffic for the in-between subnets.

  3. Forgetting no auto-summary on EIGRP/RIP in older lab IOS: auto-summary collapses your 10.1.x.x advertisements down to 10.0.0.0/8, causing havoc.

  4. OSPF summarization at non-boundary routers. OSPF only summarizes at ABRs/ASBRs. Trying it on an internal router silently does nothing.

  5. Math error on the mask. /22 covers 4 subnets, /21 covers 8, /20 covers 16, /19 covers 32. Double-check by counting.

  6. Forgetting that the summary is null-routed. The Null0 discard route is a feature, not a bug, but if you wonder why pings for a non-existent child fail silently instead of returning ICMP unreachable, that’s it.

Lab to try tonight

  1. Build a 3-router topology in CML. R1 owns six /24s: 10.1.0.0/24 through 10.1.5.0/24.
  2. Run OSPF area 1 between R1 and R2 (the ABR). Run area 0 between R2 and R3.
  3. Without summarization: on R3, show ip route shows 6 separate O IA entries.
  4. Add area 1 range 10.1.0.0 255.255.248.0 on R2.
  5. On R3: show ip route shows just one O IA 10.1.0.0/21. Memory savings × scale = real impact.
  6. Shut down R1’s Lo1 (10.1.1.0/24). Verify R3 still sees the summary; packets for 10.1.1.5 reach R2 (the ABR) and hit its Null0 discard route.
  7. Bonus: redo on EIGRP using ip summary-address eigrp 100 ... on an interface. Compare behavior.

Cheat strip

Concept Plain English
Summarization Replace many specific routes with one shorter prefix
Why bother Smaller route tables, faster convergence, smaller blast radius
Static summary One ip route with a shorter mask covering all children
OSPF where At ABR (area X range) or ASBR (summary-address), boundary routers only
EIGRP where Anywhere (ip summary-address eigrp on an interface)
Discard route EIGRP auto-installs a Null0 route to catch summary-but-no-child packets
Auto-summary Always no auto-summary on EIGRP/RIP, classful summary is rarely what you want
Trade-off Summarized prefix stays advertised even when some children are down → black-holing
Master this on a real network

Want this drilled into reflex?

1:1 weekly sessions, live feedback on your labs, and US interview prep: built around the CCNA® exam blueprint. Free first session. No card on file until you decide.

Claim my free session →
Free first session

Stuck on Route Summarization?

Walk your plan with a Cisco NetAcad instructor in a free 20 minute call. We find the one thing blocking you and name the next step. No card. No pitch.

  • 20 minutes, 1:1 with a Cisco NetAcad instructor
  • No card, no obligation, no sales pitch
  • You pick the slot that fits your week
Book free session
Free first session

Get your study plan in a free 20-minute call

  • ✓ 1:1 with a senior network engineer, by video
  • ✓ You leave with a written study plan and a realistic exam date
  • ✓ No card, no sign-up, no sales pitch