04-24-2008 05:55 AM - edited 03-05-2019 10:35 PM
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
Solved! Go to Solution.
04-24-2008 06:13 AM
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,
04-24-2008 07:01 AM
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/
Kevin Dorrell
Luxembourg
04-24-2008 06:13 AM
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,
04-24-2008 07:17 AM
Hey man, hope you are very well mate. Many thx for that. beers in the post fella!!
04-24-2008 06:16 AM
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
04-24-2008 06:24 AM
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
04-24-2008 06:24 AM
Hi Mikael,
This would also be normal behavior. Otherwise, how would you remove the optional keyword from the command.
Regards,
04-24-2008 07:01 AM
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/
Kevin Dorrell
Luxembourg
04-24-2008 07:18 AM
Thx Kevin,
Yes, what a Gotcha indeed :)
Beers for you also mate,
Cheers
Ken
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide