12-17-2009 03:33 AM - edited 03-04-2019 07:00 AM
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
12-17-2009 04:18 AM
Hello Rupesh,
>> I have to add prefix-list "irvine-routes" which should be carry lower metric to EIGRP neighbor devices.
if you want to provide a lower seed metric for this subset you need to use an higher BW parameter because EIGRP metric is inversely proportional to min BW on path.
add a line
default-metric 1544 1 255 1 1500
and rewrite the current comand as:
redistribute bgp 65461 route-map bgp-to-eigrp
if you want a better metric use:
route-map bgp-to-eigrp permit 10
match ip address prefix-list irvine-routes
set metric 4000 1 255 1 1500
Hope to help
Giuseppe
12-17-2009 04:23 AM
You mean, I have use total four lines, please confirm if my comments are correct below-
Line-1->> default-metric 1544 1 255 1 1500 ( All route will use this metric except Irvine-route)
Line-2->> redistribute bgp 65461 route-map bgp-to-eigrp
Line-3->>route-map bgp-to-eigrp permit 10
match ip address prefix-list irvine-routes
set metric 4000 1 255 1 1500 ( It will only applicable for Irvine-route)
Line-4->> route-map bgp-to-eigrp permit 20 (( All route will use this metric 1544 1 255 1 1500 except Irvine-route)
12-17-2009 04:31 AM
Hello Rupesh,
yes your understanding is correct.
Hope to help
Giuseppe
12-17-2009 04:59 AM
what about if I implement following four lines, Is it right way--
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
Line-3->>
route-map bgp-to-eigrp permit 10
match ip address prefix-list irvine-routes
set metric 4000 1 255 1 1500
Line-4- > route-map bgp-to-eigrp permit 20
12-17-2009 05:11 AM
Hello Rupesh,
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
Hope to help
Giuseppe
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