09-21-2008 05:19 AM - edited 03-03-2019 11:38 PM
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?
Solved! Go to Solution.
09-21-2008 05:31 AM
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
09-21-2008 05:23 AM
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
09-21-2008 05:37 AM
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
09-21-2008 05:31 AM
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
09-21-2008 05:40 AM
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
09-21-2008 05:43 AM
Thank you Guiseppe. That exactly what I need to get the anser.
Little information about the seed metric? I am doing the metric inside the route-map because I have two router re-distributing the same bgp routes into eigrp.
Regards
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