how to write telnet script

15 pts.
Tags:
CLI
Linux
Network administration
Routers
I need to perform routine router administration from an Linux pc. How can I create a script to logon and perform some CLI automatically?
ASKED: January 21, 2008  9:25 AM
UPDATED: February 23, 2008  12:12 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

You might consider a telnet tool that has macro capabilities like TeraTerm Pro you can find it at:

http://ttssh2.sourceforge.jp

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Lazythegreat
    Thx, LabNuke. However, TeraTerm Pro is Win32, so I'm not able to run on my Linux pc.
    15 pointsBadges:
    report
  • Uddercha0s
    Expect is a tool worth looking at for what you are attempting to do. Most of the distros have a package available. The site for more info is here http://expect.nist.gov/
    10 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following