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

Where each protocol summarizes

ProtocolCommandWhereDiscard route
EIGRPip summary-address eigrp 100 10.1.0.0 255.255.252.0Any interface (named: af-interface → summary-address)D 10.1.0.0/22 is a summary, Null0 (AD 5)
OSPF inter-areaarea 1 range 10.1.0.0 255.255.252.0ABR onlyO 10.1.0.0/22 is a summary, Null0
OSPF externalsummary-address 172.16.0.0 255.255.0.0ASBR onlyO 172.16.0.0/16 is a summary, Null0
BGPaggregate-address 10.1.0.0 255.255.252.0 summary-onlyAny BGP router with a component in its BGP tableB 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/2

Real 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

Commands

show ip route <summary> longer-prefixesThe summary and the components it covers.
show ip protocolsEIGRP summaries per interface and the auto-summary state.
show ip ospfArea ranges and external summary addresses.
show ip bgp <prefix>The aggregate, its atomic-aggregate and aggregator attributes.

Exam traps

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-only do 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