From: Chris Lewis (chrlewiscsco@gmail.com)
Date: Fri Feb 03 2006 - 11:09:45 GMT-3
Nick,
That script worked well for me on 12.2 routers. For some reason on
12.4routers (that will appear in the lab) it needs to be amended
slightly to the
following to display an output.
tclsh
foreach address {
x.x.x.x
y.y.y.y
} {puts {exec "ping $address"}
Chris
On 2/3/06, Popgeorgiev Nikolay <nikolay.popgeorgiev@siemens.com> wrote:
>
> Theerapol,
>
> You can use this:
>
>
> tclsh
> foreach address {
> x.x.x.x
> y.y.y.y
> } {ping $address rep2}
>
>
> best,
> Nick
>
>
> -----Original Message-----
> From: Theerapol Boonnan [mailto:theerab@net1.co.th]
> Sent: Tuesday, January 31, 2006 5:07 AM
> To: ccielab@groupstudy.com
> Subject: how to create tcl script ping test?
>
> Anyone know about how to create tcl script for ping test? And can I use
> this tcl script in lab exam?
>
>
>
> Theerapol
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Wed Mar 01 2006 - 11:28:17 GMT-3