Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

Changing RIP distance in EIGRP

All,

I'm playing with rip redistribution through eigrp and I'm trying to use the distance command to change AD for a single route, but it isn't working. I've tried several combinations, and it seems like the only one that works is "distance eigrp 90 119" (I'm playing with external routes overriding internally learned routes). If I try to use "distance 119 10.12.0.1 0.0.0.0 20", it doesn't modify anything. Is the distance eigrp command the only way to modify redistributed routes?

R2(config-router)#do sh run | s router eigrp

router eigrp 100

redistribute rip metric 1 1 1 1 1

network 172.24.0.0 0.0.0.255

distance 119 10.12.0.1 0.0.0.0 20

no auto-summary

R2(config-router)#do sh access-list 20

Standard IP access list 20

    10 permit 2.0.0.0, wildcard bits 0.255.255.255

R    2.0.0.0/8 [120/1] via 10.12.0.1, 00:00:13, FastEthernet0/0

Even on R4, the route is the default external eigrp AD:

D EX 2.0.0.0/8 [170/2560025856] via 172.34.0.2, 00:06:03, FastEthernet0/0

Thanks,

John

HTH, John *** Please rate all useful posts ***
2 ACCEPTED SOLUTIONS

Accepted Solutions

Changing RIP distance in EIGRP

Please check the command reference for this command:

http://www.cisco.com/en/US/docs/ios/12_0/np1/command/reference/1reigrp.html#wp1017590

There is a note stating explicitly that:

You cannot set the administrative distance in EIGRP against certain routes or sources, as you can with other protocols. The command does not work this way with EIGRP.

Perhaps not what you wanted to hear but I hope this is sufficient as an answer to your question.

regards,

Leo

Changing RIP distance in EIGRP

Yes , this is a EIGRP specific behavior.

Regards

Dan

14 REPLIES

Re: Changing RIP distance in EIGRP

Hi ,

As far as I know , you cannot change EXTERNAL eigrp route AD  per neigbor.

So the solution will be to higher the rip AD per neighbor. not the case because you are redistributing from rip but you can do this using global AD configuration and change the external AD of all eigrp external routes.

Also the distance ( AD change ) will be LOCAL only.

Dan

Changing RIP distance in EIGRP

Please check the command reference for this command:

http://www.cisco.com/en/US/docs/ios/12_0/np1/command/reference/1reigrp.html#wp1017590

There is a note stating explicitly that:

You cannot set the administrative distance in EIGRP against certain routes or sources, as you can with other protocols. The command does not work this way with EIGRP.

Perhaps not what you wanted to hear but I hope this is sufficient as an answer to your question.

regards,

Leo

Changing RIP distance in EIGRP

Thanks Leo...that's what I was seeing, I just wonder why Cisco allows for the command to be shown at all

R2(config-router)#distance ?

  <1-255>  Administrative distance

  eigrp    IP-EIGRP distance

R2(config-router)#distance 119 ?

  A.B.C.D  IP Source address

R2(config-router)#distance 119 10.12.0.1 ?

  A.B.C.D  Wildcard bits

R2(config-router)#distance 119 10.12.0.1 0.0.0.0 ?

  <1-99>       IP Standard access list number

  <1300-1999>  IP Standard expanded access list number

  WORD         Standard access-list name

 

I wonder if they were going to support it at one point (or in the future) and didn't take the command out. Either way, this is just a lab in GNS so it's not a big deal but 'good to know' information...

Thanks!

HTH, John *** Please rate all useful posts ***

Changing RIP distance in EIGRP

Hi Leo ,

As far as I know you can change the AD of certain routes (using acl) per neighbor , provided those are internal eigrp routes.

Your link si somehow old ..IOS 12.0

Regards

Dan

Changing RIP distance in EIGRP

Dan-Ciprian Cicioiu wrote:

Hi Leo ,

As far as I know you can change the AD of certain routes (using acl) per neighbor , provided those are internal eigrp routes.

Your link si somehow old ..IOS 12.0

Regards

Dan

Yes, but these are external routes. However, I checked the 12.3 version as well:

http://www.cisco.com/en/US/docs/ios/12_3/iproute/command/reference/ip2_c1g.html#wp1039273

(I hope the link works for everyone because I had to take out the section partner/ )

Here they removed the note but it is still not possible to set the AD using a route map or something like that.

regards,

Leo

Changing RIP distance in EIGRP

Hi Leo ,

Yes, I agree with the external eigrp routes. My misunderstanding was regarding your previous post :

"You cannot set the administrative distance in EIGRP against certain routes or sources, as you can with other protocols. The command does not work this way with EIGRP."

Anyway this is taken from "distance eigrp" command reference so it does not apply in this case.

Using "distance " you can change the AD of any EIGRP route , but not the external ones

Regards

Dan

Changing RIP distance in EIGRP

It looks that way too. I can create an internal route and advertise via eigrp and change that AD by source, but I can't change the externals. You can do this in ospf though (for externals).

HTH, John *** Please rate all useful posts ***

Changing RIP distance in EIGRP

Yes , this is a EIGRP specific behavior.

Regards

Dan

Changing RIP distance in EIGRP

5 points to you Dan! Thanks...now I can quit beating my head against the wall...

HTH, John *** Please rate all useful posts ***

Re: Changing RIP distance in EIGRP

My pleasure

Regards

Dan

Cisco Employee

Changing RIP distance in EIGRP

Dan,

Good one! I constantly seem to forget about this peculiarity in EIGRP...

These subtle differences in diverse routing protocols and their implementations can drive you crazy... or make you a CCIE

Best regards,

Peter

Changing RIP distance in EIGRP

Peter...believe it or not, that's what I'm studying for. My written is this weekend (If I don't reschedule!)

HTH, John *** Please rate all useful posts ***
Cisco Employee

Changing RIP distance in EIGRP

John,

Wow, then I'm pulling for you! Absolutely! But don't worry - you'll beat it.

Best regards,

Peter

Changing RIP distance in EIGRP

Thanks! I need all the support I can get

HTH, John *** Please rate all useful posts ***
768
Views
10
Helpful
14
Replies
CreatePlease to create content