Irr Autnum
irr_autnumRetrieve an AS's registered routing policy from IRR databases by querying its aut-num object. Returns the AS name, description, import/export policies, and organisation handle to clarify how the AS is announced and routed.
Instructions
Look up an aut-num object in IRR databases.
Returns the AS name, description, import/export policies (capped at 20 lines each), and organisation handle. Useful for understanding an AS's registered routing policy. The ASN may be given as 'AS13335' or a bare '13335'.
One object is returned per queried registry: the first aut-num object
in that registry's response whose aut-num matches the requested ASN.
registry is the server queried and source is the object's own
source: attribute (they differ for mirrored objects). If a registry
cannot be reached, error is set and results from the remaining
registries are still returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asn | Yes | ASN to look up (e.g. 'AS13335' or '13335') | |
| sources | No | Comma-separated IRR sources (default: radb,ripe). Available: radb, ripe, arin, apnic, afrinic, lacnic, nttcom, level3, altdb. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asn | Yes | Normalised ASN that was looked up, e.g. 'AS13335' | |
| error | No | Set when the whois query failed; other fields may be empty or partial. | |
| objects | No | One aut-num object per registry that returned a match | |
| sources | No | Registries queried, in order |