From: Victor Cappuccio (cvictor@protokolgroup.com)
Date: Tue Oct 11 2005 - 22:59:27 GMT-3
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 <rhosford@certifiednets.com> 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
This archive was generated by hypermail 2.1.4 : Sun Nov 06 2005 - 22:00:50 GMT-3