<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>CharlieBlog &#187; Networking</title>
	<atom:link href="http://www.longitudetech.com/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.longitudetech.com</link>
	<description></description>
	<lastBuildDate>Tue, 20 Apr 2010 20:20:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<!-- podcast_generator="podPress/8.8" - maintenance_release="8.8.4" -->
		<copyright>Copyright &#xA9; 2010 CharlieBlog </copyright>
		<managingEditor>info@longitudetech.com ()</managingEditor>
		<webMaster>info@longitudetech.com ()</webMaster>
		<category>posts</category>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>Linux, Networking, Stories, and Rants</itunes:summary>
		<itunes:author></itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<itunes:owner>
			<itunes:name></itunes:name>
			<itunes:email>info@longitudetech.com</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://www.longitudetech.com/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://www.longitudetech.com/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>CharlieBlog</title>
			<link>http://www.longitudetech.com</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>Cisco AutoQoS: VoIP QoS for Mere Mortals</title>
		<link>http://www.longitudetech.com/networking/cisco-autoqos-voip-qos-for-mere-mortals/</link>
		<comments>http://www.longitudetech.com/networking/cisco-autoqos-voip-qos-for-mere-mortals/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 03:46:56 +0000</pubDate>
		<dc:creator>charlie</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[networks]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=54</guid>
		<description><![CDATA[WANs often need Quality of Service (QoS) configured to ensure that certain traffic is classified as “more important” than other traffic. Until now, it took a serious Cisco guru to configure a network properly for VoIP if the network was at all bandwidth constrained. AutoQoS, a new IOS feature for Cisco routers, makes deploying VoIP [...]


Related posts:<ol><li><a href='http://www.longitudetech.com/networking/are-cisco-flex-links-the-end-of-stp/' rel='bookmark' title='Permanent Link: Are Cisco Flex Links the End of STP?'>Are Cisco Flex Links the End of STP?</a></li>
<li><a href='http://www.longitudetech.com/networking/built-in-security-with-cisco-ips/' rel='bookmark' title='Permanent Link: Built-in Security with Cisco IPS'>Built-in Security with Cisco IPS</a></li>
<li><a href='http://www.longitudetech.com/networking/manage-devices-and-configurations-with-cisco-sdm/' rel='bookmark' title='Permanent Link: Manage Devices and Configurations with Cisco SDM'>Manage Devices and Configurations with Cisco SDM</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>WANs often need Quality of Service (QoS) configured to ensure that certain traffic is classified as “more important” than other traffic. Until now, it took a serious Cisco guru to configure a network properly for VoIP if the network was at all bandwidth constrained. AutoQoS, a new IOS feature for Cisco routers, makes deploying VoIP easy, even on busy WAN links. In this article we’ll cover the basics, what AutoQoS does, and some of its limitations.</p>
<p>The first whack at AutoQoS was Cisco recognizing the need to simplify VoIP traffic prioritization. VoIP is especially sensitive to any latency, jitter, or loss, and users will notice problems. To ensure the best possible VoIP call, the network must ensure that lower priority <img class="alignleft size-full wp-image-55" title="traffic_jam" src="http://www.longitudetech.com/blog/wp-content/uploads/2010/03/traffic_jam.jpg" alt="" width="326" height="400" />traffic does not interfere with time-sensitive VoIP. AutoQoS can be enabled on both WAN links and Ethernet switches to automatically provide a nice best-practices based template for VoIP prioritization.</p>
<p><strong>How it Works</strong></p>
<p>QoS allows a router to classify which types of traffic are most important, and ensure that that traffic passed as quickly as possible. If necessary, other traffic will be queued until the higher priority traffic has had a chance to pass. Before a router can know when to queue versus when to attempt to pass all traffic, it must be configured with bandwidth settings for each link.</p>
<p>Configuring QoS on a Cisco router normally involves a complex series of interactions, which require understanding not only the protocols, but a router’s strange way of associating policies. The basic steps are:</p>
<ul>
<li>Use an ACL to define which traffic gets matched</li>
<li>A class-map classifies matched traffic into classes</li>
<li>A policy-map assigns priorities to the classes</li>
<li>The policy-map is applied to the interface, which enables the processing of all packets through the ACL, class-map, and policy-map</li>
</ul>
<p>Each of these “maps” are quite complicated and prone to error. Most sites are going to be duplicating effort because of common problems, like VoIP, needing QoS help.</p>
<p><strong>Why AutoQoS</strong></p>
<p>QoS configuration is not simple. It requires understanding the protocols your network interfaces are using, as well as the type of data you’re passing. To configure QoS for VoIP, for example, you must understand how VoIP works. In short, it requires a guru. If you’re like me, you literally giggled out loud the first time you encountered the word, “AutoQoS.”</p>
<p>AutoQoS enables any network administrator to just “turn on” a solid solution for ensuring VoIP is happy. VoIP is the pain point for most organizations, so that’s what Cisco focused on first, and that’s what we’re focusing on here. Given the limited scope of AutoQoS, it’s believable that it works well enough. In reality, QoS configurations generally classify many types of traffic, and then place a priority on each one.</p>
<p>The main benefit of AutoQoS is that administrator training is much quicker. It also means that VoIP deployments often go much smoother, and upgrading WAN links isn’t usually required. Finally, AutoQoS creates templates that can be modified as needed and copied elsewhere for deployment.</p>
<p><strong>Limitations</strong></p>
<p>Before talking about how to enable AutoQoS, which is literally three commands, let’s talk about where this works best, and what’s required to use AutoQoS.</p>
<p>First and foremost, you can only configure AutoQoS on a few types of router interfaces. These interfaces include:</p>
<ul>
<li>PPP or HDLC serial interfaces</li>
<li>ATM PVCs</li>
<li>Frame Relay (point-to-point links only)</li>
</ul>
<p>Cisco catalyst switches also support an AutoQoS command to prioritize Cisco VoIP phones, but you cannot prioritize (using AutoQoS) generic VoIP protocols.</p>
<p>Next, there are some limitations with ATM sub-interfaces. If you have a low-speed ATM link (less than 768Kbps), then AutoQoS will only work on point-to-point sub-interfaces. Higher speed ATM PVCs are fully supported though. For standard serial links, AutoQoS is not supported at all on sub-interfaces. A quick litmus test to see if AutoQoS will work on your desired interfaces or not is to verify that the <strong>service-policy</strong> configuration is supported. If not, you’ll probably have to reconfigure some links.</p>
<p>AutoQoS will not work if an existing QoS configuration exists on an interface. Likewise, when you disable the AutoQoS configuration, any changes you may have made to the template after the initial configuration will be lost.</p>
<p>Bandwidth statements are used by AutoQoS to determine what settings it should use, so remember that after updating bandwidth statements in the future, you have to re-run the AutoQoS commands.</p>
<p><strong>Making it Work</strong></p>
<p>In the most standard situation, where VoIP isn’t performing as it was promised, the network admin can quickly save the day by running the following on the WAN interface:</p>
<pre>interface Serial0
bandwidth 256
autoqos voip</pre>
<p>If it’s the local network that needs tuning, the following can be run on Catalyst switches (if running Enhanced Images):</p>
<pre>auto qos voip cisco-phone
auto qos voip trust</pre>
<p>It really couldn’t be easier than that.  For the WAN example, we told the router that interface Serial0 has 256 Kbps, and to enable VoIP QoS. The switch example is similar, for Cisco phones.</p>
<p>The neat part about this is that AutoQoS is actually doing more than just generating a configuration for you and forgetting about it. If you run the command <strong>show autoqos interface s0</strong>, you will see much more than just your standard old interface configuration. It will show that a Virtual Template “interface” has been created, and that a class is applied to the interface. The same output will also show you the configuration of the template and class-map, with an asterisk next to each entry that was generated by AutoQoS. It’s actually keeping track of what was done automatically so that you can learn what AutoQoS is doing. As mentioned previously, however, don’t forget that removing the AutoQoS configuration will destroy all QoS settings on an interface, not just the ones that AutoQoS configured.</p>
<p>Finally, remember to enable QoS on both sides of a WAN link to truly prioritize VoIP packets. Don’t forget to read through the Cisco documentation before deploying it, even though AutoQoS is simple, in comparison. It is simple, but the more prepared you are the easier it is to deploy.</p>
<p>Cisco will hopefully continue this trend of providing Auto features for complicated, but common tasks. AutoQoS for VoIP sure does enable a much larger audience to correctly deploy VoIP over a wide variety of networks.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d54').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Share this! (we greatly appreciate you sharing with friends)</em></strong></a>
<br />
<div class="d54" style="overflow:hidden">
<br />
<a onclick="pageTracker._trackPageview('/outgoing/del.icio.us/post?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fcisco-autoqos-voip-qos-for-mere-mortals_2F_amp_title=Cisco+AutoQoS_3A+VoIP+QoS+for+Mere+Mortals&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fcisco-autoqos-voip-qos-for-mere-mortals%2F&amp;title=Cisco+AutoQoS%3A+VoIP+QoS+for+Mere+Mortals" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/digg.com/submit?phase=2_amp_url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fcisco-autoqos-voip-qos-for-mere-mortals_2F_amp_title=Cisco+AutoQoS_3A+VoIP+QoS+for+Mere+Mortals&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fcisco-autoqos-voip-qos-for-mere-mortals%2F&amp;title=Cisco+AutoQoS%3A+VoIP+QoS+for+Mere+Mortals" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.facebook.com/sharer.php?u=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fcisco-autoqos-voip-qos-for-mere-mortals_2F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fcisco-autoqos-voip-qos-for-mere-mortals%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.google.com/bookmarks/mark?op=edit_amp_output=popup_amp_bkmk=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fcisco-autoqos-voip-qos-for-mere-mortals_2F_amp_title=Cisco+AutoQoS_3A+VoIP+QoS+for+Mere+Mortals&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fcisco-autoqos-voip-qos-for-mere-mortals%2F&amp;title=Cisco+AutoQoS%3A+VoIP+QoS+for+Mere+Mortals" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/reddit.com/submit?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fcisco-autoqos-voip-qos-for-mere-mortals_2F_amp_title=Cisco+AutoQoS_3A+VoIP+QoS+for+Mere+Mortals&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fcisco-autoqos-voip-qos-for-mere-mortals%2F&amp;title=Cisco+AutoQoS%3A+VoIP+QoS+for+Mere+Mortals" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/slashdot.org/bookmark.pl?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fcisco-autoqos-voip-qos-for-mere-mortals_2F_amp_title=Cisco+AutoQoS_3A+VoIP+QoS+for+Mere+Mortals&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fcisco-autoqos-voip-qos-for-mere-mortals%2F&amp;title=Cisco+AutoQoS%3A+VoIP+QoS+for+Mere+Mortals" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.stumbleupon.com/submit?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fcisco-autoqos-voip-qos-for-mere-mortals_2F_amp_title=Cisco+AutoQoS_3A+VoIP+QoS+for+Mere+Mortals&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fcisco-autoqos-voip-qos-for-mere-mortals%2F&amp;title=Cisco+AutoQoS%3A+VoIP+QoS+for+Mere+Mortals" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/twitter.com/home/?status=Check+out+Cisco+AutoQoS_3A+VoIP+QoS+for+Mere+Mortals+_+http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fcisco-autoqos-voip-qos-for-mere-mortals_2F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Cisco+AutoQoS%3A+VoIP+QoS+for+Mere+Mortals+@+http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fcisco-autoqos-voip-qos-for-mere-mortals%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/myweb2.search.yahoo.com/myresults/bookmarklet?u=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fcisco-autoqos-voip-qos-for-mere-mortals_2F_amp_t=Cisco+AutoQoS_3A+VoIP+QoS+for+Mere+Mortals&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fcisco-autoqos-voip-qos-for-mere-mortals%2F&amp;t=Cisco+AutoQoS%3A+VoIP+QoS+for+Mere+Mortals" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d54').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->


<p>Related posts:<ol><li><a href='http://www.longitudetech.com/networking/are-cisco-flex-links-the-end-of-stp/' rel='bookmark' title='Permanent Link: Are Cisco Flex Links the End of STP?'>Are Cisco Flex Links the End of STP?</a></li>
<li><a href='http://www.longitudetech.com/networking/built-in-security-with-cisco-ips/' rel='bookmark' title='Permanent Link: Built-in Security with Cisco IPS'>Built-in Security with Cisco IPS</a></li>
<li><a href='http://www.longitudetech.com/networking/manage-devices-and-configurations-with-cisco-sdm/' rel='bookmark' title='Permanent Link: Manage Devices and Configurations with Cisco SDM'>Manage Devices and Configurations with Cisco SDM</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.longitudetech.com/networking/cisco-autoqos-voip-qos-for-mere-mortals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Networking 101: More Subnets, and IPv6</title>
		<link>http://www.longitudetech.com/networking/networking-101-more-subnets-and-ipv6/</link>
		<comments>http://www.longitudetech.com/networking/networking-101-more-subnets-and-ipv6/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 04:07:32 +0000</pubDate>
		<dc:creator>charlie</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Networking 101]]></category>
		<category><![CDATA[ccna]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[networks]]></category>

		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=49</guid>
		<description><![CDATA[What&#8217;s the point of creating subnets anyways? How do I remember those strange looking subnet masks? How the heck does this work with those crazy looking IPv6 addresses? This edition of Networking 101 will expand on the previous Subnets and CIDR article, in the interest of promoting a thorough understanding of subnetting. An oft-asked question in [...]


Related posts:<ol><li><a href='http://www.longitudetech.com/networking-101/networking-101-subnetting-slice-up-32-bits/' rel='bookmark' title='Permanent Link: Networking 101: Subnetting &#8211; Slice Up 32-bits'>Networking 101: Subnetting &#8211; Slice Up 32-bits</a></li>
<li><a href='http://www.longitudetech.com/networking-101/networking-101-ip-addresses/' rel='bookmark' title='Permanent Link: Networking 101: IP addresses'>Networking 101: IP addresses</a></li>
<li><a href='http://www.longitudetech.com/networking-101/networking-101-understanding-layers/' rel='bookmark' title='Permanent Link: Networking 101: Understanding Layers'>Networking 101: Understanding Layers</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>What&#8217;s the point of creating subnets anyways? How do I remember those strange looking subnet masks? How the heck does this work with those crazy looking IPv6 addresses? This edition of Networking 101 will expand on the previous <a href="http://www.longitudetech.com/blog/networking-101/networking-101-subnetting-slice-up-32-bits/">Subnets and CIDR</a> article, in the interest of promoting a thorough understanding of subnetting.</p>
<p>An oft-asked question in networking classes is &#8220;why can&#8217;t we just put everyone on the same subnet and stop worrying about routing?&#8221; The reason is very simple. Every time someone needs to talk, be it to a router or another host, they have to send an ARP request. Also, there&#8217;s broadcast packets that aren&#8217;t necessarily limited to ARP, which everyone hears. When there are only 255 devices on a /24 subnet, the amount of broadcast packets are fairly limited. It is important to keep this number low, because every time a packet destined for a specific host or a broadcast address is seen, the host must handle the packet. A hardware interrupt is created, and the kernel of the operating system must read enough of the packet to determine whether or not it cares about it.</p>
<p><img class="alignleft" src="http://wiki.bc.net/atl-conf/download/attachments/20548220/world.jpg" alt="" width="400" height="200" /></p>
<p>Broadcast storms happen at times, mainly because of layer 2 topology loops. We&#8217;ll explain layer 2 topology issues in excruciating (actually, enlightening) detail in a future issue. When thousands of packets hit a computer at a time, slow and fast computers alike can become very slow. The kernel spends so much time handling interrupts that it doesn&#8217;t have much left for dealing with &#8220;trivial&#8221; things like making sure your web browser process gets a chance to run. So that, my friends, is why subnets are very important. This is also known as a broadcast domain, because it limits the amount of broadcasts that you will hear.</p>
<p>The natural follow-up question normally involves a host&#8217;s notion of a broadcast address and netmask. We hopefully understand that a host needs to understand what computers are on the same subnet. Those IP addresses can be spoken to directly, making a router unnecessary. When the netmask or broadcast address is incorrectly configured, you&#8217;ll quickly find that some hosts are unreachable.</p>
<p>The most common erroneous configuration happens when someone configure an IP address without specifying the netmask and broadcast address. For some reason, most operating systems don&#8217;t take the liberty of updating these things, even though one can be determined from the other. If you run &#8216;ifconfig eth0 130.211.0.1 netmask 255.255.255.0&#8242; you might expect that everything is ready to go. Unfortunately, it&#8217;s very likely that your broadcast address was set to 255.255.0.0. It largely depends on the router&#8217;s configuration, but normally this results in all broadcast packets being dropped. Conversely, if the netmask is configured incorrectly, the computer wouldn&#8217;t know where the subnet starts and begins. If a computer thinks a host is on the same subnet when it actually isn&#8217;t, it will attempt to ARP for it instead of the router. Routers can be configured to handle this and pretend they are the host (called Proxy Arp), but normally the result is unreachable hosts.</p>
<p>Understand how the netmask is configured, to avoid this problem. Figuring out the network and broadcast address isn&#8217;t very difficult when you remember that the netmask simply means &#8220;cover some bits,&#8221; but deciphering netmask representation can induce a double-take. The netmask for a /24 network is 255.255.255.0, that&#8217;s easy. But what does 255.255.240.0 mean? The best way to decipher it is to begin with the masked off part. Comparing it to the /24, which had three octets masked, we see that 255.255.240.0 has two octets masked, and part of another. We know it&#8217;s between a /16 and a /24. We have to understand binary, and realize how many bits are masked. The last 16 bits are clearly part of the network portion. The third octet, 240, allows 16 IP addresses beyond the mask, so it must mean that four bits are left (2^4=16). The four remaining bits, plus the 16 bits used for the first two octets means that we&#8217;re dealing with a /20!</p>
<p>What about 1.0.0.0/255.255.255.248? We&#8217;re definitely in a land smaller than the /24 subnet. If we look at the remaining bits in the last octet, we can see that there are eight IP addresses available. Remember that only 2^3 can make eight, so we&#8217;re using all but three bits in the network portion. This is a /29 network. Of course, the easy ones are pretty clear: 255.255.255.128 allows half as many host addresses in the last octet compared to the /24 network, so it&#8217;s a /25.</p>
<p>On the topic of confusing netmasks, IPv6 addresses certainly have a place. The netmask isn&#8217;t really an issue&#8211;the same concept applies, just with larger numbers to remember. The real problem lies within the address representation itself; the IETF seemed to take pride in creating confusion. Typically an IPv6 address is represented in hex, or base-16. Our old friend IPv4 could represent an IP address in hex too, which would look like B.B.B.B for the address 11.11.11.11. Unfortunately, IPv6 isn&#8217;t quite that nice looking. To represent 128 bits, IPv6 normally breaks up the address into eight 16-bit segments.</p>
<p>An IPv6 address looks like: 2013:4567:0000:CDEF:0000:0000:00AD:0000. It does get a bit easier. For example, leading zeros are not written, and contiguous quads of zeros get collapsed to ::. Trailing zeros ,however, must be shown. This is a bit confusing, but the rules always allow for a non-ambiguous IP address. Leading zeros in each quad can always be removed, but the collapsing of contiguous blocks of zeros can only happen once per address. The above address with collapsed zeros will look like: 2013:4567:0000:CDEF::AD:0000. IPv6 provides 2^128 addresses, more than enough to allocate roughly 1000+ IP addresses per square meter of the earth.</p>
<p>If you remember the rules of binary, the address representation rules with IPv6, and a few simple subnets for reference, you&#8217;ll be Master of Subnets &#8211; the one who everyone asks for help.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d49').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Share this! (we greatly appreciate you sharing with friends)</em></strong></a>
<br />
<div class="d49" style="overflow:hidden">
<br />
<a onclick="pageTracker._trackPageview('/outgoing/del.icio.us/post?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fnetworking-101-more-subnets-and-ipv6_2F_amp_title=Networking+101_3A+More+Subnets_2C+and+IPv6&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fnetworking-101-more-subnets-and-ipv6%2F&amp;title=Networking+101%3A+More+Subnets%2C+and+IPv6" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/digg.com/submit?phase=2_amp_url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fnetworking-101-more-subnets-and-ipv6_2F_amp_title=Networking+101_3A+More+Subnets_2C+and+IPv6&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fnetworking-101-more-subnets-and-ipv6%2F&amp;title=Networking+101%3A+More+Subnets%2C+and+IPv6" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.facebook.com/sharer.php?u=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fnetworking-101-more-subnets-and-ipv6_2F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fnetworking-101-more-subnets-and-ipv6%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.google.com/bookmarks/mark?op=edit_amp_output=popup_amp_bkmk=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fnetworking-101-more-subnets-and-ipv6_2F_amp_title=Networking+101_3A+More+Subnets_2C+and+IPv6&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fnetworking-101-more-subnets-and-ipv6%2F&amp;title=Networking+101%3A+More+Subnets%2C+and+IPv6" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/reddit.com/submit?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fnetworking-101-more-subnets-and-ipv6_2F_amp_title=Networking+101_3A+More+Subnets_2C+and+IPv6&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fnetworking-101-more-subnets-and-ipv6%2F&amp;title=Networking+101%3A+More+Subnets%2C+and+IPv6" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/slashdot.org/bookmark.pl?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fnetworking-101-more-subnets-and-ipv6_2F_amp_title=Networking+101_3A+More+Subnets_2C+and+IPv6&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fnetworking-101-more-subnets-and-ipv6%2F&amp;title=Networking+101%3A+More+Subnets%2C+and+IPv6" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.stumbleupon.com/submit?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fnetworking-101-more-subnets-and-ipv6_2F_amp_title=Networking+101_3A+More+Subnets_2C+and+IPv6&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fnetworking-101-more-subnets-and-ipv6%2F&amp;title=Networking+101%3A+More+Subnets%2C+and+IPv6" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/twitter.com/home/?status=Check+out+Networking+101_3A+More+Subnets_2C+and+IPv6+_+http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fnetworking-101-more-subnets-and-ipv6_2F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Networking+101%3A+More+Subnets%2C+and+IPv6+@+http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fnetworking-101-more-subnets-and-ipv6%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/myweb2.search.yahoo.com/myresults/bookmarklet?u=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fnetworking-101-more-subnets-and-ipv6_2F_amp_t=Networking+101_3A+More+Subnets_2C+and+IPv6&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fnetworking-101-more-subnets-and-ipv6%2F&amp;t=Networking+101%3A+More+Subnets%2C+and+IPv6" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d49').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->


<p>Related posts:<ol><li><a href='http://www.longitudetech.com/networking-101/networking-101-subnetting-slice-up-32-bits/' rel='bookmark' title='Permanent Link: Networking 101: Subnetting &#8211; Slice Up 32-bits'>Networking 101: Subnetting &#8211; Slice Up 32-bits</a></li>
<li><a href='http://www.longitudetech.com/networking-101/networking-101-ip-addresses/' rel='bookmark' title='Permanent Link: Networking 101: IP addresses'>Networking 101: IP addresses</a></li>
<li><a href='http://www.longitudetech.com/networking-101/networking-101-understanding-layers/' rel='bookmark' title='Permanent Link: Networking 101: Understanding Layers'>Networking 101: Understanding Layers</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.longitudetech.com/networking/networking-101-more-subnets-and-ipv6/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Are Cisco Flex Links the End of STP?</title>
		<link>http://www.longitudetech.com/networking/are-cisco-flex-links-the-end-of-stp/</link>
		<comments>http://www.longitudetech.com/networking/are-cisco-flex-links-the-end-of-stp/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 22:12:55 +0000</pubDate>
		<dc:creator>charlie</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[ccie]]></category>
		<category><![CDATA[ccna]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[networks]]></category>

		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=33</guid>
		<description><![CDATA[Cisco Flex Links gives network operators a simple, reliable, and more scalable method of layer 2 redundancy. The Spanning Tree Protocol (STP) is not destined for the scrap bin, but it will certainly fall out of favor with many enterprise networks. Flex Links are a pair of layer 2 interfaces configured to act as a [...]


Related posts:<ol><li><a href='http://www.longitudetech.com/networking/built-in-security-with-cisco-ips/' rel='bookmark' title='Permanent Link: Built-in Security with Cisco IPS'>Built-in Security with Cisco IPS</a></li>
<li><a href='http://www.longitudetech.com/networking/cisco-autoqos-voip-qos-for-mere-mortals/' rel='bookmark' title='Permanent Link: Cisco AutoQoS: VoIP QoS for Mere Mortals'>Cisco AutoQoS: VoIP QoS for Mere Mortals</a></li>
<li><a href='http://www.longitudetech.com/networking-101/networking-101-layer-2-link-and-spanning-tree/' rel='bookmark' title='Permanent Link: Networking 101: Layer 2, Link and Spanning Tree'>Networking 101: Layer 2, Link and Spanning Tree</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Cisco Flex Links gives network operators a simple, reliable, and more scalable method of layer 2 redundancy. The Spanning Tree Protocol (STP) is not destined for the scrap bin, but it will certainly fall out of favor with many enterprise networks.</p>
<p>Flex Links are a pair of layer 2 interfaces configured to act as a backup of each other. Configuring Flex Links is very simple, but it&#8217;s a manual process. Spanning tree can configure itself if you just enable it, albeit likely a sub-optimal configuration, but a working one nonetheless. Flex Links, on the other hand, require manual setup and layout of your layer 2 network. If you don&#8217;t want to leave anything to chance, then Flex Links are preferred over STP.</p>
<p>The benefits of FlexLinks include:</p>
<ul>
<li>simplicity, which equals stability.</li>
<li>instant failover.</li>
<li>rudimentary load balancing capabilities, so one link isn&#8217;t wastefully idle.</li>
<li>load balancing works across switches in a stack, including port channels.</li>
</ul>
<p>Flex Links&#8217; primary operating mode is just like spanning tree: one on, one off. With per-VLAN spanning tree, a trunk port can have some VLANs enabled and some blocked at the same time, so on the surface it seems that STP is superior. In reality, you can configure Flex Links to load balance VLANs, and we&#8217;ll show you how shortly.</p>
<p><strong>Configuration</strong></p>
<p>Conceptually, you configure Flex Links by telling one link it&#8217;s the active link, and another that it&#8217;s the backup of that</p>
<div id="attachment_34" class="wp-caption alignleft" style="width: 279px"><a href="http://www.ciscosystems.com/en/US/docs/switches/lan/catalyst3750/software/release/12.2_25_sed/configuration/guide/swflink.html" onclick="pageTracker._trackPageview('/outgoing/www.ciscosystems.com/en/US/docs/switches/lan/catalyst3750/software/release/12.2_25_sed/configuration/guide/swflink.html?referer=');"><img class="size-full wp-image-34" title="cisco_flex" src="http://www.longitudetech.com/blog/wp-content/uploads/2010/02/cisco_flex.jpg" alt="" width="269" height="471" /></a><p class="wp-caption-text">Flex Links Design Map</p></div>
<p>primary (active) one. Without configuring VLAN load balancing, it will completely disable the backup, and if the active link goes down the backup will take over.</p>
<p>For example, to configure port gi1/0/1 as a active link, and gi1/0/2 as the backup, you&#8217;d run:</p>
<p><code>Switch# configure terminal<br />
Switch(conf)# interface gigabitethernet1/0/1<br />
Switch(conf-if)# switchport backup interface gigabitethernet1/0/2<br />
</code><br />
That&#8217;s all there is to configuring the basic mode, which gets you failover but no load balancing. Before talking about load balancing, let&#8217;s take a look at preemption and &#8220;mac address-table move update.&#8221;</p>
<p><strong>Preemption</strong></p>
<p>Preemption, that is, the preferred port for forwarding traffic, is also configurable. This is most often used in combination with multiple links that have differing bandwidth capacities. If you wish to ensure that port 1, a primary port that has more bandwidth, will return to the active link when it comes back up, you would set:  interface preemption mode bandwidth andswitchport backup interface preemption delay. The delay is used to set the amount of time (in seconds) to wait before allowing port 1 to preempt port 2 and begin taking over traffic again.</p>
<p><strong>MAC Address-Table Move Update</strong></p>
<p>Enabling the MAC address-table move update feature allows for rapid convergence when a primary link goes down and the backup takes over traffic forwarding duties. Without this feature enabled, neighboring switches may continue to forward traffic for a short time to a dead port, since they have learned MAC addresses associated with that link.</p>
<p>When move update is enabled, the switch containing Flex Links will broadcast an update packet to let other switches know what happened, and they will in turn un-learn that false MAC address mapping.</p>
<p>On the switch with Flex Links, simply configure:</p>
<p><code>Switch(conf)# mac address-table move update transmit<br />
</code><br />
All switches, including ones with Flex Links, need to receive these updates. This is not enabled by default, so you&#8217;ll need to run the following command on all of your devices:</p>
<p><code>Switch(conf)# mac address-table move update receive<br />
</code><br />
To see the status and verify that &#8220;move update&#8221; is enabled, run: show mac address-table move update. Checking the status of your Flex Links is much the same: show interfaces [interface-id] switchport backup.</p>
<p><strong>Load Balancing</strong></p>
<p>Flex Links should be configured such that both ports are forwarding traffic at the same time. This way, you get load balancing in addition to redundancy. The limitation is that only one port can be forwarding a single VLAN at a time. If we have VLANs 1-200, we need to choose which VLANs are forwarded primarily through which port. The most simple configuration, ignoring traffic requirements, would be that VLANs 1-100 use port 1, and VLANs 101-200 use port 2.</p>
<p>Before we get into configuring preferred VLANs, let&#8217;s talk about multicast. Multicast, of course, becomes an issue with this type of setup. If a port passed an IGMP join, and the switch is part of a multicast group, when the port goes down the switch will no longer be able to receive multicast traffic for that group. The quick fix is to make both Flex Links always be part of learned groups, with the command: switchport backup interface gigabitEthernet 1/0/12 multicast fast-convergence.</p>
<p>Now, on to VLAN load balancing. It is quite easy; just specify which VLANs you prefer on which links:</p>
<p><code>Switch(config-if)#switchport backup interface gigabitEthernet1/0/2 prefer vlan 101-200.<br />
</code><br />
If you have VLANs 1-200 on the switch, show interfaces switchport backup will show you:</p>
<p><code>Vlans Preferred on Active Interface: 1-100<br />
Vlans Preferred on Backup Interface: 101-200<br />
</code><br />
If a link goes down, VLANs that are preferred on that interface will be moved to the other link in the pair. Likewise, when a link returns to service, its preferred VLANs are blocked on the backup and returned to the preferred link.</p>
<p>Be sure to run show interfaces switchport backup detail to see the full status, including link speeds, preemption modes, the MAC address-table move update status.</p>
<p>In summary, the simplicity of Flex Links make it a better choice for carrier and core enterprise networks over the ubiquitous spanning tree protocol. Link-level redundancy is had via STP, but with Flex Links you have more control and better load balancing capabilities. This certainly means that it takes longer to configure since you are planning the layer 2 network manually, but when you need a stable no-surprises link-layer network, Flex Links are definitely the way to go.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d33').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Share this! (we greatly appreciate you sharing with friends)</em></strong></a>
<br />
<div class="d33" style="overflow:hidden">
<br />
<a onclick="pageTracker._trackPageview('/outgoing/del.icio.us/post?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fare-cisco-flex-links-the-end-of-stp_2F_amp_title=Are+Cisco+Flex+Links+the+End+of+STP_3F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fare-cisco-flex-links-the-end-of-stp%2F&amp;title=Are+Cisco+Flex+Links+the+End+of+STP%3F" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/digg.com/submit?phase=2_amp_url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fare-cisco-flex-links-the-end-of-stp_2F_amp_title=Are+Cisco+Flex+Links+the+End+of+STP_3F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fare-cisco-flex-links-the-end-of-stp%2F&amp;title=Are+Cisco+Flex+Links+the+End+of+STP%3F" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.facebook.com/sharer.php?u=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fare-cisco-flex-links-the-end-of-stp_2F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fare-cisco-flex-links-the-end-of-stp%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.google.com/bookmarks/mark?op=edit_amp_output=popup_amp_bkmk=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fare-cisco-flex-links-the-end-of-stp_2F_amp_title=Are+Cisco+Flex+Links+the+End+of+STP_3F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fare-cisco-flex-links-the-end-of-stp%2F&amp;title=Are+Cisco+Flex+Links+the+End+of+STP%3F" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/reddit.com/submit?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fare-cisco-flex-links-the-end-of-stp_2F_amp_title=Are+Cisco+Flex+Links+the+End+of+STP_3F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fare-cisco-flex-links-the-end-of-stp%2F&amp;title=Are+Cisco+Flex+Links+the+End+of+STP%3F" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/slashdot.org/bookmark.pl?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fare-cisco-flex-links-the-end-of-stp_2F_amp_title=Are+Cisco+Flex+Links+the+End+of+STP_3F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fare-cisco-flex-links-the-end-of-stp%2F&amp;title=Are+Cisco+Flex+Links+the+End+of+STP%3F" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.stumbleupon.com/submit?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fare-cisco-flex-links-the-end-of-stp_2F_amp_title=Are+Cisco+Flex+Links+the+End+of+STP_3F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fare-cisco-flex-links-the-end-of-stp%2F&amp;title=Are+Cisco+Flex+Links+the+End+of+STP%3F" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/twitter.com/home/?status=Check+out+Are+Cisco+Flex+Links+the+End+of+STP_3F+_+http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fare-cisco-flex-links-the-end-of-stp_2F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Are+Cisco+Flex+Links+the+End+of+STP%3F+@+http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fare-cisco-flex-links-the-end-of-stp%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/myweb2.search.yahoo.com/myresults/bookmarklet?u=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fare-cisco-flex-links-the-end-of-stp_2F_amp_t=Are+Cisco+Flex+Links+the+End+of+STP_3F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fare-cisco-flex-links-the-end-of-stp%2F&amp;t=Are+Cisco+Flex+Links+the+End+of+STP%3F" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d33').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->


<p>Related posts:<ol><li><a href='http://www.longitudetech.com/networking/built-in-security-with-cisco-ips/' rel='bookmark' title='Permanent Link: Built-in Security with Cisco IPS'>Built-in Security with Cisco IPS</a></li>
<li><a href='http://www.longitudetech.com/networking/cisco-autoqos-voip-qos-for-mere-mortals/' rel='bookmark' title='Permanent Link: Cisco AutoQoS: VoIP QoS for Mere Mortals'>Cisco AutoQoS: VoIP QoS for Mere Mortals</a></li>
<li><a href='http://www.longitudetech.com/networking-101/networking-101-layer-2-link-and-spanning-tree/' rel='bookmark' title='Permanent Link: Networking 101: Layer 2, Link and Spanning Tree'>Networking 101: Layer 2, Link and Spanning Tree</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.longitudetech.com/networking/are-cisco-flex-links-the-end-of-stp/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What the Heck is a TCAM?</title>
		<link>http://www.longitudetech.com/networking/what-the-heck-is-a-tcam/</link>
		<comments>http://www.longitudetech.com/networking/what-the-heck-is-a-tcam/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 18:37:02 +0000</pubDate>
		<dc:creator>charlie</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[ccie]]></category>
		<category><![CDATA[ccna]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[networks]]></category>

		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=30</guid>
		<description><![CDATA[Let’s talk about TCAM hardware, Cisco SDM templates, and try to answer that elusive question: “why do I have to reboot my router to enable certain features, which in turn disables others?” First, CAM stands for Content Addressable Memory. A CAM is a special type of memory; some would say the opposite of RAM. With [...]


Related posts:<ol><li><a href='http://www.longitudetech.com/networking-101/networking-101-subnetting-slice-up-32-bits/' rel='bookmark' title='Permanent Link: Networking 101: Subnetting &#8211; Slice Up 32-bits'>Networking 101: Subnetting &#8211; Slice Up 32-bits</a></li>
<li><a href='http://www.longitudetech.com/networking-101/networking-101-layer-2-link-and-spanning-tree/' rel='bookmark' title='Permanent Link: Networking 101: Layer 2, Link and Spanning Tree'>Networking 101: Layer 2, Link and Spanning Tree</a></li>
<li><a href='http://www.longitudetech.com/networking-101/networking-101-understanding-layers/' rel='bookmark' title='Permanent Link: Networking 101: Understanding Layers'>Networking 101: Understanding Layers</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Let’s talk about TCAM hardware, <a href="https://www.cisco.com/en/US/products/hw/switches/ps5023/products_tech_note09186a00801e7bb9.shtml" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.cisco.com/en/US/products/hw/switches/ps5023/products_tech_note09186a00801e7bb9.shtml?referer=');">Cisco SDM templates</a>, and try to answer that elusive question: “why do I have to reboot my router to enable certain features, which in turn disables others?”<strong> </strong></p>
<p>First, CAM stands for Content Addressable Memory. A CAM is a special type of memory; some would say the opposite of RAM. With normal computer memory (RAM) the operating system provides an address, and receives the data stored at the supplied address. With a CAM, the operating system supplies the data, and the CAM returns a list of addresses where the data is stored, if it finds any. Furthermore, a CAM searches the entire memory in one operation, so it is considerably faster than RAM.</p>
<p>CAMs are very expensive, so they aren’t normally found in PCs. Even router vendors will sometimes skimp, opting to instead implement advanced software-based searching algorithms to plod through RAM. Most commonly, CAMs and TCAMs are found in network processing devices, including Intel IXP cards and various routers or switches. The most commonly implemented CAMs are called binary CAMs. They search only for ones and zeros; a simple operation. MAC address tables in switches commonly get stored inside binary CAMs. You can bet that any</p>
<div id="attachment_29" class="wp-caption alignleft" style="width: 310px"><img class="size-medium wp-image-29" title="TCAM" src="http://www.longitudetech.com/blog/wp-content/uploads/2010/02/screenshot3-300x186.png" alt="" width="300" height="186" /><p class="wp-caption-text">A Renesas TCAM</p></div>
<p>switch capable of forwarding Ethernet frames at line-speed gigabit is using CAMs for lookups. If they were using RAM, the operating system would have to remember the address where everything is stored. With CAMs, the operating system can find what it needs in a single operation. In this case desired data is the switchport that data should be sent out, based on the given MAC address, i.e. the essence of a MAC table. Some older Cisco switches running CatOS even opted to call this table the cam table, thereby causing great confusion across the land. Bridge table, forwarding table, mac-address table, cam table; it’s all the same.</p>
<p>Finally, a TCAM is a Ternary CAM. This allows the operating system to match a third state, “X.” The X state is a mask, which means you don’t care what it is. This naturally lends itself to networking, since netmasks operate this way. To calculate a subnet address we mask the bits we don’t care about, and then apply the logical AND operation to the rest. Being able to do this in hardware is a great benefit for routers. Additionally, routers can store their entire routing table in these TCAMs, allowing for very quick lookups. A router with routing tables in TCAMs can find the next-hop destination in a single operation every time instead of trying to search through a tree (or other data structure) in RAM.</p>
<p>Hardware can sometimes seem magic, but it isn’t always transparent. When configuring routers most people will run into a situation where enabling a new feature will require that the Cisco SDM (Switching Database Manager) template be changed. This template is actually a method Cisco uses to assign specific applications to specific TCAM resources.</p>
<p>Some routers will allow you to manually specify how much TCAM space you want to allocate to a specific feature. Others aren’t so nice. They make you choose from a few restrictive templates, which allocate the resources automatically based on a few predetermined settings. For example, on the Cisco 3750, we recently wanted to enable policy-based routing (PBR) to implement a layer 3 jail. The basic idea with template-only routers is that you have to choose where you want most of the optimizations, and compromise on the rest.</p>
<p>For this platform, there are four templates: default, routing, PBR, and VLAN. Each of these tries to allow for a bit more resources allocated to the specified task. For policy routing, we’d have to choose “routing” or “PBR,” which in turn limits the amount of unicast MAC addresses that can be held in TCAMs. Likewise, selecting a VLAN template will make PBR impossible, but allow for more VLAN database information to be held in TCAMs. There are always compromises when we need to use more advanced features. Keeping true with the spirit of router operating systems, there’s also some mysterious side-effects when a new template is chosen. On our specific router, if the PBR template is chosen, the router will become unable to support VPN routing/forwarding tables (VRF). The next unsightly gotcha is that with the IOS version that supports IPv6, you cannot even enable PBR. There is no template to allow both policy routing and IPv6.</p>
<p>Perhaps the main idea of TCAM allocation still isn’t clear. Just because, for example, 8K is allocated to routing tables, this doesn’t mean that you can only have a routing table of that size. There’s always the fallback of process switching. Process switching means that everything will be done by the processor instead of in hardware (TCAMs). Processor intervention is not desirable, mostly because it is much slower than hardware lookups. Also, the processor is supposed to be used for things like sending logs to a syslog server and controlling SSH sessions. If a router doing process switching gets really busy, it may be unable to service your console access attempts. Generally speaking, the more expensive the router, the less it will use the processor.</p>
<p>Hardware is finite, and we always need more. More expensive routers don’t always suffer from the constant struggle for TCAMs because they have enough to support most features that currently exist. Unfortunately, most companies won’t want to purchase the latest and greatest router with seemingly endless hardware resources unless they can justify the added cost by showing a current need for them. So, most of us are stuck having to adjust TCAM allocations.</p>
<p>Further reading: an <a href="http://www.lovemytool.com/blog/2009/12/netflow-overflow-with-tcam-tables-by-michael-patterson.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.lovemytool.com/blog/2009/12/netflow-overflow-with-tcam-tables-by-michael-patterson.html?referer=');">interesting blog from Plixer</a>.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d30').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Share this! (we greatly appreciate you sharing with friends)</em></strong></a>
<br />
<div class="d30" style="overflow:hidden">
<br />
<a onclick="pageTracker._trackPageview('/outgoing/del.icio.us/post?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fwhat-the-heck-is-a-tcam_2F_amp_title=What+the+Heck+is+a+TCAM_3F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fwhat-the-heck-is-a-tcam%2F&amp;title=What+the+Heck+is+a+TCAM%3F" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/digg.com/submit?phase=2_amp_url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fwhat-the-heck-is-a-tcam_2F_amp_title=What+the+Heck+is+a+TCAM_3F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fwhat-the-heck-is-a-tcam%2F&amp;title=What+the+Heck+is+a+TCAM%3F" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.facebook.com/sharer.php?u=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fwhat-the-heck-is-a-tcam_2F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fwhat-the-heck-is-a-tcam%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.google.com/bookmarks/mark?op=edit_amp_output=popup_amp_bkmk=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fwhat-the-heck-is-a-tcam_2F_amp_title=What+the+Heck+is+a+TCAM_3F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fwhat-the-heck-is-a-tcam%2F&amp;title=What+the+Heck+is+a+TCAM%3F" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/reddit.com/submit?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fwhat-the-heck-is-a-tcam_2F_amp_title=What+the+Heck+is+a+TCAM_3F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fwhat-the-heck-is-a-tcam%2F&amp;title=What+the+Heck+is+a+TCAM%3F" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/slashdot.org/bookmark.pl?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fwhat-the-heck-is-a-tcam_2F_amp_title=What+the+Heck+is+a+TCAM_3F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fwhat-the-heck-is-a-tcam%2F&amp;title=What+the+Heck+is+a+TCAM%3F" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.stumbleupon.com/submit?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fwhat-the-heck-is-a-tcam_2F_amp_title=What+the+Heck+is+a+TCAM_3F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fwhat-the-heck-is-a-tcam%2F&amp;title=What+the+Heck+is+a+TCAM%3F" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/twitter.com/home/?status=Check+out+What+the+Heck+is+a+TCAM_3F+_+http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fwhat-the-heck-is-a-tcam_2F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+What+the+Heck+is+a+TCAM%3F+@+http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fwhat-the-heck-is-a-tcam%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/myweb2.search.yahoo.com/myresults/bookmarklet?u=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fwhat-the-heck-is-a-tcam_2F_amp_t=What+the+Heck+is+a+TCAM_3F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fwhat-the-heck-is-a-tcam%2F&amp;t=What+the+Heck+is+a+TCAM%3F" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d30').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->


<p>Related posts:<ol><li><a href='http://www.longitudetech.com/networking-101/networking-101-subnetting-slice-up-32-bits/' rel='bookmark' title='Permanent Link: Networking 101: Subnetting &#8211; Slice Up 32-bits'>Networking 101: Subnetting &#8211; Slice Up 32-bits</a></li>
<li><a href='http://www.longitudetech.com/networking-101/networking-101-layer-2-link-and-spanning-tree/' rel='bookmark' title='Permanent Link: Networking 101: Layer 2, Link and Spanning Tree'>Networking 101: Layer 2, Link and Spanning Tree</a></li>
<li><a href='http://www.longitudetech.com/networking-101/networking-101-understanding-layers/' rel='bookmark' title='Permanent Link: Networking 101: Understanding Layers'>Networking 101: Understanding Layers</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.longitudetech.com/networking/what-the-heck-is-a-tcam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manage Devices and Configurations with Cisco SDM</title>
		<link>http://www.longitudetech.com/networking/manage-devices-and-configurations-with-cisco-sdm/</link>
		<comments>http://www.longitudetech.com/networking/manage-devices-and-configurations-with-cisco-sdm/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 00:44:11 +0000</pubDate>
		<dc:creator>charlie</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[configuration management]]></category>

		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=24</guid>
		<description><![CDATA[Ever wanted to make something “just work” in a secure and reliable way? We, too, have often thought that common configurations should just be selectable. The Cisco Security Device Manager(SDM) is a Java-based Web application for managing Cisco devices. It implements many management features aside from just security-related tasks, and it’s quite interesting. In this article [...]


Related posts:<ol><li><a href='http://www.longitudetech.com/networking/built-in-security-with-cisco-ips/' rel='bookmark' title='Permanent Link: Built-in Security with Cisco IPS'>Built-in Security with Cisco IPS</a></li>
<li><a href='http://www.longitudetech.com/networking/cisco-autoqos-voip-qos-for-mere-mortals/' rel='bookmark' title='Permanent Link: Cisco AutoQoS: VoIP QoS for Mere Mortals'>Cisco AutoQoS: VoIP QoS for Mere Mortals</a></li>
<li><a href='http://www.longitudetech.com/networking/are-cisco-flex-links-the-end-of-stp/' rel='bookmark' title='Permanent Link: Are Cisco Flex Links the End of STP?'>Are Cisco Flex Links the End of STP?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to make something “just work” in a secure and reliable way? We, too, have often thought that common configurations should just be selectable. The Cisco <a href="http://www.cisco.com/en/US/products/sw/secursw/ps5318/index.html" onclick="pageTracker._trackPageview('/outgoing/www.cisco.com/en/US/products/sw/secursw/ps5318/index.html?referer=');">Security Device Manager</a>(SDM) is a Java-based Web application for managing Cisco devices. It implements many management features aside from just security-related tasks, and it’s quite interesting. In this article we’ll explain what it can do, and why you might want to take it for a test drive.</p>
<p>Network admins can use SDM to generate Cisco TAC approved configurations with the click of a few buttons. It’s not just limited to simple configurations either. Some tricky configuration tasks such as QoS and VPNs also become easier with the SDM because it ensure that configuration errors don’t exist. In short, you can deploy new devices and services much quicker by using the SDM.</p>
<p>As the name implies, SDM also intently focuses on security. A feature called “one-click lockdown” will set your router up as Cisco recommends—a good starting point for new routers. Also, the security audit function of the SDM will check your configuration and offer up a surprisingly large set of recommendations for hardening security. Many are things that most administrators don’t worry about, but with the SDM you can easily click “fix it” for each item after reading a description. There’s no reason to leave any possible vulnerability open when you have a quick, easy GUI manager pointing out what should change.</p>
<div id="attachment_25" class="wp-caption alignleft" style="width: 310px"><a href="http://newsroom.cisco.com/dlls/SDM.jpg" onclick="pageTracker._trackPageview('/outgoing/newsroom.cisco.com/dlls/SDM.jpg?referer=');"><img class="size-medium wp-image-25 " title="SDM" src="http://www.longitudetech.com/blog/wp-content/uploads/2010/02/SDM-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Cisco SDM user interface</p></div>
<p>The SDM is also a management console that gives you a real-time look at your device. It provides a nice interface for viewing system logs, firewall logs, and even real-time performance statistics. You probably already gather performance data via SNMP for historical charting, but being able to see the real-time information while you’re logged into the device manager, where you can also make changes to the configuration, is quite convenient.</p>
<p>SDM is available for most IOS-based routers running 12.2 and above. It is install by downloading a zip file from Cisco and copying it to the router’s flash memory. It’s then accessed from your Web browser (Firefox or IE required, as well as certain Java versions).</p>
<p><strong>Making it Work</strong></p>
<p>First, we must point out that using the SDM requires that you enable the HTTP server on your device. Yes, most Cisco security holes involve the Web server, and yes, a Web spider can easily DoS your router if it starts crawling Web pages and runs it out of RAM. Fortunately, both of these are negligible if you don’t allow access to the Web server from external networks. So first things first, enable: <strong>ip http secure-server</strong>, then configure ACLs to limit access properly.</p>
<p>After unzipping the file downloaded from Cisco, you can browse to: https://$server/flash/sdm.shtml</p>
<p>Then, login with a highly privileged account (level 15 is required). Up comes the Java applet, and you’re in! It couldn’t be easier than that.</p>
<p><strong>Features</strong></p>
<p>At the top, you’ll see things like Wizard, Advanced, and Monitor. The left had side lists things you can do in Wizard mode, and includes things such as VPN, Firewall, and LAN configuration options.</p>
<p>At the top you’ll also see a “deliver” button, which is another way of saying “commit.” All changes made within the SDM are committed to flash and merged into the running configuration when deliver is clicked.</p>
<p>Various configuration menus exist, most of which make the task at hand slightly easier. For the advanced administrator, it means you can just select options quickly without remembering the specific syntax. More junior admins can make previously confusing concepts work with little effort as well, and then look at the configuration that was generated.</p>
<p>The neatest feature is the security audit. When run, it will gather information about your device and then provide a list of problems. A nice “fix it” check box next to each item can be clicked, or you can elect to choose “fix all.” Beware that Cisco’s idea of security is basically very locked down. Selecting “fix all,” for example, will disable SNMP. It’s true that exposing SNMP to the external world is unwise, but you really do need it enabled for internal access.</p>
<p>You can also configure ACLs and interface parameters from within the GUI. Interfaces can be configured completely via the SDM, and the really nice part is that it lists all available setting for the particular interface. You’ll see check boxes for every option, along with a nice description of each option. ACLs can also be configured, and the GUI presents a nice view of which services will be allowed, and in which direction, on each interface.</p>
<p>In advanced mode, you can easily change many things, including OSPF and BGP settings. It’s just a matter of a few clicks to add another OSPF process ID or add another network to an existing one. Being able to see networks each OSPF process advertises and configure passive interfaces in a single well laid out window is very exciting.</p>
<p>In Monitor mode, you can see which interfaces are down, how much CPU is being utilized, and how much RAM is being taken up by which processes. Very useful information, sure to put a smile on your face the first time you see it.</p>
<p>The SDM does not support everything you’d want to do on a router, but the majority of common tasks are covered. It’s definitely a time-saver, learning tool, and convenience crutch all in one. Don’t feel bad using the SDM; convenience always outweighs prestige, assuming you can do it via the command line too. Enable the “show changes before delivering config” option to see what commands the SDM is about to run, and you’ll avoid surprises and possibly learn something at the same time.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d24').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Share this! (we greatly appreciate you sharing with friends)</em></strong></a>
<br />
<div class="d24" style="overflow:hidden">
<br />
<a onclick="pageTracker._trackPageview('/outgoing/del.icio.us/post?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fmanage-devices-and-configurations-with-cisco-sdm_2F_amp_title=Manage+Devices+and+Configurations+with+Cisco+SDM&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fmanage-devices-and-configurations-with-cisco-sdm%2F&amp;title=Manage+Devices+and+Configurations+with+Cisco+SDM" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/digg.com/submit?phase=2_amp_url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fmanage-devices-and-configurations-with-cisco-sdm_2F_amp_title=Manage+Devices+and+Configurations+with+Cisco+SDM&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fmanage-devices-and-configurations-with-cisco-sdm%2F&amp;title=Manage+Devices+and+Configurations+with+Cisco+SDM" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.facebook.com/sharer.php?u=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fmanage-devices-and-configurations-with-cisco-sdm_2F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fmanage-devices-and-configurations-with-cisco-sdm%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.google.com/bookmarks/mark?op=edit_amp_output=popup_amp_bkmk=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fmanage-devices-and-configurations-with-cisco-sdm_2F_amp_title=Manage+Devices+and+Configurations+with+Cisco+SDM&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fmanage-devices-and-configurations-with-cisco-sdm%2F&amp;title=Manage+Devices+and+Configurations+with+Cisco+SDM" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/reddit.com/submit?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fmanage-devices-and-configurations-with-cisco-sdm_2F_amp_title=Manage+Devices+and+Configurations+with+Cisco+SDM&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fmanage-devices-and-configurations-with-cisco-sdm%2F&amp;title=Manage+Devices+and+Configurations+with+Cisco+SDM" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/slashdot.org/bookmark.pl?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fmanage-devices-and-configurations-with-cisco-sdm_2F_amp_title=Manage+Devices+and+Configurations+with+Cisco+SDM&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fmanage-devices-and-configurations-with-cisco-sdm%2F&amp;title=Manage+Devices+and+Configurations+with+Cisco+SDM" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.stumbleupon.com/submit?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fmanage-devices-and-configurations-with-cisco-sdm_2F_amp_title=Manage+Devices+and+Configurations+with+Cisco+SDM&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fmanage-devices-and-configurations-with-cisco-sdm%2F&amp;title=Manage+Devices+and+Configurations+with+Cisco+SDM" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/twitter.com/home/?status=Check+out+Manage+Devices+and+Configurations+with+Cisco+SDM+_+http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fmanage-devices-and-configurations-with-cisco-sdm_2F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Manage+Devices+and+Configurations+with+Cisco+SDM+@+http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fmanage-devices-and-configurations-with-cisco-sdm%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/myweb2.search.yahoo.com/myresults/bookmarklet?u=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fmanage-devices-and-configurations-with-cisco-sdm_2F_amp_t=Manage+Devices+and+Configurations+with+Cisco+SDM&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fmanage-devices-and-configurations-with-cisco-sdm%2F&amp;t=Manage+Devices+and+Configurations+with+Cisco+SDM" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d24').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->


<p>Related posts:<ol><li><a href='http://www.longitudetech.com/networking/built-in-security-with-cisco-ips/' rel='bookmark' title='Permanent Link: Built-in Security with Cisco IPS'>Built-in Security with Cisco IPS</a></li>
<li><a href='http://www.longitudetech.com/networking/cisco-autoqos-voip-qos-for-mere-mortals/' rel='bookmark' title='Permanent Link: Cisco AutoQoS: VoIP QoS for Mere Mortals'>Cisco AutoQoS: VoIP QoS for Mere Mortals</a></li>
<li><a href='http://www.longitudetech.com/networking/are-cisco-flex-links-the-end-of-stp/' rel='bookmark' title='Permanent Link: Are Cisco Flex Links the End of STP?'>Are Cisco Flex Links the End of STP?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.longitudetech.com/networking/manage-devices-and-configurations-with-cisco-sdm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Built-in Security with Cisco IPS</title>
		<link>http://www.longitudetech.com/networking/built-in-security-with-cisco-ips/</link>
		<comments>http://www.longitudetech.com/networking/built-in-security-with-cisco-ips/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 01:46:58 +0000</pubDate>
		<dc:creator>charlie</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ccna]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[networks]]></category>

		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=21</guid>
		<description><![CDATA[Another new feature available in IOS (12.3) is Cisco’s Intrusion Prevention System. An IDS has been part of IOS for a long time, but they recently took it a step further. As part of its Self-Defending Network campaign, Cisco realized that an IPS should be integrated into the network fabric. We’ll explain what this means, [...]


Related posts:<ol><li><a href='http://www.longitudetech.com/networking/manage-devices-and-configurations-with-cisco-sdm/' rel='bookmark' title='Permanent Link: Manage Devices and Configurations with Cisco SDM'>Manage Devices and Configurations with Cisco SDM</a></li>
<li><a href='http://www.longitudetech.com/networking/are-cisco-flex-links-the-end-of-stp/' rel='bookmark' title='Permanent Link: Are Cisco Flex Links the End of STP?'>Are Cisco Flex Links the End of STP?</a></li>
<li><a href='http://www.longitudetech.com/networking/cisco-autoqos-voip-qos-for-mere-mortals/' rel='bookmark' title='Permanent Link: Cisco AutoQoS: VoIP QoS for Mere Mortals'>Cisco AutoQoS: VoIP QoS for Mere Mortals</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Another new feature available in IOS (12.3) is Cisco’s Intrusion Prevention System. An IDS has been part of IOS for a long time, but they recently took it a step further. As part of its Self-Defending Network campaign, Cisco realized that an IPS should be integrated into the network fabric. We’ll explain what this means, and show you how to implement it.</p>
<p>Actively <em>preventing</em> the attack makes it an IPS. The standard old IDS solution means that it can detect and alert, but blocking attacks is not normally part of an IDS’s feature set. Thus, if you want to prevent attacks rather than just receive alerts, you need an IPS. Cisco’s IPS works like any other: you get a signature file, called the Signature Definition File (SDF) by Cisco, and if the IPS finds that a packet matches a signature, it’s blocked.</p>
<p>There are appliances, Catalyst switch modules, and router modules, but IPS is also built-in to certain IOS images now. Since Cisco claims IPS features won’t impact router performance (since the latest release), it may be possible to skip the purchase of a dedicated module for IPS.</p>
<p>The catch, of course, is that an IPS is not robust without constant signature updates. Attacks are constantly evolving, and without an update you aren’t protected against the latest and greatest attacks. Something completely new could sneak in, but the idea is that after the first few attacks Cisco will update the SDF and you’ll be notified that it’s time to download a new version. That’s right, you have to manually download and install a new signature file. This requires a subscription service above and beyond what you pay for SMARTnet. Services for IPS, as it’s called, provides SDF updates and the other features (support, warranty) that SMARTnet does as well. Accordingly, your SMARTnet contract is discounted when you purchase a Cisco Services for IPS contract, according to Cisco’s Q&amp;A documentation.</p>
<p><strong>Configuring IPS for Sensor Modules</strong></p>
<p>There are many different cases for configuring IPS depending on your device. First, we’ll show you how to enable it on any IPS sensor module that uses the IPS 5.1 or later, then we’ll show you how to take advantage of the IOS built-in default IPS features.</p>
<p>The IDS Device Manager (IDM) is a graphical interface for configuring all IDS (and IPS) functionality. If you prefer that, then refer to the Cisco documentation after reading about how it’s done via the CLI here.</p>
<p>The general idea we’re working with here is called the VLAN pair method. This means that we’ll configure two VLANs in a pair group, and all traffic received by a sensor will be inspected and either forwarded on to the other VLAN, or dropped. Up to 255 VLAN pairs can be configured on most sensors.</p>
<p>First we enter configuration mode, then the service interface, and finally select the physical interface that we wish to configure:</p>
<p><code>sensor#configure terminal</code></p>
<p><code>sensor(config)#service interface</code></p>
<p><code> </code></p>
<p><code>sensor(config-int)#physical-interfaces GigabitEthernet0/1<br />
</code><br />
Next, we must configure the VLAN pair (and give it a meaningful description):</p>
<p><code>sensor(config-int-phy)#subinterface-type inline-vlan-pair</code></p>
<p><code>sensor(config-int-phy-inl)#subinterface 1</code></p>
<p><code>sensor(config-int-phy-inl-sub)#vlan1 10</p>
<p>sensor(config-int-phy-inl-sub)#vlan2 11</p>
<p></code></p>
<p><code>sensor(config-int-phy-inl-sub)#description vlans 10 and 11<br />
</code><br />
Conceptually, the interface will now be added to a virtual sensor, and once it’s enabled it will monitor traffic. We now need to enable a virtual sensor:</p>
<p><code>sensor(config)#service analysis-engine</code></p>
<p><code> </code></p>
<p><code>sensor(config-ana)#virtual-sensor vs0<br />
</code><br />
Once that’s completed, we simply add the previously-defined subinterface to the sensor, and we’re done:</p>
<p><code>sensor(config-ana-vir)#physical-interface GigabitEthernet0/2 subinterface-number 1<br />
</code><br />
<strong>Configuring IPS for IOS</strong></p>
<p>You can enable IPS features in IOS using the default SDF. Signatures may be added manually to the SDF, or you can pay Cisco for the latest signatures.</p>
<p>First we need to enable what’s called Security Device Event Exchange notifications:</p>
<p><code>router(config)#ip ips notify sdee<br />
</code><br />
Then we must configure an IPS rule name that will be used for associating with interfaces.</p>
<p><code>router(config)# ip ips name MYIPSRULES<br />
</code><br />
The next step is to specify where the SDF file will come from. The following command specifies that the file 256MB.sdf can be found in flash memory. You can also specify tftp or any other protocol your Cisco knows how to handle, but it’s best to use flash memory to ensure no dependencies on other servers.</p>
<p><code>router(config)# ip ips sdf location flash:256MB.sdf<br />
</code><br />
Finally, we simply enable IPS on the interface (in both directions). It is also a good idea to enable IP reassembly on the interface, so that the IPS rule can evaluate entire IP packets at once.</p>
<p><code>router(config)#interface fastEthernet 0</code></p>
<p><code>router(config-if)#ip ips MYIPSRULES in</code></p>
<p><code>router(config-if)#ip ips MYIPSRULES out</p>
<p></code></p>
<p><code>router(config-if)#ip virtual-reassembly<br />
</code><br />
Now you have a working IPS, based on the file in your flash called 256MB.sdf. That file must be downloaded from Cisco using your CCO login linked to a valid support contract.</p>
<p><strong>The Power of Community</strong></p>
<p>If you don’t feel like paying Cisco for signature updates, you can update the SDF yourself. When a new attack surfaces, you’ll often find Cisco IPS XML signatures posted to various online forums. You can and should use them.</p>
<p>To view your current SDF version, you can run: <strong>sh ip ips signatures</strong></p>
<p>To merge the IPS SDF configuration with new information, you can copy in an XML file. Just like copying in any configuration snippet, the updates will be merged, not replaced. Say we got sigs.xml from a helpful network operator. To enable these signatures, we simply run:</p>
<p><code>router#copy tftp://serer.fqdn/sigs.xml ips-sdf<br />
</code><br />
That’s it! You’ll see that 256MB.sdf on the flash memory is now a bit larger. It’s a good idea (and is recommended by Cisco) to rename 256MB.sdf to avoid confusion, now that you are no longer running a Cisco-sanctioned version.</p>
<p>Enabling IPS on supported routers is quite easy, but can lead to some interesting troubleshooting sessions. Be sure you have a syslog server that your routers all log to: it will save hours of work. Also, search around; you may find a source for XML updates that you wish to trust, and then it’s pretty easy to automate daily merges into your local SDF.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d21').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Share this! (we greatly appreciate you sharing with friends)</em></strong></a>
<br />
<div class="d21" style="overflow:hidden">
<br />
<a onclick="pageTracker._trackPageview('/outgoing/del.icio.us/post?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fbuilt-in-security-with-cisco-ips_2F_amp_title=Built-in+Security+with+Cisco+IPS&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fbuilt-in-security-with-cisco-ips%2F&amp;title=Built-in+Security+with+Cisco+IPS" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/digg.com/submit?phase=2_amp_url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fbuilt-in-security-with-cisco-ips_2F_amp_title=Built-in+Security+with+Cisco+IPS&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fbuilt-in-security-with-cisco-ips%2F&amp;title=Built-in+Security+with+Cisco+IPS" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.facebook.com/sharer.php?u=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fbuilt-in-security-with-cisco-ips_2F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fbuilt-in-security-with-cisco-ips%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.google.com/bookmarks/mark?op=edit_amp_output=popup_amp_bkmk=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fbuilt-in-security-with-cisco-ips_2F_amp_title=Built-in+Security+with+Cisco+IPS&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fbuilt-in-security-with-cisco-ips%2F&amp;title=Built-in+Security+with+Cisco+IPS" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/reddit.com/submit?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fbuilt-in-security-with-cisco-ips_2F_amp_title=Built-in+Security+with+Cisco+IPS&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fbuilt-in-security-with-cisco-ips%2F&amp;title=Built-in+Security+with+Cisco+IPS" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/slashdot.org/bookmark.pl?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fbuilt-in-security-with-cisco-ips_2F_amp_title=Built-in+Security+with+Cisco+IPS&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fbuilt-in-security-with-cisco-ips%2F&amp;title=Built-in+Security+with+Cisco+IPS" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.stumbleupon.com/submit?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fbuilt-in-security-with-cisco-ips_2F_amp_title=Built-in+Security+with+Cisco+IPS&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fbuilt-in-security-with-cisco-ips%2F&amp;title=Built-in+Security+with+Cisco+IPS" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/twitter.com/home/?status=Check+out+Built-in+Security+with+Cisco+IPS+_+http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fbuilt-in-security-with-cisco-ips_2F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Built-in+Security+with+Cisco+IPS+@+http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fbuilt-in-security-with-cisco-ips%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/myweb2.search.yahoo.com/myresults/bookmarklet?u=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fbuilt-in-security-with-cisco-ips_2F_amp_t=Built-in+Security+with+Cisco+IPS&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fbuilt-in-security-with-cisco-ips%2F&amp;t=Built-in+Security+with+Cisco+IPS" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d21').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->


<p>Related posts:<ol><li><a href='http://www.longitudetech.com/networking/manage-devices-and-configurations-with-cisco-sdm/' rel='bookmark' title='Permanent Link: Manage Devices and Configurations with Cisco SDM'>Manage Devices and Configurations with Cisco SDM</a></li>
<li><a href='http://www.longitudetech.com/networking/are-cisco-flex-links-the-end-of-stp/' rel='bookmark' title='Permanent Link: Are Cisco Flex Links the End of STP?'>Are Cisco Flex Links the End of STP?</a></li>
<li><a href='http://www.longitudetech.com/networking/cisco-autoqos-voip-qos-for-mere-mortals/' rel='bookmark' title='Permanent Link: Cisco AutoQoS: VoIP QoS for Mere Mortals'>Cisco AutoQoS: VoIP QoS for Mere Mortals</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.longitudetech.com/networking/built-in-security-with-cisco-ips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zenoss: We Can Ditch Nagios Now</title>
		<link>http://www.longitudetech.com/linux-unix/zenoss-we-can-ditch-nagios-now/</link>
		<comments>http://www.longitudetech.com/linux-unix/zenoss-we-can-ditch-nagios-now/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 01:34:20 +0000</pubDate>
		<dc:creator>charlie</dc:creator>
				<category><![CDATA[IT Management]]></category>
		<category><![CDATA[Linux / Unix]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[networks]]></category>
		<category><![CDATA[NMS]]></category>

		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=20</guid>
		<description><![CDATA[Another perfect example of open source software gone commercial is Zenoss. As a full-featured network and service monitoring solution, Zenoss is one of the best monitoring tools available. Most importantly, Zenoss combines two functionalities. First and foremost an enterprise environment requires host and service monitoring, with notifications. Network monitoring really means checking services, checking that hosts [...]


Related posts:<ol><li><a href='http://www.longitudetech.com/networking/squeeze-your-gigabit-nic-for-top-performance-2/' rel='bookmark' title='Permanent Link: Squeeze Your Gigabit NIC for Top Performance'>Squeeze Your Gigabit NIC for Top Performance</a></li>
<li><a href='http://www.longitudetech.com/linux-unix/managing-virtual-machine-and-cloud-sprawl/' rel='bookmark' title='Permanent Link: Managing Virtual Machine and Cloud Sprawl'>Managing Virtual Machine and Cloud Sprawl</a></li>
<li><a href='http://www.longitudetech.com/networking/built-in-security-with-cisco-ips/' rel='bookmark' title='Permanent Link: Built-in Security with Cisco IPS'>Built-in Security with Cisco IPS</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Another perfect example of open source software gone commercial is <a href="http://www.zenoss.com/" onclick="pageTracker._trackPageview('/outgoing/www.zenoss.com/?referer=');">Zenoss</a>. As a full-featured network and service monitoring solution, Zenoss is one of the best monitoring tools available.</p>
<p>Most importantly, Zenoss combines two functionalities. First and foremost an enterprise environment requires host and service monitoring, with notifications. Network monitoring really means checking services, checking that hosts are up (they ping), and possibly writing your own plugins to check various other aspects of a server or network device. Until now, Nagios has filled that role.</p>
<p>Second, once a decent monitoring solution is in place, getting time-based information becomes desirable. Memory and CPU usage is the most prevalent example: if you&#8217;re checking available swap space every so often with Nagios, you may know when you start running low. But it may be just as important to see a graph of the last week&#8217;s usage. Tools like Cacti or Munin, which collect data frequently and use RRD graphs to display it, are very useful.</p>
<p>Zenoss fills both roles, without the annoying shortcomings prevalent in the alternative solutions. Zenoss uses the terms Availability Monitoring and Performance Monitoring to describe these two fundamental roles.</p>
<p>Performance of monitoring tools is important, and often times overlooked until it becomes a debilitating problem. For example, if you want to chart pretty RRD graphs of systems statistics like available RAM or disk space, <a href="http://munin.projects.linpro.no/" onclick="pageTracker._trackPageview('/outgoing/munin.projects.linpro.no/?referer=');">Munin</a> is an option. Unfortunately it&#8217;s all Perl, and designed in such a way that prevents it from scaling to even moderate amounts of hosts. <a href="http://cacti.net/" onclick="pageTracker._trackPageview('/outgoing/cacti.net/?referer=');">Cacti</a> is a bit better, but monitoring close to 100 hosts is painful with either option. Along comes Zenoss.</p>
<p>Zenoss is written in Python, and uses a MySQL backend for storage, and by all accounts it appears to perform very well. The really great thing about corporate-backed open source is quality control. The community simply isn&#8217;t responsible enough to say, &#8220;No, this won&#8217;t work, re-implement it.&#8221; A company with QA is.</p>
<p>Speaking of features, Zenoss isn&#8217;t missing many. Flexibility seems to be top priority–it can monitor hosts with SNMP, Nagios agents, SSH, Windows WMI, and various other mechanisms. Many features they claim are a bit over-inflated, such as ZenPing (marketed as Network Topology Monitoring) but the feature set is rich nonetheless.</p>
<p>Zenoss&#8217;s primary functions involve four features:</p>
<ul>
<li>Inventory Tracking</li>
<li>Availability Monitoring</li>
<li>Performance Monitoring</li>
<li>Event Monitoring and Management</li>
</ul>
<p>Inventory tracking claims some sort of &#8220;configuration&#8221; reporting as well, but it seems very limited. Zenoss will discover your inventory and auto-populate a database. This is great for knowing which IP addresses are in use, for example, but means that &#8220;configuration&#8221; reporting is limited to an outside observer&#8217;s perspective. It can tell you which servers have a Web server running, but it certainly doesn&#8217;t deal with the configuration of the Web server. Of course, inventory tracking isn&#8217;t limited to automatically discovered information; there are manual input capabilities too.</p>
<p>Availability monitoring is basically Nagios, plus. It can ping, it can monitor Windows machines, and it can pretty much do whatever you need. Even your old Nagios plugins will work with Zenoss. It does generate reports, but much better ones than Nagios is capable of.</p>
<p>Host monitoring, performance monitoring, or whatever you&#8217;d like to call it, is quite robust in Zenoss. Some would think it&#8217;s light on features, but there&#8217;s a good reason that Zenoss requires you use SNMP: it&#8217;s much more scalable than SSH&#8217;ing to each server every minute. A bit of up-front configuration is required, in that all your hosts will need SNMP configured and working, but it&#8217;s completely worth it. Zenoss too uses RRD graphs, and it can generate events and alerts based on pre-defined thresholds.</p>
<p>Finally we come to event monitoring. Zenoss is also encroaching on <a href="http://www.splunk.com/" onclick="pageTracker._trackPageview('/outgoing/www.splunk.com/?referer=');">Splunk</a>&#8216;s territory a bit. It can combine syslog, availability monitoring alerts, SNMP traps, and even Windows event log data. Much like Splunk, Zenoss correlates similar events for easier viewing and troubleshooting. This is the portion that processes all events and generates alerts to pagers or e-mail, taking into account the escalation procedure you&#8217;ve defined.</p>
<p>To top it all off, the Zenoss Web interface is top-notch. It includes a customizable &#8220;dashboard&#8221; for monitoring, and everything is AJAX-enabled. AJAX provides the user experience similar to Splunk and Google&#8217;s Gmail.</p>
<p>Marketing fluff aside, Zenoss really does provide a wonderful product. It is, of course, open source and available for free.</p>
<p>At last year&#8217;s <a href="http://www.enterprisenetworkingplanet.com/netsysm/article.php/3649236" onclick="pageTracker._trackPageview('/outgoing/www.enterprisenetworkingplanet.com/netsysm/article.php/3649236?referer=');">LISA</a> conference, Zenoss gave a demonstration that sadly coincided with free beer time. Stumbling in toward the end, I demanded one of their free baseball caps, and sat to listen to the last few audience questions. One thing was very obvious: everyone in the room was excited about this product. If hardcore sysadmins are excited, you know this is something worthwhile.</p>
<p>Zenosss is very functional and full of features. It may even be possible to replace three separate pieces of software with this one product: host inventory database, Nagios, and your performance monitoring tool of choice. Maybe even Splunk some day. We can&#8217;t wait to see what features they will be adding next.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d20').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Share this! (we greatly appreciate you sharing with friends)</em></strong></a>
<br />
<div class="d20" style="overflow:hidden">
<br />
<a onclick="pageTracker._trackPageview('/outgoing/del.icio.us/post?url=http_3A_2F_2Fwww.longitudetech.com_2Flinux-unix_2Fzenoss-we-can-ditch-nagios-now_2F_amp_title=Zenoss_3A+We+Can+Ditch+Nagios+Now&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.longitudetech.com%2Flinux-unix%2Fzenoss-we-can-ditch-nagios-now%2F&amp;title=Zenoss%3A+We+Can+Ditch+Nagios+Now" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/digg.com/submit?phase=2_amp_url=http_3A_2F_2Fwww.longitudetech.com_2Flinux-unix_2Fzenoss-we-can-ditch-nagios-now_2F_amp_title=Zenoss_3A+We+Can+Ditch+Nagios+Now&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.longitudetech.com%2Flinux-unix%2Fzenoss-we-can-ditch-nagios-now%2F&amp;title=Zenoss%3A+We+Can+Ditch+Nagios+Now" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.facebook.com/sharer.php?u=http_3A_2F_2Fwww.longitudetech.com_2Flinux-unix_2Fzenoss-we-can-ditch-nagios-now_2F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.longitudetech.com%2Flinux-unix%2Fzenoss-we-can-ditch-nagios-now%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.google.com/bookmarks/mark?op=edit_amp_output=popup_amp_bkmk=http_3A_2F_2Fwww.longitudetech.com_2Flinux-unix_2Fzenoss-we-can-ditch-nagios-now_2F_amp_title=Zenoss_3A+We+Can+Ditch+Nagios+Now&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.longitudetech.com%2Flinux-unix%2Fzenoss-we-can-ditch-nagios-now%2F&amp;title=Zenoss%3A+We+Can+Ditch+Nagios+Now" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/reddit.com/submit?url=http_3A_2F_2Fwww.longitudetech.com_2Flinux-unix_2Fzenoss-we-can-ditch-nagios-now_2F_amp_title=Zenoss_3A+We+Can+Ditch+Nagios+Now&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.longitudetech.com%2Flinux-unix%2Fzenoss-we-can-ditch-nagios-now%2F&amp;title=Zenoss%3A+We+Can+Ditch+Nagios+Now" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/slashdot.org/bookmark.pl?url=http_3A_2F_2Fwww.longitudetech.com_2Flinux-unix_2Fzenoss-we-can-ditch-nagios-now_2F_amp_title=Zenoss_3A+We+Can+Ditch+Nagios+Now&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.longitudetech.com%2Flinux-unix%2Fzenoss-we-can-ditch-nagios-now%2F&amp;title=Zenoss%3A+We+Can+Ditch+Nagios+Now" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.stumbleupon.com/submit?url=http_3A_2F_2Fwww.longitudetech.com_2Flinux-unix_2Fzenoss-we-can-ditch-nagios-now_2F_amp_title=Zenoss_3A+We+Can+Ditch+Nagios+Now&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.longitudetech.com%2Flinux-unix%2Fzenoss-we-can-ditch-nagios-now%2F&amp;title=Zenoss%3A+We+Can+Ditch+Nagios+Now" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/twitter.com/home/?status=Check+out+Zenoss_3A+We+Can+Ditch+Nagios+Now+_+http_3A_2F_2Fwww.longitudetech.com_2Flinux-unix_2Fzenoss-we-can-ditch-nagios-now_2F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Zenoss%3A+We+Can+Ditch+Nagios+Now+@+http%3A%2F%2Fwww.longitudetech.com%2Flinux-unix%2Fzenoss-we-can-ditch-nagios-now%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/myweb2.search.yahoo.com/myresults/bookmarklet?u=http_3A_2F_2Fwww.longitudetech.com_2Flinux-unix_2Fzenoss-we-can-ditch-nagios-now_2F_amp_t=Zenoss_3A+We+Can+Ditch+Nagios+Now&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.longitudetech.com%2Flinux-unix%2Fzenoss-we-can-ditch-nagios-now%2F&amp;t=Zenoss%3A+We+Can+Ditch+Nagios+Now" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d20').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->


<p>Related posts:<ol><li><a href='http://www.longitudetech.com/networking/squeeze-your-gigabit-nic-for-top-performance-2/' rel='bookmark' title='Permanent Link: Squeeze Your Gigabit NIC for Top Performance'>Squeeze Your Gigabit NIC for Top Performance</a></li>
<li><a href='http://www.longitudetech.com/linux-unix/managing-virtual-machine-and-cloud-sprawl/' rel='bookmark' title='Permanent Link: Managing Virtual Machine and Cloud Sprawl'>Managing Virtual Machine and Cloud Sprawl</a></li>
<li><a href='http://www.longitudetech.com/networking/built-in-security-with-cisco-ips/' rel='bookmark' title='Permanent Link: Built-in Security with Cisco IPS'>Built-in Security with Cisco IPS</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.longitudetech.com/linux-unix/zenoss-we-can-ditch-nagios-now/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Squeeze Your Gigabit NIC for Top Performance</title>
		<link>http://www.longitudetech.com/networking/squeeze-your-gigabit-nic-for-top-performance-2/</link>
		<comments>http://www.longitudetech.com/networking/squeeze-your-gigabit-nic-for-top-performance-2/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 20:36:39 +0000</pubDate>
		<dc:creator>charlie</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networks]]></category>
		<category><![CDATA[NIC]]></category>
		<category><![CDATA[tuning]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=19</guid>
		<description><![CDATA[Many new workstations and servers are coming with integrated gigabit network cards nowadays, but quite a few people soon discover that they can’t transfer data much faster than they did with 100 Mb/s network cards. Multiple factors can affect your ability to transfer at higher speeds, and most of them revolve around operating system settings. [...]


Related posts:<ol><li><a href='http://www.longitudetech.com/it-management/how-much-server-do-you-need/' rel='bookmark' title='Permanent Link: How Much Server do you Need?'>How Much Server do you Need?</a></li>
<li><a href='http://www.longitudetech.com/linux-unix/zenoss-we-can-ditch-nagios-now/' rel='bookmark' title='Permanent Link: Zenoss: We Can Ditch Nagios Now'>Zenoss: We Can Ditch Nagios Now</a></li>
<li><a href='http://www.longitudetech.com/networking/what-the-heck-is-a-tcam/' rel='bookmark' title='Permanent Link: What the Heck is a TCAM?'>What the Heck is a TCAM?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Many new workstations and servers are coming with integrated gigabit network cards nowadays, but quite a few people soon discover that they can’t transfer data much faster than they did with 100 Mb/s network cards. Multiple factors can affect your ability to transfer at higher speeds, and most of them revolve around operating system settings. In this article we will discuss the necessary steps to make your new gigabit enabled server obtain close to gigabit speeds in Linux, FreeBSD, and Windows.</p>
<p><strong>Hardware considerations<br />
</strong><br />
First and foremost we must realize that there are hardware limitations to consider. Just because someone throws a gigabit network card in a server doesn’t mean the hardware can keep up. Network cards are normally connected to the PCI bus via a free PCI slot. In older workstation and non server-class motherboards the PCI slots are normally 32 bit, 33MHz. This means they can transfer at speeds of 133MB/s, but since it is a shared bus between many parts of the computer, realistically it’s limited to around 80MB/s in the best case. Gigabit network cards are 1000Mb/s, or 125MB/s. If the PCI bus is only capable of 80MB/s this is a major limiting factor for gigabit network cards. The math works out to 640Mb/s, which is really quite a bit faster than most gigabit network card installations, but remember this is probably the best-case scenario. If there are other hungry data loving PCI cards in the server, you’ll likely see much less throughput. The only solution for overcoming this bottleneck is to purchase a motherboard with a 66MHz PCI slot, which can do 266MB/s. Also, the new 64 bit PCI slots are capable of 532MB/s on a 66MHz bus. These are beginning to come standard on all server-class motherboards. </p>
<p>Assuming we’re using decent hardware that can keep up with the data rates necessary for gigabit, there is now another obstacle – the operating system. For testing, we used two identical servers: Intel Server motherboards, Pentium 4 3.0 GHz, 1GB RAM, integrated 10/100/1000 Intel network card. One was running Gentoo Linux with a 2.6 SMP kernel, and the other is FreeBSD 5.3 with an SMP kernel to take advantage of the Pentium 4’s HyperThreading capabilities. We were lucky to have a gigabit capable switch, but the same results could be accomplished by connecting both servers directly to each other. </p>
<p><strong>Software considerations<br />
</strong><br />
For testing speeds between two servers, we don’t want to use FTP or anything that will require data be fetched from disk. Memory to memory transfers are a much better test, and many tools exist to do this. For our tests, we used ttcp (http://www.pcausa.com/Utilities/pcattcp.htm). </p>
<p>The first test between these two servers was not pretty. The maximum rate was around 230 Mb/s, about two times as fast as a 100Mb/s network card. This is an improvement, but far from optimal. In actuality, most people will see even worse performance out of the box. However, with a few minor setting changes, we quickly realized major speed improvements &#8211; more than a threefold improvement over the initial test. </p>
<p>Many people recommend setting the MTU of your network interface larger. This basically means telling the network card to send a larger sized Ethernet frame. While this may be useful when connecting two hosts directly together, it becomes less useful when connecting through a switch that doesn’t support larger MTUs. At any rate, this isn’t necessary. 900Mb/s can be attained at the normal 1500 byte MTU setting.</p>
<p>For attaining maximum throughput, the most important options involve TCP window sizes. The TCP window controls the flow of data, and is negotiated during the start of a TCP connection. Using too small of a size will result in slowness, since TCP can only use the smaller of the two end system’s capabilities. It is quite a bit more complex than this, but here’s the information you really need to know:</p>
<p>For both Linux and FreeBSD we’re using the sysctl utility. For all of the following options, entering the command ‘sysctl variable=number’ should do the trick. To view the current settings use: ‘sysctl <variable name>’</p>
<p>Maximum window size:<br />
FreeBSD:<br />
kern.ipc.maxsockbuf=262144<br />
Linux:<br />
net.core.wmem_max=8388608</p>
<p>Default window size:</p>
<p>FreeBSD, sending and receiving:<br />
net.inet.tcp.sendspace=65536<br />
net.inet.tcp.recvspace=65536<br />
Linux, sending and receiving:<br />
net.core.wmem_default = 65536<br />
net.core.rmem_default = 65536</p>
<p>RFC 1323:<br />
This enables the useful window scaling options defined in rfc1323, which allows the windows to dynamically get larger than we specified above.<br />
FreeBSD:<br />
net.inet.tcp.rfc1323=1<br />
Linux:<br />
net.ipv4.tcp_window_scaling=1</p>
<p>Buffers:<br />
When sending large amounts of data, we can run the operating system out of buffers. This option should be enabled before attempting to use the above settings. To increase the amount of “mbufs” available:<br />
FreeBSD:<br />
kern.ipc.nmbclusters=32768<br />
Linux:<br />
net.ipv4.tcp_mem= 98304 131072 196608</p>
<p>These quick changes will skyrocket TCP performance. Afterwards we were able to run ttcp and attain around 895 Mb/s every time – quite an impressive data rate. There are other options available for adjusting the UDP datagram sizes as well, but we’re mainly focusing on TCP here.</p>
<p>Windows XP / 2000 Server / Server 2003</p>
<p>The magical location for TCP settings in the registry editor is:<br />
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters</p>
<p>We need to add a registry DWORD named TcpWindowSize, and enter a sufficiently large size. 131400 (make sure you click on decimal) should be enough.</p>
<p>Tcp1323Opts should be set to 3. This enables both rfc1323 scaling and timestamps.</p>
<p>And similarly to Unix, we also want to increase the TCP buffer sizes:<br />
ForwardBufferMemory 80000<br />
NumForwardPackets 60000</p>
<p>One last important note for Windows XP users needs to be made. If you’re installed service pack 2, then there is another likely culprit of poor network performance. Explained in knowledge base article 842264, Microsoft says that disabling Internet Connection Sharing after an SP2 install should fix performance issues. </p>
<p>The above tweaks should enable your sufficiently fast server to attain much faster data rates over TCP. If your specific application makes significant use of UDP, then it will be worth looking into similar options relating to UDP datagram sizes. Remember, we obtained close to 900Mb/s with a very fast Pentium 4 machine, server-class motherboard, and quality Intel network card. Results may vary wildly, but adjusting the above settings are a necessary step toward realizing your server’s capabilities.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d19').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Share this! (we greatly appreciate you sharing with friends)</em></strong></a>
<br />
<div class="d19" style="overflow:hidden">
<br />
<a onclick="pageTracker._trackPageview('/outgoing/del.icio.us/post?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fsqueeze-your-gigabit-nic-for-top-performance-2_2F_amp_title=Squeeze+Your+Gigabit+NIC+for+Top+Performance&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fsqueeze-your-gigabit-nic-for-top-performance-2%2F&amp;title=Squeeze+Your+Gigabit+NIC+for+Top+Performance" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/digg.com/submit?phase=2_amp_url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fsqueeze-your-gigabit-nic-for-top-performance-2_2F_amp_title=Squeeze+Your+Gigabit+NIC+for+Top+Performance&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fsqueeze-your-gigabit-nic-for-top-performance-2%2F&amp;title=Squeeze+Your+Gigabit+NIC+for+Top+Performance" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.facebook.com/sharer.php?u=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fsqueeze-your-gigabit-nic-for-top-performance-2_2F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fsqueeze-your-gigabit-nic-for-top-performance-2%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.google.com/bookmarks/mark?op=edit_amp_output=popup_amp_bkmk=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fsqueeze-your-gigabit-nic-for-top-performance-2_2F_amp_title=Squeeze+Your+Gigabit+NIC+for+Top+Performance&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fsqueeze-your-gigabit-nic-for-top-performance-2%2F&amp;title=Squeeze+Your+Gigabit+NIC+for+Top+Performance" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/reddit.com/submit?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fsqueeze-your-gigabit-nic-for-top-performance-2_2F_amp_title=Squeeze+Your+Gigabit+NIC+for+Top+Performance&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fsqueeze-your-gigabit-nic-for-top-performance-2%2F&amp;title=Squeeze+Your+Gigabit+NIC+for+Top+Performance" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/slashdot.org/bookmark.pl?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fsqueeze-your-gigabit-nic-for-top-performance-2_2F_amp_title=Squeeze+Your+Gigabit+NIC+for+Top+Performance&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fsqueeze-your-gigabit-nic-for-top-performance-2%2F&amp;title=Squeeze+Your+Gigabit+NIC+for+Top+Performance" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/www.stumbleupon.com/submit?url=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fsqueeze-your-gigabit-nic-for-top-performance-2_2F_amp_title=Squeeze+Your+Gigabit+NIC+for+Top+Performance&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fsqueeze-your-gigabit-nic-for-top-performance-2%2F&amp;title=Squeeze+Your+Gigabit+NIC+for+Top+Performance" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/twitter.com/home/?status=Check+out+Squeeze+Your+Gigabit+NIC+for+Top+Performance+_+http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fsqueeze-your-gigabit-nic-for-top-performance-2_2F&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Squeeze+Your+Gigabit+NIC+for+Top+Performance+@+http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fsqueeze-your-gigabit-nic-for-top-performance-2%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="pageTracker._trackPageview('/outgoing/myweb2.search.yahoo.com/myresults/bookmarklet?u=http_3A_2F_2Fwww.longitudetech.com_2Fnetworking_2Fsqueeze-your-gigabit-nic-for-top-performance-2_2F_amp_t=Squeeze+Your+Gigabit+NIC+for+Top+Performance&amp;referer=');window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.longitudetech.com%2Fnetworking%2Fsqueeze-your-gigabit-nic-for-top-performance-2%2F&amp;t=Squeeze+Your+Gigabit+NIC+for+Top+Performance" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.longitudetech.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d19').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->


<p>Related posts:<ol><li><a href='http://www.longitudetech.com/it-management/how-much-server-do-you-need/' rel='bookmark' title='Permanent Link: How Much Server do you Need?'>How Much Server do you Need?</a></li>
<li><a href='http://www.longitudetech.com/linux-unix/zenoss-we-can-ditch-nagios-now/' rel='bookmark' title='Permanent Link: Zenoss: We Can Ditch Nagios Now'>Zenoss: We Can Ditch Nagios Now</a></li>
<li><a href='http://www.longitudetech.com/networking/what-the-heck-is-a-tcam/' rel='bookmark' title='Permanent Link: What the Heck is a TCAM?'>What the Heck is a TCAM?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.longitudetech.com/networking/squeeze-your-gigabit-nic-for-top-performance-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->