nanog mailing list archives

Re: Cisco scripts??


From: Jared Mauch <jared () puck nether net>
Date: Thu, 9 Jul 1998 11:52:56 -0400

        ftp://puck.nether.net/pub/jared/get-confg.c

        - jared

On Tue, Jul 07, 1998 at 09:01:08PM -0400, Dave Curado wrote:

   Does anyone know where I can get ahold of some sort of script that querys
the routers via SNMP that shows the running configs on them?  I want to
have a web based interface that ONLY shows the running configs.  I am aware
of the built in http server that is on the routers, but I would rather do
it via SNMP .  Any information would be appreciated.

I doubt that this can be done using snmp. I would guess that rcp of tftp
wouldbe the way to do it. a simple expect script could quite easily tftp
the running config
  copy run tftp
  dest host
  filename
  y

I've heard it can be done with an snmpset, but I don't
use it.  If the original requester would like an expect
script that writes to a tftp server, let me know.


-- 
Jared Mauch  | pgp key available via finger from jared () puck nether net
Nether Net   | http://puck.nether.net/~jared/
             | "You Go To Hell!  You Go To Hell and Die!"


Current thread: