Deleting wildcard bgp communitities in an outbound filter
Ondrej Zajicek
santiago at crfreenet.org
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:
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 at 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."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20100903/1d3177d9/attachment-0001.asc>
More information about the Bird-users
mailing list