I need to write a script, that can automate few things:
a) telnet to a router
b) issue configuration commands.
c) check for status(success/error)
What language/framework should I use?
I only know about "expect".
What are other better alternatives?
I need to write a script, that can automate few things:
a) telnet to a router
b) issue configuration commands.
c) check for status(success/error)
What language/framework should I use?
I only know about "expect".
What are other better alternatives?
If you don't want to use expect, you're probably going to end up using some more standard scripting language which is less specifically well-suited to the task. If you get into that realm, the proper answer is "anything you feel comfortable with", be that bash, python, or whatever else.
It's a pretty general problem, so use whatever produces an easy-to-maintain system.