yes
my $telnet = new Net::Telnet(Host=>$ip,Timeout=>10,Prompt=>'/ >/', Errmode=>"return");
dump_log snippet show successful log and prompt ' >' then time out and next command
< 0x00050: 20 20 20 20 20 20 20 0d 00 5b 61 64 6d 69 6e 40 ..admin@ < 0x00060: 50 61 75 6c 20 53 70 75 72 6c 6f 63 6b 20 32 31 Paul Spurlock 21 < 0x00070: 32 36 33 5d 20 3e 20 263 > > 0x00000: 2f 73 79 73 74 65 6d 20 72 6f 75 74 65 72 62 6f /system routerbo > 0x00010: 61 72 64 20 70 72 69 6e 74 0d 0a ard print..I will try cmd and waitfor next - thanks tip
In reply to Re^2: Net::Telnet blocks
by kp2a
in thread Net::Telnet blocks
by kp2a
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |