Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

bgp to eigrp 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?

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

Re: bgp to eigrp question

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

5 REPLIES

Re: bgp to eigrp question

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

New Member

Re: bgp to eigrp question

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

Hall of Fame Super Silver

Re: bgp to eigrp question

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

Re: bgp to eigrp question

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

New Member

Re: bgp to eigrp question

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

138
Views
1
Helpful
5
Replies
CreatePlease login to create content