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

Jay Hennigan jay at west.net
Mon Apr 25 16:36:14 EDT 2005


On Mon, 25 Apr 2005, Paul Connally wrote:

> 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?

Can you pull it via snmp?  There may be some open-source tools to parse
the output into something human-readable.  Not that a human would really
want to read it ten times.

--
Jay Hennigan - CCIE #7880 - Network Administration - jay at west.net
WestNet:  Connecting you to the planet.  805 884-6323      WB6RDV
NetLojix Communications, Inc.  -  http://www.netlojix.com/


More information about the cisco-nsp mailing list