EIGRP MASTERCLASS · CHAPTER 7

Manual summarization and leak-map: one /24 over the circuit you choose

You summarize 30.10.0.0/16 on both links, read the topology table field by field, and let a single prefix leak so management traffic follows its own path.

13 min readVideos: Day 2, parts 6 to 8Level: intermediate

From point A to point B

Point A: you know auto-summary is too aggressive and that summarizing by hand is better, but you have never decided which prefix travels over which link. Point B: by the end of this chapter you will summarize at any bit you want, read the topology table for a prefix without getting lost, and use a leak-map so that a single /24 takes the circuit you choose.

What you'll see
  1. Manual summarization of 30.10.0.0/16 and why it is done on the interface
  2. Every field of show ip eigrp topology, from the successor to the originator
  3. A redundant link that exposes unsummarized routes
  4. The leak-map with a prefix-list and a route-map, and the mask mistake that stops it
  5. The traceroute test and the traffic engineering view

Summarizing by hand with ip summary-address

The Day 2 lab has three routers in AS 10, in classic mode. RT01 has three new loopbacks: 30.10.10.1, 30.10.11.1 and 30.10.12.1, all /24. The network policy is clear: toward the rest of the domain, network 30 travels summarized.

Day 2 lab: summary 30.10.0.0/16 on both RT01 links Three routers in EIGRP AS 10. RT01 has loopbacks 30.10.10.1, 30.10.11.1 and 30.10.12.1 /24. RT01 connects to RT02 twice: Gi0/0 to Gi0/1 on 10.10.10.0/24 and Gi0/3 to Gi0/2 on 172.16.1.0/24. RT02 connects to RT03 on 10.10.11.0/24. RT01 advertises the summary 30.10.0.0/16 on both links, and on Gi0/3 a leak-map also lets 30.10.10.0/24 through. RT02 load-balances the /16 over both links and sends the /24 only over 172.16.1.1. EIGRP AS 10 · CLASSIC MODE RT01 router-id 0.0.0.1 Lo0 1.1.1.1/24 Lo30 30.10.10.1/24 Lo31 30.10.11.1/24 Lo32 30.10.12.1/24 RT02 router-id 0.0.0.2 Lo0 2.2.2.2/24 maximum-paths 4 RT03 Lo13 11.11.13.1/24 Lo14 11.11.14.1/24 Lo15 11.11.15.1/24 10.10.10.0/24 Gi0/0 .1 Gi0/1 .2 172.16.1.0/24 Gi0/3 .1 Gi0/2 .2 10.10.11.0/24 .2 .3 RT01 ADVERTISES Gi0/0 → 30.10.0.0/16 (components suppressed) Gi0/3 → 30.10.0.0/16 Gi0/3 → + 30.10.10.0/24 (leak-map RM-LEAK) Lo30-32 /24s stay inside RT01 RT02 ROUTING TABLE D 30.10.0.0/16 via 10.10.10.1 (Gi0/1) D 30.10.0.0/16 via 172.16.1.1 (Gi0/2) · ECMP D 30.10.10.0/24 via 172.16.1.1 (Gi0/2) only Longest match: the /24 wins over the /16

Day 2 lab: the summary leaves on both RT01 links and the leak-map only on Gi0/3. Diagram: The House of Routing.

In EIGRP, manual summarization is configured on the interface, not in the process. Jesús picks a /16 with growth in mind: if more 30.10.x networks show up tomorrow, the summary already covers them. He applies it first on RT01's GigabitEthernet0/0, the one facing RT02.

RT01(config)# interface GigabitEthernet0/0
RT01(config-if)# ip summary-address eigrp 10 30.10.0.0 255.255.0.0
RT01(config-if)# do show ip route
! RT01 keeps its /24s and adds the summary toward Null0
RT03# show ip eigrp topology 30.10.0.0/16
RT03# ping 30.10.10.1

The rule to remember: when you summarize in EIGRP, the router suppresses the subnets that fall inside the summary. The three /24s no longer leave through that interface; only 30.10.0.0/16 does. RT01 also gets a summary route to Null0, with administrative distance 5, which prevents loops if traffic arrives for a subnet in the range that does not exist.

From RT03, the ping to 30.10.10.1 works. Connectivity is intact and the neighbors' tables are shorter.

Syntax. In class the summary is dictated as "slash 16". The syntax Cisco documents for classic mode uses the full mask: ip summary-address eigrp 10 30.10.0.0 255.255.0.0. In named mode the equivalent is summary-address under af-interface.

Reading the topology table for one prefix

Before moving on, Jesús stops at show ip eigrp topology 30.10.0.0/16. It is the command you will use for everything that follows: summarization, the composite metric and the feasible successor. This is what it shows:

FieldWhat it tells you
AS and stateThe autonomous system and whether the route is passive (stable) or active (computing).
Successors and FDHow many successors the prefix has and its feasible distance.
Next hopThe neighbor each path comes through.
Composite metricTwo numbers: the computed distance and the neighbor's reported distance.
Vector metricMinimum bandwidth, total delay, reliability, load, minimum MTU and hop count.
Originating routerThe router ID of whoever originated the route.

Look at the last field. The EIGRP router ID is a 32-bit label in IPv4 format, not an address. If you set it with eigrp router-id and follow a pattern, such as 0.0.0.1 for RT01, you know at a glance who originated each prefix.

One note on the vector: the MTU travels with the route, but it is not part of the metric calculation. You will see this in the next chapter.

A second link between RT01 and RT02

The leak-map exercise needs an alternate path. Jesús brings up a second link between RT01 and RT02 on 172.16.1.0/24: Gi0/3 on RT01 and Gi0/2 on RT02. On RT02 he advertises the network in EIGRP and sets maximum-paths 4 to restore the equal-cost load balancing of the previous exercise.

RT01(config)# interface GigabitEthernet0/3
RT01(config-if)# description Link to RT02 Gi0/2
RT01(config-if)# ip address 172.16.1.1 255.255.255.0
! 172.16.1.0/24 was already in RT01's EIGRP process

RT02(config)# interface GigabitEthernet0/2
RT02(config-if)# description Link to RT01 Gi0/3
RT02(config-if)# ip address 172.16.1.2 255.255.255.0
RT02(config-if)# no shutdown
RT02(config-if)# router eigrp 10
RT02(config-router)# maximum-paths 4
RT02(config-router)# network 172.16.1.0 0.0.0.255
RT02(config-router)# do ping 172.16.1.1
RT02(config-router)# do show ip eigrp neighbors
! two neighbors on RT01: 10.10.10.1 and 172.16.1.1

The link does not come up on the first try, and that teaches something too. First, the IP address landed on the wrong RT02 interface; it is cleaned up with default interface and configured on Gi0/2. Then the interface was still in shutdown. The troubleshooting logic is always the same: physical layer, data link layer and, last, the routing protocol. If there is no ping, do not look for the problem in EIGRP.

With the adjacency up, show ip eigrp neighbors on RT02 lists RT01 twice: through 10.10.10.1 and through 172.16.1.1. And RT02's routing table reveals something that breaks the policy: the /16 arrives through 10.10.10.1, but the three individual /24s come in through 172.16.1.1.

The reason is the one you saw above: the summary lives on the interface. Gi0/3 had none. Once the command is repeated on that interface, RT02 receives the /16 over both links at the same cost and load-balances.

RT01(config)# interface GigabitEthernet0/3
RT01(config-if)# ip summary-address eigrp 10 30.10.0.0 255.255.0.0
RT02# show ip route
! D 30.10.0.0/16 via 10.10.10.1 and via 172.16.1.1 (equal cost)

The leak-map in three steps

Now the business case. The company buys a dedicated physical circuit for management: SNMP, telemetry, monitoring. All traffic to the 30.10.10.0/24 segment, loopback 30, must enter through the circuit between RT01 Gi0/3 and RT02 Gi0/2. The rest of network 30 can stay load-balanced.

A plain summary cannot do this: RT02 only knows the /16. The tool is the leak-map, which lets a prefix that the summary would suppress escape through a specific interface. It is built in three steps:

  1. Identify the prefix with a prefix-list. It filters nothing: it only points.
  2. Match that prefix-list in a route-map.
  3. Attach the route-map to the interface summary with the leak-map option.
! 1. Identify the prefix (it filters nothing by itself)
RT01(config)# ip prefix-list PL-LEAK permit 30.10.10.0/24
! 2. Match it in a route-map
RT01(config)# route-map RM-LEAK permit 10
RT01(config-route-map)# match ip address prefix-list PL-LEAK
RT01(config-route-map)# exit
! 3. Attach the route-map to the summary on the chosen link
RT01(config)# interface GigabitEthernet0/3
RT01(config-if)# ip summary-address eigrp 10 30.10.0.0 255.255.0.0 leak-map RM-LEAK
Building a leak-map: prefix-list, route-map, summary Three steps, left to right. The prefix-list PL-LEAK identifies 30.10.10.0/24 and filters nothing. The route-map RM-LEAK matches that prefix-list. The interface command ip summary-address eigrp 10 30.10.0.0 255.255.0.0 leak-map RM-LEAK uses the route-map. Result on that interface: the /16 summary plus the /24 that the route-map permits; every other component stays suppressed. A warning shows that a prefix-list entry without ge or le matches the exact prefix length, so 30.10.10.0/16 never matches the /24. 1 · IDENTIFY ip prefix-list PL-LEAK permit 30.10.10.0/24 (identifies, filters nothing) 2 · MATCH route-map RM-LEAK permit 10 match ip address prefix-list PL-LEAK 3 · APPLY ON Gi0/3 ip summary-address eigrp 10 30.10.0.0 255.255.0.0 leak-map RM-LEAK SENT ON Gi0/3 30.10.0.0/16 summary 30.10.10.0/24 leaked EXACT LENGTH MATCH permit 30.10.10.0/16 → only a /16 matches: nothing leaks permit 30.10.10.0/24 → the /24 matches and leaks

Prefix-list, route-map and summary: the leak-map only lets through what the route-map permits. Diagram: The House of Routing.

A habit Jesús recommends: name objects with a prefix. ACL- for access lists, PL- for prefix-lists and RM- for route-maps. When you open a 300-line show run, you know what each thing is without reading its contents. Route-maps are a core IOS tool; in BGP you will use them every day.

Incomplete configuration. According to the Cisco command reference, if the leak-map points to a route-map that does not exist, the summary is advertised and all component routes are suppressed. If the route-map exists but does not reference any list, the summary and all component routes are advertised.

The detail that changes everything: /16 or /24

On the first test, RT02 still did not see the /24. The /16 showed up load-balanced and nothing else. Jesús checked the interface, the route-map, the topology table, and even tried maximum-paths 1 before going back to 4. The summary configuration was correct.

The problem was in step 1. The prefix-list said 30.10.10.0/16. A prefix-list entry without ge or le matches the exact length. With /16, only a /16 route matches, and the /24 never did. The fix:

RT01# show ip prefix-list
! the entry said 30.10.10.0/16: an exact /16 match, so the /24 never matched
RT01(config)# no ip prefix-list PL-LEAK
RT01(config)# ip prefix-list PL-LEAK permit 30.10.10.0/24
RT01(config)# do show route-map

After the change, DUAL recomputes and the /24 appears. It is a good reading exercise: when a leak-map lets nothing through, the first suspect is the list that identifies the prefix.

Verifying with the routing table and traceroute

On RT01, show ip eigrp topology shows the summary and its own /24s. On RT02 the routing table now matches the policy:

  • 30.10.0.0/16 through 10.10.10.1 and 172.16.1.1, with equal-cost load balancing.
  • 30.10.10.0/24 only through 172.16.1.1, the management circuit.

Why is traffic to 30.10.10.1 not shared between the two links? Because of the longest match rule. In a classless scheme, the router first picks the most specific prefix that contains the destination. Costs do not compete here: masks do. The /24 beats the /16 and its only next hop is 172.16.1.1. For 30.10.11.1 or 30.10.12.1 only the /16 exists, and there you do get load balancing.

The final test runs from RT03, which has a better vantage point:

RT02# show ip route
! D 30.10.0.0/16  via 10.10.10.1 and via 172.16.1.1
! D 30.10.10.0/24 via 172.16.1.1 only
RT02# show ip eigrp topology
RT03# traceroute 30.10.10.1
! 1 10.10.11.2  (RT02)
! 2 172.16.1.1  (RT01, over the Gi0/3 link)

The first hop is RT02 through 10.10.11.2. The second is RT01 through 172.16.1.1, the lower link. However many times you repeat the traceroute, the path does not change.

Summarization as traffic engineering

Jesús wraps up the block with a summary worth memorizing. There are two ways to summarize in EIGRP:

  • auto-summary: summarizes at the major (classful) network boundary when entering another major network. It is aggressive: it takes the whole block and, with discontiguous networks, causes the problems of the previous chapter. Today it is disabled by default.
  • Granular summarization with ip summary-address: you choose the interface and the exact bit where the mask is cut. This is the recommended option.

What you just did goes one step further. You no longer let the protocol decide on its own: you give it a policy. "Summarize network 30, but management traffic goes over its own circuit." That is traffic engineering with the protocol's own tools. And as you saw on Day 1, every summary also bounds the Query domain: fewer routes to ask about when something fails.

At the end of video 8, Jesús opens the next topic: the composite metric, the K values and the road to the feasible successor. That is chapter 8.

Class videos

These are the three videos from the 2nd EIGRP Marathon covered in this chapter. They were recorded live with Cisco routers in GNS3; the audio is in Spanish, with subtitles in Spanish, English, French and Portuguese.

Recorded live; Spanish audio with Spanish, English, French and Portuguese subtitles. When you play it, the video loads from YouTube. Day 2 playlist on YouTube

Test what you learned

1. You configure ip summary-address on RT01 Gi0/0, but RT02 still receives the individual /24s. What do you check first?

Answer. Whether there is another link between the two routers. In EIGRP the summary is configured per interface: the interface without ip summary-address keeps sending the subnets. Repeat the summary on every interface where the policy requires it.

2. What does the prefix-list do inside a leak-map?

Answer. It identifies the prefix you want to let through. On its own it filters nothing. The route-map matches that list and the summary uses it with the leak-map option.

3. The prefix-list says permit 30.10.10.0/16 and the /24 does not appear on RT02. Why?

Answer. Without ge or le, the prefix-list requires the exact length. With /16 only a /16 route matches, never 30.10.10.0/24. The correct entry is permit 30.10.10.0/24.

4. RT02 has 30.10.0.0/16 through two next hops and 30.10.10.0/24 through one. Which way does a packet to 30.10.10.1 go?

Answer. Only through 172.16.1.1. The longest match rule picks the /24, more specific than the /16, without looking at cost. Load balancing applies to destinations that only match the /16, such as 30.10.11.1.

5. Which field of show ip eigrp topology tells you who originated a route, and why is it worth setting by hand?

Answer. The originating router, which shows the EIGRP router ID. It is a 32-bit label, not an address. If you configure it with eigrp router-id following a pattern, you can identify the source of each prefix at a glance.

What you take away

  • In classic EIGRP, manual summarization goes on the interface: ip summary-address eigrp 10 30.10.0.0 255.255.0.0.
  • When you summarize, the subnets in the range are suppressed on that interface and the router creates a summary route to Null0.
  • show ip eigrp topology for a prefix gives you the state, FD, CD and RD, the metric vector and the originator's router ID.
  • A leak-map is built in three steps: a prefix-list that identifies, a route-map that matches and a summary with leak-map.
  • A prefix-list without ge or le matches the exact length: check the mask first.
  • The longest match rule beats cost: the leaked /24 always wins over the load-balanced /16.
  • A summary with a leak-map is traffic engineering: you decide which prefix travels over which circuit.

Official resources

Source and credits. Chapter written from the EIGRP Masterclass that Jesús Espinoza recorded live in 2022. Text drafted with AI assistance and reviewed; original diagrams by The House of Routing. Technical data and configuration were checked against Cisco's official documentation and IETF RFC 7868.

Navigate