Routing table in a file

Pascal Gloor pascal.gloor at spale.com
Sat Jun 15 10:24:50 UTC 2002


> 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




More information about the NANOG mailing list