From: rwo@mac.com
Date: Tue Aug 26 2003 - 18:38:09 GMT-3
Tested with 12.2, and on my 2600 only in enable mode. Fails on
12.1.18, and before on my routers.
r8>ping ip 4.1.1.5 ?
<cr>
r8>en
Password:
r8#ping 4.1.1.5 ?
data specify data pattern
df-bit enable do not fragment bit in IP header
repeat specify repeat count
size specify datagram size
source specify source address or name
timeout specify timeout interval
validate validate reply data
<cr>
r8#sh ver
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-JK9S-M), Version 12.2(19), RELEASE
SOFTWARE (fc3)
r8#ping ip 4.1.1.8 repeat 25 data ffff source 4.1.1.8 timeout 5
Type escape sequence to abort.
Sending 25, 100-byte ICMP Echos to 4.1.1.8, timeout is 5 seconds:
Packet sent with a source address of 4.1.1.8
Packet has data pattern 0xFFFF
!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (25/25), round-trip min/avg/max = 1/1/4 ms
On Monday, August 25, 2003, at 10:35 PM, wing_lam@jossynergy.com wrote:
> Woo great! thank you, but I am not working and I guess it's due to IOS
> version.
>
> R3(tcl)#$g ip $router repeat 25 data ffff source 10.33.1.33 timeout 5}
> ^
> % Invalid input detected at '^' marker.
>
> R3(tcl)#
> R3(tcl)#$.1.5} {ping ip $router data ffff source 10.33.1.33 timeout 5}
> ^
> % Invalid input detected at '^' marker.
>
> R3(tcl)#
> R3(tcl)#$.1.5} { ping ip $router data ffff source 10.33.1.33 timeout 5
> }
> ^
> % Invalid input detected at '^' marker.
>
> R3(tcl)#$.1.1 105} { ping ip $router data ffff source 10.33.1.33
> timeout 5
> }
> 5 }
>
> Thx
> BBD (Big Black Dog)
>
>
>
>
> rwo@mac.com
> Sent by: To:
> wing_lam@jossynergy.com
> nobody@groupstudy cc:
> ccielab@groupstudy.com
> .com Subject: Re: TCLSH
>
>
> 08/26/2003 10:20
> AM
> Please respond to
> rwo
>
>
>
>
>
>
> You are working too hard on TCL. :) You are probably interested in
> changing the source interface parameter
> and you can do this with the proper command line syntax. Here is a
> demonstration of extended ping parameters
> and tclsh.
>
> r8#tclsh
> foreach router {4.1.1.5 4.1.1.6 4.1.1.8} { ping ip $router repeat 25
> data ffff source 4.1.1.8 timeout 5}
> Type escape sequence to abort.
> Sending 25, 100-byte ICMP Echos to 4.1.1.5, timeout is 5 seconds:
> Packet sent with a source address of 4.1.1.8
> Packet has data pattern 0xFFFF
> !!!!!!!!!!!!!!!!!!!!!!!!!
> Success rate is 100 percent (25/25), round-trip min/avg/max = 1/2/4 ms
> Type escape sequence to abort.
> Sending 25, 100-byte ICMP Echos to 4.1.1.6, timeout is 5 seconds:
> Packet sent with a source address of 4.1.1.8
> Packet has data pattern 0xFFFF
> !!!!!!!!!!!!!!!!!!!!!!!!!
> Success rate is 100 percent (25/25), round-trip min/avg/max = 1/2/4 ms
> Type escape sequence to abort.
> Sending 25, 100-byte ICMP Echos to 4.1.1.8, timeout is 5 seconds:
> Packet sent with a source address of 4.1.1.8
> Packet has data pattern 0xFFFF
> !!!!!!!!!!!!!!!!!!!!!!!!!
> Success rate is 100 percent (25/25), round-trip min/avg/max = 1/2/4 ms
> r8(tcl)#tclquit
>
> On Sunday, August 24, 2003, at 02:11 AM, wing_lam@jossynergy.com wrote:
>
>>
>> Hi,
>>
>> How about if I want to similate several extended ping that need
>> interaction?
>>
>> Thx,
>> BBD (Big Black Dog)
>>
>>
>>
>>
>> rwo@mac.com
>> Sent by: To: Naga
>> Sayeenathan <naga@nmhcrx.com>
>> nobody@groupstudy cc:
>> ccielab@groupstudy.com
>> .com Subject: Re: TCLSH
>>
>>
>> 08/24/2003 10:29
>> AM
>> Please respond to
>> rwo
>>
>>
>>
>>
>>
>>
>> On IOS 12.2:
>>
>> r8#tclsh
>> r8(tcl)#foreach router {4.1.1.5 4.1.1.6 4.1.1.8} {ping $router}
>>
>> Type escape sequence to abort.
>> Sending 5, 100-byte ICMP Echos to 4.1.1.5, timeout is 2 seconds:
>> !!!!!
>> Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
>> Type escape sequence to abort.
>> Sending 5, 100-byte ICMP Echos to 4.1.1.6, timeout is 2 seconds:
>> !!!!!
>> Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
>> Type escape sequence to abort.
>> Sending 5, 100-byte ICMP Echos to 4.1.1.8, timeout is 2 seconds:
>> !!!!!
>> Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
>> r8(tcl)#tclquit
>>
>> Bob
>>
>> On Saturday, August 23, 2003, at 09:20 PM, Naga Sayeenathan wrote:
>>
>>> What is the syntax to ping list of IP addresses using TCLSH script?
>>> Response
>>> would be really appreciated.
>>>
>>> TIA
>>> naga
>>>
>>>
>>> This transmission may contain protected health information, which is
>>> transmitted pursuant to an authorization or as permitted by law. The
>>> information herein is confidential and intended only for use by the
>>> designated recipient who/which must maintain its confidentiality and
>>> security. If you are not the designated recipient, you are strictly
>>> prohibited from disclosing, copying, distributing, or taking action
>>> in
>>> reliance on the contents hereof. If you have received this
>>> transmission in error, please notify the sender immediately and
>>> arrange for the return or destruction of all of its contents.
>>> Unauthorized re-disclosure of confidential health information is
>>> prohibited by state and federal law.
>>>
>>>
>>> _____________________________________________________________________
>>> _
>>> _
>>> You are subscribed to the GroupStudy.com CCIE R&S Discussion Group.
>>>
>>> Subscription information may be found at:
>>> http://www.groupstudy.com/list/CCIELab.html
>>
>>
>> ______________________________________________________________________
>> _
>> You are subscribed to the GroupStudy.com CCIE R&S Discussion Group.
>>
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>
>
> _______________________________________________________________________
> You are subscribed to the GroupStudy.com CCIE R&S Discussion Group.
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
> _______________________________________________________________________
> You are subscribed to the GroupStudy.com CCIE R&S Discussion Group.
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Tue Sep 02 2003 - 18:54:07 GMT-3