×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

How to use TCL Script?

Answered Question
Jul 7th, 2008
User Badges:

Hi Experts,


do any one know about TCL Scripting on Cisco Router and Switches.


1)How to use TCL ?


2)Do we need to know any progaming language to writee TCL Script?


Thanks in Advnce

Kiran


Thanks in Advnce

Kiran

Correct Answer by Kevin Dorrell about 9 years 1 month ago

Kiran,


This is the standard book for TCL:


http://www.amazon.com/Practical-Programming-Tcl-Tk-4th/dp/0130385603/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1215425366&sr=8-1


There is also this book for beginners:


http://www.amazon.com/Tcl-Tk-Programming-Absolute-Beginner/dp/1598634380/ref=pd_bbs_sr_2?ie=UTF8&s=books&qid=1215425366&sr=8-2


TCL is quite an easy language once you are into it, but it is definitely not a zero-effort solution. You will not be able to use it unless you are prepared to work at it a bit.


Can you program in C or in shell or any other scripting language? That would be a good starting point.


Kevin Dorrell

Luxembourg

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3 (1 ratings)
Loading.
kirankumar.chamakura Mon, 07/07/2008 - 01:56
User Badges:

I need to know and learn TCL.please provide me with more details if you have.


Thanks & Regards

Kiran

paolo bevilacqua Mon, 07/07/2008 - 02:05
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

You can buy a book or read on the internet. TCL is a very simple language.


Please rate post if it helps!



Correct Answer
Kevin Dorrell Mon, 07/07/2008 - 02:14
User Badges:
  • Green, 3000 points or more

Kiran,


This is the standard book for TCL:


http://www.amazon.com/Practical-Programming-Tcl-Tk-4th/dp/0130385603/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1215425366&sr=8-1


There is also this book for beginners:


http://www.amazon.com/Tcl-Tk-Programming-Absolute-Beginner/dp/1598634380/ref=pd_bbs_sr_2?ie=UTF8&s=books&qid=1215425366&sr=8-2


TCL is quite an easy language once you are into it, but it is definitely not a zero-effort solution. You will not be able to use it unless you are prepared to work at it a bit.


Can you program in C or in shell or any other scripting language? That would be a good starting point.


Kevin Dorrell

Luxembourg

n.nandrekar Mon, 07/07/2008 - 06:32
User Badges:
  • Silver, 250 points or more

hi!

there is an excellent opensource tutor available for TCL known as "TCL Tutor"

It has a lot of lessons and you can run sample codes in that and practice. It explains well along with examples.

Following is the download link :


http://www.msen.com/~clif/TclTutor.html


Hope this is helpful.


(Please rate if it helps)


Regards,

Niranjan

Actions

This Discussion