RE: TCL & DOC CD

From: Ryan West <rwest_at_zyedge.com>
Date: Wed, 16 Sep 2009 08:48:49 -0400

No, just do it a lot.

Sometimes you'll see extra things like "put" in the script... that's not necessary. A simple TCL script like this will work each time.

foreach i {
192.168.1.1
192.168.1.2
} {ping $i re 3 ti 1}

Rack1R1(tcl)#foreach i {
+>192.168.1.1
+>192.168.1.2
+>} {ping $i re 3 ti 1}

Type escape sequence to abort.
Sending 3, 100-byte ICMP Echos to 192.168.1.1, timeout is 1 seconds:
...
Success rate is 0 percent (0/3)
Type escape sequence to abort.
Sending 3, 100-byte ICMP Echos to 192.168.1.2, timeout is 1 seconds:
...
Success rate is 0 percent (0/3)

IMO, this is more than enough to verify your work and deals with the annoys self ping timeouts with FR.

-ryan

-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of 4g1vn
Sent: Wednesday, September 16, 2009 8:40 AM
To: ccielab_at_groupstudy.com
Subject: TCL & DOC CD

Group: Is there a quick refrence in the DOC CD for TCL scripts?
Specifically, a ping script? Everytime I try to write one, I forget the
syntax. :)

-- 
Shaun Gomez, CCNP ATSA ASP
Network Engineer
Blogs and organic groups at http://www.ccie.net
Received on Wed Sep 16 2009 - 08:48:49 ART

This archive was generated by hypermail 2.2.0 : Sun Oct 04 2009 - 07:42:03 ART