North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

Re: Routing table in a file

  • From: Pascal Gloor
  • Date: Sat Jun 15 06:27:15 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