Route filtering by route distinguisher

netravnen+birdlist at gmail.com netravnen+birdlist at gmail.com
Thu Aug 29 20:58:04 CEST 2024


https://gitlab.nic.cz/labs/bird/-/blob/master/filter/test.conf#L2228

https://gitlab.nic.cz/labs/bird/-/blob/master/filter/test.conf#L1703

https://gitlab.nic.cz/labs/bird/-/blob/master/filter/test.conf#L1673

On Thu, 29 Aug 2024 at 20:55, <netravnen+birdlist at gmail.com> wrote:
>
> On Thu, 29 Aug 2024 at 01:14, Jon Langemak <jon at interubernet.com> wrote:
> > Hi folks - I swear I’ve done this before but I can’t recall the syntax to filter routes based on the RD. I’m able to do it by RT quite easily by comparing it to the bgp_ext_community but can’t figure out the comparison value for RDs.
>
> https://bird.network.cz/?get_doc&v=20&f=bird-5.html
>
> It is called vpnrd `.rd` in the doc's...
>
> https://gitlab.nic.cz/search?group_id=2&project_id=6&repository_ref=master&scope=blobs&search=%22rd%22
>
> And there are entries in the code for `.rd`...
>
> https://gitlab.nic.cz/labs/bird/-/blob/master/filter/test.conf
>
> Is probably your best bet for a reference example. Looking at the test
> files in the BIRD authoritative repository.



More information about the Bird-users mailing list