cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2617
Views
15
Helpful
10
Replies

K-Value

alsayed
Level 1
Level 1

Hi

i Have R1 CONNECTED TO R2.EIGRP 2 Runs BETWEEN These 2 routers.but the routes r unstable from R2.I Receive K-Value Mismatch.how can i find out the VALue on r2.btw i dont have access to R2.How to fix this problem fom my side?

pls post a link likes this issues

Thanks

10 Replies 10

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Ali,

on your side try to use

term mon

debug ip eigrp packets

Hope to help

Giuseppe

can u post a link for me

thanks

Ali

Actually it is most likely not an issue with the K values on R2 (which are most likely set to default values) but is an issue of mismatched versions of IOS between R2 and R1. In more recent versions of IOS (which is probably running on R2) if EIGRP is going to tear down the neighbor relationship (missed hello messages are a frequent cause) it will send a "goodby" message to its neighbor. And in the goodby message the K values are set to 255. If the neighbor receives the goodby message but is running older code (which is probably the case on R1) then it generates an error message about mismatched K value.

The easy solution is to get compatible versions of code on each neighbor (either they both understand the goodby message or neither understands the goodby message). The better long term solution is to figure why the neighbor is dropping the EIGRP neighbor session.

HTH

Rick

HTH

Rick

rick

as I Mentioned on my POST.i dont have access to ther neighbors Routers..But on otherer side they add the command i think weigh metric under the eigrp procees.wich debug its powerfull to get the valus(TOS) aDDES THERE.BTY I HAVE USED ALL DEBUGS RELEATED TO EIGRP

10XS

Hello Ali,

if the interface is a LAN interface you can think to insert a switch configure SPAN and have packets replicated to a sniffer.

otherwise you can try to change the weights on your side

router eigrp ASN

metric weights tos k1 k2 k3 k4 k5

default values are:

1 0 1 0 0

The command defaults to a setting of 0 1 0 1 0 0,

meaning that only bandwidth and delay are used to calculate the metric. (The examples in this

chapter usually use the settings 0 0 0 1 0 0, which removes bandwidth from the calculation and

makes the metrics in the examples a little more obvious.)

you could try to use a brute force attack using all 32 values using 1 or 0 for each weight.

but the k values can be set to values bigger then 1 so this approach is not viable.

Actually, I think you are right I didn't found an example of an eigrp debug that shows this info

I was looking at the debug command reference

http://www.cisco.com/en/US/docs/ios/debug/command/reference/db_d1.html#wp1016074

try to use

debug eigrp packet hello verbose

it should provide more info on the packets notice the missing ip keyword.

Hope to help

Giuseppe

rick

how can i find/set the value on my side according to the other side?

Ali

In your original post you described the problem as the routers being unstable. That implies that they form a neighbor relationship and process successfully for a while and then break the neighbor relationship. Is that correct?

If there really were a mismatch in K values and it would need change in the K values on your side then the routers would not form a neighbor relationship at all.

If you are really concerned about this issue then I suggest that you plan to upgrade the code on your router to a more recent version. I believe that this will resolve your issue.

HTH

Rick

HTH

Rick

HI

if i want to find the value of K1 K2 K3 K4 K5 Assigned to R2.wich debug do i need use.i used all debugs but i failed to find out these value

thanks

Is there any kind of work around? Right now upgrading the IOS isn't an option. Im running a 3745 thats eight years old and a 3845 thats running an IOS thats a year old.

Thanks.

Alton

Alton

As I suggested to Ali there are 2 parts to this issue:

1) mismatch in versions leads to different behaviors about the Goodby message

2) something is causing the router with the newer code to drop the neighbor relationship.

I do not believe that there is any workaround for 1) other than code upgrade/downgrade.

If you can address the issue that is causing the neighbor relationship to drop then it is a workaround for 2)

HTH

Rick

HTH

Rick
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: