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: bgp_community.delete([(65000,*)]); 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@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."