Expect Scripts for Cisco routers

Unanswered Question
Feb 26th, 2008
User Badges:

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
yjdabear Tue, 02/26/2008 - 09:04
User Badges:
  • Gold, 750 points or more

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
User Badges:

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?

Collin Clark Tue, 02/26/2008 - 11:59
User Badges:
  • Purple, 4500 points or more

Weird, I can't find them either.

Actions

This Discussion