Hi,
I can be useful to display details about an ASN from the looking-glass.
rt-grav-01.liopen.net> show ip bgp detail as 199881
BGP routing table entry for 2a00:6060:8000::/48
199881
Nexthop 2001:7f8:81::19:9881:1 (via 2001:7f8:81::19:9881:1) from Auvergne
Wireless IPv6 (185.22.131.1)
Origin IGP, metric 0, localpref 130, weight 0, external, valid, best
Last update: 03w0d23h ago
Ext. communities: soo 60983:10000
Index: bgplg.h
===================================================================
RCS file: /cvs/src/usr.bin/bgplg/bgplg.h,v
retrieving revision 1.10
diff -u -p -r1.10 bgplg.h
--- bgplg.h 1 Jun 2013 18:47:55 -0000 1.10
+++ bgplg.h 19 Jul 2017 19:15:44 -0000
@@ -51,6 +51,8 @@ struct cmd {
{ BGPCTL, "show", "ip", "bgp", "summary", NULL } }, \
{ "show ip bgp detail", 1, 1, "<prefix>", \
{ BGPCTL, "show","ip", "bgp", "detail", NULL } }, \
+ { "show ip bgp detail as", 1, 1, "<asnum>", \
+ { BGPCTL, "show","ip", "bgp", "detail", "as", NULL } }, \
{ "show ip bgp in", 1, 1, "<prefix>", \
{ BGPCTL, "show","ip", "bgp", "in", NULL } }, \
{ "show ip bgp out", 1, 1, "<prefix>", \