EIGRP MASTERCLASS · CHAPTER 4

Stuck in active, live: trigger it, watch it, understand it

You stretch the hold time, block EIGRP with an ACL and take a network down to see, packet by packet, how a route gets stuck in the active state.

13 min readVideos: Day 1, parts 13 to 15Level: intermediate

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.

What you will see
  1. Hold time and Hello interval that don't match, and why nothing happens
  2. An extended ACL that blocks EIGRP and lets the rest of IP through
  3. The route in the active state, the Query and FD is Infinity
  4. SIA-Query and SIA-Reply in Wireshark and the infinite metric
  5. The query lookup, the feasible successor and the query domain
  6. 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.

A Cisco detail. If you change the Hello interval, the hold time is not adjusted automatically. Adjust it by hand; a common rule is three times 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.

Stuck in active lab: long hold times, an ACL and a shutdown The same three routers. RT01 advertises a 600-second hold time on the link to RT02. RT02 advertises a 600-second hold time and a 30-second Hello interval on its interface toward RT01, and applies ACL-EIGRP inbound on that interface: deny eigrp any any, permit ip any any. IP traffic still passes, but every EIGRP packet from RT01 is dropped by RT02, while the adjacency survives because the hold time is 600 seconds. RT03 shuts down loopback 0, 3.3.3.3/24, so 3.3.3.0/24 is lost, RT02 has no feasible successor and goes active, and the Query, SIA-Query and SIA-Reply exchange with RT01 can only work in one direction. RT01 Lo0 1.1.1.1/24 RT02 Lo0 2.2.2.2/24 RT03 Lo0 3.3.3.3/24 RT01 · LINK TO RT02 ip hold-time eigrp 10 600 Hello still every 5 s RT02 · Gi0/1 TO RT01 hold 600 · hello 30 ACL-EIGRP in deny eigrp any any RT03 · THE TRIGGER interface loopback 0 shutdown 3.3.3.0/24 is lost RT01 RT02 Query · SIA-Query: delivered Reply · SIA-Reply · ACK: dropped by ACL-EIGRP permit ip any any keeps ping and data alive: only EIGRP is blocked.

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).

Active timer, SIA-Query and SIA-Reply on a timeline A timeline for one active route. At 0 seconds the successor is lost, there is no feasible successor, the route goes active, a Query is sent and the active timer starts. At half the active time, 90 seconds by default, the router sends an SIA-Query, opcode 10. The neighbor must answer with a Reply or an SIA-Reply, opcode 11; an SIA-Reply means it is still working on the query and keeps the route active. Up to three SIA-Queries can be sent. If the neighbor never answers, the route is declared stuck in active and the adjacency with that neighbor is reset. 0 s 90 s no answer ACTIVE successor lost, no FS Query to every neighbor active timer starts SIA-QUERY · OPCODE 10 “are you still there?” answer: Reply, or SIA-Reply (opcode 11) STUCK IN ACTIVE no Reply, no SIA-Reply adjacency reset routes via that peer flushed SIA-Reply = “I am still working on it” (ACTIVE bit). Up to 3 SIA-Queries, one every half active time. Unreachable is signalled with an infinite metric: delay 0xFFFFFFFF.

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.

What a router does when it receives a Query A decision flow. A Query for 3.3.3.0/24 arrives. First check: is there an exact match for that prefix in the topology table? If not, for example because the router only knows a summary, it replies at once that the prefix is unreachable and the query stops. If there is a match, second check: does the router still have a loop-free path, such as a feasible successor? If yes, it replies with that path and the query stops there. If not, the route goes active, the router propagates the Query to its own neighbors and the query domain grows. QUERY · 3.3.3.0/24 1 · EXACT MATCH IN TOPOLOGY? (a summary is not a match) no REPLY · UNREACHABLE infinite metric query stops here yes 2 · LOOP-FREE PATH LEFT? e.g. a feasible successor yes REPLY WITH THE PATH query stops here no GO ACTIVE · PROPAGATE QUERY · DOMAIN GROWS

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:

  1. Have a feasible successor as often as possible.
  2. 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:

  1. Raise the hold time to 600 seconds on both routers of the link you are going to "break".
  2. Create the ACL that filters only EIGRP (deny eigrp any any, permit ip any any) and apply it inbound on one of them.
  3. Open Wireshark with the eigrp filter and shutdown the loopback of the far router.
  4. Watch show ip eigrp topology on 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.

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 any and permit ip any any breaks 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

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.

Navigate