EIGRP K Values Configuration

EIGRP is able to use the bandwidth, delay, load, reliability and MTU as input for its metric calculation. The metric is calculated using some weighting constants called the K values.

By default only bandwidth and delay are used for the metric calculation and Cisco recommends not to use load and reliability. The bandwidth and delay are both static values while load and reliability are dynamic, they change all the time.

For labs it might be useful to disable bandwidth as it simplifies the metric calculation. By default, EIGRP will use the lowest bandwidth in the path while the delays of all interfaces in the path are accumulated.

The formula to calculate the metric is quite complicated as I explained here. In this lesson we’ll take a look how we can configure these K values. This is the topology I will use:

R1 R2 FastEthernet

Let’s start by enabling EIGRP:

R1 & R2#
(config)#router eigrp 12

With the default configuration EIGRP will use these K values:

R1#show ip protocols | include K   
  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0

K1 and K3 are set to one, with these two enabled the routers will include bandwidth and delay in the metric calculation. Let’s change the K values so that our router will only use K3:

R1(config)#router eigrp 12
R1(config-router)#metric weights ? 
  <0-8>  Type Of Service (Only TOS 0 supported)

We use the metric weights command to change the K values. The first value is for the TOS byte but as you can see it only supports a value of 0. The next values are for the actual K values:

R1(config-router)#metric weights 0 ?
  <0-255>  K1

This one is for K1, let’s set it to zero. If you increase the weight here then bandwidth will be more of an influence for the metric calculation. Let’s continue:

R1(config-router)#metric weights 0 0 ?
  <0-255>  K2

K2 is disabled by default so let’s keep it that way:

R1(config-router)#metric weights 0 0 0 ?
  <0-255>  K3

K3 is enabled by default, let’s keep it enabled:

R1(config-router)#metric weights 0 0 0 1 ?
  <0-255>  K4

K4 is also disabled by default, let’s keep it disabled. Last but not least is K5:

R1(config-router)#metric weights 0 0 0 1 0 ?
  <0-255>  K5

This one refers to the MTU which isn’t really used in the metric calculation. Our final command will be:

R1(config-router)#metric weights 0 0 0 1 0 0

As soon as you change the weight values you will see this on your console:

We're Sorry, Full Content Access is for Members Only...

If you like to keep on reading, Become a Member Now! Here is why:

  • Learn any CCNA, CCNP and CCIE R&S Topic. Explained As Simple As Possible.
  • Try for Just $1. The Best Dollar You've Ever Spent on Your Cisco Career!
  • Full Access to our 662 Lessons. More Lessons Added Every Week!
  • Content created by Rene Molenaar (CCIE #41726)

501 Sign Ups in the last 30 days

100% Satisfaction Guaranteed!
You may cancel your monthly membership at any time.
No Questions Asked!

Forum Replies

  1. ... Continue reading in our forum

  2. Hello Quinton

    The feasible distance is the overall metric of the best route to a specific destination from the point of view of a particular router.

    Take a look at this Cisco documentation that explains feasible distance, reported distance and feasible successor quite well. You may find it useful.

    ... Continue reading in our forum

  3. Nice explanation Lazaros thank you very much.

  4. @ReneMolenaar

    It looks like the formatting on the first 2 code boxes of this lesson are misaligned.


  5. Thanks Laz - just knowing that it doesn’t really relate to anything specific is good.

33 more replies! Ask a question or join the discussion by visiting our Community Forum