<?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>Aaron&#039;s Worthless Words &#187; stp</title>
	<atom:link href="http://aconaway.com/tag/stp/feed/" rel="self" type="application/rss+xml" />
	<link>http://aconaway.com</link>
	<description>It&#039;s possible that someone somewhere needs to see this.</description>
	<lastBuildDate>Wed, 01 Feb 2012 02:07:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Stubby Post &#8211; UplinkFast</title>
		<link>http://aconaway.com/2010/04/27/stubby-post-uplinkfast/</link>
		<comments>http://aconaway.com/2010/04/27/stubby-post-uplinkfast/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 02:26:01 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[ccnp]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[645-813]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[spanning tree]]></category>
		<category><![CDATA[stp]]></category>
		<category><![CDATA[uplinkfast]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=706</guid>
		<description><![CDATA[Here's a quick post on my Uplinkfast findings.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got a few switches daisy chained together with single links and have enabled UplinkFast on them.  This switch is not the root bridge; F0/24 is the root port and F0/23 is a blocked alternate port.  I&#8217;ve got <em>debug spanning-tree uplinkfast</em> on to help out.</p>
<blockquote>
<pre>SW3#sh span | incl 0/2[34]
Fa0/23           Altn BLK 3019      128.23   P2p
Fa0/24           Root FWD 3019      128.24   P2p</pre>
</blockquote>
<p>Now let&#8217;s unplug F0/24 and see what happens.</p>
<blockquote>
<pre>19:05:05: STP FAST: UPLINKFAST: make_forwarding on VLAN0001 FastEthernet0/23 roo
t port id new: 128.23 prev: 128.24

19:05:05: %SPANTREE_FAST-7-PORT_FWD_UPLINK: VLAN0001 FastEthernet0/23 moved to Forwarding (UplinkFast).
19:05:05: STP: UFAST: removing prev root port Fa0/24 VLAN0001 port-id 8018
SW3#
19:05:06: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to down
SW3#
19:05:07: %LINK-3-UPDOWN: Interface FastEthernet0/24, changed state to down</pre>
</blockquote>
<p>Before the switch even reports that F0/24 is down, F0/23 is brought into the forwarding state.  Now let&#8217;s plug F0/24 back in.</p>
<blockquote>
<pre>19:07:16: %LINK-3-UPDOWN: Interface FastEthernet0/24, changed state to up
SW3#
19:07:17: STP FAST: make_forwarding: via UPLINKFAST: NOT: port FastEthernet0/23
VLAN0001 is: uplink enabled new root FastEthernet0/23 (me)prev root exists(8018/) cur state forwarding role uplink
19:07:17: STP FAST: make_forwarding: via UPLINKFAST: NOT: port FastEthernet0/24
VLAN0001 is: uplink enabled new root FastEthernet0/23 (not me)prev root exists(8018/) cur state blocking role looped
19:07:18: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to up
SW3#
19:07:18: STP FAST: make_forwarding: via UPLINKFAST: NOT: port FastEthernet0/23
VLAN0001 is: uplink enabled new root FastEthernet0/23 (me)prev root exists(8018/) cur state forwarding role uplink
SW3#sh span | incl 0/2[34]
Fa0/23           Root FWD 3019      128.23   P2p
Fa0/24           Altn BLK 3019      128.24   P2p</pre>
</blockquote>
<p>Notice that the port comes back up, but it isn&#8217;t returned as the root port immediately.  It should be, though, right?  The original STP convergence said that it was the closest to the root bridge, so it makes sense that it should be the root port again, right?  Since the port just came up, STP still has to make sure there&#8217;s no loop, so it has to step through all the states like any good port does.  If we wait a few more seconds, we see this.</p>
<blockquote>
<pre>19:07:53: STP FAST: UPLINKFAST: make_forwarding on VLAN0001 FastEthernet0/24 root port id new: 128.24 prev: 128.23

19:07:53: %SPANTREE_FAST-7-PORT_FWD_UPLINK: VLAN0001 FastEthernet0/24 moved to Forwarding (UplinkFast).

SW3#sh span | incl 0/2[34]
Fa0/23           Altn BLK 3019      128.23   P2p
Fa0/24           Root FWD 3019      128.24   P2p</pre>
</blockquote>
<p>Now we&#8217;re back to where we were originally.  The moral of the story is that UplinkFast already knew the status of both ports, so it could quickly move the blocked port to fowarding when the port failed.  Traditional STP would have to send a TCN message to the root bridge, which would then forward them out with the rest of the switches so they can reconverge.  UplinkFast skips the whole reconverging thing.</p>
<p>Send any questions my way.</p>
<div class="wp-about-author-containter-around" style="background-color:#ffffff;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/14352aa939196349e4b9f2a272ca5112?s=100&amp;d=&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://aconaway.com/author/jac/' title='Aaron Conaway'>Aaron Conaway</a></h3><p>I like to lean my head to the left, hit it with the palm of my right hand, and document what knowledge falls out.</p><p><a href='http://aconaway.com' title='Aaron Conaway'>Website</a> - <a href='http://aconaway.com/author/jac/' title='More posts by Aaron Conaway'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/04/27/stubby-post-uplinkfast/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Stubby Post &#8211; Path Cost of EtherChannels</title>
		<link>http://aconaway.com/2010/04/26/stubby-post-path-cost-of-etherchannels/</link>
		<comments>http://aconaway.com/2010/04/26/stubby-post-path-cost-of-etherchannels/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 02:08:11 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[ccnp]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[645-813]]></category>
		<category><![CDATA[cost]]></category>
		<category><![CDATA[etherchannel]]></category>
		<category><![CDATA[path]]></category>
		<category><![CDATA[spanning tree]]></category>
		<category><![CDATA[stp]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=702</guid>
		<description><![CDATA[A quick observation the STP path costs and EtherChannels]]></description>
			<content:encoded><![CDATA[<p>I was doing some STP labs tonight and found something that caught me off guard a bit.  I had been meddling with some EtherChannels between a pair of 3750s earlier today, and I forgot to reset the configs before starting on the STP stuff.  One my secondary root switch, I ran a <em>show spanning-tree vlan 1</em> to see what status the ports were in, and I noticed the root path cost.</p>
<blockquote>
<pre>VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    24577
             Address     001b.d4fa.bb00
             Cost        12</pre>
</blockquote>
<p>This switch is directly connected to the root bridge via a pair of EtherChanneled FastEthernets, so I just assumed I&#8217;d get a cost of 19.  I surely didn&#8217;t expect a cost of 12.  I added a third interface to the channel-group and wound up with this.</p>
<blockquote>
<pre>VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    24577
             Address     001b.d4fa.bb00
             Cost        9</pre>
</blockquote>
<p>Obviously there&#8217;s some internal math going on with the EtherChannel and STP.  Guess what happens when I add a fourth link?</p>
<blockquote>
<pre>VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    24577
             Address     001b.d4fa.bb00
             Cost        8</pre>
</blockquote>
<p>It&#8217;s interesting to see how the path cost changes in a way to seems disproportionate to the bandwidth.</p>
<p>Send any new math formulae comments this way.</p>
<div class="wp-about-author-containter-around" style="background-color:#ffffff;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/14352aa939196349e4b9f2a272ca5112?s=100&amp;d=&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://aconaway.com/author/jac/' title='Aaron Conaway'>Aaron Conaway</a></h3><p>I like to lean my head to the left, hit it with the palm of my right hand, and document what knowledge falls out.</p><p><a href='http://aconaway.com' title='Aaron Conaway'>Website</a> - <a href='http://aconaway.com/author/jac/' title='More posts by Aaron Conaway'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/04/26/stubby-post-path-cost-of-etherchannels/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SWITCH – STP Exercise #1 Solution</title>
		<link>http://aconaway.com/2010/04/24/switch-%e2%80%93-stp-exercise-1-solution/</link>
		<comments>http://aconaway.com/2010/04/24/switch-%e2%80%93-stp-exercise-1-solution/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 20:36:27 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[ccnp]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[642-813]]></category>
		<category><![CDATA[bridge]]></category>
		<category><![CDATA[designated]]></category>
		<category><![CDATA[election]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[spanning tree]]></category>
		<category><![CDATA[stp]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=663</guid>
		<description><![CDATA[Here is the solution to the STP exercise from earlier in the week.]]></description>
			<content:encoded><![CDATA[<p>Did you guys have any trouble with the solution to the STP exercise?  Let&#8217;s work through it and see what happens.  I got a few responses to the solution, and everyone seems to get the same answer, so I assume we&#8217;re all right.</p>
<p>Before we get started, I wanted to mention the tie breakers since there can be ties in STP.  If there is a tie in any calculation, the same tie breakers are used, so I&#8217;ll list them here to use as we move through the calculations.</p>
<ol>
<li>Lowest root bridge ID (which I hope we&#8217;ll never have to use)</li>
<li>Lowest root path cost</li>
<li>Lowest bridge ID</li>
<li>Lowest port ID</li>
</ol>
<p>In our exercise, we only have to go to the tie breakers once, but, in the wild, you may run into more.  I would guess that this is a requirement to know for the SWITCH test.</p>
<p>Before we get started, you can assume that a bridge is a switch since, technically, a switch is a many-ported bridge.  Let&#8217;s get started.  There are only 5 steps to take, so it shouldn&#8217;t take long.</p>
<p><strong>1.  Find the path costs of each segment</strong></p>
<p>This is done with a table lookup.  Each segment (link between switches) gets a cost based on the technology that it is using.  For example, GigabitEthernet has a cost of 4 while FastEthernet has a cost of 19.  There are other values, but these are the only ones that are used in the network here.  I did find a <a href="http://computer.howstuffworks.com/lan-switch14.htm">good table on STP path costs at HowStuffWorks.com</a> if you want to take a look at more of them.  Let&#8217;s put the <em>path costs</em> on the diagram.</p>
<p><a href="http://aconaway.com/wp-content/uploads/2010/04/STP-Exercise-1-Solution-Path-Costs.png"><img class="alignnone size-medium wp-image-677" title="STP Exercise #1 Solution - Path Costs" src="http://aconaway.com/wp-content/uploads/2010/04/STP-Exercise-1-Solution-Path-Costs-300x266.png" alt="" width="300" height="266" /></a></p>
<p><strong>2.  Find the root bridge</strong></p>
<p>After we find the path costs, we find the root bridge.  The root bridge is the switch that has the lowest bridge ID, which is the switch priority and the MAC address concatenated together.  Since all the bridges have the same priority, we can just look at the MACs to figure out which one has the lowest bridge ID.  Switch E has the lowest MAC (0000.0000.0003), so that&#8217;s the <em>root bridge</em>.</p>
<p><a href="http://aconaway.com/wp-content/uploads/2010/04/STP-Exercise-1-Solution-Root-Bridge.png"><img class="alignnone size-medium wp-image-676" title="STP Exercise #1 Solution - Root Bridge" src="http://aconaway.com/wp-content/uploads/2010/04/STP-Exercise-1-Solution-Root-Bridge-300x274.png" alt="" width="300" height="274" /></a></p>
<p><strong>3.  Find the root ports of each bridge</strong></p>
<p>The root port is a port on a switch that has the lowest total path cost back to the root bridge; every switch has a one and only one root port except for the root bridge itself which has none (it&#8217;s the root; it already knows where it is).  The root bridge sends out BPDUs that are passed to each switch.  When a switch receives it (not sends it), it increments the root path cost field and passes that along,  The port on which the lowest root path costs is received is the root port, and the value in the root path cost field is the root path cost for that switch.  The finger trace method works for us humans for now; there&#8217;s not that many switches involved.  Let&#8217;s add the <em>root ports</em> along with the <em>root path costs</em> to the diagram.</p>
<p><a href="http://aconaway.com/wp-content/uploads/2010/04/STP-Exercise-1-Solution-Root-Path-Costs.png"><img class="alignnone size-medium wp-image-669" title="STP Exercise #1 Solution - Root Path Costs" src="http://aconaway.com/wp-content/uploads/2010/04/STP-Exercise-1-Solution-Root-Path-Costs-300x275.png" alt="" width="300" height="275" /></a></p>
<p><strong>4.  Find the designated ports</strong></p>
<p>Each segment of the network has a designated port.  This is a port on the bridge with the lowest root path cost.  Since the root bridge always has the shortest path to itself, all of its ports are designated ports.  Root ports can&#8217;t be designated ports, too, so it&#8217;s pretty easy to find the designated ports on segments with root ports.  There are two segments (A-B and B-C) that we need to calculate, though.  Let&#8217;s go to the tie breakers!</p>
<p>All the bridges have the same root bridge ID, so that&#8217;s a wash.  C has a lower root path cost than B, so it wins that segment.  A and B both have the same root path cost, though, so we move down the list to bridge ID.  Since A has a lower bridge ID, it wins that segment.</p>
<p>Let&#8217;s put all the <em>designated ports</em> on the diagram so you can see them.</p>
<p><a href="http://aconaway.com/wp-content/uploads/2010/04/STP-Exercise-1-Solution-Designated-Ports.png"><img class="alignnone size-medium wp-image-668" title="STP Exercise #1 Solution - Designated Ports" src="http://aconaway.com/wp-content/uploads/2010/04/STP-Exercise-1-Solution-Designated-Ports-300x275.png" alt="" width="300" height="275" /></a></p>
<p><strong>5.  Find the blocked ports</strong></p>
<p>There aren&#8217;t many ports left, are there?  There are three actually, and all those go into a blocked state.  To get rid of the loops, any port that&#8217;s not a root port or a designated port is blocked.  Here&#8217;s the network with the <em>blocked ports</em> marked.</p>
<p><a href="http://aconaway.com/wp-content/uploads/2010/04/STP-Exercise-1-Solution-Blocked-Ports.png"><img class="alignnone size-medium wp-image-667" title="STP Exercise #1 Solution - Blocked Ports" src="http://aconaway.com/wp-content/uploads/2010/04/STP-Exercise-1-Solution-Blocked-Ports-300x275.png" alt="" width="300" height="275" /></a></p>
<p>And we&#8217;re done.  That wasn&#8217;t so hard.</p>
<p>Send me any <del datetime="2010-04-24T22:49:28+00:00">summer home rentals</del> questions.</p>
<p>Audio commentary:</p>
<div class="wp-about-author-containter-around" style="background-color:#ffffff;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/14352aa939196349e4b9f2a272ca5112?s=100&amp;d=&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://aconaway.com/author/jac/' title='Aaron Conaway'>Aaron Conaway</a></h3><p>I like to lean my head to the left, hit it with the palm of my right hand, and document what knowledge falls out.</p><p><a href='http://aconaway.com' title='Aaron Conaway'>Website</a> - <a href='http://aconaway.com/author/jac/' title='More posts by Aaron Conaway'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/04/24/switch-%e2%80%93-stp-exercise-1-solution/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
<enclosure url="http://aconaway.com/wp-content/uploads/2010/04/STP-Exercise-1-Solution.mp3" length="6944065" type="audio/mpeg" />
		</item>
		<item>
		<title>SWITCH &#8211; STP Exercise #1</title>
		<link>http://aconaway.com/2010/04/22/switch-stp-exercise-1/</link>
		<comments>http://aconaway.com/2010/04/22/switch-stp-exercise-1/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 16:52:57 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[ccnp]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[642-813]]></category>
		<category><![CDATA[bridge]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[exercise]]></category>
		<category><![CDATA[stp]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=652</guid>
		<description><![CDATA[Here's a quick exercise to test your STP skills.  Let's play find the root bridge, et.al.]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s an STP exercise for you.  Given the bridge priorities, MAC addresses, and interface types in the diagram, calculate the root bridge, root ports, designated ports, and blocked ports.  You can click on the image to enlarge it.  I&#8217;ll post a solution in the next few days.  As always, feel  free to comment and ridicule my utter idiocy.  Be gentle, though; I don&#8217;t usually post exercises like this.</p>
<p>Send any <span style="text-decoration: line-through;">configuration BPDUs</span> questions my way.</p>
<div id="attachment_653" class="wp-caption alignleft" style="width: 310px"><a href="http://aconaway.com/wp-content/uploads/2010/04/STP-Exercise-1.png"><img class="size-medium wp-image-653   " title="STP Exercise #1" src="http://aconaway.com/wp-content/uploads/2010/04/STP-Exercise-1-300x280.png" alt="" width="300" height="280" /></a><p class="wp-caption-text">STP  Exercsie #1</p></div>
<div class="wp-about-author-containter-around" style="background-color:#ffffff;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/14352aa939196349e4b9f2a272ca5112?s=100&amp;d=&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://aconaway.com/author/jac/' title='Aaron Conaway'>Aaron Conaway</a></h3><p>I like to lean my head to the left, hit it with the palm of my right hand, and document what knowledge falls out.</p><p><a href='http://aconaway.com' title='Aaron Conaway'>Website</a> - <a href='http://aconaway.com/author/jac/' title='More posts by Aaron Conaway'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/04/22/switch-stp-exercise-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BCMSN Notes &#8212; STP States</title>
		<link>http://aconaway.com/2009/05/21/bcmsn-notes-stp-states/</link>
		<comments>http://aconaway.com/2009/05/21/bcmsn-notes-stp-states/#comments</comments>
		<pubDate>Fri, 22 May 2009 01:49:20 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bcmsn]]></category>
		<category><![CDATA[blocking]]></category>
		<category><![CDATA[ccnp]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[forwarding]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[listening]]></category>
		<category><![CDATA[spanning tree]]></category>
		<category><![CDATA[state]]></category>
		<category><![CDATA[stp]]></category>
		<category><![CDATA[switch]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=340</guid>
		<description><![CDATA[I&#8217;ve decided to take on the CCNP certification, so I&#8217;m going to wind up with a few posts will be more my own notes than anything.  :) A switch port on a 2960 comes up with a default configuration on VLAN 1.  What happens from the perspective of spanning-tree? First, the port comes up on blocking mode.  This is to make sure that loops aren&#8217;t created without first listening to the network to see what&#8217;s going on. Next, if the port may be a root or designated port, the port is moved to the listening state.  In this state, the port can send and receives BPDUs only.  It can&#8217;t send traffic, but it can discover the other switches participating in STP. After the forwarding delay, the port goes into the learning state.   In this state, the port can send and receive BPDUs as in listening, but it can now receive traffic.  It can&#8217;t yet send any. After the forwarding delay again, the port goes into the forwarding state.  The port can now send and receive data. If the port is configured with spanning-tree portfast, the mode goes from blocking directly to forwarding without going through these steps.  Obviously you don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided to take on the CCNP certification, so I&#8217;m going to wind up with a few posts will be more my own notes than anything.  :)</p>
<p>A switch port on a 2960 comes up with a default configuration on VLAN 1.  What happens from the perspective of spanning-tree?</p>
<ul>
<li>First, the port comes up on <strong>blocking </strong>mode.  This is to make sure that loops aren&#8217;t created without first listening to the network to see what&#8217;s going on.</li>
<li>Next, if the port may be a root or designated port, the port is moved to the <strong>listening </strong>state.  In this state, the port can send and receives BPDUs only.  It can&#8217;t send traffic, but it can discover the other switches participating in STP.</li>
<li>After the forwarding delay, the port goes into the <strong>learning </strong>state.   In this state, the port can send and receive BPDUs as in listening, but it can now receive traffic.  It can&#8217;t yet send any.</li>
<li>After the forwarding delay again, the port goes into the <strong>forwarding </strong>state.  The port can now send and receive data.</li>
</ul>
<p>If the port is configured with <em>spanning-tree portfast</em>, the mode goes from <strong>blocking </strong>directly to <strong>forwarding </strong>without going through these steps.  Obviously you don&#8217;t want a switch plugged into a port configured for portfast since you may wind up with a loop.</p>
<p>Here&#8217;s the <em>debug spanning-tree events</em> output from one of my labs.  F0/3 is configured for portfast.  I <em>shut</em>/<em>no shut</em> it to see what happens.</p>
<blockquote>
<pre>*Mar  8 18:09:51.163: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down
sw01#
*Mar  8 18:09:51.747: set portid: VLAN0007 Fa0/3: new port id 8003
*Mar  8 18:09:51.747: STP: VLAN0007 Fa0/3 -&gt;jump to forwarding from blocking
sw01#
*Mar  8 18:09:53.739: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to up
*Mar  8 18:09:54.739: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up</pre>
</blockquote>
<p>Notice the &#8220;jump to forwarding from blocking&#8221;.</p>
<p>Here&#8217;s the same output when the port is not in portfast mode.  Notice the timestamps.  It takes about 30 seconds (2 x default foward delay) to go from blocking to listening to learning to forwarding.</p>
<blockquote>
<pre>*Mar  8 18:13:05.313: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down
sw01#
*Mar  8 18:13:06.013: set portid: VLAN0007 Fa0/3: new port id 8003
*Mar  8 18:13:06.013: STP: VLAN0007 Fa0/3 -&gt; listening
sw01#
*Mar  8 18:13:06.381: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to up
*Mar  8 18:13:07.381: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up
sw01#
*Mar  8 18:13:21.013: STP: VLAN0007 Fa0/3 -&gt; learning
sw01#
*Mar  8 18:13:36.013: STP: VLAN0007 Fa0/3 -&gt; forwarding</pre>
</blockquote>
<p>Send any obvious corrections and questions my way.</p>
<div class="wp-about-author-containter-around" style="background-color:#ffffff;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/14352aa939196349e4b9f2a272ca5112?s=100&amp;d=&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://aconaway.com/author/jac/' title='Aaron Conaway'>Aaron Conaway</a></h3><p>I like to lean my head to the left, hit it with the palm of my right hand, and document what knowledge falls out.</p><p><a href='http://aconaway.com' title='Aaron Conaway'>Website</a> - <a href='http://aconaway.com/author/jac/' title='More posts by Aaron Conaway'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2009/05/21/bcmsn-notes-stp-states/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Mixed-platform LANs and Spanning Tree</title>
		<link>http://aconaway.com/2007/08/09/mixed-platform-lans-and-spanning-tree/</link>
		<comments>http://aconaway.com/2007/08/09/mixed-platform-lans-and-spanning-tree/#comments</comments>
		<pubDate>Fri, 10 Aug 2007 02:32:59 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[nortel]]></category>
		<category><![CDATA[stp]]></category>
		<category><![CDATA[switch]]></category>

		<guid isPermaLink="false">http://aconaway.com/2007/08/09/mixed-platform-lans-and-spanning-tree/</guid>
		<description><![CDATA[We just an HP C-class blade chassis which included two GbE2c network modules.  These modules are Nortel switches running AlteonOS that connect the blades to the rest of your network.  When I turned these guys up the other day, every VLAN stopped working, so I ran down to the data center and unplugged the uplink.  I called HP and soon found out that the GbE2c doesn&#8217;t play nice with Cisco switches out-of-the-box.  Since we have a Cisco network (not now, I guess), we can into some problems. By default, Cisco runs Per-VLAN Spanning Tree (PVST).  That means that every VLAN on a Cisco switch has its own Spanning Tree (STP) instance.  The Nortels, however, run a single STP instance for all VLANs, so, when I turned up the uplinks, the single STP started talking to all of the PVSTs on the Cisco switches.  The result was not good.  Every VLAN converged over and over simultaneously, totally locking up the network. When we got that fixed and the uplinks were working, I found another problem &#8212; every switch in the network decided that the Nortels were the root bridges.  While this is not a show-stopper, it can prove to be a [...]]]></description>
			<content:encoded><![CDATA[<p>We just an HP C-class blade chassis which included two GbE2c network modules.  These modules are Nortel switches running AlteonOS that connect the blades to the rest of your network.  When I turned these guys up the other day, every VLAN stopped working, so I ran down to the data center and unplugged the uplink.  I called HP and soon found out that the GbE2c doesn&#8217;t play nice with Cisco switches out-of-the-box.  Since we have a Cisco network (not now, I guess), we can into some problems.</p>
<p>By default, Cisco runs Per-VLAN Spanning Tree (PVST).  That means that every VLAN on a Cisco switch has its own Spanning Tree (STP) instance.  The Nortels, however, run a single STP instance for all VLANs, so, when I turned up the uplinks, the single STP started talking to all of the PVSTs on the Cisco switches.  The result was not good.  Every VLAN converged over and over simultaneously, totally locking up the network.</p>
<p>When we got that fixed and the uplinks were working, I found another problem &#8212; every switch in the network decided that the Nortels were the root bridges.  While this is not a show-stopper, it can prove to be a problem since the root bridge is used by STP to decide where the center of the network is.  It turns out that the GbE2c has a default priority of 32768 (which is the 802.1d standard) and advertise themselves as that.  Cisco switches actually add the VLAN ID to the priority on the PVST, so the Nortels always wind up with the lowest priority.  These things are absolute pieces of crap, so that&#8217;s not a good thing.  I had to take an outage and reduce the priority of two of our core Cisco switches to make everything right.</p>
<p>Moral of the story:  Be careful when you have a mixed-platform LAN environment since competing problems don&#8217;t always (read: never) play nice.</p>
<div class="wp-about-author-containter-around" style="background-color:#ffffff;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/14352aa939196349e4b9f2a272ca5112?s=100&amp;d=&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://aconaway.com/author/jac/' title='Aaron Conaway'>Aaron Conaway</a></h3><p>I like to lean my head to the left, hit it with the palm of my right hand, and document what knowledge falls out.</p><p><a href='http://aconaway.com' title='Aaron Conaway'>Website</a> - <a href='http://aconaway.com/author/jac/' title='More posts by Aaron Conaway'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2007/08/09/mixed-platform-lans-and-spanning-tree/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

