EIGRP Wide Metric
The RFC recommended way to modify a path with EIGRP is changing the delay, under the interface. This will not impact other protocols. Modifying bandwidth … affects lots of things!
This calculator uses the EIGRP values from the RFC, in table 5.6.1.2.
EIGRP named mode 64-bit wide metric calculator per RFC 7868 with correct interface delay constants
Interface
K-values
RIB metric (FD)
—
EIGRP 64-bit metric (Topology)
—
Wide Network Vectors
RFC 7868 Cisco's EIGRP May 2016
5.6.2.1. Wide Metric Vectors
EIGRP uses five "vector metrics": minimum Throughput, latency, load,
reliability, and MTU. These values are calculated from destination
to source as follows:
o Throughput - Minimum value
o Latency - accumulative
o Load - maximum
o Reliability - minimum
o MTU - minimum
o Hop count - accumulative
There are two additional values: Jitter and energy. These two values
are accumulated from destination to source:
o Jitter - accumulative
o Energy - accumulative
Wide Metric Conversion Constants
RFC 7868 Cisco's EIGRP May 2016
5.6.2.2. Wide Metric Conversion Constants
EIGRP uses a number of defined constants for conversion and
calculation of metric values. These numbers are provided here for
reference
EIGRP_BANDWIDTH 10,000,000
EIGRP_DELAY_PICO 1,000,000
EIGRP_INACCESSIBLE 0xFFFFFFFFFFFFFFFFLL
EIGRP_MAX_HOPS 100
EIGRP_CLASSIC_SCALE 256
EIGRP_WIDE_SCALE 65536
When computing the metric using the above units, all capacity
information will be normalized to kilobytes and picoseconds before
being used. For example, delay is expressed in microseconds per
kilobyte, and would be converted to kilobytes per second; likewise,
energy would be expressed in power per kilobytes per second of usage.
Throughput
RFC 7868 Cisco's EIGRP May 2016
5.6.2.3. Throughput Calculation
The formula for the conversion for Max-Throughput value directly from
the interface without consideration of congestion-based effects is as
follows:
(EIGRP_BANDWIDTH * EIGRP_WIDE_SCALE)
Max-Throughput = K1 * ------------------------------------
Interface Bandwidth (kbps)
If K2 is used, the effect of congestion as a measure of load reported
by the interface will be used to simulate the "available Throughput"
by adjusting the maximum Throughput according to the formula:
K2 * Max-Throughput
Net-Throughput = Max-Throughput + ---------------------
256 - Load
K2 has the greatest effect on the metric occurs when the load
increases beyond 90%.
Latency
RFC 7868 Cisco's EIGRP May 2016
5.6.2.4. Latency Calculation
Transmission times derived from physical interfaces MUST be n units
of picoseconds, converted to picoseconds prior to being exchanged
between neighbors, or used in the composite metric determination.
This includes delay values present in configuration-based commands
(i.e., interface delay, redistribute, default-metric, route-map,
etc.).
The delay value is then converted to a "latency" using the formula:
Delay * EIGRP_WIDE_SCALE
Latency = K3 * --------------------------
EIGRP_DELAY_PICO
Composite Calculation
RFC 7868 Cisco's EIGRP May 2016
5.6.2.5. Composite Calculation
K5
metric =[(K1*Net-Throughput) + Latency)+(K6*ExtAttr)] * ------
K4+Rel
By default, the path selection scheme used by EIGRP is a combination
of Throughput and Latency where the selection is a product of total
latency and minimum Throughput of all links along the path:
metric = (K1 * min(Throughput)) + (K3 * sum(Latency)) }
Validations
R1# show eigrp address-family ipv4 topology 2.2.2.2/32
EIGRP-IPv4 VR(EIGRP_100) Topology Entry for AS(100)/ID(1.1.1.1) for 2.2.2.2/32
State is Passive, Query origin flag is 1, 7 Successor(s), FD is 1392640, RIB is 10880
Descriptor Blocks:
10.12.1.2 (GigabitEthernet0/1), from 10.12.1.2, Send flag is 0x0
Composite metric is (1392640/163840), route is Internal
Vector metric:
Minimum bandwidth is 1000000 Kbit
Total delay is 11250000 picoseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 1
Originating router is 2.2.2.2
Validation
R1# show ip protocols | i weight
Metric weight K1=1, K2=2, K3=3, K4=4, K5=5 K6=0
R1# show ip eigrp topology 2.2.2.2/32
EIGRP-IPv4 VR(EIGRP_100) Topology Entry for AS(100)/ID(1.1.1.1) for 2.2.2.2/32
State is Passive, Query origin flag is 1, 7 Successor(s), FD is 55450, RIB is 433
Descriptor Blocks:
10.12.1.2 (GigabitEthernet0/1), from 10.12.1.2, Send flag is 0x0
Composite metric is (55450/6338), route is Internal
Vector metric:
Minimum bandwidth is 1000000 Kbit
Total delay is 11250000 picoseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 1
Originating router is 2.2.2.2
References
RFC 7868 - Cisco’s Enhanced Interior Gateway Routing Protocol (EIGRP)