Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^8: Net::Telnet::Cisco - command timed-out error- (send_wake)by ArifS (Beadle) |
on Oct 27, 2014 at 13:42 UTC ( [id://1105148]=note: print w/replies, xml ) | Need Help?? |
Thank you for the update. I just tried as following-
But, I am getting the following error- line 28: my @cmd_output = $cs->cmd( 'show cdp nei' ); After that when I use putty to access, I can see that it's displaying my "show cdp nei" and didn't ask for authentication, as I have already provided thru the script. However, it didn't display in the script output and gave me that error. Please let me know. ##UPDATE: never mind... it's working. I just had to add 'term leng 0' first. Thank you all.
In Section
Seekers of Perl Wisdom
|
|