cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2589
Views
0
Helpful
4
Replies

Expect Scripts for Cisco routers

aadeoye
Level 1
Level 1

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.

4 Replies 4

yjdabear
VIP Alumni
VIP Alumni

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.

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?

Weird, I can't find them either.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: