RE: TCL Script to Ping.

From: Paresh Khatri (Paresh.Khatri@aapt.com.au)
Date: Tue Oct 11 2005 - 23:30:31 GMT-3


Hi Chris,

I've just tried that script out on a 2651XM and a 7200. It works on the 7200 but seems to do nothing on the 2651XM. Is it possible that it is still running but sending the output to some other location ?

Paresh.

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Victor Cappuccio
Sent: Wednesday, 12 October 2005 12:22 PM
To: Chris Lewis
Cc: ccielab@groupstudy.com
Subject: Re: TCL Script to Ping.

Well, Thanks for that again, But seems not to be working on my home
router, I'm going to test this one today at my Lab Session
Thanks Again

Rgds
Victor

Chris Lewis wrote:

> Victor,
>
> This is what I get on every router I try it on
>
> Router(tcl)#foreach i {
> +> 10.1.2.1
> +> 10.1.3.1
> +> 10.1.1.1
> +> 10.1.4.1
> +> 10.1.5.1
> +>} { ping $i}
> Type escape sequence to abort.
> Sending 5, 100-byte ICMP Echos to 10.1.2.1, timeout is 2 seconds:
> !!!!!
> Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
> Type escape sequence to abort.
> Sending 5, 100-byte ICMP Echos to 10.1.3.1, 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 10.1.1.1, timeout is 2 seconds:
> !!!!!
> Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
> Type escape sequence to abort.
> Sending 5, 100-byte ICMP Echos to 10.1.4.1, 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 10.1.5.1, timeout is 2 seconds:
> !!!!!
> Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
> Router(tcl)#
>
> */Victor Cappuccio <cvictor@protokolgroup.com>/* wrote:
>
> Hello Chirs, Thanks for that !
> but look this
> r5#show ip aliases
> Address Type IP Address Port
> Interface 172.16.200.5
> Interface 192.168.5.5
>
> r5(tcl)#foreach t {
> +>(tcl)#172.16.200.5
> +>(tcl)#192.168.5.5
> +>(tcl)#} { ping $t}
>
> Gives no information about if the ping is working or not, Any
> suggestions
> Thanks
> Victor.
>
> Chris Lewis wrote:
>
> >foreach i {
> >aadr 1
> >aadr 2
> >addr 3
> >} {ping $i}
> >
> >Works every time for me. You can cut and paste the output from
> the show ip alias command on each router to get your list of
> addresses to ping and paste from notepad in to each router (use
> the find and replace to eliminate the interface column on each
> line to quickly get it in to a format that can be pasted in to the
> script). If anyone knows of a quicker and more efficient way to
> ping all addresses from all routers, I'd love to hear it.
> >
> >Chris
> >
> >Robert Hosford wrote:
> >Well from the looks of those scripts your not kidding about
> making it too
> >hard. If you can bang out that script 20 times flawlessly don't
> even try it
> >on the lab.
> >
> >And be prepared if your TCL script doesn't work. On the first lab
> attempt I
> >tried with a TCl script it didn't work and I had to back away and
> do it by
> >hand. Just so you know CTRL + INS and SHIFT + INS work with
> secure crt.
> >
> >-----Original Message-----
> >From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On
> Behalf Of
> >cciein2006@yahoo.com
> >Sent: Tuesday, October 11, 2005 11:07 AM
> >To: ccielab@groupstudy.com
> >Subject: Re: TCL Script to Ping.
> >
> >I'm not sure about using these scripts during the exam. I have a
> feeling I
> >would spend more time troubleshooting the TCL script than the routing
> >protocols.
> >
> >Just my $.002
> >
> >_______________________________________________________________________
> >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
> >
> >
> >---------------------------------
> > Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
> >
> >_______________________________________________________________________
> >Subscription information may be found at:
> >http://www.groupstudy.com/list/CCIELab.html
> >
> >
> >
>
> ------------------------------------------------------------------------
> Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
> <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/>



This archive was generated by hypermail 2.1.4 : Sun Nov 06 2005 - 22:00:50 GMT-3