[nsp] Script for gathering logs from routers?

Tarko Tikan tarko at lanparty.ee
Thu Oct 30 15:40:10 EST 2003


hello!

> Anyone have an expect (or similar) script that collects the "show log" from
> a router and appends it to a file?  I could write it myself, but I figured
> if someone already had one written I would save myself from re-inventing the
> wheel :-)

why don't you use syslog logging? set up a syslog server and configure logging to remote host, no need to hassle with scripts and telnet.

-- 
tarko


More information about the cisco-nsp mailing list