[c-nsp] Scripting Multiple Pings?

Austin McKinley amckinle at andrew.cmu.edu
Thu Jul 28 22:32:16 EDT 2005


I'd like to have a text file, full of commands like:

ping 1.1.1.1
ping 2.2.2.2
...
...
...

and so on. Then I could test connectivity to all the interfaces I'm 
concerned about by pasting this text file, and looking at the results. 
The problem is that only the first ping runs, because the others all get 
thrown to the command line while the first ping runs. Anyone know a way 
around this behavior, without using expect/perl?

Austin



More information about the cisco-nsp mailing list