Cool, this seems to get me most of the way there! I incorporated your suggestion and now have this:
-------------------------------
proc main
string szFname = "C:\routers.txt"
if fopen 0 szFname READ TEXT
while not feof 0
fgets 0 szLine...
My script telnets to a list of routers in a text file (one by one), and issues a command to each router. The problem is, when it gets to a router that is unreachable, the script simply hangs and I have to figure out where it hung, and remove that router's IP address from the text file. Then I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.