Even using the correct syntax as described by Ondrej I am not able to get this to work. When I try, I get the following error in my logs:
filters, line 117: ~ applied on unknown type pair
I am trying to build filters that check multiple things, add a community for each thing (if it is true), then reject the route if any of the communities exist. It doesn't seem like it's possible to check if any member of a set is in another set - only if a particular element is in another set.
I.e. I can do
(1,2,3) ~ bgp_large_community
but not
[(1,2,*)] ~ bgp_large_community
Can anyone confirm? Is this possible via a different method?
Thanks!