08-08-2013 03:10 AM
Is it possible to write an EEM script that opens a telnet session, authenticates, executes few commnads and than closes it back again?
I was trying to do this with Tcl lately. Unfortunatelly once I open the session from the Tcl shell, I don't have an option to read the outputs and send characters in the Telnet session. The only option is to enter the commands manually...
Solved! Go to Solution.
08-09-2013 06:24 PM
Sure, this is possible. I have a script that wraps the IOS telnet command to do exactly what you're saying. You can get it from http://www.cisco.com/assets/cdc_content_elements/docs/ios/eas/easy-shell.tar .
08-09-2013 06:24 PM
Sure, this is possible. I have a script that wraps the IOS telnet command to do exactly what you're saying. You can get it from http://www.cisco.com/assets/cdc_content_elements/docs/ios/eas/easy-shell.tar .
08-19-2013 01:52 AM
Joseph,
This is amazing! I've briefly looked at the script and it indeed does exactly what I'm looking for And... a lot more off course. Amazing, thanks for sharing.
Regards,
Boyan
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: