<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Network technologies and trends &#187; Cisco IOS 12.3(2) T</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/network-technologies/tag/cisco-ios-1232-t/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/network-technologies</link>
	<description></description>
	<lastBuildDate>Wed, 15 May 2013 18:52:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Using TCL scripts to test connectivity of hosts in a Cisco device</title>
		<link>http://itknowledgeexchange.techtarget.com/network-technologies/using-tcl-scripts-to-test-connectivity-of-hosts-in-a-cisco-device/</link>
		<comments>http://itknowledgeexchange.techtarget.com/network-technologies/using-tcl-scripts-to-test-connectivity-of-hosts-in-a-cisco-device/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 08:31:57 +0000</pubDate>
		<dc:creator>Yasir Irfan</dc:creator>
				<category><![CDATA[Cisco Catalyst 6506 E]]></category>
		<category><![CDATA[Cisco IOS]]></category>
		<category><![CDATA[Cisco IOS 12.3(2) T]]></category>
		<category><![CDATA[Cisco Press]]></category>
		<category><![CDATA[Cisco Routers]]></category>
		<category><![CDATA[Cisco Scripts]]></category>
		<category><![CDATA[Cisco Switches]]></category>
		<category><![CDATA[foreach VAR {]]></category>
		<category><![CDATA[How to enable tcl in a Cisco Router or a Cisco Switch]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network Monitoring]]></category>
		<category><![CDATA[Network Technologies and Trends]]></category>
		<category><![CDATA[Network Tools]]></category>
		<category><![CDATA[networking activities]]></category>
		<category><![CDATA[programming language]]></category>
		<category><![CDATA[scripting language]]></category>
		<category><![CDATA[TCL]]></category>
		<category><![CDATA[TCL Script for Cisco IOS]]></category>
		<category><![CDATA[tclq]]></category>
		<category><![CDATA[tclsh]]></category>
		<category><![CDATA[Tool Command Language]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[Using TCL scripts]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/network-technologies/using-tcl-scripts-to-test-connectivity-of-hosts-in-a-cisco-device/</guid>
		<description><![CDATA[In my last post I talked about how to enable and disable the Tool command Language (TCL) in a Cisco router or a Cisco Catalyst Switch, suppose if you want to use a ping command for more than 50 hosts,you don’t need to ping each and every single host from the Cisco router or a Cisco Catalyst [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://cdn.ttgtmedia.com/ITKE/uploads/blogs.dir/58/files/2010/07/tcl-2.png"></a></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt"><span style="font-family: Calibri;font-size: small">In my </span><a href="http://itknowledgeexchange.techtarget.com/network-technologies/how-to-enable-tcl-in-a-cisco-router-or-a-cisco-switch/"><span style="font-family: Calibri;font-size: small">last post</span></a><span style="font-size: small"><span style="font-family: Calibri"> I talked about how to enable and disable the Tool command Language (TCL) in a Cisco router or a Cisco Catalyst Switch, suppose if you want to use a ping command for more than 50 hosts,you don’t need to ping each and every single host from the Cisco router or a Cisco Catalyst Switch, in this scenario you can make use of TCL scripts, I will provide you a sample script to ping 10 hosts at a time from a Cisco Catalyst 6506 E Switch, same script is applicable to Cisco routers as well.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt"><span style="color: #403152"><span style="font-size: small"><span style="font-family: Calibri">Step 1</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt"><span style="font-size: small"><span style="font-family: Calibri">Enable TCL in your Cisco router or a Cisco Switch by using a “tclsh” command</span></span></p>
<p class="MsoNormal" style="margin: 9pt 0in"><span style="color: #632423;Times New Roman&#038;quot"><span style="font-size: small"><span style="font-family: Calibri">ITKE-SW01#tclsh</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt"><span style="color: #403152"><span style="font-size: small"><span style="font-family: Calibri">Step 2 </span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt"><span style="font-size: small"><span style="font-family: Calibri">Write to script to ping hosts starting from 10.0.0.1 to 10.0.0.10 using the following script, start the script by using <span style="color: #4f81bd">“foreach VAR {” </span>followed by the IP Address of the hosts you want to ping and close the script by using following stings “} <span style="color: #4f81bd">{ puts [exec "ping $VAR"] }” </span>as demonstrated below ( you can use notepad to prepare the script and then execute in your Cisco device)</span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="font-size: small"><span style="font-family: Calibri"><span style="color: #0000ff">foreach VAR {</span></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="font-size: small"><span style="font-family: Calibri"><span style="color: #0000ff">10.0.0.1</span></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="font-size: small"><span style="font-family: Calibri"><span style="color: #0000ff">10.0.0.2</span></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="font-size: small"><span style="font-family: Calibri"><span style="color: #0000ff">10.0.0.3</span></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="font-size: small"><span style="font-family: Calibri"><span style="color: #0000ff">10.0.0.4</span></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="font-size: small"><span style="font-family: Calibri"><span style="color: #0000ff">10.0.0.5</span></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="font-size: small"><span style="font-family: Calibri"><span style="color: #0000ff">10.0.0.6</span></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="font-size: small"><span style="font-family: Calibri"><span style="color: #0000ff">10.0.0.7</span></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="font-size: small"><span style="font-family: Calibri"><span style="color: #0000ff">10.0.0.8</span></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="font-size: small"><span style="font-family: Calibri"><span style="color: #0000ff">10.0.0.9</span></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="font-size: small"><span style="font-family: Calibri"><span style="color: #0000ff">10.0.0.10</span></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="font-family: Calibri;color: #0000ff;font-size: small"> </span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="font-size: small"><span style="font-family: Calibri"><span style="color: #0000ff">} { puts [exec "ping $VAR"] }</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt"><span style="font-family: Calibri;font-size: small"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt"><span style="font-size: small"><span style="font-family: Calibri">Once you enter the script you will the following </span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt"><a href="http://cdn.ttgtmedia.com/ITKE/uploads/blogs.dir/58/files/2010/07/tcl-2.png"><img class="alignnone size-medium wp-image-876" src="http://cdn.ttgtmedia.com/ITKE/uploads/blogs.dir/58/files/2010/07/tcl-2.png" alt="" width="490" height="322" /></a></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt">TCL scripts are very helpful and really it automates some of our tasks.</p>
<p class="MsoNormal" style="text-align: center;margin: 0in 0in 10pt"><code>[kml_flashembed movie="http://www.youtube.com/v/PcF8EdmfdoM" width="425" height="350" wmode="transparent" /]</code></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/network-technologies/using-tcl-scripts-to-test-connectivity-of-hosts-in-a-cisco-device/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to enable tcl in a Cisco Router or a Cisco Switch?</title>
		<link>http://itknowledgeexchange.techtarget.com/network-technologies/how-to-enable-tcl-in-a-cisco-router-or-a-cisco-switch/</link>
		<comments>http://itknowledgeexchange.techtarget.com/network-technologies/how-to-enable-tcl-in-a-cisco-router-or-a-cisco-switch/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 05:35:08 +0000</pubDate>
		<dc:creator>Yasir Irfan</dc:creator>
				<category><![CDATA[Cisco Catalyst 6506 E]]></category>
		<category><![CDATA[Cisco IOS]]></category>
		<category><![CDATA[Cisco IOS 12.3(2) T]]></category>
		<category><![CDATA[Cisco Press]]></category>
		<category><![CDATA[Cisco Routers]]></category>
		<category><![CDATA[Cisco Scripts]]></category>
		<category><![CDATA[Cisco Switches]]></category>
		<category><![CDATA[How to enable tcl in a Cisco Router or a Cisco Switch]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network Monitoring]]></category>
		<category><![CDATA[Network Technologies and Trends]]></category>
		<category><![CDATA[Network Tools]]></category>
		<category><![CDATA[networking activities]]></category>
		<category><![CDATA[programming language]]></category>
		<category><![CDATA[scripting language]]></category>
		<category><![CDATA[TCL]]></category>
		<category><![CDATA[TCL Script for Cisco IOS]]></category>
		<category><![CDATA[tclq]]></category>
		<category><![CDATA[tclsh]]></category>
		<category><![CDATA[Tool Command Language]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/network-technologies/how-to-enable-tcl-in-a-cisco-router-or-a-cisco-switch/</guid>
		<description><![CDATA[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 [...]]]></description>
				<content:encoded><![CDATA[<p>In my <a href="http://itknowledgeexchange.techtarget.com/network-technologies/what-is-tool-command-language/">previous post</a> 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.</p>
<p><span style="color: #000080">ITKE-SW01#tclsh</span></p>
<p>If the Cisco Router or a Cisco Ctalyst Switch supports the TCL feature you will see the following prompt in your device</p>
<p><span style="color: #000080">ITKE-SW01(tcl)#</span></p>
<p>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 <span style="color: #000080">&#8220;tclq&#8221;</span> command as shown below.</p>
<p><span style="color: #000080">ITKE-SW01(tcl)#tclq</span></p>
<p><span style="color: #000080">ITKE-SW01#</span></p>
<p><a href="http://cdn.ttgtmedia.com/ITKE/uploads/blogs.dir/58/files/2010/07/tcl-1.png"><img class="alignnone size-medium wp-image-872" src="http://cdn.ttgtmedia.com/ITKE/uploads/blogs.dir/58/files/2010/07/tcl-1.png" alt="" width="255" height="120" /></a></p>
<p>In my next post I will try to post few examples for usage of TCL scripts.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/network-technologies/how-to-enable-tcl-in-a-cisco-router-or-a-cisco-switch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is Tool Command Language?</title>
		<link>http://itknowledgeexchange.techtarget.com/network-technologies/what-is-tool-command-language/</link>
		<comments>http://itknowledgeexchange.techtarget.com/network-technologies/what-is-tool-command-language/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 06:25:26 +0000</pubDate>
		<dc:creator>Yasir Irfan</dc:creator>
				<category><![CDATA[Cisco IOS]]></category>
		<category><![CDATA[Cisco IOS 12.3(2) T]]></category>
		<category><![CDATA[Cisco Press]]></category>
		<category><![CDATA[Cisco Routers]]></category>
		<category><![CDATA[Cisco Scripts]]></category>
		<category><![CDATA[Cisco Switches]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network Monitoring]]></category>
		<category><![CDATA[Network Technologies and Trends]]></category>
		<category><![CDATA[Network Tools]]></category>
		<category><![CDATA[networking activities]]></category>
		<category><![CDATA[programming language]]></category>
		<category><![CDATA[scripting language]]></category>
		<category><![CDATA[TCL]]></category>
		<category><![CDATA[TCL Script for Cisco IOS]]></category>
		<category><![CDATA[Tool Command Language]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/network-technologies/what-is-tool-command-language/</guid>
		<description><![CDATA[  In today’s World we have many written scripts to automate our common tasks at work, we quite often use scripts in programming language, Linux, UNIX or even windows. But when it comes to networking to be more specific on Cisco devices there was no scripting language. However Cisco Systems realized the importance of automating [...]]]></description>
				<content:encoded><![CDATA[<p class="MsoNormal" style="margin: 0in 0in 10pt"> </p>
<p class="MsoNormal" style="margin: 0in 0in 10pt"><span style="font-family: Calibri;font-size: small">In today’s World we have many written scripts to automate our common tasks at work, we quite often use scripts in programming language, Linux, UNIX or even windows. But when it comes to networking to be more specific on Cisco devices there was no scripting language. However Cisco Systems realized the importance of automating the things and they come adding the “Tool Command Language in short TCL in Cisco IOS. This feature is enabled in the IOS starting from 12.3(2) T. I know most of us are not aware of this powerful scripting language. </span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt"><span style="font-family: Calibri;font-size: small">TCL is a very powerful dynamic scripting language and it is based on open programming language developed by John Ousterhout. </span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt"><span style="font-family: Calibri;font-size: small">Infact </span><a href="http://www.ciscopress.com/"><span style="font-family: Calibri;color: #0000ff;font-size: small">Cisco Press</span></a><span style="font-family: Calibri;font-size: small"> come out with a title named </span><a href="http://www.ciscopress.com/bookstore/product.asp?isbn=9781587059452"><span style="font-family: Calibri;color: #0000ff;font-size: small">TCL Script for Cisco IOS</span></a><span style="font-family: Calibri;font-size: small"> which was released on June 9, 2010.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt"><a href="http://cdn.ttgtmedia.com/ITKE/uploads/blogs.dir/58/files/2010/07/tcl.jpg"><img class="alignnone size-medium wp-image-870" src="http://cdn.ttgtmedia.com/ITKE/uploads/blogs.dir/58/files/2010/07/tcl.jpg" alt="" width="300" height="371" /></a></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt"> </p>
<p class="MsoNormal" style="margin: 0in 0in 10pt"><span style="font-family: Calibri;font-size: small">In upcoming articles I will try to address TCL commands how it can enabled and some sample scripts which can be used in day to day networking activities on Cisco Routers and Cisco Catalyst Switches.</span></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/network-technologies/what-is-tool-command-language/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
