Deleting all extended communities
Ondrej Zajicek
santiago at crfreenet.org
Sat Nov 19 14:46:49 CET 2011
On Fri, Nov 18, 2011 at 04:11:30PM +0200, Alexander Shikoff wrote:
> Hello,
>
> what is a right way to delete all extended communities ?
>
> bgp_ext_community.delete( [ (*,*,*) ] );
> raises a syntax error.
It is true that ext_community filter syntax is more limited
that community filter syntax. So this is currently not possible.
We should probably add support for (*,*,*) and (something,*,*).
To delete all ext. comms, currently it is possible to use these
undocumented expressions:
bgp_ext_community = --empty--;
or perhaps:
bgp_ext_community.empty;
BTW, why anyone wants to delete all (extended) communities?
--
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/20111119/4eb7aafd/attachment-0001.asc>
More information about the Bird-users
mailing list