Re: TCL Scripts

From: Chula Bandara (chula_bandara@hotmail.com)
Date: Wed Nov 16 2005 - 12:19:50 GMT-3


HI Jack i am trying tclsh on a 2811 , it doesn't work. do i need a
specific IOS version.

Thanks

Chula

test#tclsh
Translating "tclsh"

Translating "tclsh"
% Unknown command or computer name, or unable to find computer address
test#sh ver
Cisco IOS Software, 2800 Software (C2800NM-IPBASE-M), Version 12.4(3a),
RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Fri 30-Sep-05 13:24 by hqluong

ROM: System Bootstrap, Version 12.3(8r)T7, RELEASE SOFTWARE (fc1)

test uptime is 1 week, 5 days, 19 hours, 18 minutes
System returned to ROM by reload at 19:57:22 UTC Thu Nov 3 2005
System image file is "flash:c2800nm-ipbase-mz.124-3a.bin"

  --------------------------------------------------------------------

  From: Niche <jackyliu419@gmail.com>
  Reply-To: Niche <jackyliu419@gmail.com>
  To: InderpalS@mindscapeit.com
  CC: cciebfetzer@gmail.com, ccielab@groupstudy.com
  Subject: Re: TCL Scripts
  Date: Wed, 16 Nov 2005 13:19:22 +0800
  Hi there,

  Yes, from my lab experience, all routers (2600&3600) (except 3550)
  can run
  the tcl script,

  Sample that I used in the lab,

  tclsh
  foreach addr {
  1.1.1.1 <http://1.1.1.1>
  2.2.2.2 <http://2.2.2.2>
  x.x.x.x
  } {ping $addr}

  write this script on notepad, then paste it on each router for ping
  check
  then input "tclq" to make sure you return to normal command mode.

  Find a router and try it once or twice, you will know. It's actually
  pretty
  easy to get used to it.

  Cheers~
  Jacky

  On 11/16/05, InderpalS@mindscapeit.com <InderpalS@mindscapeit.com>
  wrote:
>
> Hi Bryan,
>
> Still can't get this....how do we actually make use of TCL scripts
  in real
> ccie lab for testing. Does tcl script run ona ll lab routers? Do we
  need
> to
> write entire script before we can use it?
>
> Thanks for your help..
> Inder
>
> -----Original Message-----
> From: Bryan Fetzer [mailto:cciebfetzer@gmail.com]
> Sent: Tuesday, November 15, 2005 7:10 PM
> To: ccielab@groupstudy.com
> Subject: Re: TCL Scripts
>
> One such example that I am aware of:
> http://www.internetworkexpert.com/resources/tclshrsh.htm
>
> Inderpal Singh wrote:
>
> >Could someone shed some light on usage of TCL scripts to check /
  test
> >configuration. May be some good url or few nice steps.
> >
> >Inder
> >
>
>-----------------------------------------------------------------------
> >-
> >
> >Don't just search. Find. MSN Search Check out the new MSN Search!
> >
>
>_______________________________________________________________________
> >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
> 11/16/2005 9:02:12 AM
>
> Disclaimer
>
>
  ____________________________________________________________________________
> This e-mail message and any attachments are for the sole use of the
> intended recipient(s) and may contain confidential and proprietary
> information. Any unauthorized use, disclosure or distribution is
> prohibited
>
>
  _______________________________________________________________________
> 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



This archive was generated by hypermail 2.1.4 : Thu Dec 01 2005 - 09:12:07 GMT-3