Network technologies and trends

Jul 26 2010   5:35AM GMT

How to enable tcl in a Cisco Router or a Cisco Switch?



Posted by: Yasir Irfan
Tags:
Cisco Catalyst 6506 E
Cisco IOS
Cisco IOS 12.3(2) T
Cisco Press
Cisco Routers
Cisco Scripts
Cisco Switches
How to enable tcl in a Cisco Router or a Cisco Switch
Linux
Network Monitoring
Network Technologies and Trends
Network Tools
networking activities
programming language
scripting language
TCL
TCL Script for Cisco IOS
tclq
tclsh
Tool Command Language
UNIX
Windows

In my previous post I was talking about Tool command Language (TCL), since now we are familiar with the evolution of TCL lets proceed a step ahead to see how we can enable TCL in a Cisco Router or a Cisco Catalyst Switch, before trying TCL make sure your using an IOS of release minimum of 12.3(2) T or higher. Here is the example to, I am using a Cisco Catalyst 6506 E Switch with an IOS version of 12.2(33) SXH5.

ITKE-SW01#tclsh

If the Cisco Router or a Cisco Ctalyst Switch supports the TCL feature you will see the following prompt in your device

ITKE-SW01(tcl)#

In the above example I just demonstrated how to enable the feature in a Cisco Router or a Cisco Catalyst Switch. In order to quit from the tcl mode you can use the “tclq” command as shown below.

ITKE-SW01(tcl)#tclq

ITKE-SW01#

In my next post I will try to post few examples for usage of TCL scripts.

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: