bgp to eigrp question

Answered Question

I have a bgp AS number say 1. I am also doing LOCAL-AS 2 for a client. To distribute the incoming routes to eigrp, I have a statement under eigrp as "redistribute bgp 1 route-map xxx"


Will this redistribution also include the routes coming for LOCAL-AS 2? Or I need to do something more to get that also advertise in eigrp?

Correct Answer by Giuseppe Larosa about 8 years 9 months ago

Hello Mehdi,

the local-as is a neighbor oriented command to make the router to pretend to be part of BGP AS 2 instead of AS1 but BGP process is still AS1 so the redistribute command should be:


red bgp 1 route-map xxx


remember to configure a seed metric otherwise no redistribution occurs

you can use

default-metric 10000 10 255 1 1500

inside router eigrp process


Hope to help

Giuseppe


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3 (2 ratings)
Loading.
Marwan ALshawi Sun, 09/21/2008 - 05:23
User Badges:
  • Purple, 4500 points or more
  • Community Spotlight Award,

    Best Publication, December 2015

u mean u have

bgp as1---bgp as 2 and eigrp ?

if this the case

u need ebgp between the bgp peers and only redistribute bgp as 2 into eigrp


Hi Marwan,


No. Let say I have config as below:


router bgp 1


neighbor abc.def.ghi.jkl remote-as 25

neighbor abc.def.ghi.jkl distribute-list 7 in

neighbor efg.hjk.uik.loi Local-AS 2

neighbor efg.hjk.uik.loi remote-as 4888

neighbor efg.hjk.uik.loi distribute-list 6 in


If you notice, I have two seperate neighbor with different routes coming in.


Under eigrp 107, I need to put a statement that will redistribute routes coming from both distribute-list 6 & 7. If i put "redistribute bgp 1, will it include both peer routes even though for the second peer, I am bgp 2 not 1.


Hope this explain.


Thank you




Correct Answer
Giuseppe Larosa Sun, 09/21/2008 - 05:31
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Mehdi,

the local-as is a neighbor oriented command to make the router to pretend to be part of BGP AS 2 instead of AS1 but BGP process is still AS1 so the redistribute command should be:


red bgp 1 route-map xxx


remember to configure a seed metric otherwise no redistribution occurs

you can use

default-metric 10000 10 255 1 1500

inside router eigrp process


Hope to help

Giuseppe


Marwan ALshawi Sun, 09/21/2008 - 05:40
User Badges:
  • Purple, 4500 points or more
  • Community Spotlight Award,

    Best Publication, December 2015

mehdi i agree with Giuseppe


the best way is a route map

within the route map u can use ACL or prefix list to match what traffic u want to be redistributed


simple and good luck

Actions

This Discussion