So the K values are weights for the importance of each part of igrp's
composite metric...

Example: 

metric = (K1 * BandW ) + ((k2 *bandw)/(256-load) + (k3 * delay)

This basically represents 3 vectors, Bandwidth, Load, and Delay.  k5 and k4
are used for a fourth vector, reliability, for this lets ignore them, they
are rarely used...

So on a router where the k values have not been altered:

k1 =1 k2 = 0 k3 = 1 
metric = (1 * BandW ) + ((0 *bandw)/(256-load) + (1 * delay)

because any number * 0 is 0, by default the load vector is ignored.

This means that by default igrp only pays attention to bandwidth and delay,
making the equation really

metric = 1 *BandW + 1 *Delay
or really just
metric = bandw + delay



So, if k2 =1 then igrp would look at load.  I wouldn't recommend it though,
because load changes all the time your routes would change too, it would be
very unscalable.  

If you wanted to make delay way more important than bandwidth for some
reason (high speed satellite link as backup?? )  you would change k3.  If k3
= 4 then delay would be 4 times more important in a routing decision than it
is by default.  

If you wanted to make bandwidth more important than delay you could change
the k1 value.  

the syntax is

!
eigrp x
metric 0 k1 k2 k3 k4 k5
!
note that all routers participating in eigrp x must have matching k
values...


Hope that helps..

Mike
-------------------
Mike Bernico                     [EMAIL PROTECTED]
Illinois Century Network      http://www.illinois.net
(217) 557-6555


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 11, 2002 8:18 AM
> To: [EMAIL PROTECTED]
> Subject: K values - help! [7:31631]
> 
> 
> I failed maths dismally at school now im faced with this 
> metric stuff ...
> 
> IGRP calculates the metric by adding together weighted values 
> of different
> characteristics of the link to the network in question. These values
> (bandwidth, bandwidth divided by load, and delay) are 
> weighted with the
> constants K1, K2, and K3. Here's the formula:
> 
> 
> Metric = K1 * BandW   (K2 * BandW)/(256-load)   K3*Delay 
> The default constant values are K1=K3=1 and K2=K4=K5=0, so: 
> 
> 
> Metric = BandW   Delay 
> If K5 does not equal 0, an additional operation is done: 
> 
> 
> Metric = Metric * [K5/(reliability   K4)] 
> To find BandW, find the smallest of all the bandwidths from outgoing
> interfaces and divide 10,000,000 by that number. (The 
> bandwidth is scaled by
> 10,000,000 in kilobits per second.)
> 
> ... can anyone put this into very very simple terms i don't 
> understand how
> the K values work
> 
> a prize will be awarded to the reply i understand :?\ 
> 
> TIA Dave




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=31638&t=31631
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to