LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Information on AS numbers (https://www.linuxquestions.org/questions/linux-networking-3/information-on-as-numbers-789029/)

fylnq 02-14-2010 09:16 AM

Information on AS numbers
 
Hi,

Is there any tool in linux to show information on AS numbers?

Code:

whois -h whois.radb.net 222.222.222.222

route:        222.222.0.0/15
descr:        China Telecom Hebei province
origin:      AS4134 <<-----
mnt-by:      MAINT-AS4134
changed:      liujj@cndata.com 20040507
source:      SAVVIS

That command shows the AS number. Is there a command/tool in linux that shows information on the AS number?

The output would look like this:
http://www.asnumber.networx.ch/asnumber.gif

Thanks in advance,

FY

jschiwal 02-14-2010 09:39 AM

Use whois with the number preceded with "as".
Code:

whois as3134

OrgName:    U.S. Agency for International Development
OrgID:      UAID
Address:    1300 Pennsylvania Ave
City:      Washington
StateProv:  DC
PostalCode: 20523
Country:    US

ASNumber:  3134
ASName:    USAID-ASN
ASHandle:  AS3134
Comment:
RegDate:    1993-11-19
Updated:    2009-07-28

OrgAbuseHandle: JPB103-ARIN
OrgAbuseName:  Bourdon, John P
OrgAbusePhone:  +1-240-646-5005
OrgAbuseEmail:  jbourdon@usaid.gov

OrgNOCHandle: HTL-ARIN
OrgNOCName:  Lee, Herman T
OrgNOCPhone:  +1-202-712-0436
OrgNOCEmail:  hlee@usaid.gov

OrgTechHandle: JCB2-ARIN
OrgTechName:  Biggs, Jeffrey C.
OrgTechPhone:  +1-240-646-5003
OrgTechEmail:  jbiggs@usaid.gov


fylnq 02-14-2010 09:43 AM

Thanks!

Edit: peeringdb also provides info on AS numbers.

Code:

whois -h whois.peeringdb.com AS7922

General Network Information
---------------------------
Network Name        : Comcast
Name Aliases        :
Primary ASN          : 7922
Website              : http://www.comcast.com
IRR AS-SET          :
Network Type        : Cable/DSL/ISP
Approx BGP Prefixes  : 3300
Traffic Levels      : 1 Tbps+
Traffic Ratios      : Balanced
Geographic Scope    : North America
Supported Protocols  : Coming Soon
Looking Glass URL    :
Route Server URL    : route-server.newyork.ny.ibone.comcast.net
Public Notes        : peering@comcast.com is the best email address to send
                    : requests for IPv6 & settled peering.

See you at
                    : the Peering BOF in Austin during NANOG48!

We do not
                    : offer SFI on the shared fabric public switches at any
                    : IX.



All times are GMT -5. The time now is 03:49 AM.