1 1. Theory Notes 2 2. Verification Checklist 3 3. Troubleshooting Vault 4 4. Lab Guide 5 5. Interview Q&A
Part 1 of 5 · Theory Notes
EIGRP Module D · Enterprise Routing Master Series

Summarization, Stub Routing & Route Filtering

The final EIGRP module. Deep dive into route summarization with Null0 discard protection, EIGRP stub routing options and query confinement, distributed route filtering with prefix-lists and route-maps, and hardened redistribution practices for enterprise deployments.

Author: Hrishi Pradhan
Level: Basic to Advanced
Sections: 4 Theory
Diagrams: 4 Mermaid
Recommended: Complete Module C first
1. Route Summarization & Null0 Loop Protection
Condensing routing tables while preventing blackholes
Section 1
What, Where, How & Why
Route summarization condenses multiple specific subnets into a single aggregate advertisement. EIGRP automatically installs a Null0 discard route with AD 5 to prevent loops and blackholes for unassigned subnets within the summary range. Use it at boundary routers to shrink routing tables and confine query scope.
%%{init: { 'theme': 'base', 'themeVariables': { 'fontSize': '12px' }}}%% flowchart TD Sub1["10.1.10.0/24"] --> Summary["Summary Route
10.1.0.0/16"] Sub2["10.1.20.0/24"] --> Summary Sub3["10.1.30.0/24"] --> Summary Summary --> Null0["Null0 Discard Route
AD = 5"] Summary --> Advertise["Advertise to
EIGRP Neighbors"] Null0 --> Drop["Unmatched subnets
are discarded"] Advertise --> Remote["Remote routers
install summary only"] style Summary fill:#10B981,color:#FFF style Null0 fill:#EF4444,color:#FFF style Advertise fill:#0EA5E9,color:#FFF style Sub1 fill:#7C3AED,color:#FFF style Sub2 fill:#7C3AED,color:#FFF style Sub3 fill:#7C3AED,color:#FFF
  • Purpose: Reduce routing table size, hide flapping subnets, confine queries
  • Configuration: Per-interface with ip summary-address eigrp
  • Null0 Route: Automatically installed with AD 5 for loop protection
  • Summary Metric: Based on the best underlying component metric
  • Multiple Interfaces: Must configure on EVERY interface to prevent suboptimal routing

Why Null0 Matters

Without the Null0 route, traffic to unassigned subnets within the summary would be routed to the summary's next-hop — creating a blackhole or loop. The Null0 route catches these packets and drops them, alerting you to the misconfiguration.

ScenarioWithout Null0With Null0
Specific subnet 10.1.15.0/24 downTraffic loops or blackholes silentlyTraffic is discarded at Null0 with ICMP unreachable
Summary route still advertisedRemote routers install bogus pathRemote routers know summary is valid but reachable only for existing subnets
TroubleshootingDifficult — no clear signalClear signal — Null0 hit counters increment
2. Stub Routing & Query Confinement
Terminating queries at the network edge
Section 2
What, Where, How & Why
Stub routing tells EIGRP neighbors that a router is at the edge of the query domain. The router advertises only specified route types and never forwards queries to other stub routers. Use it on branch, access, and edge routers to prevent cascading SIA events in large EIGRP networks.
%%{init: { 'theme': 'base', 'themeVariables': { 'fontSize': '12px' }}}%% flowchart TD Core["Core Network
Full EIGRP"] -->|Query| Dist["Distribution Router
Non-Stub"] Dist -->|Query| Access1["Access Router
STUB"] Dist -->|Query| Access2["Access Router
STUB"] Access1 -.Query Dropped.-x Access1 Access2 -.Query Dropped.-x Access2 Dist -.Query Never Forwarded.-x Nothing[" "] style Core fill:#7C3AED,color:#FFF style Dist fill:#F59E0B,color:#FFF style Access1 fill:#10B981,color:#FFF style Access2 fill:#10B981,color:#FFF
  • Query Confinement: Stub routers do not forward queries to other stub routers
  • Route Advertisement: Limited to configured route types
  • Best Practice: Every edge/branch router should be a stub
  • Result: Query domain stays small — no cascading SIA events
  • Common Options: connected summary for branch routers

Stub Configuration Options

KeywordAdvertisesBest For
connectedDirectly connected networksBranch routers with local subnets
staticStatic routesRouters with static routes to advertise
summarySummary routesRouters that summarize their subnets
redistributedRedistributed routesRare on stubs (usually external connections)
receive-onlyNothingPure consumers with no local subnets

Production Example

router eigrp 1234
 eigrp stub connected summary
 ! Advertises only connected + summary routes
 ! Never forwards queries to other stub routers

! Verify stub status
show ip protocols | section Stub
show ip eigrp neighbors detail
3. Route Filtering with Prefix-Lists & Route-Maps
Precision route control at the EIGRP boundary
Section 3
What, Where, How & Why
Route filtering allows engineers to control exactly which EIGRP routes are accepted from or advertised to neighbors. Prefix-lists match both network and prefix length, while route-maps add conditional logic for complex policies. Use them to prevent route leaks, enforce security boundaries, and control traffic flow.
%%{init: { 'theme': 'base', 'themeVariables': { 'fontSize': '12px' }}}%% flowchart TD Incoming["Incoming EIGRP
Updates"] --> DL{"distribute-list
applied?"} DL -->|Yes| Check{"Route matches
prefix-list?"} DL -->|No| Install["Install in
Routing Table"] Check -->|Permit| Install Check -->|Deny| Drop["Route Filtered
(not installed)"] Install --> RT["Routing Table"] style Incoming fill:#7C3AED,color:#FFF style DL fill:#F59E0B,color:#FFF style Check fill:#0EA5E9,color:#FFF style Install fill:#10B981,color:#FFF style Drop fill:#EF4444,color:#FFF style RT fill:#10B981,color:#FFF
  • Distribute-List: Applies filtering to inbound or outbound EIGRP routes
  • Standard ACL: Matches network address only (with wildcard mask)
  • Prefix-List: Matches network AND prefix length (preferred)
  • Route-Map: Adds conditional logic (metric matching, attribute setting)
  • Direction: Inbound filtering is safer than outbound filtering

Prefix-List vs Standard ACL

FeatureStandard ACLPrefix-List
Matches networkYesYes
Matches prefix lengthNoYes
Range operatorsNonege, le, eq
ReadabilityBasicClear and structured
Recommended for routingNoYes

Prefix-List Examples

! Permit only 10.1.10.0/24
ip prefix-list EXACT_24 permit 10.1.10.0/24

! Permit any subnet within 10.1.0.0/16 with prefix length 20-28
ip prefix-list RANGE permit 10.1.0.0/16 ge 20 le 28

! Permit all /24s in 10.1.0.0/16
ip prefix-list ALL_24 permit 10.1.0.0/16 le 24

! Deny default route (safety)
ip prefix-list NO_DEFAULT deny 0.0.0.0/0

! Apply with distribute-list
router eigrp 1234
 distribute-list prefix RANGE in GigabitEthernet0/1
Production Warning
Always apply filters in the inbound direction when possible. Outbound filtering can break downstream routers that depend on the filtered routes. If outbound filtering is required, verify with show ip eigrp topology on the receiving router before deploying.
4. Redistribution Best Practices & Route Tagging
Safe introduction of external routes into EIGRP
Section 4
What, Where, How & Why
Redistribution injects routes from other protocols (OSPF, BGP, static) into EIGRP. Without careful configuration, redistribution can introduce loops, suboptimal routing, and unmanaged traffic patterns. Use route-maps with tags and metrics to control exactly what gets redistributed and how.
%%{init: { 'theme': 'base', 'themeVariables': { 'fontSize': '12px' }}}%% flowchart LR OSPF["OSPF Domain"] --> ASBR["ASBR
Redistribution Point"] BGP["BGP Domain"] --> ASBR Static["Static Routes"] --> ASBR ASBR --> RouteMap{"Route-Map
Filter & Tag"} RouteMap -->|Match| EIGRP["EIGRP Domain
External Routes (AD 170)"] RouteMap -->|Deny| Drop["Filtered Out"] style OSPF fill:#0EA5E9,color:#FFF style BGP fill:#F59E0B,color:#FFF style ASBR fill:#7C3AED,color:#FFF style RouteMap fill:#10B981,color:#FFF style EIGRP fill:#10B981,color:#FFF style Drop fill:#EF4444,color:#FFF
  • External AD: Redistributed routes get AD 170 (vs. internal 90)
  • Route Tagging: Prevents redistribution loops
  • Metric Setting: Always specify seed metric during redistribution
  • Route-Map Control: Filter and manipulate what gets redistributed
  • Passive Interfaces: Prevent EIGRP from running on external-facing interfaces

Redistribution Safety Checklist

PracticeWhy It Matters
Use route-maps for all redistributionPrevents accidental redistribution of unintended routes
Set explicit seed metricPrevents infinite metric causing route rejection
Apply route tagsEnables loop detection across redistribution boundaries
Filter by prefix-listRestricts which prefixes enter EIGRP
Use passive-interface defaultPrevents EIGRP neighborships on external links
Document the redistribution policyFuture engineers understand the intent

Production Redistribution Example

! Step 1: Define prefix-list of routes to redistribute
ip prefix-list REDISTRIBUTE_OSPF permit 10.16.0.0/16 le 24
ip prefix-list REDISTRIBUTE_OSPF deny 0.0.0.0/0 le 32

! Step 2: Create route-map with tag and metric
route-map OSPF_TO_EIGRP permit 10
 match ip address prefix-list REDISTRIBUTE_OSPF
 set tag 100
 set metric 100000 100 255 1 1500

! Step 3: Apply in EIGRP process
router eigrp 1234
 redistribute ospf 1 route-map OSPF_TO_EIGRP
 passive-interface default
 no passive-interface GigabitEthernet0/0

! Step 4: Verify
show ip route eigrp | include EX
show ip eigrp topology | section External
The Golden Rule of Redistribution
Never redistribute "all routes" from one protocol into another without filtering. Use route-maps with prefix-lists to control exactly what enters EIGRP. Tag the redistributed routes so that if they are re-redistributed back into the original protocol, loops can be detected and prevented.