[c-nsp] Dump full route table to a file
Hank Nussbacher
hank at mail.iucc.ac.il
Mon Apr 25 16:50:59 EDT 2005
On Mon, 25 Apr 2005, Jay Hennigan wrote:
> 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.
Aren't smtp gets so much heavier than 'sho ip bgp' and just letting it
scroll in a script window?
-Hank
More information about the cisco-nsp
mailing list