Deleting wildcard bgp communitities in an outbound filter

Ondrej Zajicek santiago at
Fri Sep 3 16:06:43 CEST 2010

On Fri, Sep 03, 2010 at 02:07:43PM +0200, Peter Lieven wrote:
> Hi,
> i would like to hide some traffic engineering communities from bgp advertisements to peers.
> I'm using Bird 1.2.4 and from what I have read in the Changelog it should be possible to have something
> like this in an outbound filter
> bgp_community.delete((65000,*));
> However, this statement generates a syntax error.

If i remember it correctly, the syntax is:

Because (123,*) is syntax used in 'community sets', delimited like
other sets by [ .. ], and community delete now accepts community sets.
Therefore you can also do something like:

 bgp_community.delete( [(65000,*), (65123,1), (65123,10)..(65123,25)] );

Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santiago at
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3,
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <>

More information about the Bird-users mailing list