cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1792
Views
0
Helpful
7
Replies

Removing EIGRP Redistribution with Route-map - Have to enter command TWICE

kfarrington
Level 3
Level 3

Guys,

Has anyone ever seen that when you have the following commands :-

!

router bgp X

!

address-family ipv4

redistribute eigrp Y route-map eigrp-to-bgp

or

router eigrp Y

redistribute bgp X metric 10000 100 255 1 1500 route-map bgp-to-eigrp

==============================================

when you issue say for example (for removal)

router eigrp Y

NO redistribute bgp X metric 10000 100 255 1 1500 route-map bgp-to-eigrp

you are still left with redistribution in the config - ie

router eigrp Y

redistribute bgp X

Is this a feature or a bug?

Many thx indeed,

Ken

2 Accepted Solutions

Accepted Solutions

Harold Ritter
Level 12
Level 12

Hi Ken,

Long time no speak.

This is actually normal behavior as "no redistribute bgp X metric 10000 100 255 1 1500 route-map bgp-to-eigrp" removes the metric and route-map keyword from the command.

If you want to remove the redistribution command completely, you need to use "no redistribute bgp X".

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post

Kevin Dorrell
Level 10
Level 10

Hi Ken,

This is one of the "Gotchas" on the list I am compiling in my blog. Item #2 in the "Route redistribution" section:

http://dorreke.wordpress.com/ios-gotchas/

http://dorreke.wordpress.com/2008/03/13/ios-gotcha-no-redistribute-eigrp-12-subnets-route-map-eigrp-ospf/

Kevin Dorrell

Luxembourg

View solution in original post

7 Replies 7

Harold Ritter
Level 12
Level 12

Hi Ken,

Long time no speak.

This is actually normal behavior as "no redistribute bgp X metric 10000 100 255 1 1500 route-map bgp-to-eigrp" removes the metric and route-map keyword from the command.

If you want to remove the redistribution command completely, you need to use "no redistribute bgp X".

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Hey man, hope you are very well mate. Many thx for that. beers in the post fella!!

mlund
Level 7
Level 7

Hi

I think it's a "feature", it's the same with other commands, like

standby preemp delay xx

if you do

no standby preemp delay xx

you will be left with

standby preemp

if you want to get it removed the first time just omit the unnecessary part.

I think it's a little bit anoying, but there can be situations where you want to keep the redistribute entry, and just want to edit the metric.

/Mikael

Many thx for the input :)

Would be good for someone from Cisco to let us know if this is documented anywhere, or if it is a feature for routing.

Just need to advise my team of this feature (or maybe a bug)

Many thx and kind regards,

Ken

Hi Mikael,

This would also be normal behavior. Otherwise, how would you remove the optional keyword from the command.

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Kevin Dorrell
Level 10
Level 10

Hi Ken,

This is one of the "Gotchas" on the list I am compiling in my blog. Item #2 in the "Route redistribution" section:

http://dorreke.wordpress.com/ios-gotchas/

http://dorreke.wordpress.com/2008/03/13/ios-gotcha-no-redistribute-eigrp-12-subnets-route-map-eigrp-ospf/

Kevin Dorrell

Luxembourg

Thx Kevin,

Yes, what a Gotcha indeed :)

Beers for you also mate,

Cheers

Ken

Review Cisco Networking for a $25 gift card