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
- Configure classic and named mode, and IPv4 and IPv6 address families, in the global table and in a VRF.
- Fix adjacency faults: AS number, K-values, subnet, authentication, passive interfaces.
- Apply the feasibility condition to find successors and feasible successors from
show ip eigrp topology. - Configure stub routers and know what each stub option advertises.
- Load-balance with
maximum-pathsandvariance. - Calculate the classic composite metric from bandwidth and delay.
Classic and named mode, IPv4 and IPv6
| Classic | Named | |
|---|---|---|
| Start | router eigrp 100 | router eigrp CORP → address-family ipv4 unicast autonomous-system 100 |
| Interface settings | On the interface: ip hello-interval eigrp 100 2 | af-interface Gi0/0 under the address family |
| Redistribution, variance | Under the process | topology base |
| Metric | 32-bit | 64-bit wide metric (scaled by metric rib-scale, 128, for the RIB) |
| IPv6 | ipv6 router eigrp 100 + ipv6 eigrp 100 per interface | address-family ipv6 unicast autonomous-system 100: every IPv6 interface joins |
| VRF | address-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-familyIPv6 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
- Same AS number on both ends.
- Same K-values (
metric weights 0 1 0 1 0 0by default). A mismatch logs%DUAL-5-NBRCHANGE: … K-value mismatch. - Interfaces in the same subnet (primary addresses).
- Not passive on the link (passive stops hellos, so no neighbour).
- Authentication matches: mode (MD5 in classic; MD5 or HMAC-SHA-256 in named), key chain, key ID and string. A key's
accept-lifetimemust 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 17Loop-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 InternalThe 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 option | Advertises |
|---|---|
(none) = connected summary | Connected and summary routes |
receive-only | Nothing |
static, redistributed | Those route types (add connected if you want them too) |
leak-map NAME | Also 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 14The 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 LAN | Bandwidth term | Delay term | Metric |
|---|---|---|---|
| R3 itself (RD) | 10⁷/10⁶ = 10 | 1 (one Gi hop) | 256 × 11 = 2816 |
| R1 → R2 → R3 | 10 | 3 | 256 × 13 = 3328 |
R1 → R3, delay 100 on the link | 10 | 100 + 1 = 101 | 256 × 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 protocols | AS, K-values, variance, maximum-paths, networks, passive interfaces. |
show eigrp address-family ipv4|ipv6 neighbors | Named-mode neighbours per address family. |
show ipv6 eigrp topology | IPv6 topology table (classic). |
Exam traps
- K-values must match; hello and hold timers need not.
- A path whose RD equals the successor's FD is not a feasible successor.
- Variance only uses feasible successors.
- Classic IPv6 EIGRP needs
ipv6 eigrp <as>on each interface and a router ID; named mode enables every IPv6 interface. passive-interfacestops hellos, so no neighbour forms, but the subnet is still advertised.- A stub router does not pass routes between its neighbours.
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
varianceset in named mode? - Under
topology basein the address family.
Labs
- EIGRP troubleshooting: adjacencies, feasible successors, stub and MD5
- EIGRP named mode: address families, HMAC-SHA-256, summaries and a VRF
- EIGRP for IPv6: a missing router ID, named mode, and a summary
Try it live: EIGRP troubleshooting: adjacencies, feasible successors, stub and MD5
More topics in 1.0 Layer 3 Technologies
- 1.2 Troubleshoot route maps in any routing protocol: attributes, tags and filters
- 1.3 Troubleshoot routing loop prevention: filters, tags, split horizon and poisoned routes
- 1.4 Troubleshoot redistribution between routing protocols and other route sources
- 1.5 Troubleshoot manual and automatic route summarization
- 1.6 Configure and verify policy-based routing
- 1.7 Configure and verify VRF-Lite
- 1.8 Describe how Bidirectional Forwarding Detection works
- 1.11 Troubleshoot internal and external BGP, globally and in a VRF