<?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/"
	>

<channel>
	<title>CiscoZine</title>
	<atom:link href="http://www.ciscozine.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ciscozine.com</link>
	<description>Daily reporting on Cisco technology</description>
	<pubDate>Tue, 06 Jan 2009 12:40:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cisco Press Conference at CES 2009</title>
		<link>http://www.ciscozine.com/2009/01/06/cisco-press-conference-at-ces-2009/</link>
		<comments>http://www.ciscozine.com/2009/01/06/cisco-press-conference-at-ces-2009/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 12:36:48 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
		
		<category><![CDATA[Stories]]></category>

		<category><![CDATA[Video]]></category>

		<category><![CDATA[Webcast]]></category>

		<guid isPermaLink="false">http://www.ciscozine.com/?p=654</guid>
		<description><![CDATA[Cisco will unveil new consumer products and initiatives during a press conference at the 2009 International Consumer Electronics Show (CES) in Las Vegas on Jan. 7, 2009. Cisco Chairman and CEO John Chambers will be joined by key Cisco executives responsible for the company&#8217;s consumer strategy to discuss how Cisco is enabling the connected life [...]]]></description>
			<content:encoded><![CDATA[<p>Cisco will unveil new consumer products and initiatives during a press conference at the 2009 International <strong>Consumer Electronics Show</strong> (CES) in Las Vegas on Jan. 7, 2009. Cisco Chairman and CEO John Chambers will be joined by key Cisco executives responsible for the company&#8217;s consumer strategy to discuss how Cisco is enabling the connected life through a new class of compelling communication and entertainment experiences that are more visual, more social and more personal.<span id="more-654"></span></p>
<p><strong>CISCO CES press conference details<br />
</strong> <br />
<strong>Who: </strong></p>
<ul>
<li>John Chambers, chairman and chief executive officer, Cisco</li>
<li>Ned Hooper, senior vice president of corporate development, Cisco Consumer Business Group</li>
<li>Dan Scheinman, senior vice president and general manager, Cisco Media Solutions Group</li>
<li>Tony Bates, senior vice president and general manager, Cisco Service Provider Group</li>
</ul>
<p><strong>What: </strong>Chambers and other senior executives will discuss Cisco&#8217;s vision for connected consumer experiences and introduce several new products in support of this vision.</p>
<p><strong>When: </strong>The Cisco press conference will take place on Wednesday, <strong>Jan. 7, from 1:00 to 1:45 p.m. PST</strong>.</p>
<p><strong>Where: </strong>Press, analysts and bloggers at CES are invited to attend the press conference at the Venetian Hotel, Venetian Titian Room 2206. Appropriate credentials (e.g., badge or business card) will be required.<br />
Press, analysts, bloggers and interested parties not in Las Vegas can attend via a live webcast at <a href="http://event.ciscowebseminars.com/clients/cisco/CES2009" target="_blank">http://event.ciscowebseminars.com/clients/cisco/CES2009</a> (Registration is required to attend this event).</p>
<p> </p>
<p><object width="425" height="344" data="http://www.youtube.com/v/7AtOEsnPhMY&amp;hl=it&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/7AtOEsnPhMY&amp;hl=it&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /></object><br />
In this video, Ken Wirt, vice president of consumer marketing at Cisco, tell more about what Cisco has planned for consumers. </p>
<p>More info: <a href="http://newsroom.cisco.com/dlls/2009/prod_010509.html" target="_blank">http://newsroom.cisco.com/dlls/2009/prod_010509.html</a></p>
<hr />
<p><small>© Fabio for <a href="http://www.ciscozine.com">CiscoZine</a>, 2009. |
<a href="http://www.ciscozine.com/2009/01/06/cisco-press-conference-at-ces-2009/">Permalink</a> |
<a href="http://www.ciscozine.com/2009/01/06/cisco-press-conference-at-ces-2009/#comments">No comment</a><br/>
Post tags: <a href="http://www.ciscozine.com/tag/video/" rel="tag">Video</a>, <a href="http://www.ciscozine.com/tag/webcast/" rel="tag">Webcast</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.ciscozine.com/2009/01/06/cisco-press-conference-at-ces-2009/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Protecting against MAC flooding attack</title>
		<link>http://www.ciscozine.com/2009/01/05/protecting-against-mac-flooding-attack/</link>
		<comments>http://www.ciscozine.com/2009/01/05/protecting-against-mac-flooding-attack/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 21:34:05 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
		
		<category><![CDATA[Tutorial]]></category>

		<category><![CDATA[Advanced configuration]]></category>

		<category><![CDATA[Flooding attack]]></category>

		<guid isPermaLink="false">http://www.ciscozine.com/?p=644</guid>
		<description><![CDATA[In a typical MAC flooding attack, a switch is flooded with packets, each containing different source MAC addresses. The intention is to consume the limited memory set aside in the switch to store the MAC address-to-physical port translation table.
The result of this attack causes the switch to enter a state called failopen mode, in which [...]]]></description>
			<content:encoded><![CDATA[<p>In a typical MAC flooding attack, a <strong>switch is flooded</strong> with packets, each containing different source MAC addresses. The intention is to <strong>consume the limited memory</strong> set aside in the switch to store the MAC address-to-physical port translation table.</p>
<p style="text-align: left;">The result of this attack causes the switch to enter a state called failopen mode, in which all incoming packets are broadcast out on all ports (<strong>as with a hub</strong>), instead of just down the correct port as per normal operation. A malicious user could then use a packet sniffer running in promiscuous mode to capture sensitive data from other computers, which would not be accessible were the switch operating normally.</p>
<p style="text-align: left;">Cisco gives you an opportunity to set up protection against this attack with limiting and/or hardwiring some MAC addresses to a dedicated port.<span id="more-644"></span></p>
<p style="text-align: left;"> </p>
<p style="text-align: left;"><strong>Understand the MAC flooding attack<br />
</strong>Suppose to have a switch with 3 PC: PC A, PC B and PC C; in normal situation, when PC A sends a packet to PC B, PC C does not view packet sent between PC A and PC B.</p>
<p style="text-align: center;"><img class="size-full wp-image-653 aligncenter" title="mac_learning" src="http://www.ciscozine.com/wp-content/uploads/mac_learning.png" alt="mac_learning" width="333" height="218" /></p>
<p style="text-align: left;">This because the 3 PC are connected to a switch and <strong>NOT</strong> to a hub.</p>
<p>Under MAC flooding attack, the switch behaviour is different. During the MAC flooding attack, the attacker (in this instance PC C) floods the switch with packets, each with different source MAC address.</p>
<p style="text-align: center;"><img class="size-full wp-image-648 aligncenter" title="mac_flooding_attack" src="http://www.ciscozine.com/wp-content/uploads/mac_flooding_attack.png" alt="mac_flooding_attack" width="461" height="218" /></p>
<p>If the Content Addressable Memory (the memory where the MAC addresses are stored) is full, the switch works like an hub; so, if the PC A sends a packet to PC B, the packet will be received to PC C too.</p>
<p style="text-align: center;"><img class="size-full wp-image-652 aligncenter" title="mac_flooding_attack_2" src="http://www.ciscozine.com/wp-content/uploads/mac_flooding_attack_2.png" alt="mac_flooding_attack_2" width="333" height="218" /></p>
<p style="text-align: left;"> </p>
<p style="text-align: left;"><strong>Protecting against MAC flooding attack</strong><br />
Cisco has implemented a feature, called <strong>switchport port-security</strong>, to protect against this type of attack. You can use the port security feature to restrict input to an interface by limiting and identifying MAC addresses of the stations allowed to access the port.</p>
<p style="text-align: left;">There are three types of secure MAC addresses:</p>
<ul>
<li>
<div style="text-align: left;">Static secure MAC addresses: These are manually configured by using the <em>switchport port-security mac-address mac-address interface</em> configuration command, stored in the address table, and added to the switch running configuration.</div>
</li>
<li>
<div style="text-align: left;">Dynamic secure MAC addresses: These are dynamically learned, stored only in the address table, and removed when the switch restarts.</div>
</li>
<li>
<div style="text-align: left;">Sticky secure MAC addresses: These can be dynamically learned or manually configured, stored in the address table, and added to the running configuration. If these addresses are saved in the configuration file, the interface does not need to dynamically relearn them when the switch restarts.</div>
</li>
</ul>
<p style="text-align: left;"><strong>Remember:</strong> A secure port can have from 1 to 132 associated secure addresses. The total number of available secure addresses on the switch is 1024.</p>
<p style="text-align: left;">When the maximum number of secure MAC addresses have been added to the address table and a station whose MAC address is not in the address table attempts to access the interface a security violation occurs.</p>
<p style="text-align: left;">The switch can react to a security violation in three different ways:</p>
<ul>
<li>
<div style="text-align: left;">protect: When the number of secure MAC addresses reaches the limit allowed on the port, packets with <strong>unknown source addresses are dropped</strong> until you remove a sufficient number of secure MAC addresses or increase the number of maximum allowable addresses. You are not notified that a security violation has occurred.</div>
</li>
<li>
<div style="text-align: left;">restrict: When the number of secure MAC addresses reaches the limit allowed on the port, packets with <strong>unknown source addresses are dropped</strong> until you remove a sufficient number of secure MAC addresses or increase the number of maximum allowable addresses. In this mode, you are notified that a security violation has occurred. Specifically, an <strong>SNMP trap is sent</strong>, a syslog message is logged, and the violation counter increments.</div>
</li>
<li>
<div style="text-align: left;">shutdown: In this mode, a port security violation causes the <strong>interface</strong> to immediately bec<strong>ome error-disabled</strong>, and turns off the port LED. It also <strong>sends an SNMP trap</strong>, logs a syslog message, and increments the violation counter. When a secure port is in the error-disabled state, you can bring it out of this state by entering the errdisable recovery cause psecure-violation global configuration command, or you can manually re-enable it by entering the shutdown and no shutdown interface configuration commands. This is the default mode.</div>
</li>
</ul>
<p style="text-align: left;"> </p>
<p style="text-align: left;"><strong>Example: Limit to ten MAC addresses</strong>, two of which are statics (aaaa.aaaa.aaaa, bbbb.bbbb.bbbb), on FastEthernet 0/1 port. The violation required is &#8220;restricted&#8221;.</p>
<pre><code>Ciscozine# conf t
Ciscozine(config)# interface fastethernet0/1
Ciscozine(config-if)# switchport mode access
Ciscozine(config-if)# switchport port-security
Ciscozine(config-if)# switchport port-security maximum 10
Ciscozine(config-if)# switchport port-security violation restrict
Ciscozine(config-if)# switchport port-security mac-address aaaa.aaaa.aaaa
Ciscozine(config-if)# switchport port-security mac-address bbbb.bbbb.bbbb</code></pre>
<p><em></em></p>
<p><em>switchport mode access</em>: The port-security works only on access port,  so define it.<br />
<em>switchport port-security</em>: Enable port security on the interface.<br />
<em>switchport port-security maximum 10</em>: Sets the maximum number of secure MAC addresses for the interface to 10.<br />
<em>switchport port-security violation restrict</em>: It defines to &#8220;restrict&#8221; the violation mode.<br />
<em>switchport port-security mac-address aaaa.aaaa.aaaa</em>: Define the static MAC address; remember that if you configure fewer secure MAC addresses than the maximum, the remaining MAC addresses are dynamically learned.</p>
<p style="text-align: left;">Useful commands to displaying traffic control status and configuration are:</p>
<ul>
<li>
<div style="text-align: left;"><em>show interfaces [interface-id] switchport</em>: Displays the administrative and operational status of all switching (nonrouting) ports or the specified port, including port blocking and port protection settings.</div>
</li>
<li>
<div style="text-align: left;"><em>show port-security [interface interface-id]</em>: Displays port security settings for the switch or for the specified interface, including the maximum allowed number of secure MAC addresses for each interface, the number of secure MAC addresses on the interface, the number of security violations that have occurred, and the violation mode.</div>
</li>
<li>
<div style="text-align: left;"><em>show port-security [interface interface-id] address</em>: Displays all secure MAC addresses configured on all switch interfaces or on a specified interface with aging information for each address.</div>
</li>
</ul>
<p><strong></strong></p>
<p><strong></strong></p>
<p><strong>Remember:</strong> you can enable port security on a interface only if the port is not configured as one of these:</p>
<ul>
<li>Trunk ports: If you try to enable port security on a trunk port, an error message appears, and port security is not enabled. If you try to change the mode of a secure port to trunk, the port mode is not changed.</li>
<li>Dynamic port: A port in dynamic mode can negotiate with its neighbor to become a trunk port. If you try to enable port security on a dynamic port, an error message appears, and port security is not enabled. If you try to change the mode of a secure port to dynamic, the port mode is not changed.</li>
<li>Dynamic-access port: If you try to enable port security on a dynamic-access (VLAN Query Protocol [VQP]) port, an error message appears, and port security is not enabled. If you try to change a secure port to dynamic VLAN assignment, an error message appears, and the VLAN configuration is not changed.</li>
<li>EtherChannel porT: Before enabling port security on the port, you must first remove it from the EtherChannel. If you try to enable port security on an EtherChannel or on an active port in an EtherChannel, an error message appears, and port security is not enabled. If you enable port security on a not-yet active port of an EtherChannel, the port does not join the EtherChannel.</li>
<li>802.1X port: You cannot configure an 802.1X port as a secure port. If you try to enable port security on an 802.1X port, an error message appears, and port security is not enabled. If you try to change a secure port to an 802.1X port, an error message appears, and the 802.1X settings are not changed.</li>
<li>Switch Port Analyzer (SPAN) destination port: You can enable port security on a port that is a SPAN destination port; however, port security is disabled until the port is removed as a SPAN destination. You can enable port security on a SPAN source port.</li>
</ul>
<p> </p>
<p>References:</p>
<ul>
<li><a href="http://en.wikipedia.org/wiki/MAC_flooding" target="_blank">http://en.wikipedia.org/wiki/MAC_flooding</a></li>
<li><a href="http://www.cisco.com/en/US/docs/switches/lan/catalyst2950/software/release/12.1_22_ea2/configuration/guide/swtrafc.html#wp1038501" target="_blank">http://www.cisco.com/&#8230;/configuration/guide/swtrafc.html#wp1038501</a></li>
</ul>
<hr />
<p><small>© Fabio for <a href="http://www.ciscozine.com">CiscoZine</a>, 2009. |
<a href="http://www.ciscozine.com/2009/01/05/protecting-against-mac-flooding-attack/">Permalink</a> |
<a href="http://www.ciscozine.com/2009/01/05/protecting-against-mac-flooding-attack/#comments">No comment</a><br/>
Post tags: <a href="http://www.ciscozine.com/tag/advanced-configuration/" rel="tag">Advanced configuration</a>, <a href="http://www.ciscozine.com/tag/flooding-attack/" rel="tag">Flooding attack</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.ciscozine.com/2009/01/05/protecting-against-mac-flooding-attack/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Cisco Certification Logo’s</title>
		<link>http://www.ciscozine.com/2008/12/28/new-cisco-certification-logos/</link>
		<comments>http://www.ciscozine.com/2008/12/28/new-cisco-certification-logos/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 14:38:42 +0000</pubDate>
		<dc:creator>michele</dc:creator>
		
		<category><![CDATA[Stories]]></category>

		<category><![CDATA[Certifications]]></category>

		<guid isPermaLink="false">http://www.ciscozine.com/?p=634</guid>
		<description><![CDATA[Cisco are deciding to update their certification logo&#8217;s; below the proposals:
First logo
 
Second logo

 
And you, what do you prefer?

© michele for CiscoZine, 2008. &#124;
Permalink &#124;
One comment
Post tags: Certifications
]]></description>
			<content:encoded><![CDATA[<p>Cisco are deciding to update their certification logo&#8217;s; below the proposals:</p>
<p><strong>First logo</strong></p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-642" title="logo_new_1" src="http://www.ciscozine.com/wp-content/uploads/logo_new_1.jpg" alt="logo_new_1" width="470" height="300" /> <span id="more-634"></span></p>
<p><strong>Second logo</strong></p>
<p style="text-align: center;"><img class="size-full wp-image-643 aligncenter" title="logo_new_2" src="http://www.ciscozine.com/wp-content/uploads/logo_new_2.jpg" alt="logo_new_2" width="470" height="475" /></p>
<p> </p>
<p>And you, what do you prefer?</p>
<hr />
<p><small>© michele for <a href="http://www.ciscozine.com">CiscoZine</a>, 2008. |
<a href="http://www.ciscozine.com/2008/12/28/new-cisco-certification-logos/">Permalink</a> |
<a href="http://www.ciscozine.com/2008/12/28/new-cisco-certification-logos/#comments">One comment</a><br/>
Post tags: <a href="http://www.ciscozine.com/tag/certifications/" rel="tag">Certifications</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.ciscozine.com/2008/12/28/new-cisco-certification-logos/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Merry Christmas and Happy New Year</title>
		<link>http://www.ciscozine.com/2008/12/25/merry-christmas-and-happy-new-year/</link>
		<comments>http://www.ciscozine.com/2008/12/25/merry-christmas-and-happy-new-year/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 00:00:02 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
		
		<category><![CDATA[Stories]]></category>

		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.ciscozine.com/?p=633</guid>
		<description><![CDATA[
I wish everyone a very Merry Christmas and Happy New Year.
Fabio - The admin

© Fabio for CiscoZine, 2008. &#124;
Permalink &#124;
No comment
Post tags: Video
]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344" data="http://www.youtube.com/v/ddVZOK_9UUI&amp;hl=it&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/ddVZOK_9UUI&amp;hl=it&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /></object></p>
<p>I wish everyone a very Merry Christmas and Happy New Year.<br />
Fabio - The admin</p>
<hr />
<p><small>© Fabio for <a href="http://www.ciscozine.com">CiscoZine</a>, 2008. |
<a href="http://www.ciscozine.com/2008/12/25/merry-christmas-and-happy-new-year/">Permalink</a> |
<a href="http://www.ciscozine.com/2008/12/25/merry-christmas-and-happy-new-year/#comments">No comment</a><br/>
Post tags: <a href="http://www.ciscozine.com/tag/video/" rel="tag">Video</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.ciscozine.com/2008/12/25/merry-christmas-and-happy-new-year/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to create a VPN server using SDM</title>
		<link>http://www.ciscozine.com/2008/12/23/how-to-create-a-vpn-server-using-sdm/</link>
		<comments>http://www.ciscozine.com/2008/12/23/how-to-create-a-vpn-server-using-sdm/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 18:13:28 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
		
		<category><![CDATA[Tutorial]]></category>

		<category><![CDATA[SDM]]></category>

		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://www.ciscozine.com/?p=619</guid>
		<description><![CDATA[As I explained in the article &#8220;Security Device Manager aka SDM&#8220;, SDM is a Web-based device-management tool for Cisco routers that can improve the productivity of network managers, simplify router deployments, and help troubleshoot complex network and VPN connectivity issues.
What is a virtual private network?
A virtual private network (VPN) is a computer network in which [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_5.png"></a>As I explained in the article &#8220;<a href="http://www.ciscozine.com/2008/11/28/security-device-manager-aka-sdm/" target="_self">Security Device Manager aka SDM</a>&#8220;, <strong>SDM </strong>is a Web-based device-management tool for Cisco routers that can improve the productivity of network managers, simplify router deployments, and help troubleshoot complex network and VPN connectivity issues.</p>
<p>What is a virtual private network?<br />
A <strong>virtual private network</strong> (VPN) is a computer network in which some of the links between nodes are carried by open connections or virtual circuits in some larger network (e.g., the Internet) instead of by physical wires. The link-layer protocols of the virtual network are said to be tunneled through the larger network when this is the case. One common application is secure communications through the public Internet, but a VPN need not have explicit security features, such as authentication or content encryption. VPNs, for example, can be used to separate the traffic of different user communities over an underlying network with strong security features.<span id="more-619"></span></p>
<p>Using this wizard, it is possible create a Layer3 VPN through <strong>IPSEC</strong> protocol. <strong>Internet Protocol Security</strong> (IPsec) is a suite of protocols for securing Internet Protocol (IP) communications by <strong>authenticating</strong> and <strong>encrypting</strong> each IP packet of a data stream. IPsec also includes protocols for establishing mutual authentication between agents at the beginning of the session and negotiation of cryptographic keys to be used during the session. IPsec can be used to protect data flows between a pair of hosts (e.g. computer users or servers), between a pair of security gateways (e.g. routers or firewalls), or between a security gateway and a host.</p>
<p>IPsec is an <strong>end-to-end security solution</strong> and operates at the Internet Layer of the Internet Protocol Suite, comparable to Layer 3 in the OSI model. Other Internet security protocols in widespread use, such as SSL, TLS and SSH, operate in the upper layers of these models. This makes IPsec more flexible, as it can be used for protecting all the higher level protocols, because applications don&#8217;t need to be designed to use IPsec, whereas the use of TLS/SSL or other higher-layer protocols must be incorporated into the design of an application.</p>
<p>Ok, and how can I create a VPN using SDM?<br />
There are few steps to create a VPN server on our Cisco Router:</p>
<ul>
<li>Log in your SDM</li>
<li>Click the Configure icon in the toolbar at the top of the window</li>
<li>Click the VPN icon in the Tasks toolbar on the left side of the window</li>
<li>Choose the Easy VPN Server option in the middle part of the window</li>
</ul>
<p> </p>
<p style="text-align: center;"><a href="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_1.png" target="_blank"><img class="size-medium wp-image-620 aligncenter" title="sdm_vpn_1" src="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_1-300x243.png" alt="sdm_vpn_1" width="300" height="243" /></a></p>
<p> </p>
<p>If you have not configured AAA, the wizard asks you to configure it. Click on &#8220;Enable AAA&#8221; and click &#8220;OK&#8221; to close the popup.</p>
<p> </p>
<p style="text-align: center;"><a href="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_2.png" target="_blank"><img class="size-medium wp-image-621 aligncenter" title="sdm_vpn_2" src="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_2-300x200.png" alt="sdm_vpn_2" width="300" height="200" /></a></p>
<p> </p>
<p>After enabling AAA, you can start the VPN wizard:</p>
<p> </p>
<p style="TEXT-ALIGN: center"><a href="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_3.png" target="_blank"><img class="size-medium wp-image-622 aligncenter" title="sdm_vpn_3" src="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_3-300x229.png" alt="sdm_vpn_3" width="300" height="229" /></a></p>
<p> </p>
<p>Click on next button (in this screenshot I will click on &#8220;avanti&#8221; tab&#8230; italian language hihihi), select the interface that will receive the VPN request from the VPN client (in my case fastethernet 0/0) and select the preshared keys authentication. Click on next button.</p>
<p> </p>
<p style="TEXT-ALIGN: center"><a href="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_4.png" target="_blank"><img class="size-medium wp-image-623 aligncenter" title="sdm_vpn_4" src="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_4-300x229.png" alt="sdm_vpn_4" width="300" height="229" /></a></p>
<p> </p>
<p>In this step you can configure the <strong>IKE proposals</strong>: IKE proposal priority, DH group (1, 2, or 5), Encryption algorithm (DES, 3DES, AES, or SEAL), HMAC (SHA-1 or MD5), IKE lifetime. If you prefer, you can change the default settings. Click on next button.</p>
<p> </p>
<p style="TEXT-ALIGN: center"><a href="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_5.png" target="_blank"><img class="size-medium wp-image-624 aligncenter" title="sdm_vpn_5" src="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_5-300x229.png" alt="sdm_vpn_5" width="300" height="229" /></a></p>
<p> </p>
<p>You can use the default or create a new <strong>IPsec transform set</strong> configuration using these parameters: Transform set name, Encryption algorithm (DES, 3DES, AES, or SEAL), HMAC (SHA-1 or MD5), Optional compression, Mode of operation (tunnel or transport). Click on next button.</p>
<p> </p>
<p style="TEXT-ALIGN: center"><a href="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_6.png" target="_blank"><img class="size-medium wp-image-625 aligncenter" title="sdm_vpn_6" src="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_6-300x229.png" alt="sdm_vpn_6" width="300" height="229" /></a></p>
<p> </p>
<p>In this step you you can choose from three options for the location where Easy <strong>VPN group policies</strong> can be stored:</p>
<ul>
<li>Local: All the groups will be in the router configuration in NVRAM</li>
<li>RADIUS: The router will use RADIUS server for group authorization</li>
<li>RADIUS and local: The router will also be able to look up policies stored in an AAA server database that can be reached via RADIUS</li>
</ul>
<p>The local databse is recommended if you do not have RADIUS or TACACAS+ server in your network. Click on next button.</p>
<p> </p>
<p style="TEXT-ALIGN: center"><a href="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_7.png" target="_blank"><img class="size-medium wp-image-626 aligncenter" title="sdm_vpn_7" src="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_7-300x229.png" alt="sdm_vpn_7" width="300" height="229" /></a></p>
<p> </p>
<p>Now define the <strong>group authorization and user group policies</strong>.</p>
<p> </p>
<p style="TEXT-ALIGN: center"><a href="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_8.png" target="_blank"><img class="size-medium wp-image-627 aligncenter" title="sdm_vpn_8" src="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_8-300x229.png" alt="sdm_vpn_8" width="300" height="229" /></a></p>
<p> </p>
<p>When you click &#8220;Add&#8230;&#8221; button, you can define: General parameters, DNS/WINS, Split tunneling, Advanced options and Xauth Options. In our case it is sufficient configure the &#8220;General parameters&#8221; tab. The group name is &#8220;test&#8221;, the password is &#8220;ciscozine&#8221; and the IP pool is from 192.168.10.1 to 192.168.10.10. Click on &#8220;OK&#8221; button to save the <strong>Add Group Policy</strong>.</p>
<p> </p>
<p style="TEXT-ALIGN: center"><a href="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_9.png" target="_blank"><img class="size-medium wp-image-629 aligncenter" title="sdm_vpn_9" src="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_9-291x300.png" alt="sdm_vpn_9" width="291" height="300" /></a></p>
<p> </p>
<p>Click next.</p>
<p> </p>
<p style="text-align: center;"><a href="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_10.png" target="_blank"><img class="aligncenter size-medium wp-image-630" title="sdm_vpn_10" src="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_10-300x229.png" alt="sdm_vpn_10" width="300" height="229" /></a></p>
<p> </p>
<p>Once you have finished all the steps to configuring the Easy VPN Server, the Easy VPN Server wizard presents a summary of the configured parameters. </p>
<p> </p>
<p style="text-align: center;"><a href="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_11.png" target="_blank"><img class="aligncenter size-medium wp-image-631" title="sdm_vpn_11" src="http://www.ciscozine.com/wp-content/uploads/sdm_vpn_11-300x229.png" alt="sdm_vpn_11" width="300" height="229" /></a></p>
<p> </p>
<p>Click Back to correct any errors in the configuration. Otherwise, click Finish to apply the configuration to the router.</p>
<p>The final configuration will be:</p>
<pre><code>!This is the running config of the router: 192.168.1.12
!----------------------------------------------------------------------------
!version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Ciscozine
!
boot-start-marker
boot-end-marker
!
!
clock timezone PCTime 1
clock summer-time PCTime date Mar 30 2003 2:00 Oct 26 2003 3:00
aaa new-model
!
!
aaa authentication login default local
aaa authentication login sdm_vpn_xauth_ml_1 local
aaa authorization exec default local
aaa authorization network sdm_vpn_group_ml_1 local
aaa session-id common
ip subnet-zero
!
!
!
ip cef
ip audit po max-events 100
!
!
!
!
!
!
!
!
!
!
!
!
username ciscozine privilege 15 secret 5 $1$uZAG$n7SP/bF1Y2UEfepGjtblH.
!
!
!
!
crypto isakmp policy 1
 encr 3des
 authentication pre-share
 group 2
crypto isakmp xauth timeout 15

!
crypto isakmp client configuration group test
 key ciscozine
 pool SDM_POOL_1
!
!
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
!
crypto dynamic-map SDM_DYNMAP_1 1
 set transform-set ESP-3DES-SHA
 reverse-route
!
!
crypto map SDM_CMAP_1 client authentication list sdm_vpn_xauth_ml_1
crypto map SDM_CMAP_1 isakmp authorization list sdm_vpn_group_ml_1
crypto map SDM_CMAP_1 client configuration address respond
crypto map SDM_CMAP_1 65535 ipsec-isakmp dynamic SDM_DYNMAP_1
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.1.12 255.255.255.0
 duplex auto
 speed auto
 crypto map SDM_CMAP_1
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
ip local pool SDM_POOL_1 192.168.10.1 192.168.10.10
ip http server
ip http authentication local
ip http secure-server
ip classless
!
!
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
end</code></pre>
<p><strong></strong></p>
<p><strong>Remember to save the configuration!</strong></p>
<p>To change VPN server settings:</p>
<ol>
<li>Click the Configure icon in the toolbar at the top of the window</li>
<li>Click the VPN icon in the Tasks toolbar on the left side of the window</li>
</ol>
<p>If you would view the VPN status:</p>
<ol>
<li>Click the Monitor icon in the toolbar at the top of the window</li>
<li>Click the VPN icon in the Tasks toolbar on the left side of the window</li>
</ol>
<p> </p>
<p>References:</p>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Ipsec" target="_blank">http://en.wikipedia.org/wiki/Ipsec</a></li>
<li><a href="http://en.wikipedia.org/wiki/Vpn" target="_blank">http://en.wikipedia.org/wiki/Vpn</a></li>
</ul>
<hr />
<p><small>© Fabio for <a href="http://www.ciscozine.com">CiscoZine</a>, 2008. |
<a href="http://www.ciscozine.com/2008/12/23/how-to-create-a-vpn-server-using-sdm/">Permalink</a> |
<a href="http://www.ciscozine.com/2008/12/23/how-to-create-a-vpn-server-using-sdm/#comments">No comment</a><br/>
Post tags: <a href="http://www.ciscozine.com/tag/sdm/" rel="tag">SDM</a>, <a href="http://www.ciscozine.com/tag/vpn/" rel="tag">VPN</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.ciscozine.com/2008/12/23/how-to-create-a-vpn-server-using-sdm/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cisco launches dedicated channel with green.tv</title>
		<link>http://www.ciscozine.com/2008/12/21/cisco-launches-dedicated-channel-with-greentv/</link>
		<comments>http://www.ciscozine.com/2008/12/21/cisco-launches-dedicated-channel-with-greentv/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 20:19:40 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
		
		<category><![CDATA[Stories]]></category>

		<category><![CDATA[Business]]></category>

		<category><![CDATA[Web TV]]></category>

		<guid isPermaLink="false">http://www.ciscozine.com/?p=618</guid>
		<description><![CDATA[Cisco has created its own channel on the green.tv platform. The channel launches with a series of films focused on Cisco&#8217;s Connected Urban Development initiative, which looks at how to reduce carbon emissions through improvements in the efficiency of the urban infrastructure made possible by information and communications technology (ICT) such as Cisco(R) TelePresence.
Future programs [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-617 alignleft" title="green_tv_logo" src="http://www.ciscozine.com/wp-content/uploads/green_tv_logo.gif" alt="green_tv_logo" width="220" height="92" />Cisco has created its own channel on the green.tv platform. The channel launches with a series of films focused on <strong>Cisco&#8217;s Connected Urban Development</strong> initiative, which looks at how to reduce carbon emissions through improvements in the efficiency of the urban infrastructure made possible by information and communications technology (ICT) such as Cisco(R) TelePresence.</p>
<p>Future programs will focus on creating sustainable cities, virtual collaboration, mobility solutions and smart energy solutions. green.tv has partnerships with some of the world&#8217;s leading environmental organisations, including the United Nations Environment Programme and Greenpeace.<span id="more-618"></span></p>
<p>Neil Harris, Business and Sustainability Development manager at Cisco Europe said: &#8220;Cisco is committed to a high level of environmental responsibility in its business operations, culture, products and architectural design. Cisco also is in a unique position to use its technology to help arrest, and potentially reverse, the climate trend. Through the intersection of the physical network and the human network, we can empower people to live, work, learn and play in a more environmentally sustainable way.&#8221;</p>
<p>What is Green TV?<br />
green.tv is the <strong>broadband TV channel</strong> for environmental films. green.tv is the first website to bring together films from a whole range of environmental organisations and independent filmmakers and make them available to anyone anywhere.</p>
<p>green.tv is a broad environmental church bringing together ideas and viewpoints from the world&#8217;s leading environmental organisations, including UNEP, Greenpeace, Friends of the Earth, Water Aid, IUCN, Stop Climate Chaos and many many more.</p>
<p>References:</p>
<ul>
<li><a href="http://newsroom.cisco.com/dlls/2008/prod_121808c.html" target="_blank">http://newsroom.cisco.com/dlls/2008/prod_121808c.html</a></li>
<li><a href="http://www.green.tv/cisco" target="_blank">http://www.green.tv/cisco</a></li>
</ul>
<hr />
<p><small>© Fabio for <a href="http://www.ciscozine.com">CiscoZine</a>, 2008. |
<a href="http://www.ciscozine.com/2008/12/21/cisco-launches-dedicated-channel-with-greentv/">Permalink</a> |
<a href="http://www.ciscozine.com/2008/12/21/cisco-launches-dedicated-channel-with-greentv/#comments">No comment</a><br/>
Post tags: <a href="http://www.ciscozine.com/tag/business/" rel="tag">Business</a>, <a href="http://www.ciscozine.com/tag/web-tv/" rel="tag">Web TV</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.ciscozine.com/2008/12/21/cisco-launches-dedicated-channel-with-greentv/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cisco 2008 Annual Security Report</title>
		<link>http://www.ciscozine.com/2008/12/18/cisco-2008-annual-security-report/</link>
		<comments>http://www.ciscozine.com/2008/12/18/cisco-2008-annual-security-report/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 22:31:19 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
		
		<category><![CDATA[Stories]]></category>

		<category><![CDATA[Report]]></category>

		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.ciscozine.com/?p=614</guid>
		<description><![CDATA[The Cisco® Annual Security Report provides an overview of the combined security intelligence of the entire Cisco organization. Encompassing threat and trends information collected between January and October 2008, this 49-page document provides a snapshot of the state of security for that period. The report also provides recommendations from Cisco security experts and predictions of [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">The Cisco® Annual Security Report provides an overview of the <strong>combined security intelligence</strong> of the entire Cisco <img class="size-full wp-image-616 alignleft" title="security_report_2008" src="http://www.ciscozine.com/wp-content/uploads/security_report_2008.gif" alt="security_report_2008" width="277" height="214" />organization. Encompassing threat and trends information collected between January and October 2008, this 49-page document provides a snapshot of the state of security for that period. The report also provides recommendations from Cisco security experts and predictions of how identified trends will continue to unfold in 2009.</p>
<p>There was an enormous amount of activity related to data and online security during the past year. Although no single, overwhelming attack—such as the spread of Melissa, Slammer, or Storm malware in previous years—turned into the signature security event of 2008, the need for increased security protection and continued vigilance remains.<span id="more-614"></span></p>
<p>Compared to previous years, online criminals are becoming even more sophisticated and effective, employing a greater number of relatively smaller, more targeted campaigns to gain access to sensitive data. Human nature—in the forms of insider threats, susceptibility to social engineering, and carelessness that leads to inadvertent data loss—continues to be a major factor in countless security incidents. And the increasing use at many organizations of technologies designed to increase collaboration and productivity (such as mobile devices, virtualization, cloud computing, and other Web-based tools and Web 2.0 applications) is stretching the edges of corporate networks, potentially increasing security risks.</p>
<p><strong>Key Findings</strong><br />
This year&#8217;s report reveals that online and data security threats continue to increase in number and sophistication. They propagate faster and are more difficult to detect.</p>
<p><strong>Key report findings include:</strong></p>
<ul>
<li>Spam accounts for nearly <strong>200 billion messages each day</strong>, which is approximately 90 percent of email sent worldwide</li>
<li>The overall number of disclosed <strong>vulnerabilities grew by 11.5 percent</strong> over 2007</li>
<li>Vulnerabilities in virtualization products tripled to 103 in 2008 from 35 in 2007, as more organizations embraced virtualization technologies to increase cost-efficiency and productivity</li>
<li>Over the course of 2008, Cisco saw a 90 percent growth rate in threats originating from legitimate domains; nearly double what the company saw in 2007</li>
<li>Spam due to email reputation hijacking from the top three webmail providers accounted for just under 1 percent of all spam worldwide, but constituted 7.6 percent of all these providers&#8217; mail</li>
</ul>
<p>Fortunately, responses to these threats and trends are improving. Advances in attack response stem from the increased collaboration between vendors and security researchers to review, identify, and combat vulnerabilities.</p>
<p> </p>
<p style="text-align: center;"><strong>Presentation of the &#8220;Cisco 2008 Annual Security Report&#8221;</strong><br />
<object width="425" height="344" data="http://www.youtube.com/v/lGy1myxIDu0&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=it&amp;feature=player_embedded&amp;fs=1" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/lGy1myxIDu0&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=it&amp;feature=player_embedded&amp;fs=1" /><param name="allowfullscreen" value="true" /></object></p>
<p style="text-align: center;"> </p>
<p style="text-align: center;"><strong>Botnets</strong><br />
<object width="425" height="344" data="http://www.youtube.com/v/tvfdj6OD4bk&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=it&amp;feature=player_embedded&amp;fs=1" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/tvfdj6OD4bk&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=it&amp;feature=player_embedded&amp;fs=1" /><param name="allowfullscreen" value="true" /></object></p>
<p style="text-align: center;"> </p>
<p style="text-align: center;"><strong>Reputation Hijacking</strong><br />
<object width="425" height="344" data="http://www.youtube.com/v/GZ_1oRSZhL8&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=it&amp;feature=player_embedded&amp;fs=1" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/GZ_1oRSZhL8&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=it&amp;feature=player_embedded&amp;fs=1" /><param name="allowfullscreen" value="true" /></object></p>
<p style="text-align: left;"> </p>
<p style="text-align: left;">References: <a href="http://www.cisco.com/en/US/prod/vpndevc/annual_security_report.html" target="_blank">http://www.cisco.com/&#8230;/annual_security_report.html</a></p>
<hr />
<p><small>© Fabio for <a href="http://www.ciscozine.com">CiscoZine</a>, 2008. |
<a href="http://www.ciscozine.com/2008/12/18/cisco-2008-annual-security-report/">Permalink</a> |
<a href="http://www.ciscozine.com/2008/12/18/cisco-2008-annual-security-report/#comments">No comment</a><br/>
Post tags: <a href="http://www.ciscozine.com/tag/report/" rel="tag">Report</a>, <a href="http://www.ciscozine.com/tag/video/" rel="tag">Video</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.ciscozine.com/2008/12/18/cisco-2008-annual-security-report/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IOS Scripting with Tcl</title>
		<link>http://www.ciscozine.com/2008/12/13/ios-scripting-with-tcl/</link>
		<comments>http://www.ciscozine.com/2008/12/13/ios-scripting-with-tcl/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 18:04:48 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
		
		<category><![CDATA[Tutorial]]></category>

		<category><![CDATA[Advanced configuration]]></category>

		<category><![CDATA[Tcl]]></category>

		<guid isPermaLink="false">http://www.ciscozine.com/?p=608</guid>
		<description><![CDATA[Discovered during Cisco CCNP course, Tcl (originally from &#8220;Tool Command Language&#8220;) is a scripting language created by John Ousterhout and introduced from IOS version 12.3(2)T.
But what is Cisco Tcl?
The Cisco IOS Tcl shell was designed to allow customers to run Tcl commands directly from the Cisco IOS CLI prompt. Cisco IOS software does contain some [...]]]></description>
			<content:encoded><![CDATA[<p>Discovered during Cisco CCNP course, Tcl (originally from &#8220;<strong>Tool Command Language</strong>&#8220;) is a scripting language created by John Ousterhout and introduced from IOS version 12.3(2)T.</p>
<p>But what is Cisco Tcl?<br />
The Cisco IOS Tcl shell was designed to allow customers to run <strong>Tcl commands</strong> directly from the Cisco IOS CLI prompt. Cisco IOS software does contain some subsystems such as <strong>Embedded Syslog Manager</strong> (ESM) and <strong>Interactive Voice Response</strong> (IVR) that use Tcl interpreters as part of their implementation. These subsystems have their own proprietary commands and keyword options that are not available in the Tcl shell.<span id="more-608"></span></p>
<p>Several methods have been developed for creating and running Tcl scripts within Cisco IOS software. A Tcl shell can be enabled, and Tcl commands can be entered line by line. After Tcl commands are entered, they are sent to a Tcl interpreter. If the commands are recognized as valid Tcl commands, the commands are executed and the results are sent to the tty. If a command is not a recognized Tcl command, it is sent to the Cisco IOS CLI parser. If the command is not a Tcl or Cisco IOS command, two error messages are displayed. A predefined Tcl script can be created outside of Cisco IOS software, transferred to flash or disk memory, and run within Cisco IOS software. It is also possible to create a Tcl script and precompile the code before running it under Cisco IOS software.</p>
<p>Multiple users on the same router can be in Tcl configuration mode at the same time without interference because each Tcl shell session launches a separate interpreter and Tcl server process. The tty interface number served by each Tcl process is represented in the server process name and can be displayed using the show process CLI command.</p>
<p>The Tcl shell can be used to run Cisco IOS CLI EXEC commands within a Tcl script. Using the Tcl shell to run CLI commands allows customers to build menus to guide novice users through tasks, to automate repetitive tasks, and to create custom output for show commands.</p>
<p>To enter in the &#8220;Tool Command Language shell&#8221; type &#8220;<strong>tclsh</strong>&#8221; command, while to exit type &#8220;<strong>tclquit</strong>&#8220;.</p>
<p>Remember: <strong>errors in Tcl scripts can cause infinite loops in the router</strong></p>
<p><strong></strong></p>
<p><strong>1. A very simple example: Hello world</strong><br />
Copy this function in the Tcl configuration mode</p>
<pre><code>proc test {} {
puts "Hello world!"
}</code></pre>
<p>The result will be:</p>
<pre><code>Ciscozine#tclsh
Ciscozine(tcl)#proc test {} {

+&gt;puts "Hello world!"
+&gt;}</code></pre>
<p>To test the script type &#8220;test&#8221;:</p>
<pre><code>Ciscozine(tcl)#test
Hello world!

Ciscozine(tcl)#</code></pre>
<p> </p>
<p><strong>2. Ping multiple IP addresses<br />
</strong>Often during troubleshooting, it is needed to ping some IP addresses to test connectivity; in these situations Tcl could be very useful.</p>
<p>For instance, suppose to ping the first &#8216;x&#8217; ip address of the 172.16.1.x/24 network. Usually a network administrator must type &#8220;ping 172.16.1.1&#8243; then &#8220;ping 172.16.1.2&#8243; and so on&#8230;, but it could take a long time.</p>
<p>Tcl could help us with a very simple script:</p>
<pre><code>proc ping_net {x} {
 for {set n 1} {$n&lt;=$x} {incr n 1} {
    exec "ping 172.16.1.$n"
 }
}</code></pre>
<p>The result will be:</p>
<pre><code>Ciscozine(tcl)#proc ping_net {x} {
+&gt; for {set n 1} {$n&lt;=$x} {incr n 1} {
+&gt;    exec "ping 172.16.1.$n"
+&gt; }
+&gt;}</code></pre>
<p>To test the first five IP addresses:</p>
<pre><code>Ciscozine(tcl)#ping_net 5

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.3, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.5, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Ciscozine(tcl)#</code></pre>
<p> </p>
<p>In these 2 simple examples, I have used 3 Tcl command: <em>proc</em>, <em>puts</em>, <em>for</em>.</p>
<p>The <strong>proc</strong> command creates a new command. The syntax for the proc command is: <em>proc name args body</em><br />
When proc is evaluated, it creates a new command with name name that takes arguments args. When the procedure name is called, it then runs the code contained in body.</p>
<p>The <strong>puts </strong>command is used to print &#8220;somethings&#8221;.</p>
<p>The <strong>for</strong> command in Tcl takes four arguments; an initialization, a test, an increment, and the body of code to evaluate on each pass through the loop. The syntax for the for command is: <em>for start test next body</em><br />
During evaluation of the for command, the start code is evaluated once, before any other arguments are evaluated.</p>
<p>You can find more informations about tcl command syntax on <a href="http://www.tcl.tk/" target="_blank">http://www.tcl.tk/</a>.</p>
<p><strong></strong></p>
<p> </p>
<p>References:</p>
<ul>
<li><a href="http://www.cisco.com/en/US/docs/ios/12_3t/12_3t2/feature/guide/gt_tcl.html" target="_blank">http://www.cisco.com/&#8230;/feature/guide/gt_tcl.html</a></li>
<li><a href="http://en.wikipedia.org/wiki/Tcl" target="_blank">http://en.wikipedia.org/wiki/Tcl</a></li>
<li><a href="http://forums.cisco.com/eforum/servlet/EEM?page=main" target="_blank">http://forums.cisco.com/eforum/servlet/EEM?page=main</a></li>
</ul>
<hr />
<p><small>© Fabio for <a href="http://www.ciscozine.com">CiscoZine</a>, 2008. |
<a href="http://www.ciscozine.com/2008/12/13/ios-scripting-with-tcl/">Permalink</a> |
<a href="http://www.ciscozine.com/2008/12/13/ios-scripting-with-tcl/#comments">One comment</a><br/>
Post tags: <a href="http://www.ciscozine.com/tag/advanced-configuration/" rel="tag">Advanced configuration</a>, <a href="http://www.ciscozine.com/tag/tcl/" rel="tag">Tcl</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.ciscozine.com/2008/12/13/ios-scripting-with-tcl/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What do you want for Christmas?</title>
		<link>http://www.ciscozine.com/2008/12/10/what-do-you-want-for-christmas/</link>
		<comments>http://www.ciscozine.com/2008/12/10/what-do-you-want-for-christmas/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 20:53:24 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
		
		<category><![CDATA[Stories]]></category>

		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.ciscozine.com/?p=613</guid>
		<description><![CDATA[Surfing the web, I have found this video. It&#8217;s quite old, but&#8230; no comment -.-&#8221;
 
And you, what do you want for Christmas?

© Fabio for CiscoZine, 2008. &#124;
Permalink &#124;
No comment
Post tags: Video
]]></description>
			<content:encoded><![CDATA[<p>Surfing the web, I have found this video. It&#8217;s quite old, but&#8230; no comment -.-&#8221;</p>
<p><embed id="VideoPlayback" src="http://video.google.com/googleplayer.swf?docid=-6655466036343622&#038;hl=it&#038;fs=true" style="width:400px;height:326px" allowFullScreen="true" allowScriptAccess="always" type="application/x-shockwave-flash"> </embed></p>
<p>And you, what do you want for Christmas?</p>
<hr />
<p><small>© Fabio for <a href="http://www.ciscozine.com">CiscoZine</a>, 2008. |
<a href="http://www.ciscozine.com/2008/12/10/what-do-you-want-for-christmas/">Permalink</a> |
<a href="http://www.ciscozine.com/2008/12/10/what-do-you-want-for-christmas/#comments">No comment</a><br/>
Post tags: <a href="http://www.ciscozine.com/tag/video/" rel="tag">Video</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.ciscozine.com/2008/12/10/what-do-you-want-for-christmas/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cisco C-Scape 2008</title>
		<link>http://www.ciscozine.com/2008/12/08/cisco-c-scape-2008/</link>
		<comments>http://www.ciscozine.com/2008/12/08/cisco-c-scape-2008/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 09:09:52 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
		
		<category><![CDATA[Stories]]></category>

		<category><![CDATA[Webcast]]></category>

		<guid isPermaLink="false">http://www.ciscozine.com/?p=609</guid>
		<description><![CDATA[
Cisco&#8217;s C-Scape Global Forum 2008 brings industry analyst and press communities together with John Chambers, his executive team and guest technology leaders for discussion, debate and dialogue on the industry&#8217;s prevailing issues and trends.
This year&#8217;s interactive forum will focus on the process of building the Next Internet - a much richer user experience on a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-612" title="c-scape-2008" src="http://www.ciscozine.com/wp-content/uploads/c-scape-2008.png" alt="" width="490" height="111" /></p>
<p>Cisco&#8217;s C-Scape Global Forum 2008 brings industry analyst and press communities together with John Chambers, his executive team and guest technology leaders for discussion, debate and dialogue on the industry&#8217;s prevailing issues and trends.</p>
<p>This year&#8217;s interactive forum will <strong>focus</strong> <strong>on</strong> the process of building <strong>the Next Internet</strong> - a much richer user experience on a global scale - and feature discussion around key market transitions in video, collaboration and data center/<strong>virtualization</strong>.<span id="more-609"></span></p>
<p>C-Scape 2008 will feature general session remarks from members of Cisco&#8217;s leadership team including:</p>
<ul>
<li>John Chambers, chairman and CEO</li>
<li>Blair Christie, senior vice president, Corporate Communications</li>
<li>Rob Lloyd, senior vice president, United States, Canada and Japan</li>
<li>Randy Pond, executive vice president, Operations Processes and Systems</li>
<li>Padmasree Warrior, chief technology officer</li>
</ul>
<p>General session remarks will also be given by guest technology leaders including:</p>
<ul>
<li>Art Hair, chief technology officer, The Walt Disney Studios</li>
<li>Ken Harvey, group managing director, chief technology and services officer, HSBC</li>
<li>Dick Lynch, executive vice president and chief technology officer, Verizon</li>
</ul>
<p> </p>
<p><strong>C-Scape sessions</strong> will be webcast live:</p>
<ul>
<li><strong>December 9th</strong> from 8:00 a.m. - 12:15 p.m. and 3:55 p.m. - 5:00 p.m. PT</li>
<li><strong>December 10th</strong> from 8:45 a.m. - 10:30 a.m. and 3:00 p.m. - 4:00 p.m. PT</li>
</ul>
<p> </p>
<p>To register for the live video webcasts, please go to:<br />
<a href="http://event.ciscowebseminars.com/clients/cisco/CScape2008" target="_blank">http://event.ciscowebseminars.com/clients/cisco/CScape2008</a></p>
<hr />
<p><small>© Fabio for <a href="http://www.ciscozine.com">CiscoZine</a>, 2008. |
<a href="http://www.ciscozine.com/2008/12/08/cisco-c-scape-2008/">Permalink</a> |
<a href="http://www.ciscozine.com/2008/12/08/cisco-c-scape-2008/#comments">No comment</a><br/>
Post tags: <a href="http://www.ciscozine.com/tag/webcast/" rel="tag">Webcast</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.ciscozine.com/2008/12/08/cisco-c-scape-2008/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
