03-18-2009 08:12 AM
please check my code what I am doing. The script collects some enviromental information of the switches.
Please enter your switch IP in following array:
# ENter your own IPs
my @switches = ( "10.177.177.77", );
If you would like to run it on Linux change following line:
use Net::SSH::W32Perl; into use Net::SSH::Perl;
Good luck. By the way my code is ugly I am not a perfect coder and I will never try to one.
03-18-2009 08:14 AM
Sorry I am not able to post a script onto this site. I don't know why not???
Nachricht geändert durch AndyAtEon I found a way to upload something :-) For Windows use this line use Net::SSH::W32Perl; For Linux use this line use Net::SSH::Perl; Insert your switch IP into following array: my @switches = ( "10.177.177.77", );