Posted by: Yasir Irfan
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.
If the Cisco Router or a Cisco Ctalyst Switch supports the TCL feature you will see the following prompt in your device
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.
In my next post I will try to post few examples for usage of TCL scripts.