mirror of
https://github.com/ipverse/asn-ip.git
synced 2026-05-03 20:43:56 +05:30
Update README.md
This commit is contained in:
parent
f496968cc7
commit
7f0e467663
1 changed files with 23 additions and 0 deletions
23
README.md
23
README.md
|
|
@ -18,6 +18,29 @@ To download the announced subnets for a specific autonomous system (AS1234 IPv4
|
|||
The same for all IPv6 subnets from AS1234:
|
||||
```$ curl https://raw.githubusercontent.com/ipverse/asn-ip/master/as/1234/ipv6-aggregated.txt```
|
||||
|
||||
The data (IPv4 + IPv4 combined) is available in JSON format as well:
|
||||
```$ curl https://raw.githubusercontent.com/ipverse/asn-ip/master/as/1234/aggregated.json```
|
||||
|
||||
The resulting JSON will look similar to this:
|
||||
```
|
||||
{
|
||||
"asn": 1234,
|
||||
"handle": "FORTUM",
|
||||
"description": "Fortum",
|
||||
"announced-at": "2021-11-20",
|
||||
"subnets": {
|
||||
"ipv4": [
|
||||
"132.171.0.0/16",
|
||||
"137.96.0.0/16",
|
||||
"193.110.32.0/21"
|
||||
],
|
||||
"ipv6": [
|
||||
"2405:1800::/32"
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
To download the latest lookup table used to enhance the generated route data:
|
||||
```$ curl https://raw.githubusercontent.com/ipverse/asn-ip/master/as.csv```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue