[18293] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: Cisco scripts??

daemon@ATHENA.MIT.EDU (Jared Mauch)
Thu Jul 9 12:11:18 1998

Date: Thu, 9 Jul 1998 11:52:56 -0400
From: Jared Mauch <jared@puck.nether.net>
To: Dave Curado <davec@navinet.net>, mmiller@mc.pmb.school.za, tim@flash.net
Cc: nanog@merit.edu
In-Reply-To: <199807080101.VAA23117@drama.navinet.net>; from Dave Curado on Tue, Jul 07, 1998 at 09:01:08PM -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!"

home help back first fref pref prev next nref lref last post