[c-nsp] Dump full route table to a file

Jason Lewis jlewis at packetnexus.com
Mon Apr 25 20:26:14 EDT 2005


The script at routeviews will do this with mods for your router.

http://www.routeviews.org/tools.html

Specifically, http://www.routeviews.org/scripts/collector


Paul Connally wrote:
> We've got a guy who has sent us a request for our "routing table".
> 
> After talking to him a few times, it turns out he really does want a
> full dump of all forwarding routes currently active in our 7200 edge
> router (which has 3 BGP peers and around 155,000 routes).  He wants
> this information dumped to a text file, and he'd like it done about 10
> different times throughout the day.
> 
> Just saying "No" isn't really an option due to various things...
> 
> Anyone got a quick script or know an easy way to do this?  The only
> thing I can really think of would be to turn off pagination on the
> router, do a "script routes.txt" on a unix box, telnet into it, and do
> a "show ip route".  Seems like a pain to have to do that 10 different
> times.  Plus, I'd rather not have to turn off/on CLI pagination
> multiple times.
> 
> Ideas?
> 
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
> 


More information about the cisco-nsp mailing list