Wednesday, July 28, 2021

BGP Advertised Route Filtering in Cisco IOS

I'm poking around with network design in GNS3, using IOSv 15.2 and having trouble getting my route advertising to work as expected.

On my L3 switch I have a number of /29 subnets carved out from 17.0.0.0. Rather than put them all under separate network statements I am trying to advertise the entire /8 and then filter using distribute-list and an ACL.

Unfortunately this does not appear to be advertising any of my routes. In prod this works under IOS-XE, but I don't have any virtual XE L3 switch images to work with. Any ideas on how I can make this work?

Here are the relevant config sections:

router bgp 2000 bgp router-id 17.1.0.2 bgp log-neighbor-changes neighbor 17.1.0.1 remote-as 200 ! address-family ipv4 network 17.0.0.0 neighbor 17.1.0.1 activate neighbor 17.1.0.1 weight 15 neighbor 17.1.0.1 soft-reconfiguration inbound neighbor 17.1.0.1 distribute-list AdvertiseThese out auto-summary ip access-list standard AdvertiseThese permit 17.0.0.0 0.0.0.255 interface Vlan13 ip address 17.0.0.9 255.255.255.248 interface GigabitEthernet0/0 no switchport ip address 17.1.0.2 255.255.255.0 


No comments:

Post a Comment