Telnet::Cisco script not waiting for prompt

2004-03-02 Thread Bullock, Howard A.
I am using Net::Telnet::Cisco. My program appears to wait for the prompt except when issuing the wr command or copy running-config command. Please see the dump.log output below. The router: IOS (tm) 2500 Software (C2500-J-L), Version 11.2(14) The cisco module methods seem to work well for

Re: Net::Telnet::Cisco script not waiting for prompt

2004-02-29 Thread James Brown
Hi Howard, I have some experience in writing scripts with this excellent module, some of which have been used on c2500 routers. Sometimes, I find that setting the terminal length to zero at the start of the script can help: @output=$RSession-cmd(String = 'term length 0', Timeout = '3'); (you