What might seem quite a simple config, but can’t seem to find a clear answer
I have ebgp running in a closed environment,
I am advertising a aggregate summary address out via bgp ie,
router bgp 65001
bgp log-neighbors aggregate-address 18.104.22.168 255.0.0.0
Then I am doing a redistribution into eigrp
router eigrp 1
network 22.214.171.124 255.255.0.0
network 126.96.36.199 255.255.0.0
redistribute bgp 65001 metric 100 1 255 1 1500
this however will redistribute the aggregate address back into eigrp..which is causing issues..
what’s the best way to only redistribute routes that are learned from the connected bgp peers?
Hi @Rick_Dees ,
You can use a route-map when redistributing into EIGRP to specifically exclude the aggregate address.
router eigrp 1redistribute bgp 1 metric 100 1 255 1 1500 route-map deny-aggregate
ip prefix-list aggregate seq 5 permit 188.8.131.52/8!route-map deny-aggregate deny 10match ip address prefix-list aggregate!route-map deny-aggregate permit 20!
or specifically exclude the locally generated BGP routes:
route-map deny-local deny 10match route-type local!route-map deny-local permit 20
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: