Thanks! I had looked at the repo and saw those references but I’m still unsure how to reference them as part of a filter. I’ve tried just comparing it to “rd” or “vpnrd” but have been unsuccessful. In the test examples they are referring to it as an attribute of a route that they are instantiating.
> On Aug 29, 2024, at 1:58 PM, [email protected] wrote: > > 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, <[email protected]> wrote: >> >>> On Thu, 29 Aug 2024 at 01:14, Jon Langemak <[email protected]> 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.
