Deleting wildcard bgp communitities in an outbound filter
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:
> 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
> 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 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...
Size: 197 bytes
Desc: Digital signature
More information about the Bird-users