Two metric in BGP into EIGRP redistribution

by Kumar on February 3, 2010

Hi, I want to redistribute BGP routes into EIGRP, but I want to segregate EIGRP metric. Below line is already configured. I have to add prefix-list “irvine-routes” which should be carry lower metric to EIGRP neighbor devices.

Please confirm what would be the effect as 1544 1 255 1 1500 is already configured in Bgp into Eigrp redistribution for all routes of bgp-to-eigrp permit 20.

router eigrp 1
redistribute bgp 65461 metric 1544 1 255 1 1500 route-map bgp-to-eigrp

route-map bgp-to-eigrp permit 10
match ip address prefix-list irvine-routes
set metric 1100 1 255 1 1500

route-map bgp-to-eigrp permit 20

{ 1 comment… read it below or add one }

arul February 3, 2010 at 2:01 am

Hello,

I cannot test this in this moment however, I don’t expect the two commands

Line-1 ->> redistribute bgp 65461 metric 1544 1 255 1 1500 route-map bgp-to-eigrp

Line-2->> redistribute bgp 65461 route-map bgp-to-eigrp

to both exist at the same time, so to be correct you need to verify with

sh run | begin router eigrp

what happens

a possible procedure could be:

no redistribute bgp 65461 metric 1544 1 255 1 1500 route-map bgp-to-eigrp

no redstribute bgp 65461

until you don’t see any redistribute command with sh run | beg router eigrp

then

default-metric 1544 1 255 1 1500

redistribute bgp 65461 route-map bgp-to-eigrp

I would update the route-map first before applying it.

if the current line is

redistribute bgp 65461 metric 1544 1 255 1 1500 route-map bgp-to-eigrp

you may just need to update the route-map and you can skip the default-metric command

if this is not a production network you can do this anytime otherwise it is wise to do it in a maintanance window

Previous post:

Next post: