Am I missing something?
The filter matches communities TRANS-ANNOUNCE, but it does not delete TRANS-ANNOUNCE prior to sending the advertisement on to the provider. This is used as a outbound filter on a BGP peer.if (afi ipv4 && protocol bgp && bgp-communities equals TRANS-ANNOUNCE) {
delete bgp-communities TRANS-ANNOUNCE;
accept;
}
delete bgp-communities other; Works, but it then removes all communities, and not only the communities in the TRANS-ANNOUNCE community-list
And yes, given the equals statement as well as manual confirmation - TRANS-ANNOUNCE includes 1 community in the list, and it is a complete, and full match.