Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Discard Route

Direct answer

A discard route (a summary pointing to Null0) is installed automatically by OSPF and EIGRP summarisation so packets to unused parts of the summary are dropped instead of looping.

When to use this

Use it to explain the Null0 route created by a summary, and why it prevents loops for unused address space.

First 30 seconds

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.

Operational verification

summary configured → Null0 route → unmatched traffic dropped

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • 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.
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Cisco IOS XE · IOS/IOS XE
Key commandshow ip route 10.10.0.0 255.255.0.0
Scope / prerequisiteUse it to explain the Null0 route created by a summary, and why it prevents loops for unused address space.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Seeing the discard route Verify boundary
show ip route 10.10.0.0 255.255.0.0
O     10.10.0.0/16 is a summary, 00:12:44, Null0

Illustrative output, not captured Evidence. On OSPF the discard routes can be controlled with discard-route internal|external; on BGP aggregate-address installs a Null0 route as well.

Evidence references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • The summary must cover only address space the summarizing router can intentionally own
  • OSPF ABR area range and ASBR summary-address are different boundaries
  • BGP aggregation and EIGRP summaries have their own semantics
  • A discard route prevents loops into uncovered portions of an advertised aggregate.
Key checks
  • show ip route <summary> — Null0 discard route
  • show 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 itWith it
Packets for unused addresses inside the summary follow the default routeThey match the summary's Null0 route and are dropped
A loop forms between the summarising router and the router supplying its defaultNo loop

How it interacts with longest match

DestinationMatchesResult
10.40.1.2010.40.1.0/24 (component)Forwarded
10.40.200.510.40.0.0/16 Null0Dropped
192.0.2.100.0.0.0/0Default 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

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%
Confirmation

Confirm action

Continue?