[48754] in North American Network Operators' Group
Re: Routing table in a file
daemon@ATHENA.MIT.EDU (Pascal Gloor)
Sat Jun 15 06:25:33 2002
From: "Pascal Gloor" <pascal.gloor@spale.com>
To: "Roy" <garlic@garlic.com>
Cc: <nanog@merit.edu>
Date: Sat, 15 Jun 2002 12:24:50 +0200
Errors-To: owner-nanog-outgoing@merit.edu
> 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