TCLSH not showing results

From: Andrew Ballantyne \(aballant\) (aballant@cisco.com)
Date: Thu Jul 14 2005 - 12:13:40 GMT-3


Hi,

This happens to be on a 7600, running the latest IOS on 12.2 and I see
similar on other devices. When I try to run an IOS command within a TCL
script I don't see the results

I run the following script...

(tcl)#foreach router {

+>192.168.2.2

+>192.168.1.1

+>} {

+>puts "ping router $router"

+>exec ping $router

+>}

ping router 192.168.2.2

ping router 192.168.1.1

But as you can see the print/puts line is printed at the right place (&
approx right time), but the ping results are not shown. Is there
something which has to be configured to run command in TCL, and see
their results?

Cheers.

Andrew



This archive was generated by hypermail 2.1.4 : Sun Sep 04 2005 - 17:00:29 GMT-3