nanog mailing list archives

Re: Routing table in a file


From: "Pascal Gloor" <pascal.gloor () spale com>
Date: Sat, 15 Jun 2002 12:24:50 +0200


Does anyone dump their copy of the routing table to a flat file
regularly and make this available?  I need do some queries.  The web
based versions don't accept modifiers like "lon" on the show ip bgp
commands.

I have a perl script which converts the output of 'sh ip bgp' into SQL
(MySQL). I keep 'prefix', 'neighbor AS' and 'AS path' informations... the
rest is droped... I use this for extended queries into my RouteViewer...
Tell me if you're interested...

regards,
Pascal


Current thread: