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

<channel>
	<title>SGT CCIE &#187; Command of the week</title>
	<atom:link href="http://www.sgtccie.com/blog/category/ccie/command-of-the-week/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sgtccie.com/blog</link>
	<description>A man on a mission</description>
	<lastBuildDate>Sun, 02 Oct 2011 14:22:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Command of the week: Switchport protected</title>
		<link>http://www.sgtccie.com/blog/2009/04/command-of-the-week-switchport-protected/</link>
		<comments>http://www.sgtccie.com/blog/2009/04/command-of-the-week-switchport-protected/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 00:12:26 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[CCIE]]></category>
		<category><![CDATA[Command of the week]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Routing & Switching]]></category>
		<category><![CDATA[3550]]></category>
		<category><![CDATA[3560]]></category>
		<category><![CDATA[ACL]]></category>
		<category><![CDATA[ccna]]></category>
		<category><![CDATA[ccnp]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[layer 2]]></category>
		<category><![CDATA[PVLAN]]></category>
		<category><![CDATA[switching]]></category>
		<category><![CDATA[switchport protected]]></category>
		<category><![CDATA[VLAN]]></category>

		<guid isPermaLink="false">http://www.sgtccie.com/blog/?p=183</guid>
		<description><![CDATA[<a href="http://www.sgtccie.com/blog/2009/04/command-of-the-week-switchport-protected/" title="Command of the week: Switchport protected"></a>I have done my share of work in the networking field, and had never heard of this command. I have also not been exposed to a wide variety of layer 2 technologies, but I must say, that this is a very &#8230;<p class="read-more"><a href="http://www.sgtccie.com/blog/2009/04/command-of-the-week-switchport-protected/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.sgtccie.com/blog/2009/04/command-of-the-week-switchport-protected/" title="Command of the week: Switchport protected"></a><p>I have done my share of work in the networking field, and had <strong>never</strong> heard of this command. I have also not been exposed to a wide variety of layer 2 technologies, but I must say, that this is a very cool command. Granted, it could be considered old- or not on par with private VLAN&#8217;s (which take the same idea of isolating particular ports a little bit further), but I like it&#8217;s simplicity. However, it IS available in older catalyst switches that may not support Private VLAN&#8217;s, so that is a bonus. Last but not least,  knowing how to configure PVLAN&#8217;s and protected ports, you can accomplish- to some degree- the same thing in two different ways- which is always a plus. This article will primarily function as a basic overview of the command, although I will briefly flyby the configuration as it is fairly straightforward. Let&#8217;s get to it. First, I&#8217;ll present you a scenario that will demonstrate what switchport protected does.</p>
<p>Let&#8217;s say you have a Cisco 3550 in a closet somewhere, and for whatever reason want two hosts coming off of that 3550 to have no traffic pass between them. <strong><em>Switchport protected</em></strong> will enable you to do just that. The idea is simple: Any protected port can not talk to any other protected port, but can talk with any unprotected port. The idea here is the same as private VLAN&#8217;s somewhat..just a more basic method. There&#8217;s a few caveats worth mentioning regarding protected ports:</p>
<ul>
<li>The protection is <em>only</em> local to that switch. If you have User A on SW1, and User B on SW1, both on VLAN 100, configured with switchport protected..they will <strong>not</strong> talk. However, if you split the two users up on two switches that are trunking, but still within VLAN 100&#8230;they WILL talk. The protection does not span multiple switches!</li>
<li>The protection is limited to Layer 2. Once the frame becomes a packet at Layer 3, it will allow the two hosts to communicate. </li>
<li>To block traffic at Layer 3 also, you would need to look at ACL&#8217;s, or Vlan Access-lists, or other methods of access control. </li>
</ul>
<p>So how do we configure a port to be protected? It&#8217;s cake. See below:</p>
<p><span style="font-size: x-small;"><em>Switch(config)# interface fa0/1</em></span></p>
<p><span style="font-size: x-small;"><em>Switch(config-if)# switchport protected</em></span></p>
<p><span style="font-size: small;">That is it! I know, almost a letdown, right? Well, the plus is, there&#8217;s more! Commonly when implementing protected ports, you will want to also block unknown unicast/multicast traffic. Why? Think about the basic nature of a switch when it receives an unknown unicast frame..it will flood it out all ports except the one it was received. This could introduce a possible avenue for attack. To mitigate this risk, we can block unknown unicast/multicasts on these ports by using the following configuration.</span></p>
<p><span style="font-size: x-small;"><em>Switch(config-if)#switchport block {multicast | unicast}</em></span></p>
<p>That&#8217;s all there really is to it. I hope this short article has at least given you a small insight into small lesser-known features the Cisco IOS has to offer. I look forward to finding the next one to share with all of you!<br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sgtccie.com/blog/2009/04/command-of-the-week-switchport-protected/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

