cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
491
Views
0
Helpful
5
Replies

How to use TCL Script?

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

1 Accepted Solution

Accepted Solutions

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

View solution in original post

5 Replies 5

paolo bevilacqua
Hall of Fame
Hall of Fame

1. See: http://www.cisco.com/en/US/docs/ios/netmgmt/configuration/guide/nm_script_tcl.html

2. You need to know or learn TCL.

Please rate post if it helps!

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

Thanks & Regards

Kiran

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

Please rate post if it helps!

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

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

Review Cisco Networking products for a $25 gift card