On Thu, Oct 29, 2020 at 10:00:58AM -0400, Brooks Swinnerton wrote: > Hello, > > I was wondering if it's possible to create a conditional that matches on a > wildcard for a part of a BGP large community. For example: > > if ([*, 600, 6939]) ~ bgp_large_community then > reject;
Hello Note that it would be [(*, 600, 6939)], not ([*, 600, 6939]). But for large communities, BIRD allows wildcard only on the more specific part. You can have [(64496, 600, *)], [(64496, *, *)] or even [(*, *, *)], but not [(*, 600, 6939)]. Also, wildcard (*, 600, 6939) does not really make sense, as meaning of the second and third part is determined by the first (global admin), and may be different for different first parts. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."