Request to Mod: Merge this thread with OP’s previous thread (same question):
http://www.thescripts.com/forum/thread748714.html. It was started very recently, and there is no reason to start a second line of discussion.
Aside to OP: Don’t start multiple threads when the question is the same. It’s like spamming.
Now, to your actual question. You seemed to have misunderstood my reply in the previous thread. I wasn’t criticizing your question. I was telling you how to approach your problem. I know nothing about your routers at hand. I don’t know what your router provides you. You can telnet to it? Great. Anything else? Did they provide any libraries of code for you to use?
We don’t know that. It’s something only you can find out. If you don’t know, maybe you should call up Cisco and ask for support on the issue.
If Cisco provides certain libraries of code to be used in conjuction with your router, then you should use those libraries, in whatever language they are to be used in. No idea if it would be Python.
Python has modules for working with the telnet protocol. You could replicate with Python, whatever steps a human being would do to configure your routers.