Deleting all extended communities
Ondrej Filip
feela at network.cz
Sat Nov 19 20:16:44 CET 2011
On 19.11.2011 14:46, Ondrej Zajicek wrote:
> 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?
For example at route server - you may want to delete 'signaling'. :-)
>
More information about the Bird-users
mailing list