in reply to How to break while reading data from a Cisco router?

Set the timeout for telnet session to a longer period of time.

See the documentation "timeout" and "timed_out" in Net::Telnet

  • Comment on Re: How to break while reading data from a Cisco router?

Replies are listed 'Best First'.
Re^2: How to break while reading data from a Cisco router?
by Newb to Perl (Initiate) on Sep 17, 2007 at 00:16 UTC
    I tried using the timeout option early on. The problem is the amount of cache flow data. I could set the timeout for 10 minutes there would still be plenty more data to grab. I think the alarm function will work for me though. Thanks for the suggestions.