<?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; errdisable</title>
	<atom:link href="http://www.sgtccie.com/blog/tag/errdisable/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>Review: Errdisable port state</title>
		<link>http://www.sgtccie.com/blog/2009/11/review-errdisable-port-state/</link>
		<comments>http://www.sgtccie.com/blog/2009/11/review-errdisable-port-state/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 15:49:11 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Routing & Switching]]></category>
		<category><![CDATA[errdisable]]></category>
		<category><![CDATA[port-security]]></category>

		<guid isPermaLink="false">http://www.sgtccie.com/blog/?p=425</guid>
		<description><![CDATA[<a href="http://www.sgtccie.com/blog/2009/11/review-errdisable-port-state/" title="Review: Errdisable port state"></a>Those of you &#8220;new&#8221; to the Cisco world, or those who simply don&#8217;t have experience in the layer 2 world may not have heard of errdisable (or simply might refer to it as the proper term, error-disable)- but any seasoned &#8230;<p class="read-more"><a href="http://www.sgtccie.com/blog/2009/11/review-errdisable-port-state/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.sgtccie.com/blog/2009/11/review-errdisable-port-state/" title="Review: Errdisable port state"></a><p>Those of you &#8220;new&#8221; to the Cisco world, or those who simply don&#8217;t have experience in the layer 2 world may not have heard of errdisable (or simply might refer to it as the proper term, error-disable)- but any seasoned tech knows what a pain it is to check your port and see errdisable. Back when I was a network technician for the Air Force, I remember going to a building on a trouble ticket, only to find a couple of cisco 4500 (if I recall correctly), with no less than 200 cables running to them..you literally could not see the ports themselves, or the RJ-45 connectors. After digging around, I did indeed find a switch hidden back there. After seeing the dreaded <strong>orange light on the port LED (signaling errdisable)</strong>, I consoled into the switch. At the time, I knew errdisable was bad, but that&#8217;s about it. This article would have helped tremendously if I had seen it already. Hopefully someone out there reads it in time!</p>
<p><br class="spacer_" /></p>
<p><span style="font-size: x-large;">What IS errdisable?</span></p>
<p>Errdisable, or error-disable, is a feature that allows the switch to detect certain error conditions on interfaces and disable them before the particular condition has a chance to affect the rest of the network. Basically, Errdisable says &#8220;Wait, something isn&#8217;t right..I&#8217;m going to shut this down so it doesn&#8217;t break anything else.&#8221; An example of some of the errdisable conditions(but not a comprehensive list) can be found below. For a more thorough list, check out cisco.com, and search for errdisable.</p>
<ul>
<li>Port-security violation</li>
<li>Etherchannel flapping</li>
<li>Invalid GBIC</li>
<li>DTP flapping (trunk negotiation)</li>
</ul>
<p>As I said, there&#8217;s more reasons, but those are some of the more common violations. In my experience, Port-security has been the largest- although you can configure error-disable to do what you want after noticing the &#8220;error condition&#8221;, this action it takes AFTER the error condition is known as the method of recovery. There are two types- manual, and automatic. <strong>Manual requires a shut/no shut on the interface</strong>; automatic recovery can recover the port itself after a specified interval.</p>
<p><br class="spacer_" /></p>
<p><span style="font-size: large;"><span style="font-size: x-large;">How to tell if a port is in errdisable:</span><br />
</span></p>
<p><span style="font-size: large;"><span style="font-size: small;">To tell if a port is in errdisable or not, do a show int status, or you can do a &#8220;show int fx/x status&#8221;. You should see &#8220;err-disable&#8221; if it is indeed, disabled. From here, depending on your recovery method, you either enable it with a shut/no shut, or let it recover automatically.</span></span></p>
<p><br class="spacer_" /></p>
<p><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;">ErrDisable key commands:</span></span></span></p>
<p><br class="spacer_" /></p>
<p><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">Enable errdisable (already enabled by default for UDLD/Port-security): </span></span></span></span></p>
<p><!--noadsense--></p>
<p><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;"><span style="color: #888888;">Switch(config)#errdisable detect cause {all | arp-inspection | dhcp-rate-limit | dtp-flap | gbic-invalid | l2ptguard | link-flap | pagp-flap}</span></span></span></span></span></p>
<p><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;"><span style="color: #888888;"><br />
</span></span></span></span></span></p>
<p><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;"><span style="color: #888888;"><span style="color: #000000;">Configure automatic recovery from errdisable:</span></span></span></span></span></span></p>
<p><span style="color: #808080;"><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">Switch(config)# errdisable recovery cause {all | arp-inspection | bpduguard | channel-misconfig | dhcp-rate-limit | dtp-flap | gbic-invalid | l2ptguard | link-flap | pagp-flap | pesecure-violation | security-violation | storm-control | udld | unicastflood | wmps}</span></span></span></span></span></p>
<p><br class="spacer_" /></p>
<p><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;"><span style="color: #888888;"><span style="color: #000000;">Configure recovery interval (only applies to conditions for which automatic recovery is enabled):</span></span></span></span></span></span></p>
<p><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;"><span style="color: #888888;"><span style="color: #000000;"><span style="color: #808080;">Switch(config)#errdisable recovery interval 120 (seconds)</span></span></span></span></span></span></span></p>
<p><br class="spacer_" /></p>
<p><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;"><span style="color: #888888;"><span style="color: #000000;">To check Errdisable config:</span></span></span></span></span></span></p>
<p><span style="color: #808080;"><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">Switch(config)#Show errdisable detect</span></span></span></span></span></p>
<p><span style="color: #808080;"><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">ErrDisable Reason              Detection Status</span></span></span></span></span></p>
<p><span style="color: #808080;"><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;                &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></span></span></span></span></p>
<p><span style="color: #808080;"><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">udld                                          Enabled</span></span></span></span></span></p>
<p><span style="color: #808080;"><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">bpduguard                              Enabled</span></span></span></span></span></p>
<p><span style="color: #808080;"><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">security-violation                 Enabled</span></span></span></span></span></p>
<p><span style="color: #808080;"><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">psecure-violation                 Enabled</span></span></span></span></span></p>
<p><span style="color: #808080;"><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">&#8230;and so on</span></span></span></span></span></p>
<p><br class="spacer_" /></p>
<p><span style="color: #808080;"><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">Switch(config)#Show errdisable recovery</span></span></span></span></span></p>
<p><span style="color: #808080;"><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">ErrDisable Reason               Timer status</span></span></span></span></span></p>
<p><span style="color: #808080;"><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;                &#8212;&#8212;&#8212;&#8212;&#8212;</span></span></span></span></span></p>
<p><span style="color: #808080;"><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">udld                                          Enabled</span></span></span></span></span></p>
<p><span style="color: #808080;"><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">bpduguard                              Enabled</span></span></span></span></span></p>
<p><br class="spacer_" /></p>
<p><span style="color: #808080;"><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">&#8230;&#8230;&#8230;&#8230;&#8230;..</span></span></span></span></span></p>
<p><span style="color: #808080;"><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">Timer interval: 120 seconds<br />
</span></span></span></span></span></p>
<p><span style="color: #808080;"><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">Interfaces that will be enabled at the next timeout:<br />
</span></span></span></span></span></p>
<p><span style="color: #808080;"><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">Interface        ErrDisable reason          Time left(sec)</span></span></span></span></span></p>
<p><span style="color: #808080;"><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;">&#8212;&#8212;&#8212;-        &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;          &#8212;&#8212;&#8212;&#8212;&#8212;</span></span></span></span></span></p>
<p><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;"><span style="color: #888888;"><span style="color: #000000;"><span style="color: #808080;">f1/1                  security-violation                   34</span></span></span></span></span></span></span></p>
<p><br class="spacer_" /></p>
<p><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;"><span style="color: #888888;"><span style="color: #000000;"><span style="color: #808080;"><span style="color: #000000;"><span style="font-size: x-large;">Final point</span></span></span></span></span></span></span></span></span></p>
<p><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><span style="font-size: small;"><span style="color: #888888;"><span style="color: #000000;"><span style="color: #808080;"><span style="color: #000000;"><span style="font-size: x-large;"><span style="font-size: small;">ErrDisable is a good mechanism to help you find problems in your network- and to protect it- however, you should ultimately search for the root cause if you experience recurring errdisable conditions on certain ports. This is key, or your network will certainly not be operating efficiently. </span></span></span></span></span></span></span></span></span></span></p>
<p><span style="font-size: large;"><span style="font-size: small;"><span style="font-size: x-large;"><br />
</span></span></span></p>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sgtccie.com/blog/2009/11/review-errdisable-port-state/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

