This is all done in GNS3 and it got me stumped so any helps is appreciated.
I am trying to advertize only certain routes (24.1.0.0/20) from R1 to ISP via ip community-list but for some reason ISP is not seeing 24.1.0.0/20 the route.
Explanation:
R1(AS20)—R2(AS20)--> ISP(AS10)
R1 and R2 are in the same AS and are directly connected.
24.1.0.0/20 is generated on R1 via aggregate address and tagged by community 300:61100, and then passed down to R2.
R2 sees the 24.1.0.0/20 route as well as its community as you can see from the output:
R2#show ip bgp 24.1.0.0/20
BGP routing table entry for 24.1.0.0/20, version 9
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Not advertised to any peer
Local, (aggregated by 20115 96.34.15.2)
96.34.15.2 (metric 3550) from 96.34.15.2 (96.34.15.2)
Origin IGP, metric 0, localpref 100, valid, internal, atomic-aggregate, best
Community: 300:61100
But for some reason it won’t pass it to ISP.
On R2 I have following config:
router bgp 20
neighbor 8.4.4.6 activate
neighbor 8.4.4.6 send-community
neighbor 8.4.4.6 route-map L3-TEST out
!
ip community-list standard REGIONAL-AGGS permit 300:61100
!
route-map L3-TEST permit 10
match community REGIONAL-AGGS
Without the route-map ISP of course sees 24.1.0.0/20 (and everything else) because everything is allowed. But I just want to pass that specific route to the ISP router. What am I doing wrong with this route map?
Note: I do have send-community command on all routers.
Any help is appreciated.