Re: Ping Script

From: David Vu (dd_vu@xxxxxxxxx)
Date: Fri Dec 28 2001 - 01:51:07 GMT-3


   
I don't think the terminal in the lab is connected to the network. Even if
it is, the IP addresses that are given is not visible in the lab
environment. If so, how can we use this script in a CCIE lab test
environment to check our connectivity?

At 11:00 PM 12/27/2001 -0500, Hansang Bae wrote:
>At 11:13 AM 12/28/2001 +0800, Ivan wrote:
>>I've read from the posting about Ping Script.
>>Can anyone show me how to create a PING Script.
>
>
>You can use any scripting language you want. Even simple NT 'DOS' script
>will do in a pinch
>
>
>for /L %i in (1,1,254) do ping 192.168.1.%i -n 2 -L 1472 > c:\foobar.txt
>
>/L tells the FOR DO loop to use the values in the ( )
>(1,1,254) is (Start value, Increment value, Ending value)
>/L and -L are unrelated. I just like to use the maximum size ping packets.
>
>(If you use it in a batch file, use %%i instead of %i)
>
>hsb



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:32:48 GMT-3