Solved

Telnet Scripting Tool Tst10  with multiple hosts automaticlly

Posted on 2007-03-28
2
6,362 Views
Last Modified: 2013-11-13
I am working with the Telnet Scripting Tool for windows, Tst10 which is working well for conneciting to ONE host and saving the output...

But has anyone done anything with it so that it will call a host file to connect to multiple hosts in a row and keep the output to a file going, then giving the ability to parse through the output file later...

For example:

i have 10 switches i want the Telnet Tool to telnet to each IP run the commnad and save to the same output.txt file, either by calling a hostfile or incrmenting the last octect of the IP address, something of that nature...

Any one done anywork like that with this specific tool or another standalone tool...For reasons i dont need to go into i do not have any unix/linux and cannot use expect or perl to do this type of thing...I need a small windows application that can do this with little overhead...

and i am not trying to reinvent the wheel...just do it cheap and easy...

Thanks for your time Garry...
0
Comment
Question by:bakergarry
2 Comments
 
LVL 9

Accepted Solution

by:
javajws earned 500 total points
ID: 18808615
Here's a sample using VBScript:
http://www.vandyke.com/support/crt/scripting_examples.html

Checkout Listing 15 - PingMulti.vbs for an example...only you want to Telnet, not Ping:
http://www.microsoft.com/technet/scriptcenter/topics/networking/03_atnc_remote.mspx
0
 

Author Comment

by:bakergarry
ID: 18821631
thanks javajws for your suggestions, while i didnt use them it got me thinking and was a help...

I just stuck with batch jobs and created 255 separte config files and then used a nifty little tool called TEXtools (http://www.fireflysoftware.com/index.htm) to pipe through them and do a Replace String to change the commands inside each .txt config file for the TST10 tool to use...

thanks..
Garry
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show, step by step, how to integrate R code into a R Sweave document
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn how to dynamically set the form action using jQuery.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question