How to use TCL Script?

Answered Question
Jul 7th, 2008

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

I have this problem too.
0 votes
Correct Answer by Kevin Dorrell about 8 years 4 months 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.
Paolo Bevilacqua Mon, 07/07/2008 - 02:05

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

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

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