Modified TCL Script for CCIE LAB

From: Magmax (magmax@bigpond.net.au)
Date: Sat Jul 22 2006 - 04:20:31 ART


Guys,

 

Rack1R3#tclsh

Rack1R3(tcl)#

Rack1R3(tcl)#foreach i {

+>

+>150.1.3.3

+>150.1.6.6

+>144.1.34.4

+>144.1.34.3

+>144.1.24.2

+>144.1.24.4

+>144.1.46.4

+>144.1.46.6

+>54.1.10.6

+>54.1.10.254

+>200.0.0.1

+>200.0.1.1

+>200.0.2.1

+>200.0.3.1

+>

+>} {ping $i source loopback0 repeat 10 timeout 1}

 

Type escape sequence to abort.

Sending 10, 100-byte ICMP Echos to 150.1.3.3, timeout is 1 seconds:

Packet sent with a source address of 150.1.3.3

!!!!!!!!!!

Success rate is 100 percent (10/10), round-trip min/avg/max = 1/2/4 ms

Type escape sequence to abort.

Sending 10, 100-byte ICMP Echos to 150.1.6.6, timeout is 1 seconds:

Packet sent with a source address of 150.1.3.3

!!!!!!!!!!

Success rate is 100 percent (10/10), round-trip min/avg/max = 1/3/4 ms

Type escape sequence to abort.

Sending 10, 100-byte ICMP Echos to 144.1.34.4, timeout is 1 seconds:

Packet sent with a source address of 150.1.3.3

!!!!!!!!!!

Success rate is 100 percent (10/10), round-trip min/avg/max = 1/2/4 ms

Type escape sequence to abort.

Sending 10, 100-byte ICMP Echos to 144.1.34.3, timeout is 1 seconds:

Packet sent with a source address of 150.1.3.3

!!!!!!!!!!

Success rate is 100 percent (10/10), round-trip min/avg/max = 1/2/4 ms

Type escape sequence to abort.

Sending 10, 100-byte ICMP Echos to 144.1.24.2, timeout is 1 seconds:

Packet sent with a source address of 150.1.3.3

!!!!!!!!!!

Success rate is 100 percent (10/10), round-trip min/avg/max = 60/60/60 ms

Type escape sequence to abort.

Sending 10, 100-byte ICMP Echos to 144.1.24.4, timeout is 1 seconds:

Packet sent with a source address of 150.1.3.3

!!!!!!!!!!

Success rate is 100 percent (10/10), round-trip min/avg/max = 1/2/4 ms

Type escape sequence to abort.

Sending 10, 100-byte ICMP Echos to 144.1.46.4, timeout is 1 seconds:

Packet sent with a source address of 150.1.3.3

!!!!!!!!!!

Success rate is 100 percent (10/10), round-trip min/avg/max = 1/3/4 ms

Type escape sequence to abort.

Sending 10, 100-byte ICMP Echos to 144.1.46.6, timeout is 1 seconds:

Packet sent with a source address of 150.1.3.3

!!!!!!!!!!

Success rate is 100 percent (10/10), round-trip min/avg/max = 1/3/4 ms

Type escape sequence to abort.

Sending 10, 100-byte ICMP Echos to 54.1.10.6, timeout is 1 seconds:

Packet sent with a source address of 150.1.3.3

!!!!!!!!!!

Success rate is 100 percent (10/10), round-trip min/avg/max = 1/3/4 ms

Type escape sequence to abort.

Sending 10, 100-byte ICMP Echos to 54.1.10.254, timeout is 1 seconds:

Packet sent with a source address of 150.1.3.3

!!!!!!!!!!

Success rate is 100 percent (10/10), round-trip min/avg/max = 68/68/72 ms

Type escape sequence to abort.

Sending 10, 100-byte ICMP Echos to 200.0.0.1, timeout is 1 seconds:

Packet sent with a source address of 150.1.3.3

!!!!!!!!!!

Success rate is 100 percent (10/10), round-trip min/avg/max = 68/68/72 ms

Type escape sequence to abort.

Sending 10, 100-byte ICMP Echos to 200.0.1.1, timeout is 1 seconds:

Packet sent with a source address of 150.1.3.3

!!!!!!!!!!

Success rate is 100 percent (10/10), round-trip min/avg/max = 68/68/68 ms

Type escape sequence to abort.

Sending 10, 100-byte ICMP Echos to 200.0.2.1, timeout is 1 seconds:

Packet sent with a source address of 150.1.3.3

!!!!!!!!!!

Success rate is 100 percent (10/10), round-trip min/avg/max = 68/68/72 ms

Type escape sequence to abort.

Sending 10, 100-byte ICMP Echos to 200.0.3.1, timeout is 1 seconds:

Packet sent with a source address of 150.1.3.3

!!!!!!!!!!

Success rate is 100 percent (10/10), round-trip min/avg/max = 68/68/72 ms

Rack1R3(tcl)#

 

Thanks to Scott for showing me TCL.



This archive was generated by hypermail 2.1.4 : Tue Aug 01 2006 - 07:13:48 ART