c3560 switches now do tcl

From: Daniel Kutchin (daniel@kutchin.com)
Date: Sat Jul 19 2008 - 09:03:20 ART


Folks ---

 

Has anyone noticed this, or have I missed it all this while?

 

This Cat can speak tcl.

 

SW1#sh vers | i file

System image file is "flash:/c3560-advipservicesk9-mz.122-44.SE.bin"

 

SW1(tcl)#tclsh

 

SW1(tcl)#foreach i {

+>222.22.2.1

+>} { puts [exec "ping $i"] }

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 222.22.2.1, timeout is 2 seconds:

!!!!!

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

 

---

Daniel



This archive was generated by hypermail 2.1.4 : Mon Aug 04 2008 - 06:11:55 ART