cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3033
Views
0
Helpful
2
Replies

EEM script to open a telnet session?

Boyan Sotirov
Level 1
Level 1

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...

1 Accepted Solution

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

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 .

View solution in original post

2 Replies 2

Joe Clarke
Cisco Employee
Cisco Employee

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 .

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