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
Average 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

Login or Register to take actions

This Discussion

Posted February 26, 2008 at 8:33 AM
Stats:
Replies:4 Avg. Rating:
Views:1626 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard

Rank Username Points
1 2,478
2 1,624
3 1,445
4 861
5 578