Two metric in BGP into EIGRP redistribution

Unanswered Question
Dec 17th, 2009
User Badges:

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
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Giuseppe Larosa Thu, 12/17/2009 - 04:18
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

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

Rupesh Kashyap Thu, 12/17/2009 - 04:23
User Badges:

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)

Giuseppe Larosa Thu, 12/17/2009 - 04:31
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Rupesh,

yes your understanding is correct.


Hope to help

Giuseppe

Rupesh Kashyap Thu, 12/17/2009 - 04:59
User Badges:

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

Giuseppe Larosa Thu, 12/17/2009 - 05:11
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

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

Actions

This Discussion