Show all ROAs for an ASN

Darren O'Connor mellow.drifter at gmail.com
Mon Sep 20 14:15:24 CEST 2021


Ah, that works perfectly, thanks!

On Sun, 19 Sept 2021 at 18:35, Basil Fillan <me+bird at basilfillan.uk> wrote:

> Hi Darren,
>
> You can do something like this:
>
> # birdc show route all table roas4 where net.asn=13414
> BIRD 2.0.8 ready.
> Table roas4:
> 69.195.191.0/24-24 AS13414  [rpki_mer_a 2021-08-18] * (100)
>          Type: RPKI univ
>
> The docs have details on this here (under the prefix type, then NET_ROA4
> / NET_ROA6) - https://bird.network.cz/?get_doc&v=20&f=bird-5.html#ss5.2
>
> Thanks,
>
> Basil
>
>
> On 19/09/2021 22:00, Darren O'Connor wrote:
> > I have an rpki-rtr session to my bird instance. All v4 roas go to a
> > table called roa_v4, and v6 goes to roa_v6 - Is there a way in a single
> > query to show me all ROAs from an ASN without listing them all?
> >
> > Right now I'm doing something like this, which is extremely messy:
> > birdc 'show route all table roa_v4' | grep AS13414
> >
> > It would be ideal to have something like show route all table roa_v4
> > source 13414- Am I missing something here?
> >
> > Thanks
> > Darren
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20210920/2e2cef64/attachment.htm>


More information about the Bird-users mailing list