Here's one I just wrote for INE Lab 13:
foreach ip {
150.1.1.1
139.1.11.1
139.1.13.1
139.1.15.1
150.1.2.2
139.1.2.2
.
.
.
139.1.2.22
192.10.1.254
222.22.2.1
} { ping $ip rep 2 time 1 }
You get the idea. Just put list every IP that should have reachability at
that given point. I usually do this as soon as IGP redistribution is done,
and again when BGP is done. I also modify the repitition to 2 times and the
timeout to 1 second. That way you're not waiting around on the script if an
IP isn't reachable.
Keith
On 8/19/07, dayo@xxxxxxxxxxxxx <dayo@xxxxxxxxxxxxx> wrote:
>
> Hi Guys,
>
> Looking for away to write a tcl script for IGP and BGP testing in the R &
> S
> exam. Any help will be appreciated
>
> Thanks
>
>
> On 8/19/07, Djerk Geurts <djerk.geurts@xxxxxxxxxxxxxx> wrote:
> >
> > I don't seem to be able to send to the list anymore... (does this
> arrive?)
> >
> > Now from the correct account.
> >
> > Regards,
> >
> > --
> > Djerk
> >
> > _______________________________________________________________________
> > 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