HomeASN LookupDocumentation ASNs

Documentation ASNs (RFC 5398)

You landed here because the AS number you looked up falls inside one of the two documentation ranges defined by RFC 5398. These numbers exist specifically so authors of books, RFCs, blog posts, vendor training material and product docs can show realistic BGP configurations without accidentally colliding with a live network. No operator is ever assigned an ASN in these ranges, and a router that sees one in the default-free zone should drop the route at the ingress filter.

16-bit documentation
AS64496 – AS64511
16 numbers
32-bit documentation
AS65536 – AS65551
16 numbers

Why they exist

Before RFC 5398 was published in 2008, examples in BGP documentation used real ASNs — sometimes ones that later got re-assigned, which meant a training manual could point at a live network and pull the wrong operator into an unrelated discussion. RFC 5398 carved out a small block of 16 numbers per ASN width (32 total) so authors always have a safe pool to draw from. The equivalent address-space ranges are 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24 from RFC 5737, plus 2001:db8::/32 from RFC 3849.

Where engineers see them

Why ipctl can’t look them up

Documentation ASNs are not delegated by any RIR and are not tracked in any WHOIS or delegated-stats file. There is no record to return, and any sighting of one of these numbers in live BGP is a misconfiguration — typically a customer that forgot to swap the lab ASN for their real one before bringing up the session.

Frequently asked questions

What are documentation ASNs for?

They exist so authors of RFCs, books, training material, blog posts, and vendor docs can show realistic BGP configurations without accidentally referencing a live network. Before RFC 5398, examples used real ASNs that sometimes got re-assigned, pulling unrelated operators into confusing discussions.

Can I use AS64496 in my lab?

You can configure it on lab routers, but RFC 5398 documentation ASNs are meant for published examples, not internal labs. For private lab use, RFC 6996 private ASNs (64512–65534) are the correct choice — they are designed for internal BGP use and will never conflict with documentation.

How many documentation ASNs are there?

32 total: 16 in the 16-bit range (AS64496–AS64511) and 16 in the 32-bit range (AS65536–AS65551).

What happens if a documentation ASN leaks into production BGP?

Every anti-bogon filter should drop it. If it makes it past the edge, it is a canary that something is misconfigured — a lab topology that escaped into production without the ASNs being swapped for real ones.

Related reading