Automate Telnet command to several network devices

100 pts.
Tags:
Foundry
Networking
Remote management
Hello, After googling about how to automate Telnet to network devices. I would like to create a batch file and script files if needed to Telnet IPs of several network devices and execute a set of pre-stored commands including the password. At this point i can't seem to figure out how to pass the password automatically to the run batch file that executed the Telent command. Can you suggest anything? Thank You

Answer Wiki

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

I can only set username but password still can’t in windows XP…

telnet [-a][-e escape char][-f log file][-l user][-t term][host [port]]

e.g. telnet -l administrator WIN123

Discuss This Question: 1  Reply

 
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.
  • petkoa
    Hi, You not telling what OS you're using on the host which will spawn scripts. On Linux you can use "expect"; dont know something simillar on Win BR, Petko
    3,140 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.

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

Following

Share this item with your network: