Use it to explain the Null0 route created by a summary, and why it prevents loops for unused address space.
Discard Route
1. Summarising creates a discard route to Null0 to prevent loops.
2. Traffic to missing components is dropped locally.
3. Admin distance 5 (EIGRP) or 110/254.
4. Normal and desirable.
5. Do not remove unless you understand loops.
summary configured → Null0 route → unmatched traffic dropped
Context & applicabilityCommon mistakes · platform/version boundaries
- Removing the discard route (
no discard-route) and creating loops with a default route. - Not understanding why traffic to unused addresses is dropped.
- Summaries larger than the address space actually used.
Operational reference
Fast context before you go deeper.
show ip route 10.10.0.0 255.255.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 Seeing the discard route Verify boundary
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.
show ip route <summary>— Null0 discard routeshow ip cef <summary>— drop/Null0
ReferenceWhat it is1 section · depth on demand
Why the Null0 route matters
When R1 advertises 10.10.0.0/16 but has only 10.10.1.0/24, a packet to 10.10.99.1 would follow a default route back toward the sender and loop. The automatic discard route (10.10.0.0/16 is a summary, Null0) drops it instead. Do not remove it unless you understand the consequence; check with show ip route 10.10.0.0.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Discard routes: the Null0 summary
When a router creates a summary, it also installs a local route for the summary that points to Null0. Cisco's IOS XE EIGRP guide shows the case of a default summary: without an administrative distance, it creates a local discard route for 0.0.0.0/0 to Null0 with distance 5, which overrides an EIGRP-learned default and can cut off reachability; setting a distance (for example 250) keeps the learned default in use.
Why the discard route exists
| Without it | With it |
|---|---|
| Packets for unused addresses inside the summary follow the default route | They match the summary's Null0 route and are dropped |
| A loop forms between the summarising router and the router supplying its default | No loop |
How it interacts with longest match
| Destination | Matches | Result |
|---|---|---|
| 10.40.1.20 | 10.40.1.0/24 (component) | Forwarded |
| 10.40.200.5 | 10.40.0.0/16 Null0 | Dropped |
| 192.0.2.10 | 0.0.0.0/0 | Default route |
DIST1# show ip route 10.40.0.0 255.255.0.0
Routing entry for 10.40.0.0/16
Known via "eigrp 100", distance 5, metric 2816, type internal
* directly connected, via Null0
DIST1(config)# interface TenGigabitEthernet1/0/48
DIST1(config-if)# ip summary-address eigrp 100 0.0.0.0 0.0.0.0 250
DIST1# show ip route 0.0.0.0
Routing entry for 0.0.0.0/0, supernet
Known via "eigrp 100", distance 90, metric 3072, candidate default path
DIST1# show interfaces Null0 | include packets output
Floating default summaries (EIGRP guide)
A default summary with a high distance is a floating summary. The guide warns that if the upstream link fails, the router still advertises the default and traffic may be dropped, and recommends this only for single-homed remotes or areas with one exit point.
Discard routes in other protocols
OSPF creates discard routes for area range and summary-address (controlled with discard-route); BGP aggregate-address also installs one. Static ip route <summary> <mask> Null0 does the same by hand.
Documented example, not captured output.
Quick reference
When a router advertises a summary, it may not have routes for every address inside it. To prevent packets for unused addresses from following a default route back into the network — and looping — the router installs a discard route to Null0 for the summary. Understanding this explains why Null0 routes appear in routing tables and why manual static summaries need one too.
When a router advertises a summary, it installs a discard route (Null0) for it so traffic to unused parts of the summary is dropped locally instead of following a default route and looping.
show ip route 10.10.0.0 255.255.0.0
O 10.10.0.0/16 is a summary, 00:12:01, Null0
Documented example, not captured output. Static summarisation needs the same protection manually: ip route 10.10.0.0 255.255.0.0 Null0. In BGP, aggregate-address creates the Null0 route automatically.
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 → Discard Route. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%