Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

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

Re: How to use TCL Script?

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

5 REPLIES
Hall of Fame Super Gold

Re: How to use TCL Script?

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!

Community Member

Re: How to use TCL Script?

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

Thanks & Regards

Kiran

Hall of Fame Super Gold

Re: How to use TCL Script?

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

Please rate post if it helps!

Re: How to use TCL Script?

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

Silver

Re: How to use TCL Script?

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

177
Views
0
Helpful
5
Replies
CreatePlease to create content