whois for just prefix list

Kevin Oberman oberman at es.net
Mon Apr 14 14:33:07 UTC 2003

> From: Randy Bush <randy at psg.com>
> Date: Mon, 14 Apr 2003 06:01:07 -0700
> Sender: owner-nanog at merit.edu
> irr whois servers seem to vary a bit.  is there one simple
> query that, given an as-macro or aut-num, produces the list
> of prefixes one should accept?


A part of the IIRToolSet is peval(1) which does exactly what you ask.  It
can expand an as-set or an aut-num object in a single call. For the RADB
servers it works fine. For the current RIPE software just add "-protocol
bird" to the command.

% peval -h whois.ripe.net -protocol bird AS-CERN

IRRToolSet is a part of the FreeBSD ports collection and is currently at
version 4.7.2. I maintain the port (but not the actual software), so
please let me know if there are any problems.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net			Phone: +1 510 486-8634

More information about the NANOG mailing list