Of course, it is ok playing with ssh / telnet / expect modules, but sometimes there are programs which work like you expect. Not need of reinvent the weel :-)
For this case (and if you are not in Windows OS), I recommend you take a look to rancid, and its ~ "/.login/" commands
In reply to Re: Perl Script to enable Cisco
by i5513
in thread Perl Script to enable Cisco
by Null_Route0
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |