From: Mark Miller (mark.miller@lehigh.edu)
Date: Wed Jul 30 2003 - 11:16:17 GMT-3
If it is a timeout problem, you can change it on a line by line basis:
$sok->waitfor(Match => '/#/', Timeout => 300);
mark
Brennan_Murphy@NAI.com wrote:
>I'm trying to write a script to upload an IOS image to flash on
>some 3700 series routers. I was hoping to correspond with
>someone offlist possibly about what may be causing a timeout
>on the script I wrote using the Net-Telnet-Cisco perl module.
>Actually, what would be better is if I could see some sample
>scripts. I've got scripts that can backup configs to tftp with
>no problem. I also wrote one that can send an email based
>on whether a value from a show command passes a test.
>I'm happy to share. But I can't seem to write one that deals
>appropriately with
>the long pause that occurs when copying an image to
>flash.
>
>Since I'm wasting space here on the list, I was wondering also if
>anyone agrees with me that there's a need for an Enterprise
>Network engineering list. It seems to me that most networking
>lists are geared towards ISPs or Certifications whereas
>it would be nice if there were a list devoted to Enterprise
> or corporate networks. ...a place where one could discuss
>load balancing, QoS, WAN vendors, design issues, etc.
>
>Thanks,
>BM
>
>
>_______________________________________________________________________
>You are subscribed to the GroupStudy.com CCIE R&S Discussion Group.
>
>Subscription information may be found at:
>http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Wed Aug 06 2003 - 06:52:58 GMT-3