Expect Scripts for Cisco routers

Unanswered Question
Feb 26th, 2008

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.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
yjdabear Tue, 02/26/2008 - 09:04

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.

aadeoye Tue, 02/26/2008 - 09:35

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?

Actions

This Discussion