cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3162
Views
0
Helpful
5
Replies

Two metric in BGP into EIGRP redistribution

Rupesh Kashyap
Level 1
Level 1

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

5 Replies 5

Giuseppe Larosa
Hall of Fame
Hall of Fame

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

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)

Hello Rupesh,

yes your understanding is correct.

Hope to help

Giuseppe

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

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

Review Cisco Networking products for a $25 gift card