Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Telnet scripts

Status
Not open for further replies.

ManagerJay

IS-IT--Management
Jul 24, 2000
302
US
I am trying to develop a telnet script that will allow me to make changes to router configurations at a specified time. Since each site has a server physically on site, my thinking was developing a telnet script to make the necessary changes would make sense.

The routers I need to change the configuration on are CISCO with varying IOS levels.

I have tried using a .telnetrc file without any success. Any suggestions anyone can offer would be greatly appreciated.

TIA,



Jay
 
Yes, Expect is a popular choice for this type of automation.

Setting the routers up to allow remote commands (rsh) is also a possibility (I don't remember exactly how to do this, but I know I did it a few years ago on a Cisco 7200, running IOS < 12). This option should be used carefully as it has the ability to present significant security issues if not used properly.
 
Thanks for all the help. After looking at Expect, and seeing some projects on the future this will be useful for, I'm going to give it a try.

Thanks again for all your help.



Jay
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top