Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

EEM script to open a telnet session?

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

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

EEM script to open a telnet session?

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 .

2 REPLIES
Cisco Employee

EEM script to open a telnet session?

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 .

New Member

EEM script to open a telnet session?

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

1196
Views
0
Helpful
2
Replies
CreatePlease login to create content