North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

Re: Cisco scripts??

  • From: Jared Mauch
  • Date: Thu Jul 09 12:03:09 1998

	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 [email protected]
Nether Net   | http://puck.nether.net/~jared/
             | "You Go To Hell!  You Go To Hell and Die!"