1.9 Troubleshoot EIGRP in classic and named mode, globally and in a VRF

ENARSI 300-410 v1.1 · 1.0 Layer 3 Technologies

EIGRP is Cisco's advanced distance-vector protocol. It keeps a topology table of every path its neighbours report and uses DUAL to pick a loop-free successor and, when it can, a feasible successor ready for instant failover. ENARSI tests it in classic mode (router eigrp 100) and named mode (router eigrp NAME), globally and in VRFs, for IPv4 and IPv6.

What you must know

Classic and named mode, IPv4 and IPv6

ClassicNamed
Startrouter eigrp 100router eigrp CORP → address-family ipv4 unicast autonomous-system 100
Interface settingsOn the interface: ip hello-interval eigrp 100 2af-interface Gi0/0 under the address family
Redistribution, varianceUnder the processtopology base
Metric32-bit64-bit wide metric (scaled by metric rib-scale, 128, for the RIB)
IPv6ipv6 router eigrp 100 + ipv6 eigrp 100 per interfaceaddress-family ipv6 unicast autonomous-system 100: every IPv6 interface joins
VRFaddress-family ipv4 vrf RED autonomous-system 10 (classic)address-family ipv4 unicast vrf RED autonomous-system 10
router eigrp CORP
 address-family ipv4 unicast autonomous-system 100
  af-interface default
   passive-interface
  exit-af-interface
  af-interface GigabitEthernet0/0
   no passive-interface
   authentication mode hmac-sha-256 S3cr3t!
  exit-af-interface
  topology base
   variance 2
  exit-af-topology
  network 10.0.0.0
  eigrp router-id 1.1.1.1
 exit-address-family
 address-family ipv6 unicast autonomous-system 100
  eigrp router-id 1.1.1.1
 exit-address-family

IPv6 EIGRP needs a router ID (an IPv4-format number) when the router has no IPv4 address, and it forms neighbours over link-local addresses.

Neighbours and authentication

  1. Same AS number on both ends.
  2. Same K-values (metric weights 0 1 0 1 0 0 by default). A mismatch logs %DUAL-5-NBRCHANGE: … K-value mismatch.
  3. Interfaces in the same subnet (primary addresses).
  4. Not passive on the link (passive stops hellos, so no neighbour).
  5. Authentication matches: mode (MD5 in classic; MD5 or HMAC-SHA-256 in named), key chain, key ID and string. A key's accept-lifetime must be valid.
key chain EIGRP-KEYS
 key 1
  key-string Cisco123
interface GigabitEthernet0/0
 ip authentication mode eigrp 100 md5
 ip authentication key-chain eigrp 100 EIGRP-KEYS

R1# show ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(100)
H   Address         Interface    Hold Uptime   SRTT   RTO  Q  Seq
                                 (sec)         (ms)       Cnt Num
0   10.0.12.2       Gi0/0          12 00:04:31    3   100  0  21
1   10.0.13.3       Gi0/2          13 00:04:29    4   100  0  17

Loop-free paths: DUAL

For each prefix, a neighbour reports its own distance: the reported distance (RD). Your total through that neighbour is the feasible distance (FD) of that path. The best path is the successor. Another neighbour is a feasible successor if its RD is lower than the successor's FD (the feasibility condition): it cannot be routing through you, so it cannot loop.

R1# show ip eigrp topology 10.3.3.0/24
EIGRP-IPv4 Topology Entry for AS(100)/ID(1.1.1.1) for 10.3.3.0/24
  State is Passive, Query origin flag is 1, 1 Successor(s), FD is 3328
  Descriptor Blocks:
  10.0.12.2 (GigabitEthernet0/0), from 10.0.12.2, Send flag is 0x0
      Composite metric is (3328/3072), route is Internal
  10.0.13.3 (GigabitEthernet0/2), from 10.0.13.3, Send flag is 0x0
      Composite metric is (28416/2816), route is Internal

The path through R2 is the successor (1). The direct path (2) meets the feasibility condition, so if R2 fails R1 switches at once, with no query. With no feasible successor, the route goes active and R1 queries its neighbours; if a reply never comes within 3 minutes the route is stuck in active (SIA) and the neighbour that did not answer is reset. Stub routers and summaries limit how far queries travel.

Stub routers

eigrp stub optionAdvertises
(none) = connected summaryConnected and summary routes
receive-onlyNothing
static, redistributedThose route types (add connected if you want them too)
leak-map NAMEAlso the routes the map permits, from other neighbours

A stub tells its neighbours in the hello. The hub then never queries the stub, which is the main point: queries stop at the branch, and SIA in a hub-and-spoke WAN goes away. A stub also never re-advertises routes from one neighbour to another, so a stub branch with two hubs is not a transit path.

Load balancing

EIGRP installs up to 4 equal-cost paths by default (maximum-paths, up to 32). Unequal-cost balancing uses variance N: any feasible successor whose FD is below N × the successor's FD is installed too, and traffic is shared in proportion to the metrics. In the example, variance 9 installs the slow R3 path (28416 < 9 × 3328 = 29952); variance 8 does not (26624).

R1# show ip route 10.3.3.0
Routing entry for 10.3.3.0/24
  Known via "eigrp 100", distance 90, metric 3328, type internal
  * 10.0.12.2, from 10.0.12.2, 00:00:21 ago, via GigabitEthernet0/0
      Route metric is 3328, traffic share count is 120
    10.0.13.3, from 10.0.13.3, 00:00:21 ago, via GigabitEthernet0/2
      Route metric is 28416, traffic share count is 14

The composite metric

With the default K-values (K1 = K3 = 1), the classic metric is 256 × (10⁷ / slowest bandwidth in kbit/s + total delay in tens of µs). Gigabit Ethernet has 1,000,000 kbit/s and 10 µs; a loopback has 5000 µs.

Path to R3's LANBandwidth termDelay termMetric
R3 itself (RD)10⁷/10⁶ = 101 (one Gi hop)256 × 11 = 2816
R1 → R2 → R3103256 × 13 = 3328
R1 → R3, delay 100 on the link10100 + 1 = 101256 × 111 = 28416

Change paths with delay (in tens of µs), not bandwidth: delay adds up along the path and affects only EIGRP, while bandwidth is also used by QoS and OSPF. Named mode uses a 64-bit wide metric in picoseconds so 10 and 100 Gbit/s links differ; show ip route divides it by the rib-scale (128).

Commands

show ip eigrp neighbors [detail]Neighbours, hold time, uptime, stub flags.
show ip eigrp topology [all-links] [<prefix>]FD/RD per path, successors and feasible successors.
show ip eigrp interfaces [detail]EIGRP interfaces, peers, hello timers, authentication.
show ip protocolsAS, K-values, variance, maximum-paths, networks, passive interfaces.
show eigrp address-family ipv4|ipv6 neighborsNamed-mode neighbours per address family.
show ipv6 eigrp topologyIPv6 topology table (classic).

Exam traps

Check yourself

Successor FD 3328. Two other paths report RD 3000 and 3328. Which is a feasible successor?
Only RD 3000: the RD must be strictly lower than the successor's FD.
What is the classic metric for one Gigabit hop to a directly connected Gi LAN (two Gi interfaces in the path)?
256 × (10 + 2) = 3072.
Why make a branch router a stub?
The hub stops querying it, which keeps query scope small and avoids SIA; the branch is also never used as transit.
Two routers have different hello timers. Do they become neighbours?
Yes. EIGRP does not require matching timers.
Where is variance set in named mode?
Under topology base in the address family.

Labs

Try it live: EIGRP troubleshooting: adjacencies, feasible successors, stub and MD5

More topics in 1.0 Layer 3 Technologies