From point A to point B
Point A: you know the terms successor, feasible distance and reported distance by heart, but the numbers in show ip eigrp topology still look arbitrary. Point B: by the end of this chapter you will compute those numbers by hand, create a feasible successor by moving a single value, and confirm in Wireshark that, with it, EIGRP converges without asking anyone.
- The metric formula and what each K value does
- The full calculation from RT03 to 2.2.2.0/24
- What changes when the neighbor reports something else, and what does not when the change is yours
- A feasible successor created with delay, and a failure with no Query
- The K-value mismatch that brings an adjacency down
The composite metric and the K values
EIGRP measures every path with a composite metric. Its components reach DUAL through five coefficients, the K values, plus a sixth in named mode:
- K1: bandwidth. K2: load. K3: delay.
- K4 and K5: reliability.
- K6: extended attributes, jitter and energy. It only exists in named mode and is 0 today.
The MTU travels in the route's vector, but it does not enter the calculation. RFC 7868 confirms it. By default K1 and K3 are 1 and the rest are 0. With K5 at 0 the reliability term drops out and the classic formula boils down to bandwidth plus delay:
The bandwidth is the lowest on the whole path. The delay is the sum of the delays. In named mode, with wide metrics, the factor is 65,536 and delay is handled in picoseconds.
A detail Jesús stresses: the delay that counts is the one on each router's outgoing interface toward the destination, not the incoming one.
RD + local distance = CD
The exercise goes from RT03 to RT02's loopback 0, 2.2.2.0/24, over the only link between them, Gi0/0. The starting point is the topology table: it is the one that shows the reported distance and the computed distance.
RT03# show ip eigrp topology 2.2.2.0/24
! 1 successor, FD is 130816 · via 10.10.11.2 (130816/128256)
RT02# show interface loopback 0 | include delay
! BW 8000000 Kbit/sec, DLY 5000 usec
RT03# show interface GigabitEthernet0/0 | include delay
! BW 1000000 Kbit/sec, DLY 10 usec
RT03# show ip route 2.2.2.0
RT03 sees one successor with two numbers: 130,816 and 128,256. This is where they come from:
- RT02's loopback has 8,000,000 kbps and 5000 µs of delay. RT02 computes 256 × (1 + 500) = 128,256 and sends it to RT03. That is the reported distance: what the neighbor tells you. The quotient 107 / 8,000,000 is 1.25, and IOS keeps the integer part.
- RT03 adds its own outgoing interface, Gi0/0: 1,000,000 kbps and 10 µs. That is the local distance. Now the minimum bandwidth on the path is 1,000,000 kbps, which gives 10, and the delays add up to 5010 µs, that is 501 tens. 256 × (10 + 501) = 130,816. That is the computed distance and, since it is the best path, also the feasible distance you see in the routing table.
The neighbor computes the reported distance; the computed distance adds your outgoing interface. Diagram: The House of Routing.
show interface displays delay in microseconds, but the delay command is set in tens of microseconds: delay 500 is 5000 µs. bandwidth, on the other hand, is in kbps.Changing what the neighbor reports
First experiment: on RT02, the loopback goes from delay 500 to delay 200, from 5000 to 2000 µs. On RT03 the feasible distance drops to 54,016: 256 × (10 + 201). What the neighbor reports changed, so the reported distance, the computed distance and the feasible distance all change.
Second experiment: the loopback bandwidth drops from 8,000,000 to 4,000,000 kbps. After a clear ip eigrp neighbors, the reported distance becomes 51,712, but the feasible distance stays at 54,016. Why does it not move? Because the formula uses the minimum bandwidth of the path. From RT03, that minimum is still the 1 Gbps link; cutting a loopback from 8 to 4 Gbps does not change the bottleneck.
RT02(config)# interface loopback 0
RT02(config-if)# delay 200
! delay is set in tens of microseconds: 200 = 2000 usec
RT03# show ip eigrp topology 2.2.2.0/24
! FD is 54016
RT02(config-if)# bandwidth 4000000
! bandwidth is set in kbps
RT03# clear ip eigrp neighbors
RT03# show ip eigrp topology 2.2.2.0/24
! RD 51712, FD still 54016
| Change | Reported distance | Computed distance on RT03 |
|---|---|---|
| Default values | 128,256 | 130,816 |
| RT02 Lo0 with delay 200 | 51,456 | 54,016 |
| Plus bandwidth 4,000,000 | 51,712 | 54,016 |
| RT03 Gi0/0 with delay 50 | 128,256 | 143,360 |
The reported distance is almost always lower than the computed distance: you add your own segment to what the neighbor says.
The metric knobs
When people talk about changing the EIGRP metric, four commands come up:
metric weights: changes the K values. Not recommended; you will see why at the end of the chapter.ip bandwidth-percent eigrp: not recommended for this either. It actually does not touch the metric: it limits what percentage of the interface bandwidth EIGRP packets may use, 50% by default.bandwidthanddelay: the two you will actually use. With them you make the feasibility condition hold, get alternate routes and, withvariance, unequal-cost load balancing.
Keep in mind that the configured bandwidth is also read by other mechanisms, such as that 50% limit for EIGRP packets. That is why delay is usually the cleaner knob.
bandwidth and delay are informational parameters for routing protocols. A 10 Gbps interface with bandwidth 256 still transmits at 10 Gbps. To limit the real rate you use QoS: MQC, traffic shaping, priority queuing or CBWFQ.The feasible distance is a snapshot
With the original values back, Jesús now changes his own side: delay 50 on RT03's Gi0/0, 500 µs. The result is surprising:
! back to the defaults on RT02 Lo0 (bandwidth 8000000, delay 500)
RT03(config)# interface GigabitEthernet0/0
RT03(config-if)# delay 50
RT03(config-if)# do show interface GigabitEthernet0/0 | include delay
! DLY 500 usec
RT03(config-if)# do show ip eigrp topology 2.2.2.0/24
! FD is still 130816 (passive), path 143360/128256
RT03(config-if)# do show ip route 2.2.2.0
! metric 143360
RT03# clear ip eigrp neighbors
! now FD = 143360
The computed distance rises to 143,360 and the routing table shows 143,360. But the topology table still says FD is 130,816. The route is passive and the successor did not change.
In class, Jesús explains it with the flow PDM → topology table → DUAL: the feasible distance is a "snapshot" of the computed distance. It is not a bug: it is what RFC 7868 defines. The feasible distance is the lowest known metric to the destination since the last time the route went from active to passive. It is not necessarily the metric of the current best path.
- If the metric goes down, the FD drops at once. That is why the delay 200 experiment took it to 54,016.
- If the metric goes up and the successor still meets the condition, the route does not go active and the FD stays where it was.
That historical value is exactly what protects the feasibility condition: you use it to compare any alternative against the best you have seen. With clear ip eigrp neighbors the routes are learned again and the FD takes the current value, 143,360.
The FD keeps the best metric since the last transition from active to passive. Diagram: The House of Routing.
A second link and the feasible successor
Alternatives need another path. Jesús connects RT02 and RT03 through their Gi0/3 interfaces, on 192.168.1.0/24. On RT02 he advertises the network with a wildcard and on RT03 with a mask: EIGRP accepts both.
RT02(config)# interface GigabitEthernet0/3
RT02(config-if)# description Link to RT03 Gi0/3
RT02(config-if)# ip address 192.168.1.2 255.255.255.0
RT02(config-if)# no shutdown
RT02(config-if)# router eigrp 10
RT02(config-router)# network 192.168.1.0 0.0.0.255
RT03(config)# router eigrp 10
RT03(config-router)# network 192.168.1.0 255.255.255.0
RT03(config-router)# interface GigabitEthernet0/3
RT03(config-if)# description Link to RT02 Gi0/3
RT03(config-if)# ip address 192.168.1.3 255.255.255.0
RT03(config-if)# no shutdown
RT03(config-if)# do show ip eigrp neighbors
! neighbors 10.10.11.2 (Gi0/0) and 192.168.1.2 (Gi0/3)
And always use description: SNMP monitoring collects it, and a thousand undescribed interfaces are a thousand unknowns.
With the adjacency up on both links, the route to 2.2.2.0/24 moves to Gi0/3 on its own. Gi0/0 still has 500 µs of delay; Gi0/3 has the default 10 µs. In the topology table:
- Successor through 192.168.1.2: 130,816 / 128,256. The FD goes back to 130,816, because the metric went down.
- Through 10.10.11.2: 143,360 / 128,256. Its reported distance, 128,256, is strictly lower than the FD, 130,816. It meets the feasibility condition: it is a loop-free path and becomes the feasible successor.
The Gi0/0 path costs more, but its RD is lower than the FD: it stays ready as a backup. Diagram: The House of Routing.
And if Gi0/3 also gets delay 50? Both routes land on 143,360 and the table shows two successors with administrative distance 90: equal-cost load balancing. With delay 1 the successor and feasible successor pair returns, now for almost every route.
RT03# show ip eigrp topology 2.2.2.0/24
! via 192.168.1.2 (130816/128256) successor
! via 10.10.11.2 (143360/128256) feasible successor
RT03(config)# interface GigabitEthernet0/3
RT03(config-if)# delay 50
RT03(config-if)# do show ip route
! D 2.2.2.0 [90/143360] via 192.168.1.2 and [90/143360] via 10.10.11.2
RT03(config-if)# delay 1
! back to 10 usec: one successor and one feasible successor again
show ip eigrp topology lists only successors and feasible successors. To also see paths that fail the condition, use show ip eigrp topology all-links.Convergence without Query in Wireshark
With no guaranteed alternative, a router that loses its successor puts the route in active state and sends Query packets. With a feasible successor, it installs it and asks nothing.
Jesús opens Wireshark on RT03 with the eigrp filter. First he shuts down his loopbacks to clean up the capture, and that already gives a contrast: each loopback that goes down triggers Query, Hello and Reply, because there is no other route to a connected network. Three routers are enough to see all of DUAL's mechanics.
Then, the key moment: shutdown on Gi0/3, the successor's interface.
! Wireshark on RT03, display filter: eigrp
RT03(config)# interface GigabitEthernet0/3
RT03(config-if)# shutdown
! no Query: 2.2.2.0/24 moves to the feasible successor at once
RT03(config-if)# do show ip route
! D 2.2.2.0 [90/143360] via 10.10.11.2
RT03(config-if)# no shutdown
! only Update packets, each one acknowledged
Wireshark stays silent: not a single Query. The route to 2.2.2.0/24 moves to 10.10.11.2 with metric 143,360 immediately. That is EIGRP's sub-second convergence, and its requirement is having the feasible successor computed before the failure.
On no shutdown there is no Query either: only Update packets. The capture shows RTP reliability: each Update carries a sequence number and the neighbor acknowledges it with a Hello that carries that same number in its acknowledgment field.
K-value mismatch live
To close, Jesús does what he recommends not doing: touching the K values. On RT03, show ip protocols shows the defaults: K1=1, K2=0, K3=1, K4=0, K5=0. The first number of metric weights is the Type of Service, which is always 0.
RT03(config)# router eigrp 10
RT03(config-router)# do show ip protocols
! Metric weight K1=1, K2=0, K3=1, K4=0, K5=0
RT03(config-router)# metric weights 0 1 1 1 1 1
! neighbors go down: K-value mismatch
RT03(config-router)# metric weights 0 1 0 1 0 0
! defaults again (TOS 0, K1 1, K2 0, K3 1, K4 0, K5 0): neighbors come back
With every K value turned on, the adjacency drops: K-value mismatch. K values travel in Hello packets and must match on both ends; otherwise there is no neighborship. If you ever had to change them on 100 routers, do it with a Python script. But why would you, if the defaults work?
Once they go back to 0 1 0 1 0 0, the adjacency returns. For the certification exam, you do need to know what each K value means, which ones are on by default and which command changes them, even if you never do it in production.
Class videos
These are the five videos from the 2nd EIGRP Marathon covered in this chapter. They were recorded live with Cisco routers in GNS3 and Wireshark; the audio is in Spanish, with subtitles in Spanish, English, French and Portuguese.
- Day 2 · Part 9Metrics lab: reported distance, computed distance and feasible distanceWatch video
- Day 2 · Part 1Computed distance versus feasible distance when you change the local delayWatch video
- Day 2 · Part 1Second RT02–RT03 link: feasibility condition, feasible successor and ECMPWatch video
- Day 2 · Part 1Feasible successor in action: convergence without Query in WiresharkWatch video
- Day 2 · Part 1Reliable Updates and K values: a live K-value mismatchWatch video
Recorded live; Spanish audio with Spanish, English, French and Portuguese subtitles. When you play it, the video loads from YouTube. Day 2 playlist on YouTube
Test what you learned
1. A neighbor reports 128,256 and your outgoing interface is Gigabit with 10 µs of delay. The slowest segment is your 1 Gbps link. What is your computed distance?
Answer. 130,816. The minimum bandwidth of 1,000,000 kbps gives 10 and the delays add up to 501 tens: 256 × (10 + 501).
2. You lower the neighbor's loopback bandwidth from 8 to 4 Gbps and your feasible distance does not change. Why?
Answer. The metric uses the minimum bandwidth of the whole path. Your 1 Gbps link is still the bottleneck, so the bandwidth term does not change. The neighbor's reported distance does go up.
3. You raise the delay on your interface and the routing table shows 143,360, but the topology table says FD is 130,816. Is it an error?
Answer. No. According to RFC 7868, the FD is the lowest known metric since the last transition from active to passive. If the metric goes up without the route going active, the FD keeps its previous value.
4. Successor with FD 130,816 and another path with CD 143,360 and RD 128,256. Is it a feasible successor?
Answer. Yes. The condition compares the other path's RD with your FD: 128,256 is lower than 130,816. Its higher CD does not matter for the feasibility condition.
5. You change metric weights on a router and its neighbor drops. What happened and how do you fix it?
Answer. K values travel in the Hello and must match: there is a K-value mismatch. Go back to the defaults with metric weights 0 1 0 1 0 0, or apply the same values on every router.
What you take away
- Classic metric: 256 × (107 / minimum bandwidth in kbps + sum of delays in tens of µs). In named mode, 65,536 and picoseconds.
- By default K1 = K3 = 1 and the rest are 0. The MTU is not part of the metric.
- Computed distance = the neighbor's reported distance + your local distance; the delay that counts is the outgoing interface's.
- To influence the metric, use delay or bandwidth; neither changes the real speed of the interface.
- The FD is the best metric since the last transition from active to passive: it can be lower than the current metric.
- Feasibility condition: the alternate path's RD strictly lower than the FD. If it holds, you have a feasible successor and convergence without Query.
- K values must match between neighbors; otherwise, K-value mismatch and no adjacency.
Official resources
- Cisco · IP Routing: EIGRP Configuration Guide · EIGRP Cost Metrics and Mismatched K Valuescisco.com
- Cisco · IP Routing: EIGRP Configuration Guide · EIGRP Wide Metricscisco.com
- Cisco · Understand and Use the Enhanced Interior Gateway Routing Protocolcisco.com
- Cisco IOS IP Routing: EIGRP Command Reference · ip bandwidth-percent eigrp, metric weightscisco.com
- Cisco IOS IP Routing: EIGRP Command Reference · show ip eigrp topologycisco.com
- Cisco IOS Interface and Hardware Component Command Reference · bandwidthcisco.com
- RFC 7868 · Cisco's Enhanced Interior Gateway Routing Protocol (EIGRP)rfc-editor.org
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 Cisco's official documentation and IETF RFC 7868.