When the Enhanced Interior Gateway Routing Protocol (EIGRP) is used as the routing protocol, metrics allow EIGRP to respond
to routing changes. The link-state metric is advertised as the link cost in the device link advertisement. The reply sent
to any routing query always contains the latest metric information. The exceptions that result in an immediate update being
sent are:
EIGRP receives dynamic raw radio-link characteristics and computes a composite EIGRP metric based on a proprietary formula.
To avoid churn in the network as a result of the change in the link characteristics, EIGRP uses a tunable dampening mechanism.
EIGRP uses the metric weights along with a set of vector metrics to compute the composite metric for local routing information
base (RIB) installation and route selections. The EIGRP composite metric is calculated using the formula:
metric
=
[K1
*
BW
+
(K2
*
BW)
/
(256
-
Load)
+
K3
*
Delay]
*
[K5
/
(Reliability
+
K4)]
If K5 = 0, the formula reduces to metric = [K1 * BW + (K2 * BW)/(256 - Load) + K3 * Delay]
Note |
Use K values only after careful planning. Mismatched K values prevent a neighbor relationship from being built, which can
cause your network to fail to converge.
|
The table below lists the EIGRP vector metrics and their descriptions.
Table 1. EIGRP Vector Metrics
Vector Metric
|
Description
|
BW
|
Minimum bandwidth of the route in kb/s. It can be 0 or any positive integer.
|
Delay
|
Route delay in tens of microseconds. It can be 0 or any positive number that is a multiple of 39.1 nanoseconds.
|
Reliability
|
Likelihood of successful packet transmission expressed as a number from 0 to 255. The value 255 means 100 percent reliability;
0 means no reliability.
|
Load
|
Effective load of the route expressed as a number from 0 to 255 (255 is 100 percent loading).
|
MTU
|
Minimum maximum transmission unit (MTU) size of the route in bytes. It can be 0 or any positive integer.
|
EIGRP monitors metric weights on an interface to allow for the tuning of EIGRP metric calculations and indicate the type
of service (ToS). The table below lists the K-values and their default.
Table 2. EIGRP K-Value Defaults
Setting
|
Default Value
|
K1
|
1
|
K2
|
0
|
K3
|
1
|
K4
|
0
|
K5
|
0
|
Most configurations use the first two metrics—delay and bandwidth. The default formula of (BW + Delay) is the EIGRP metric.
The bandwidth for the formula is scaled and inverted by this formula:
(10^7/minimum
BW
in
kilobits
per
second)
You can change the weights, but these weights must be the same on all the devices.
For example, look at an EIGRP link where the bandwidth to a particular destination is 128k and the Relative Link Quality
(RLQ) is 50 percent.
BW
=
(256
*
10000000)
/
128
=
20000000
Delay
=
(((10000000000
/
128)
*
100)
/
(50
*
1000))
*
256
=
(40000000
/
10)
=
4000000
Using the cut-down formula, the EIGRP metric calculation would simplify to 256*(BW + Delay), resulting in the following value:
Metric
=
(BW
+
Delay)
=
20000000
+
4000000
=
240000000