From point A to point B
Point A: you already triggered a stuck in active and saw how an unanswered Query keeps a route active for minutes. Point B: by the end of this chapter you will protect an adjacency with MD5, decide which interfaces speak EIGRP and use summarization so a Query dies at the first hop instead of crossing the whole domain.
- A key chain and MD5 authentication applied per interface in classic mode
- How to check that the adjacency is authenticated
- passive-interface default: turn everything off and enable only what you need
- The three forms of the network statement and what auto-summary does
- Why summarization stops the Query, on the whiteboard and in Wireshark
MD5 authentication in classic mode
We stay in the Day 1 lab: EIGRP in classic mode, AS 10. In the previous video, RT02 got a key chain called THOR with three keys: key 1, key 2 and key 100. None has accept-lifetime or send-lifetime, so all of them are always valid.
EIGRP authentication is not turned on in the routing process: it is turned on per interface. Two lines do it. The first tells the interface which key chain to use in AS 10; the second enables MD5 mode.
RT02(config)# key chain THOR
RT02(config-keychain)# key 1
RT02(config-keychain-key)# key-string <shared-secret>
RT02(config-keychain-key)# exit
RT02(config-keychain)# exit
RT02(config)# interface GigabitEthernet0/0
RT02(config-if)# ip authentication key-chain eigrp 10 THOR
RT02(config-if)# ip authentication mode eigrp 10 md5
! classic mode only offers md5 here; the adjacency with RT03 drops
In classic mode, MD5 is the only option. When Day 2 reaches named mode, you will see that you can choose between MD5 and HMAC-SHA-256 there.
As soon as you apply MD5 mode, the adjacency with RT03 drops. Why? Because authentication travels inside the EIGRP packets, Hellos included. RT02 starts signing its packets and demanding a signature on the ones it receives; RT03 does not sign anything yet, so RT02 discards its Hellos and the hold time does the rest.
The fix is to repeat the configuration on the other end. On RT03, Jesús creates a key chain with a different name, Jesus, with a single key, key 1, and the same key-string.
RT03(config)# key chain Jesus
RT03(config-keychain)# key 1
RT03(config-keychain-key)# key-string <shared-secret>
RT03(config-keychain-key)# exit
RT03(config-keychain)# exit
RT03(config)# interface GigabitEthernet0/1
RT03(config-if)# ip authentication key-chain eigrp 10 Jesus
RT03(config-if)# ip authentication mode eigrp 10 md5
! same key ID and key-string as RT02: the adjacency comes back
The key chain name is local; the key number and the key-string must match. Below, the passive-interface exercise on RT02. Diagram: The House of Routing.
accept-lifetime or send-lifetime, the router needs the right time, which is why the class recommends NTP.Verify the authenticated adjacency
With both ends configured, the adjacency comes back on its own. To check that it really is authenticated, the key command is show ip eigrp interfaces detail:
RT03# show ip protocols
RT03# show ip eigrp interfaces detail
! look for: Authentication mode is md5, key-chain is "Jesus"
RT03# show ip eigrp neighbors
RT03# show ip route
For each interface you see the Hello and hold timers (something ENCOR and ENARSI ask about), the MD5 authentication mode and the key chain in use. On RT02, the interface toward RT03 shows MD5 with the THOR chain; the interface toward RT01 and Loopback0 have no authentication.
Loopback0 does not need it: there is no neighbor behind it. In fact, it should be passive, because it makes no sense to send Hellos there looking for an adjacency. That is the next topic.
passive-interface: choose where to speak
passive-interface tells EIGRP: “do not send Hellos on this interface”. No Hellos means no neighbor, and no neighbor means no route exchange on that interface. The interface’s network, however, is still advertised through the others.
Jesús takes it to the extreme on RT02 with passive-interface default: every interface becomes passive at once. show ip protocols lists all of them and show ip eigrp neighbors is empty. RT02 has no neighbors left.
RT02(config)# router eigrp 10
RT02(config-router)# passive-interface default
RT02(config-router)# do show ip protocols
RT02(config-router)# do show ip eigrp neighbors
! no neighbors: every interface is passive now
RT02(config-router)# no passive-interface GigabitEthernet0/0
RT02(config-router)# no passive-interface GigabitEthernet0/1
RT02(config-router)# do show ip protocols
! only Loopback0 is left as a passive interface
Then he re-enables only what he wants. With no passive-interface GigabitEthernet0/0 the adjacency with RT03 comes back, and RT02’s table fills only with what comes from that side. With no passive-interface GigabitEthernet0/1 RT01 comes back. In the end, the only passive interface is Loopback0, which is exactly right.
Jesús leaves an exercise: apply this pattern to named EIGRP for IPv6. There, adjacencies form over link-local addresses, which exist as soon as you enable IPv6 on an interface. Make everything passive in the address family and enable only what you want: that way you avoid automatic adjacencies you never asked for.
passive-interface suppresses EIGRP Hellos and routing updates on the interface, but the interface address stays in the topology database. That is why the loopback network is still advertised.The network statement: three forms
The last block of Day 1 is summarization. Jesús starts with the basics: EIGRP’s native summarization, before summarizing on interfaces (that comes on Day 2). To understand it, look at the network statement first.
RT01 had network 0.0.0.0, which enables EIGRP on every interface. Remove it and the adjacencies drop: you just told EIGRP “shut down everywhere”. From there, Jesús enables EIGRP only on the link network, in three different ways:
RT01# show run | section eigrp
RT01# configure terminal
RT01(config)# router eigrp 10
RT01(config-router)# no network 0.0.0.0
! EIGRP stops on every interface: the adjacencies drop
RT01(config-router)# network 10.10.10.0
RT01(config-router)# no network 10.10.10.0
RT01(config-router)# network 10.10.10.0 255.255.255.0
RT01(config-router)# no network 10.10.10.0 255.255.255.0
RT01(config-router)# network 10.10.10.0 0.0.0.255
| Form | Example | Interfaces it enables |
|---|---|---|
| No mask | network 10.10.10.0 | Every interface in the major (classful) network, here 10.0.0.0/8 |
| Subnet mask | network 10.10.10.0 255.255.255.0 | Only those in 10.10.10.0/24 |
| Wildcard | network 10.10.10.0 0.0.0.255 | Only those in 10.10.10.0/24 |
In the lab, IOS accepted all three forms. The difference is in the first one: with no mask or wildcard, EIGRP thinks in major-network boundaries. That is why RT03 still received 10.10.10.0/24 even though RT01 only had network 10.10.10.0: everything sits inside the same block, network 10.
network ip-address [wildcard-mask], and the command only enables EIGRP on local interfaces whose address falls in that range. A wildcard is the most explicit form.auto-summary and the classful boundary
Now network 1 comes in. Jesús adds network 1.1.1.0 on RT01, with no mask, and enables auto-summary. On RT02, the route no longer shows as 1.1.1.0/24: it arrives as 1.0.0.0/8. RT01 summarizes at the major-network boundary because it sees network 1 as class A. That is classful behavior.
RT01(config-router)# network 1.1.1.0
RT01(config-router)# auto-summary
! RT02 now learns the classful summary 1.0.0.0/8
RT01(config-router)# no network 1.1.1.0
RT01(config-router)# network 1.1.1.0 255.255.255.0
! still 1.0.0.0/8 on RT02: auto-summary wins over the mask
RT01(config-router)# no auto-summary
! RT02 learns 1.1.1.0/24 again
RT02# show ip route
The important detail: even if you change the statement to network 1.1.1.0 255.255.255.0, as long as auto-summary is on, RT02 gets the /8. The mask decides which interfaces take part; auto-summary decides how they are advertised when they cross the class boundary. With no auto-summary, RT02 sees 1.1.1.0/24 again.
auto-summary is disabled by default (the change came with IOS 15.0(1)M and 12.2(33)SRE, among others). EIGRP summary routes have an administrative distance of 5.Why summarize at all? Because EIGRP minimizes the Query when it summarizes.
Summarization stops the Query
On the whiteboard: three routers in a row and network 1.1.1.0 behind RT01. First, without summarization. The route travels as is: RT02 installs it as a successor, and so does RT03.
Now the network goes down. RT01 has no feasible successor, so the route goes active and RT01 sends a Query. The Query looks for an exact match of the prefix. RT02 runs its query lookup: it has 1.1.1.0/24, but as a successor, with no alternate. The algorithm forces it to pass the Query on to RT03, and RT03 is in the same situation. That is how the query domain grows: every router that holds the exact prefix without a feasible successor makes it bigger.
Meanwhile the active timer runs, 3 minutes by default. If a Reply is still missing at 90 seconds, a SIA-Query goes out. In the end, the route is withdrawn from the topology table with an infinite metric.
Without a summary, the Query visits every router that holds the exact prefix. With a summary, the first neighbor answers “unreachable” and the domain ends there. Diagram: The House of Routing.
Now with summarization. RT01 advertises 1.0.0.0/8 instead of 1.1.1.0/24. RT02 installs the /8 as a successor and passes it to RT03 in an Update, the packet that carries topology information. That is the first level of summarization, auto-summary; the next one is summarization per interface.
The network goes down again. RT01’s Query still asks about 1.1.1.0/24, because it looks for an exact match. RT02 runs its query lookup and finds nothing: it only knows the /8. No exact match means no feasible successor to evaluate either. RT02 does not propagate the Query: it answers at once with a Reply that says “I do not know that route”. The query domain stops at the summary.
The Query in the lab and in Wireshark
Time to prove it. Jesús starts two captures in GNS3 with the eigrp filter: one on the RT01–RT02 link and one on RT02–RT03. He enables auto-summary, and an Update with 1.0.0.0/8 shows up in the capture right away: the EIGRP process advertises the summary as soon as you configure it.
Then he checks show ip eigrp topology, sees network 1 summarized and runs shutdown on the interface of network 1. In the topology table, the route disappears almost instantly. There was no need to wait for the active timer or to reach the last router: the neighbor answered right away.
In Wireshark, the packet he had missed during the SIA exercise finally shows up:
| Packet | Opcode | What the capture shows |
|---|---|---|
| Update | 1 | The 1.0.0.0/8 summary when auto-summary is enabled |
| Query | 3 | RT01 asks about 1.1.1.0/24 with an infinite metric |
| Reply | 4 | The neighbor returns the route with an infinite metric: it does not have it |
| Hello | 5 | Keepalive; with no data and an acknowledgment number, it is the RTP ACK |
Every Query and every Reply is confirmed with an ACK, because they travel reliably. After no shutdown, the equation repeats: Hello, an Update with the network again and the matching ACKs.
The lesson is about design: a large domain with no summaries is the perfect ground for the stuck in active from the previous chapter.
Wrapping up Day 1
Jesús closes the day with one idea: EIGRP demands that you master its terminology, and it is a very mathematical protocol that depends on its metric formula. It also uses neither TCP nor UDP: it runs straight over IP with its own transport, RTP. That is why troubleshooting it calls for method.
The balance: a lot of theory and whiteboard, but also more than 50 advanced labs, with stuck in active, summarization, debug, troubleshooting and authentication. Day 2 will finish summarization and cover the default route, optimization mechanisms and EIGRP named mode for IPv4 and IPv6. Redistribution was left pending.
Class videos
These are the four videos that close Day 1 of the marathon, recorded live on 22 January 2022 with Cisco routers in GNS3 and Wireshark captures. The audio is in Spanish, with subtitles in Spanish, English, French and Portuguese.
- Day 1 · Part 1MD5 authentication in classic EIGRP and passive-interface defaultWatch video
- Day 1 · Part 1The network statement, mask, wildcard and auto-summary: native summarizationWatch video
- Day 1 · Part 1Summarization stops the query domain: whiteboard, lab and WiresharkWatch video
- Day 1 · Part 1Day 1 wrap-up: what we covered and what comes on Day 2Watch video
Recorded live; Spanish audio with Spanish, English, French and Portuguese subtitles. When you play it, the video loads from YouTube. Day 1 playlist on YouTube
Test what you learned
1. You enable MD5 on RT02’s interface and the adjacency with RT03 drops. Why, and what do you fix?
Answer. Authentication travels inside the EIGRP packets, Hellos included. RT02 discards packets without a valid signature. On RT03, configure a key chain with the same key 1 and the same key-string, and enable ip authentication mode eigrp 10 md5 on its interface.
2. RT02 uses the THOR key chain and RT03 uses the Jesus key chain. Can the adjacency come up?
Answer. Yes. The key chain name is local. What must match is the key number and the key-string.
3. You configure passive-interface default on a router with two neighbors. What happens, and how do you bring back only the links you want?
Answer. Every interface stops sending Hellos and both neighbors are lost. With no passive-interface on each physical link, the adjacencies come back; the loopback stays passive and its network is still advertised.
4. With auto-summary on, you replace network 1.1.1.0 with network 1.1.1.0 255.255.255.0. What does the neighbor see?
Answer. It still sees 1.0.0.0/8. The mask only decides which interfaces take part; auto-summary summarizes at the classful boundary. You need no auto-summary to see the /24.
5. RT02 only knows 1.0.0.0/8 and receives a Query for 1.1.1.0/24. Does it forward it to RT03?
Answer. No. The Query looks for an exact match and RT02 does not have one, so there is no feasible successor to evaluate either. It answers at once with an infinite-metric Reply, and the query domain ends there.
Key takeaways
- EIGRP authentication is configured per interface:
ip authentication key-chain eigrpandip authentication mode eigrp ... md5. Classic mode only offers MD5. - The key chain name can differ; the key and the key-string cannot. Without lifetimes, a key is always valid.
show ip eigrp interfaces detailshows the authentication mode, the key chain and the timers of each interface.passive-interface defaultstops Hellos on every interface; re-enable only those that need neighbors and leave loopbacks passive.- With no mask or wildcard,
networkthinks in major networks. A wildcard makes you explicit. auto-summarysummarizes at the classful boundary and is disabled by default today; the summary route has AD 5.- The Query looks for an exact match. A neighbor that only holds the summary answers “unreachable” on the spot: summarization is the boundary of the query domain.
Official resources
- Cisco · IP EIGRP Route Authentication (EIGRP Configuration Guide)cisco.com
- Cisco · IP Routing: EIGRP Configuration Guide (passive-interface, network, summarization)cisco.com
- Cisco IOS IP Routing: EIGRP Command Reference · auto-summarycisco.com
- Cisco IOS IP Routing: EIGRP Command Reference · ip authentication, networkcisco.com
- Cisco · Enhanced Interior Gateway Routing Protocol (white paper)cisco.com
- RFC 7868 · Cisco's Enhanced Interior Gateway Routing Protocol (EIGRP)rfc-editor.org
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 official Cisco documentation and IETF RFC 7868.