Re: TCLSH

From: rwo@mac.com
Date: Mon Aug 25 2003 - 23:20:17 GMT-3


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



This archive was generated by hypermail 2.1.4 : Tue Sep 02 2003 - 18:54:06 GMT-3