New Tool Announcement: CiscoBGP

labovit at MERIT.EDU labovit at MERIT.EDU
Tue Aug 22 13:35:36 UTC 1995



The following README is also available on at:
  http://www.ra.net/routing.arbiter/RA/RADB.tools.docs/cisco.html

-----------------------------------------------------------------------

Cisco Version 2 READ.ME                               
Last updated 8-21-95

CiscoBGP obtains and analyzes routing information from production
Ciscos, and compares the data with routes in the Routing Arbiter
Database.  The software also flags prefixes that are reserved by
RFC1597.  An alpha version is available from:

  ftp://ftp.ra.net/routing.arbiter/radb/tools/cisco.02.tar.Z

Two scripts are provided with CiscoBGP.  Cisco_fetch takes the Cisco's
IP address and password as input, automatically sets up a telnet session
to the router, issues a 'show ip bgp' command, and dumps the BGP routing
tables to standard out on the local workstation.  Usage is as follows:

  cisco_fetch hostname password enable_password

The cisco_check script then processes the 'show ip bgp' output and lists
prefixes with AS origins different than those registered in the IRR. Usage 
is as follows: 

  cisco_check inputfile

This command produces output in this format:

  0.0.0.0 [????] 6503 185 i
  12.0.0.0 [????] 6503 185 3561 701 i
  35.42.1.0/24 [237] 6503 185 i
  39.2.254.0 [????] 6503 185 3561 1133 1128 2043 766 i
  39.7.8.0 [????] 6503 185 3561 1800 i
  39.7.88.0 [????] 6503 185 3561 1800 1883 1880 i
  39.7.90.0 [????] 6503 185 3561 1800 1883 1880 1882 i
  39.11.6.0 [????] 6503 185 3561 1849 2822 i
  39.13.135.0 [????] 6503 185 3561 1239 1795 3463 i
  39.13.229.0 [????] 6503 185 3561 701 3557 i
  128.35.0.0 [560] 6503 185 3561 560 701 6 i
  128.60.0.0 [86] 6503 185 3561 86 48 i
  128.91.0.0 [3576] 6503 185 3561 690 1324 1336 55 i
  128.122.0.0 [1785] 6503 185 3561 1239 1785 3973 12 i
  128.140.0.0 [279] 6503 185 3561 279 3591 i
  128.151.0.0 [1785] 6503 185 3561 1239 1785 20 i

If the origin AS differs from the origin registered in the RADB, the
correct origin is given in brackets.  '?????' indicates that the route
object for a given prefix is not registered in the IRR.

Send comments about the software to ra-team at merit.edu.


-- 
  Craig Labovitz                   labovit at merit.edu       
  Merit Network, Inc.                
  4251 Plymouth Road, Suite C.	   (313) 764-0252  (office)
  Ann Arbor, MI 48105		   (313) 747-3745  (fax)




More information about the NANOG mailing list