How to enable tcl in a Cisco Router or a Cisco Switch?
Posted by: Yasir Irfan
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.





