1.5 Troubleshoot manual and automatic route summarization
ENARSI 300-410 v1.1 · 1.0 Layer 3 Technologies
Summarization advertises one shorter prefix in place of many longer ones. It shrinks tables and hides flapping links, and it can black-hole traffic or pick suboptimal paths. Each protocol summarizes in a different place: EIGRP on any interface, OSPF only at ABRs (area range) and ASBRs (summary-address), BGP with aggregate-address.
What you must know
- Calculate the shortest summary that covers a set of subnets.
- Configure manual summaries in EIGRP, OSPF and BGP and know where each can be applied.
- Explain the discard route to Null0 and why it prevents loops.
- Know auto-summary in EIGRP (off by default since IOS 15) and its discontiguous-network trap.
Where each protocol summarizes
| Protocol | Command | Where | Discard route |
|---|---|---|---|
| EIGRP | ip summary-address eigrp 100 10.1.0.0 255.255.252.0 | Any interface (named: af-interface → summary-address) | D 10.1.0.0/22 is a summary, Null0 (AD 5) |
| OSPF inter-area | area 1 range 10.1.0.0 255.255.252.0 | ABR only | O 10.1.0.0/22 is a summary, Null0 |
| OSPF external | summary-address 172.16.0.0 255.255.0.0 | ASBR only | O 172.16.0.0/16 is a summary, Null0 |
| BGP | aggregate-address 10.1.0.0 255.255.252.0 summary-only | Any BGP router with a component in its BGP table | B 10.1.0.0/22 [200/0] via 0.0.0.0, Null0 |
EIGRP gives a summary the lowest metric of its components; OSPF's area range advertises the highest (RFC 2328) unless you set cost. Either way the summary disappears when its last component goes.
An EIGRP summary toward the core
interface GigabitEthernet0/0
ip summary-address eigrp 100 10.1.0.0 255.255.252.0
!
BR1# show ip route 10.1.0.0 255.255.252.0 longer-prefixes
D 10.1.0.0/22 is a summary, 00:02:13, Null0
D 10.1.0.0/24 [90/3072] via 10.1.10.2, 00:05:40, GigabitEthernet0/1
D 10.1.1.0/24 [90/3072] via 10.1.10.2, 00:05:40, GigabitEthernet0/1
D 10.1.2.0/24 [90/3072] via 10.1.20.2, 00:05:40, GigabitEthernet0/2Real subnets inside the /22 follow BR1's longer routes (1). Traffic for a hole in the range matches only the summary and is dropped on BR1 (2) instead of bouncing back to the hub's default route, which would loop.
Troubleshooting summaries
- Too broad: a /16 that covers subnets of another site attracts their traffic. Each site needs its own block.
- On the wrong router:
area rangeon a non-ABR andsummary-addresson a non-ASBR are accepted and do nothing. - Auto-summary: EIGRP with
auto-summarysummarizes at classful boundaries; two sites with subnets of 10.0.0.0/8 separated by 172.16.x.x both advertise 10.0.0.0/8 (discontiguous network). It has been off by default since IOS 15.0. - **BGP without
summary-only:** the aggregate and every component are sent.suppress-mapandas-setrefine it.
Commands
show ip route <summary> longer-prefixes | The summary and the components it covers. |
show ip protocols | EIGRP summaries per interface and the auto-summary state. |
show ip ospf | Area ranges and external summary addresses. |
show ip bgp <prefix> | The aggregate, its atomic-aggregate and aggregator attributes. |
Exam traps
area rangeonly works on the ABR that has the area.- A summary disappears when its last component does; until then it is advertised even if most are gone.
- The Null0 route is the loop protection; removing it with
no discard-routecan create loops. - EIGRP auto-summary is off by default in IOS 15; enabling it can break discontiguous networks.
Check yourself
- Summarize 10.1.0.0/24, 10.1.1.0/24 and 10.1.2.0/24 into one prefix.
- 10.1.0.0/22 (covers .0 to .3).
- Where can OSPF summarize internal routes?
- Only on an ABR, with
area <id> range. - Why does a summarizing router install a route to Null0?
- So traffic for unused parts of the range is dropped there instead of following a default route back and looping.
- What does
summary-onlydo in BGP? - It advertises the aggregate and suppresses its more specific components.
Labs
Try it live: Summarization in EIGRP, OSPF and BGP, with their discard routes
More topics in 1.0 Layer 3 Technologies
- 1.1 Troubleshoot administrative distance across every routing source
- 1.2 Troubleshoot route maps in any routing protocol: attributes, tags and filters
- 1.4 Troubleshoot redistribution between routing protocols and other route sources
- 1.7 Configure and verify VRF-Lite
- 1.8 Describe how Bidirectional Forwarding Detection works
- 1.9 Troubleshoot EIGRP in classic and named mode, globally and in a VRF
- 1.10 Troubleshoot OSPFv2 and OSPFv3
- 1.11 Troubleshoot internal and external BGP, globally and in a VRF