cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
420
Views
1
Helpful
5
Replies

bgp to eigrp question

msultan
Level 1
Level 1

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

Giuseppe Larosa
Hall of Fame
Hall of Fame

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

View solution in original post

5 Replies 5

Marwan ALshawi
VIP Alumni
VIP Alumni

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

Giuseppe Larosa
Hall of Fame
Hall of Fame

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

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: