[18265] in North American Network Operators' Group
Re: Cisco scripts??
daemon@ATHENA.MIT.EDU (Chris Fournier)
Tue Jul 7 21:25:17 1998
From: Chris Fournier <alpha@meganet.net>
To: nanog@merit.edu
Date: Tue, 7 Jul 1998 21:12:55 -0400 (EDT)
In-Reply-To: <Pine.LNX.3.96.980708014538.19509B-100000@eagle.mc.pmb.school.za> from "Michael Miller" at Jul 8, 98 01:47:25 am
> 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
Umm just a bad feeling on this, that means you have to store the password
in the script.. thats bad news.. Currently I have my router setup like this.
--
ip rcmd rcp-enable
ip rcmd rsh-enable
ip rcmd remote-host shttpd xxx.xxx.xxx.xxx shttpd enable
--
shttpd is the username my secured server runs as. This way you can
either 'rsh router show run' or if you want to write a script that
will download it local and have it cache with
'rcp router:running-config localfile'. It is also an easy way to manage
ACLs without having to cut and paste via telnet.