NET · Series · EIGRP, in context · Part 2 of 3

EIGRP in the enterprise: feasible successor, variance, stub and its limits

Why EIGRP still appeals to corporate networks: convergence with a feasible successor, unequal-cost load balancing with variance, per-interface summarization, stub routing for hub-and-spoke and DMVPN, named mode and HMAC-SHA-256 authentication. And its limits: SIA, a single vendor and flat design.

Enterprise EIGRP network with a hub and branches: successor, feasible successor and stub routers
Illustration: The House of Routing

Your company has a campus, a couple of data centers and dozens of branches hanging off a hub. You need an IGP that converges fast, that uses the backup link even when it is slower, and that doesn’t wobble every time a branch flaps. That is where EIGRP earned its place in many corporate networks built on Cisco gear.

This is part 2 of the series “EIGRP, in context.” We go from point A, an EIGRP configured with a couple of network statements “because it works,” to point B: knowing which attributes make it attractive, how to use them on purpose and which limits you must design for from day one. I verified every behavior in RFC 7868 and in Cisco’s documentation.

Why does EIGRP converge without recalculating?

The engine behind EIGRP is DUAL, and RFC 7868 sums it up in one idea: if the router already has a loop-free backup path, it uses it and avoids any unnecessary recalculation.

Its topology table revolves around four terms you will see at the console:

  • Feasible distance (FD): the router’s best metric to a destination.
  • Reported distance (RD): the metric the neighbor advertises, that is, the neighbor’s own distance to the destination.
  • Successor: the neighbor on the best path; that is the route that goes into the routing table.
  • Feasible successor: a neighbor that meets the feasibility condition: its RD is lower than the router’s FD.

RFC 7868 is categorical: every path that meets the feasibility condition is guaranteed to be loop free. So when the successor becomes unreachable, a feasible successor can take its place right away. The router asks no one: the route stays passive, and if a neighbor sends it a Query for that destination, it answers with a Reply and does not propagate it.

If there is no feasible successor, the route goes active and the router sends Queries to its neighbors. That is where EIGRP gets expensive. So the first design question is: which critical destinations have a feasible successor? show ip eigrp topology tells you today, not during the outage.

How do you use unequal-cost links?

By default, EIGRP load-balances only across equal-cost paths. With variance it goes further: the router includes routes whose metric is less than n times the minimum metric to that destination. According to Cisco, n ranges from 1 to 128, and the default, 1, means equal-cost load balancing.

There is a rule many people forget: if a path is not a feasible successor, it is not used for load balancing, even when its metric falls within the range. The feasibility condition protects you from loops here too.

A case from Cisco’s documentation

Router E has three paths to network X, and you configure variance 2:

PathMetricUsed with variance 2?
E-C-A20Yes: it is the successor (FD = 20)
E-B-A30Yes: 30 is less than 2 × 20 = 40, and B is a feasible successor
E-D-A45No: 45 exceeds 40, and D is not a feasible successor either (its RD of 25 is greater than the FD of 20)

With traffic-share balanced, the default behavior, the router splits traffic in proportion to the metrics, rounding down. And don’t mix up the commands: variance decides which routes qualify; maximum-paths sets how many it can use at most.

In the enterprise, a branch with a primary link and a slower backup link can use both, instead of paying for a link that just waits for a failure.

Why does summarizing on any interface matter?

EIGRP has no areas. You build its hierarchy yourself with summarization and filtering. RFC 7868 puts it this way: hiding routes through aggregation or filtering lets you create effective failure domains within a single autonomous system.

The practical advantage is that you summarize per interface, wherever you need it, not only at an area border. In classic mode you use ip summary-address eigrp on the interface; in named mode, summary-address under af-interface. According to Cisco’s guide:

  • The summary is advertised with a metric equal to the minimum metric of the specific routes it covers.
  • The router installs a discard route to Null0; for a default-route summary, Cisco documents an administrative distance of 5.
  • If you give it a higher administrative distance (Cisco uses 250 in its example), you get a floating summary: the learned default route wins over the local discard route.

The biggest benefit doesn’t show in the routing table: according to Cisco, a router without that route in its topology table immediately answers the Query with “unreachable.” If nobody behind the summary knows the specific route, the Query dies there. That is why summarization limits the reach of Queries.

What does stub routing solve in hub-and-spoke and DMVPN?

Picture a hub with 100 branches. One branch’s LAN goes down, the hub has no feasible successor, and it asks every other branch for another path. None of them knows one: each has a single link to the hub. Cisco’s white paper “EIGRP Stub Router Functionality” describes this problem: with 100 or more spokes, Queries and Replies can flood the network.

The fix arrived with Cisco IOS 12.0(7)T: eigrp stub.

  • The spoke declares itself a stub with a new TLV in the Hello.
  • The hub detects that TLV and does not send it Queries.
  • The stub advertises only a limited set of routes and carries no transit traffic.
  • The options are connected, static, summary, redistributed and receive-only; the last one can’t be combined with the others.
  • You configure only the spokes; the hub needs nothing.

Two operational details. Ivan Pepelnjak points out that the stub status travels in the Hello, so changing it resets the adjacency. And Cisco warns that stub doesn’t stop the hub from advertising all of its routes to the spoke: for that, you summarize or filter on the hub.

What about DMVPN?

DMVPN is also hub-and-spoke, this time over tunnels, so stub spokes fit well. But DMVPN Phase 2 has traps that Pepelnjak documents: on the hub you must disable split horizon and next-hop processing, and you must not summarize on the hub, because the summary hides the other spoke’s next hop and prevents spoke-to-spoke tunnels. Summarizing on the spokes is fine.

Is it as simple to configure as people say?

To get started, yes: one process, a few network statements and the neighbors come up. Named mode, which Cisco lists for IOS 15.0(1)M, 12.2(33)SRE and IOS XE 2.5, adds order:

  • A single instance for IPv4 and IPv6, with address-family; classic mode needs separate instances.
  • Everything in one place: what used to go on each interface (authentication, split horizon, summary-address) lives under af-interface; what acts on the topology table (redistribution, distance, variance) lives under topology base.
  • Wide metrics: 64-bit metrics work only in named mode and support interfaces up to about 4.2 terabits per second.
  • Migration without an outage: according to Cisco, eigrp upgrade-cli converts the classic configuration to named mode without affecting established peerings.

Simple doesn’t mean rule-free. By default, EIGRP uses at most 50 % of the link bandwidth for its packets, and it paces itself with the bandwidth value. That is why Cisco insists: configure the real bandwidth and never use bandwidth to influence path selection. That is what delay is for.

How do you protect your neighborships?

A router that peers with anyone accepts routes from anyone. EIGRP authenticates its packets with a digest in every message, and RFC 7868 defines two authentication types: MD5 and SHA2.

In Cisco’s guide, classic mode is configured per interface with ip authentication mode eigrp, MD5 and a key chain. In named mode, under af-interface, you choose authentication mode md5 or authentication mode hmac-sha-256. If your devices support it, choose HMAC-SHA-256.

With key chains you define several keys with send and accept lifetimes, so you can plan the rotation.

What are its limits?

Stuck in Active (SIA)

When a route is active, the router waits for Replies from all its neighbors. Cisco describes SIA this way: a router did not receive a reply to a Query from one or more neighbors within the allotted time, about 3 minutes. RFC 7868 adds the current mechanism: at half that time (90 seconds by default) the router sends an SIA-Query, the neighbor answers with an SIA-Reply if it is still working on the route, and Cisco limits those exchanges to three. If the neighbor doesn’t answer, Cisco resets the adjacency, and every route learned through that neighbor has to reconverge.

Among the causes, Cisco lists flapping interfaces, congested links and a misconfigured bandwidth. The defense is design: feasible successors, summarization, filtering and stubs to bound the Queries. When you hit an SIA, start with show ip eigrp topology active.

Vendor dependence

EIGRP was born at Cisco. RFC 7868, from May 2016, documents the protocol, but it is an informational RFC published through the independent stream: the document itself states that it is not an IETF Standards Track specification. Before you choose it, check which devices in your network, today’s and tomorrow’s, support it.

Flat design

With no areas, nothing forces you to design a hierarchy. That is both its comfort and its risk: an EIGRP that grew without summarization or stubs becomes a single Query domain, and a failure at one edge can trigger Queries across the whole network. Pepelnjak sums it up: SIA events are a major cause of outages in poorly designed EIGRP networks.

When does EIGRP make sense in your company?

Ask yourself these four questions before you decide:

  1. Is your network Cisco end to end, and will it stay that way for the next few years?
  2. Do you have hub-and-spoke or DMVPN topologies where stub and summarization can bound the Queries?
  3. Do you have backup links of different capacity that you want to use with variance?
  4. Can your team read the topology table and troubleshoot an SIA?

If the answer is yes, EIGRP is a solid option. If you hesitate on the first one, read part 3 first. An AI can suggest where to summarize or which spokes to make stubs. AI proposes; you decide.

I took these attributes to the console live in 2022, on my path to the CCIE Enterprise Infrastructure; the 1st EIGRP Marathon was on January 22. If you want to see them with debugs, I’ll tell you where below.

What you take away

  • EIGRP converges without recalculating when it has a feasible successor: a neighbor whose reported distance is lower than your feasible distance, and therefore guaranteed loop free.
  • With variance you load-balance across unequal-cost paths, but only among feasible successors.
  • You summarize on the interface you choose and, with stub routing on the spokes, the hub stops sending them Queries: that is how you bound the Query domain in hub-and-spoke and DMVPN.
  • Named mode puts the configuration in a single instance, brings 64-bit wide metrics and offers HMAC-SHA-256 authentication.
  • Its limits are about design and ecosystem: SIA in flat networks without summarization or stubs, and an informational RFC 7868, not an IETF standard.

In the next part, the last one in the series: EIGRP versus OSPF and IS-IS. Why Internet service providers prefer IS-IS or OSPF in their core, and when EIGRP is still the best option. And we close with the invitation to the EIGRP Masterclass.

Take the design to the console

In the THoR EIGRP Masterclass, recorded live on Cisco routers, you take all of this to the console. The 1st EIGRP Marathon took place on January 22, 2022, followed by a second session. It covers the core concepts (DUAL, successor and feasible successor, FD, RD and the feasibility condition, RTP and PDM), classic mode and named mode, states and packets (passive, active, SIA, Hello, Update, Query, Reply and ACK), timers, MD5 and SHA-256 authentication, the composite metric with K values, ECMP and unequal-cost load balancing with variance, summarization, the default route and stub routing, plus debugging and troubleshooting.

Every topic comes with free readings: the first one is open to everyone, and you unlock the rest with a free sign-up.

Would you rather get the guide “The 100 EIGRP commands” in your inbox? Send EIGRP to @thehouseofrouting on Instagram (as a comment or a direct message) and we’ll email it to you.

Download the free PDF guide “The 100 EIGRP commands”. Cisco IOS commands to configure, verify and troubleshoot EIGRP in classic mode and named mode, with the IOS mode for each one.

Download the free PDF

Go to the EIGRP Masterclass

Sources

Text by Jesús Espinoza, prepared with AI assistance and reviewed by him. Original illustration by The House of Routing.

↑ Start of the article