29 Oct
2020
29 Oct
'20
3:34 p.m.
Hello, Take a look at the "filter" function. I think it is what you want. On Thu, Oct 29, 2020 at 3:26 PM Brooks Swinnerton <bswinnerton@gmail.com> wrote:
Hello,
Is it possible to delete all BGP communities from prefixes learned from a specific BGP session except ones that start with a given value? For example something like:
if (bgp_path ~ 64496) then { bgp_large_community.delete([(!64496, *, *)]); }
I haven't tested this syntax, but I can't imagine it would work. I'm mostly curious if there's a concept of "except" when deleting BGP communities.