nanog mailing list archives

Re: Cisco scripts??


From: Dave Curado <davec () navinet net>
Date: Tue, 7 Jul 1998 21:01:08 -0400 (EDT)


     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.




Current thread: