Setting BGP Aggregator Attribute in Filters

Pavel Trefný pavel.trefny at trefcon.cz
Wed Apr 15 09:52:23 CEST 2026


Hi David,

thank you for the clarification.

Regarding the commercial feature request — this is something we could 
definitely consider and potentially agree on from our side.

In the meantime, I experimented a bit and, with the help of AI, prepared 
and tested a patch that allows setting the BGP aggregator attribute 
directly in filters. It works for our use case so far, so perhaps it 
could be useful for others as well.

Best regards,
Pavel


Dne 14. 04. 26 v 16:00 David Petera via Bird-users napsal(a):
>
> Hi Pavel,
>
> sadly, BIRD does not currently support setting the BGP aggregator 
> attribute. (You can only unset it in the filters using `unset` function)
>
> Neither is there a plan to add support for it in the near future.
>
> However we offer commercial feature request contracts, in case your 
> organization would be able to provide funds for such development.
> You can find more info about it on our website: 
> https://bird.nic.cz/commercial-services/#deployments-feature-request
>
> Hope this helps,
> David
>
> David Petera (he/him) | BIRD Tech Support | CZ.NIC, z.s.p.o.
> On 4/14/26 14:31, Pavel Trefný wrote:
>>
>> Hi,
>>
>> I have a question regarding BIRD. Is it possible to set the BGP 
>> aggregator attribute for a prefix using filters?
>>
>> This would be useful in our anycast setup, where it can be difficult 
>> to determine the origin of a prefix. Using communities is 
>> unfortunately not a viable option for us — some of our hardware does 
>> not support extended communities, and upstream networks often filter 
>> them.
>>
>> To clarify, I am not looking for route aggregation itself, but 
>> specifically a way to set the aggregator attribute.
>>
>> Thank you for any insights.
>>
>> Best regards,
>> Pavel Trefny
>>
>>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20260415/83fcebd5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bird-3.2.1-bgp-aggregator.patch
Type: text/x-patch
Size: 7083 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20260415/83fcebd5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bird-2.18.1-bgp-aggregator.patch
Type: text/x-patch
Size: 6828 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20260415/83fcebd5/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x6F9565FDA7AFCAAB.asc
Type: application/pgp-keys
Size: 4439 bytes
Desc: OpenPGP public key
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20260415/83fcebd5/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20260415/83fcebd5/attachment.sig>


More information about the Bird-users mailing list