From point A to point B
Point A: you know an EIGRP route can get "stuck in active" and that it's bad, but you have never seen it: in a healthy network, the active state lasts milliseconds. Point B: by the end of this chapter you will trigger SIA in your lab, recognize the active state and FD is Infinity in the topology table, read an SIA-Query and an SIA-Reply in Wireshark and explain why the feasible successor and summarization prevent all of this.
As Jesús says, in real life it is very rare to see networks in the active state. In the lab you control the exercise, and mastering it from day zero gives you a broad view of how EIGRP behaves.
- Hold time and Hello interval that don't match, and why nothing happens
- An extended ACL that blocks EIGRP and lets the rest of IP through
- The route in the active state, the Query and FD is Infinity
- SIA-Query and SIA-Reply in Wireshark and the infinite metric
- The query lookup, the feasible successor and the query domain
- The first key chain, the prelude to MD5 authentication
A 600-second hold time and a 30-second Hello
Chapter 3 ended with RT01 advertising a 600-second hold time toward RT02. Now it is RT02's turn, on its interface toward RT01: a 600-second hold time and a Hello every 30 seconds.
RT02(config)# interface GigabitEthernet0/1
RT02(config-if)# ip hold-time eigrp 10 600
RT02(config-if)# ip hello-interval eigrp 10 30
RT01# show ip eigrp neighbors
! Hold for RT02 drops from ~600 to ~570 and jumps back with every Hello
Think from the right perspective. RT02 configures these values, but RT01 uses them: RT02 tells it how often it will send a Hello and how long to wait before declaring it down. On RT01, the Hold column for RT02 starts at 597, drops to 571 and jumps back to the 590s with every Hello. The adjacency stays up because the timers don't have to match: the hold time travels in the Hello.
An ACL that only blocks EIGRP
To simulate an EIGRP failure between RT01 and RT02, RT02 gets an extended access list. It blocks the eigrp protocol and permits everything else. The transit network stays up and ping works, but no EIGRP information crosses it anymore: no Update, no Query, no Reply.
The SIA scenario: long timers, an inbound ACL on RT02 and RT03's loopback shut down. Diagram: The House of Routing.
Before applying it, take a snapshot of the healthy state: on RT01 and RT02, network 3.3.3.0/24 in P (passive) in show ip eigrp topology, D routes in the routing table and a successful ping 3.3.3.3 from both. In Wireshark, with the eigrp filter, there are only Hello packets.
RT02(config)# ip access-list extended ACL-EIGRP
RT02(config-ext-nacl)# deny eigrp any any
RT02(config-ext-nacl)# permit ip any any
RT02(config-ext-nacl)# exit
! Baseline before the failure
RT01# show ip eigrp topology
RT01# show ip route | include D
RT01# ping 3.3.3.3
RT02# ping 3.3.3.3
! Apply it inbound on the interface toward RT01
RT02(config)# interface GigabitEthernet0/1
RT02(config-if)# ip access-group ACL-EIGRP in
RT02(config-if)# do show ip eigrp neighbors
With the ACL applied inbound, RT02 stops receiving RT01's Hello packets. In show ip eigrp neighbors, RT01's Hold drops below 570 and keeps falling: it no longer resets. But the adjacency stays up, because RT01 asked RT02 to wait a full 600 seconds. That is the lab's trick: an adjacency that "exists" even though EIGRP can no longer talk in one direction.
Shutdown: the route goes active
Now the trigger. On RT03, loopback 0, the one with network 3.3.3.0/24, is shut down.
RT03(config)# interface loopback 0
RT03(config-if)# shutdown
RT02# show ip eigrp topology
! 3.3.3.0/24 in state A (active), Query sent
RT01# show ip eigrp topology
! 3.3.3.0/24 ... FD is Infinity
RT01# show ip route | include D
RT01# ping 3.3.3.3
What follows happens in seconds:
- RT02 loses its successor for 3.3.3.0/24 and has no feasible successor. The route moves from P to A (active) and RT02 sends a Query to its neighbors: "who has another path to 3.3.3.0?".
- It removes the route from the routing table as a loop-prevention mechanism, but keeps it in the topology table while it waits for replies.
- The active timer starts, about 3 minutes by default, which limits how long a route can stay active.
RT01 receives the Query, because the RT02 → RT01 direction is still open, and in its topology table 3.3.3.0/24 shows FD is Infinity: it already knows that path is gone. But its answer never reaches RT02: the ACL drops it on the way in. RT02 is left waiting for a Reply that will not arrive.
Meanwhile, the ping to 3.3.3.3 fails. This is the dark side of routing by rumor: in a distance vector protocol each router knows what its neighbors tell it, and while the Query is unresolved, traffic to that prefix has no valid path.
SIA-Query and SIA-Reply in Wireshark
At 90 seconds, half the active timer, a new packet appears in the capture of the RT01–RT02 link: the SIA-Query. Wireshark shows it with opcode 10 and, in the class, sequence 5. Its message: "I'm running out of time with this route; are you still there? do you have information about it?". The neighbor acknowledges it and answers with an SIA-Reply (opcode 11).
The life of an active route: Query, SIA-Query at half the active timer and, if nobody answers, SIA. Diagram: The House of Routing.
RFC 7868 spells out what each one means. The SIA-Query forces the neighbor to answer with a Reply or an SIA-Reply. The SIA-Reply is proof of life: "I'm still processing your query", and lets the route stay active for another period; up to three SIA-Queries can be sent. If a neighbor doesn't even answer that, the route is declared stuck in active and Cisco resets the adjacency with that neighbor, as if it had answered "unreachable" for all its routes.
How does a router know the information it receives is not an alternate route? By the metric. In the capture, the prefix travels with an infinite delay and the other values at their limit, with a hop count of 255 and bandwidth at its maximum. That is how EIGRP says "this route doesn't exist, delete it": the same principle as poison reverse in distance vector protocols. For EIGRP, a delay of 0xFFFFFFFF means unreachable.
In the lab, neither RT01's Reply nor its SIA-Reply reached RT02. The ending was the expected one: back in the exercise, show ip eigrp neighbors on RT02 only showed RT03. The adjacency with RT01 had been reset. Cisco lists this very pattern among the typical causes of SIA: a circuit that passes enough packets to keep the adjacency up while Queries or Replies get lost, or a unidirectional link.
RT03(config)# interface loopback 0
RT03(config-if)# no shutdown
RT02# show ip eigrp neighbors
! only RT03 is left: the adjacency with RT01 was reset
RT02(config)# interface GigabitEthernet0/1
RT02(config-if)# no ip access-group ACL-EIGRP in
RT02(config-if)# do show ip eigrp neighbors
When the lab is restored, with no shutdown on RT03's loopback and no ip access-group on RT02, the adjacency with RT01 comes back at once.
Query lookup and query domain
What does a router do when a Query arrives? A query lookup: it searches its topology table for an exact match of the queried prefix.
A router's decisions when a Query arrives. Diagram: The House of Routing.
- If there is no exact match, it replies at once that the prefix is unreachable. The Query dies there.
- If there is a match and it still has a loop-free path, for example a feasible successor, it replies with that route. The Query also dies there.
- If there is a match but no path left, it goes active and forwards the Query to its own neighbors. The query domain grows.
The class review sums it up: if there is a feasible successor, there is no Query. When the successor is lost, the feasible successor is promoted right away from the topology table to the RIB, without asking anyone and without flooding. If there isn't one, the route goes active and the Query spreads until someone answers.
A large query domain is a risk: while it resolves, some routers have no valid path and traffic falls into a black hole, in the worst case for 90 seconds or more. That is why EIGRP is optimized in two ways:
- Have a feasible successor as often as possible.
- Summarize. If RT03 advertises a 3.0.0.0/8 summary instead of 3.3.3.0/24, when that /24 goes down the downstream router receives a Query for a prefix it doesn't have: it only knows the summary. There is no exact match, so it answers immediately. Summarization limits the query domain; you will see it in detail in chapter 5.
Repeat the exercise
The class invites you to repeat it until the change from passive to active feels familiar. The recipe has four steps:
- Raise the hold time to 600 seconds on both routers of the link you are going to "break".
- Create the ACL that filters only EIGRP (
deny eigrp any any,permit ip any any) and apply it inbound on one of them. - Open Wireshark with the
eigrpfilter andshutdownthe loopback of the far router. - Watch
show ip eigrp topologyon every router during the first 90 seconds, then wait for the SIA-Query.
First steps with key chain
With the lab healthy again, the class moves on to authentication. Three ideas before typing a command:
- MD5 authenticates, it doesn't encrypt. It is a hash computed with a shared key. The EIGRP packet still travels in the clear; what you gain is certainty that it comes from a neighbor that knows the key.
- Classic mode only accepts MD5. SHA-256 is for named mode.
- Run NTP. Keys can be valid by date and time, which requires the router to know what time it is.
It all starts with a key ring, the key chain. In the class it was called THOR:
RT02(config)# key chain THOR
RT02(config-keychain)# key 1
RT02(config-keychain-key)# key-string <secret-1>
RT02(config-keychain-key)# key 2
RT02(config-keychain-key)# key-string <secret-2>
RT02(config-keychain-key)# key 100
RT02(config-keychain-key)# key-string <secret-100>
RT02(config-keychain-key)# accept-lifetime 11:30:00 30 January 2022 infinite
RT02(config-keychain-key)# send-lifetime 11:29:00 30 January 2022 infinite
RT02(config-keychain-key)# end
RT02# show key chain THOR
! Use your own secrets. Spaces inside key-string are part of the key.
The rules that matter:
- The key chain name is local. It can be THOR on one router and something else on the neighbor.
- The key number and the key-string must match between neighbors, spaces included: "ABC 123" is not "ABC123".
- Only one key is sent at a time. The router checks the keys from lowest to highest and uses the first valid one. With keys 1, 2 and 100 all valid, it sends key 1.
- accept-lifetime and send-lifetime set when each key starts being accepted and sent: a start and end time, a duration in seconds or
infinite. In the class, key 100 was only valid from 30 January 2022; on the recording day, not yet.
A key chain on its own authenticates nothing. It still has to be tied to the interface and MD5 enabled in EIGRP: that, together with passive-interface and summarization, is in chapter 5.
Class videos
These are the three videos from the 1st EIGRP Marathon covered in this chapter. They were recorded live with Cisco routers in GNS3, debug and Wireshark; the audio is in Spanish, with subtitles in Spanish, English, French and Portuguese.
- Day 1 · Part 1A 600 s hold time and an ACL that blocks EIGRP: setting up SIAWatch video
- Day 1 · Part 1SIA live: FD is Infinity, SIA-Query, SIA-Reply and poison reverseWatch video
- Day 1 · Part 1Review of DUAL, Query and SIA, and first steps with MD5 authenticationWatch 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 configure a 600-second hold time and a 30-second Hello on RT02. Which router uses those values?
Answer. The neighbor, RT01. RT02 advertises them in its Hello; RT01 uses them to know when to expect the next Hello and when to declare RT02 down. That is why they don't have to match on both sides.
2. You apply an ACL that denies EIGRP on an interface and the adjacency does not drop right away. Why?
Answer. Because the neighbor advertised a 600-second hold time. The router keeps considering it alive until that time runs out, even though it no longer receives its Hello packets.
3. When is an SIA-Query sent, and what does receiving an SIA-Reply mean?
Answer. It is sent at half the active timer, 90 seconds by default, when a neighbor has not answered the Query. The SIA-Reply means the neighbor is alive and still working on the query; the route can stay active for another period.
4. A router receives a Query for 3.3.3.0/24 but only knows the 3.0.0.0/8 summary. What does it do?
Answer. It replies immediately that the prefix is unreachable: there is no exact match. It doesn't go active or propagate the Query. That is how summarization limits the query domain.
5. You have keys 1, 2 and 100 in the same key chain, all valid. Which one is sent?
Answer. Key 1. The router checks the keys from lowest to highest and sends the first valid one. The neighbor must have that same key with the same key-string.
Your takeaways
- The hold time and the Hello interval are advertised to the neighbor and don't have to match; a long hold time keeps an adjacency alive without Hello packets.
- An ACL with
deny eigrp any anyandpermit ip any anybreaks EIGRP without cutting IP traffic. - Without a feasible successor, the route goes active, leaves the RIB, stays in the topology table and a Query is sent.
- At 90 seconds comes the SIA-Query (opcode 10); the SIA-Reply (opcode 11) says "still working". No answer means SIA and an adjacency reset.
- A metric with an infinite delay is EIGRP's way of saying "unreachable".
- The feasible successor avoids the Query; summarization limits the query domain.
- In a key chain the name is local; the key and the key-string must match, and the lowest-numbered valid key is sent.
Official resources
- What Does the EIGRP DUAL-3-SIA Error Message Mean?cisco.com
- Enhanced Interior Gateway Routing Protocol (white paper): queries and SIAcisco.com
- RFC 7868: Cisco's EIGRP (SIA-Query and SIA-Reply)rfc-editor.org
- EIGRP Command Reference, I through R (ip hello-interval eigrp, ip hold-time eigrp)cisco.com
- EIGRP Command Reference, S through V (show ip eigrp topology, timers active-time)cisco.com
- IP Routing: EIGRP Configuration Guide · IP EIGRP Route Authenticationcisco.com
- EIGRP Message Authentication Configuration Examplecisco.com
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.