in reply to Re: Perl Script to enable Cisco
in thread Perl Script to enable Cisco
Thanks for the clarification with /n
What I mean by enable command is this...
On a Cisco there is a whole subset of commands you can run from privileged mode. To do that you type the command "enable" and then are prompted for a password. Im just not sure how I go about scripting that out.
I tried like this, but it didnt work
Tried like this too###run commands### $ssh->cmd("enable theEnablePassword");
Not sure if I explained that right.$ssh->cmd("enable"); $ssh->cmd("theEnablePassword");
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Perl Script to enable Cisco
by dasgar (Priest) on Jul 23, 2012 at 18:13 UTC | |
by Null_Route0 (Initiate) on Jul 23, 2012 at 18:17 UTC | |
Re^3: Perl Script to enable Cisco
by aitap (Curate) on Jul 23, 2012 at 17:33 UTC | |
by Null_Route0 (Initiate) on Jul 23, 2012 at 18:05 UTC | |
by aitap (Curate) on Jul 23, 2012 at 18:12 UTC |
In Section
Seekers of Perl Wisdom