From: Victor Cappuccio (cvictor@protokolgroup.com)
Date: Fri Aug 25 2006 - 15:32:01 ART
Hi,
Just type tclsh at the privileged 15 prompt, note if you are practicing for
the CCIE Lab, this would only work on the Routers, for the switches you have
2 solutions use RSH http://www.internetworkexpert.com/resources/tclshrsh.htm
Or use macros
Sw1(config)#macro name ping
Enter macro commands one per line. End with the character '@'.
do ping 154.1.6.6
do ping 154.1.3.3
@
Sw1(config)#
Sw1(config)#macro global apply ping
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 154.1.6.6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 124/124/124 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 154.1.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 60/61/64 ms
Sw1(config)#
HTH
Victor.-
-----Mensaje original-----
De: nobody@groupstudy.com [mailto:nobody@groupstudy.com] En nombre de F R
Enviado el: Viernes, 25 de Agosto de 2006 01:25 p.m.
Para: Niche
CC: ccielab@groupstudy.com
Asunto: Re: TCL ping script with tos and byte size option?
All,
i have question about this tcl script..
if i have tcl script like this :
foreach i {
200.0.0.1
200.0.1.1
200.0.2.1
} { puts [ exec "ping $i" ] }
where i input the script or how to implement this scrip..
sorry my question is very basicly..
thanks,
beat
On 8/23/06, Niche <jackyliu419@gmail.com> wrote:
>
> Hi guys,
>
> Anyone know how to specify TOS value and the ping packet size in
> normal TCL ping script?
>
> Cheers~
> Jacky
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Fri Sep 01 2006 - 15:41:58 ART