[18263] 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 (Michael Miller)
Tue Jul 7 20:11:27 1998

Date: Wed, 8 Jul 1998 01:47:25 +0200 (SAT)
From: Michael Miller <mmiller@mc.pmb.school.za>
To: Tim Kempka <tim@flash.net>
cc: nanog@merit.edu
In-Reply-To: <3.0.2.32.19980707114744.00cb1a54@pop.flash.net>

Hi,

> 	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
 
(if memory serves me correctly)

This I think will proababkly be the easiest to do.

Cheers,
mike

--
Michael Miller                                 mmiller@mc.pmb.school.za
Systems Administrator                     www.mc.pmb.school.za/~mmiller
Maritzburg College          PGP Key: www.mc.pmb.school.za/~mmiller/pgp/


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