nanog mailing list archives
Re: Cisco scripts??
From: Chris Fournier <alpha () meganet net>
Date: Tue, 7 Jul 1998 21:12:55 -0400 (EDT)
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.
Current thread:
- Cisco scripts?? Tim Kempka (Jul 07)
- Re: Cisco scripts?? John M. Brown (Jul 07)
- Re: Cisco scripts?? Aled Morris (Jul 09)
- Re: Cisco scripts?? Michael Miller (Jul 07)
- Re: Cisco scripts?? Chris Fournier (Jul 07)
- Re: Cisco scripts?? Dave Curado (Jul 09)
- Re: Cisco scripts?? Jared Mauch (Jul 09)
- Re: Cisco scripts?? SASAKI Kazuyoshi (Jul 07)
- Re: Cisco scripts?? Paul Vixie (Jul 08)
- <Possible follow-ups>
- Re: Cisco scripts?? Arvind Ramarajan (Jul 09)
- Re: Cisco scripts?? Ron Johnson (Jul 09)
- Re: Cisco scripts?? Paul A Vixie (Jul 08)
- Re: Cisco scripts?? Patrick W. Gilmore (Jul 08)
- Re: Cisco scripts?? Paul A Vixie (Jul 08)
- Re: Cisco scripts?? John M. Brown (Jul 07)