I would like to create a "goto" script. I want to have the script leace me at the Cisco's command prompt.
The script I have listed above logs me out when it completes.
Rather than going through the user, pwd, en, pwd routine each time, I want to be able to execute the script and have it leave me in the enable mode.
Thanks for any help!
Charlie
Sorry, you can't do that this way. The best you could do using this approach is to essentially write your own pass-through code after your login. It would read your info from stdin, package it as commands, use the perl interface to execute it and display the results.