Hi Adam314,
Thanks for the feedback. I've tried using the Net::SSH::W32Perl module but the documentation says it does not support going into privelege mode which is exactly what I need to do to be able to make configuration changes (unless I'm misunderstanding). I was thinking if I could create a perl script that calls plink (putty's command line tool) I could let it handle the SSH connectivity and then have perl handle the rest. The only reason perl is even needed is to handle the password prompt that occurs when you go into privelege mode on a Cisco switch.
Main Topics
Browse All Topics





by: Adam314Posted on 2009-11-04 at 17:34:03ID: 25746011
Are you on windows? If so, windows does not support all of the functionality of the Net::SSH::Perl module. There is a module to help deal with this: Net::SSH::W32Perl. This works better on windows than the normal Net::SSH::Perl module, but still not all functionality is supported.
I'm not familiar with what needs to be done on the cisco switch to make the configuration changes you want, but this might work.