02-26-2008 08:33 AM
Does anyone know where I can get Expect scripts for Cisco routers.
I read in an article that there were a few on Cisco's FTP server but I was not able to find anything.
Thanks in advance for your help.
02-26-2008 09:04 AM
Here's the only Expect script I find on cisco's site, for CatOS no less:
http://www.cisco.com/warp/public/477/SNMP/move_files_images_snmp.html
To paraphrase a post I saw somewhere recently: Before you look for Expect, check out Rancid: http://www.shrubbery.net/rancid/.
Incidentally, I'm [almost] done writing an Expect script to pull IOS configs (still have an undiagnosed problem with CatOS) via telnet/SSH without having "copy running [tftp|scp|ftp|etc.]" command authorization.
02-26-2008 09:35 AM
I will have a look at Rancid as well.
Apparently, about 4 years ago, the following scripts were on ftp.cisco.com: ciscologin (for loading router names and passwords from a file), ciscoexec (feeds EXEC commands to routers via TELNET) and ciscoconfig (configures routers).
Are these still available?
02-26-2008 11:59 AM
Weird, I can't find them either.
03-19-2008 10:24 AM
I found them! They're under the EEM now.
HTH
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide