<?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; switch</title>
	<atom:link href="http://aconaway.com/tag/switch/feed/" rel="self" type="application/rss+xml" />
	<link>http://aconaway.com</link>
	<description>Not something you want to hear</description>
	<lastBuildDate>Wed, 08 Sep 2010 14:39:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Stubby Post &#8211; What&#8217;s an IDB?</title>
		<link>http://aconaway.com/2010/09/03/stubby-post-whats-an-idb/</link>
		<comments>http://aconaway.com/2010/09/03/stubby-post-whats-an-idb/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 18:07:54 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[cisco]]></category>
		<category><![CDATA[block]]></category>
		<category><![CDATA[descriptor]]></category>
		<category><![CDATA[idb]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[limit]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[switch]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=998</guid>
		<description><![CDATA[What the heck is an IDB?]]></description>
			<content:encoded><![CDATA[<p>I <a href="http://twitter.com/aconaway/status/22554005934">posed the philosophical question</a> on Twitter the other day asking if single trunk links should be in an EtherChannel bundle just in case you need to expand later.  I didn&#8217;t really expect an answer, but the ever-verbose <a href="http://twitter.com/WannabeCCIE">@WannabeCCIE</a> pointed out (in not so many words) that you should watch your IDBs.  What is that?</p>
<p>That&#8217;s an <a href="http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_tech_note09186a0080094322.shtml">interface descriptor block</a>.  I admit that I&#8217;m not intimately familiar with them, bu they&#8217;re data structs in IOS used to keep track of the interfaces on that device.  They come in two flavors &#8211; hardware and software.  HWIDBs usually represent a physical interface but they also represent tunnels, SVIs, PortChannels, subinterfaces, and any other virtual interface that you can configure.  The SWIDBs represent the layer-2 encapsulation of each HWIDB, so you&#8217;ll see entries talking about Ethernet, HDLC, PPP, etc.  That means that every interface you have on a router consumes two IDBs (there are always exceptions).  That&#8217;s important because each platform and IOS version combination has a limit to the number IDBs that device supports.</p>
<p>If you check out <a href="http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_tech_note09186a0080094322.shtml#idb_limits">one of Cisco&#8217;s pages on IDBs</a>, you&#8217;ll see a pretty table showing the limits.  The 3640 running 12.4(25b) that I run in my GNS3 lab has a limit of 800 IDBs.  That means that I can have 400 interfaces configured at most.  That little 800 series router running 12.1T that you still have running at the VP&#8217;s house has an IDB limit of 300 or 150 interfaces.  The 7200 in the data center running 12.3 can handle 20,000 IDBS or 10,000 interfaces!</p>
<p>If you guessed that you can see your IDBs by typing <em>show idb</em>, then you guessed right.  That will show you the IDB limit, how many are being used, a summary table, and a list of all the IDBs with their details.  Remember that there may be more interfaces on your device that just physical.  You may have an SVI, loopback interface, or even a null or two.  These all count towards the limit.</p>
<p>Before you get freaked out and start checking the IDB limits on all your devices, take a breath.  I&#8217;ve never run into the IDB limit on any device and I&#8217;ve never heard of anyone who has.  I&#8217;m sure someone has, but I don&#8217;t remember hearing about any.  Think about it for a second.  If I took my 3640 and filled it with 4 NM-16ESWs, I&#8217;d only have 128 IDBs used (16 ports * 4 modules * 2 IDBs for each port).  Don&#8217;t forget the null interface and VLAN 1 SVI by default (VLANs take 1; VLAN SVIs take 2 each).  That brings the count to 133.  Let&#8217;s add 100 more VLANs and SVIs on this guy.  Now we&#8217;re up to 433.  How about we put each interface into a channel group of its own.  That adds another 128, which is 561.  Only 239 more to go.</p>
<p>Unless you&#8217;re doing something out of the ordinary, I don&#8217;t think the IDB limit will be a problem.  Of course, that depends on your definition of &#8220;ordinary&#8221;.</p>
<p>Send any <span style="text-decoration: line-through;">sort indexes</span> questions my way.</p>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/09/03/stubby-post-whats-an-idb/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Catalyst 3750s &#8211; Bad Luck with a Cisco Logo</title>
		<link>http://aconaway.com/2010/08/30/catalyst-3750s-bad-luck-with-a-cisco-logo/</link>
		<comments>http://aconaway.com/2010/08/30/catalyst-3750s-bad-luck-with-a-cisco-logo/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 02:17:46 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[cisco]]></category>
		<category><![CDATA[3750]]></category>
		<category><![CDATA[switch]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=994</guid>
		<description><![CDATA[I've had some very bad luck with Cisco 3750 switches.]]></description>
			<content:encoded><![CDATA[<p>Last week, <a href="http://twitter.com/fletcherjoyce">@fletcherjoyce</a> posted <a href="http://reloadin10.wordpress.com/2010/08/28/catalyst-3750-are-they-really-that-bad/">an article on his blog</a> about his positive experiences with Cisco&#8217;s 3750 switches.  If you follow my <span style="text-decoration: line-through;">complaints</span> <a href="http://twitter.com/aconaway">tweets</a>, you know that I&#8217;ve had quite the opposite experience with them.  I would never pick on anyone, but I had to throw in my 2 cents.</p>
<p>I&#8217;m guessing here, but we have about 50 3750 stacks in the enterprise.  Most of them are pairs, you wind up with roughly 120 switches.  Since we&#8217;ve done about 20 replacements over the last 5 years, that means we have a 17% failure rate.  That&#8217;s pretty horrible, isn&#8217;t it?</p>
<p>For the most part and with few (if any) exception, we use the 3750s as  aggregation points for our access switches.  We don&#8217;t do QoS on them.   We don&#8217;t do any access control on them.  We don&#8217;t even do routing on  them.  They&#8217;re simply used to connect all the access switches in the  closet to the core, so they&#8217;re not doing anything funky or burdensome.  The CPU and memory are always well within normal operating parameters.  They just fail and fail repeatedly.</p>
<p>The flies started dropping in closets at our corporate headquarters a few years ago.  It was the middle of summer, and the temperatures kept rising to over 90F (32C) until the we lost 3 switches in 3 weeks.  If you could stand to make it into the closet, you could feel that the sheet metal of the switches was hot enough to make you pull your hand back!  When the facilities team added more cooling, the temperatures dropped to around 82F there (28C), but we continued losing switches.  I figured the newly-failed switches were feeling the effects of the earlier heat wave and were just getting around to giving up the ghost.  Surely the heat was the culprit.</p>
<p>A few months after our headquarters meltdown, a tech for a satellite office called and asked if we could help with some latency issues.  He showed me the switch stacks throughout the building, and I noticed that only one of the 10 switches actually had a label.  The tech said that he never got around to relabeling them after they were replaced.  Some, he said, had been replaced multiple times.  The closets were running about 76F (24C), so heat didn&#8217;t seem to be the problem at this location.  The closets were clean as a whistle, and everything in the racks was on building UPS.  I couldn&#8217;t find a pattern at all.  <em>For the record, all their latency issues were related to two unrelated 3750s.  Two RMAs later, and their problems were gone.</em></p>
<p>I&#8217;ve been trying to find patterns for the failures, but I can&#8217;t think of any.  If it&#8217;s heat, humidity, power, dust, etc., then why are we not replacing 2950s as well?  There are 4-10 of them for every 3750s stack we have.  We&#8217;re replacing them, but it&#8217;s a rate of less than 1%.  If it is environment, then the 2950s are English hooligans compared to the 3750s being French aristocracy.  Maybe it&#8217;s sabotage.  I still don&#8217;t know after years of watching RMA after RMA come in.</p>
<p>I have noticed one pattern, though.  The only deployments of 3750s that have never had a problem are in data centers.  They seem to love any room that has an ambient temperature of 62F (16C) with less than 40% humidity and large volumes of air flow.  If only we could install micro-data centers in all our closets, then I would be a happy network dude.</p>
<p>Send any <span style="text-decoration: line-through;">wooden shoes</span> questions my way.</p>
<p>Edit:  I went back and checked our TAC cases to see what switches we actually replaced.  It turns out that we&#8217;ve done 19 replacements, and they&#8217;ve all been 3750G-12S-S switches.</p>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/08/30/catalyst-3750s-bad-luck-with-a-cisco-logo/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Stubby Post &#8211; VTP Clients Send Updates</title>
		<link>http://aconaway.com/2010/05/17/stubby-post-vtp-clients-send-updates/</link>
		<comments>http://aconaway.com/2010/05/17/stubby-post-vtp-clients-send-updates/#comments</comments>
		<pubDate>Tue, 18 May 2010 00:36:07 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ccnp]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[642-812]]></category>
		<category><![CDATA[642-813]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[vtp]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=748</guid>
		<description><![CDATA[Here's one that's been rehashed countless times concerning a VTP client taking down your network.]]></description>
			<content:encoded><![CDATA[<p>VTP clients send VLAN updates.  Did you know that?</p>
<p>I had a VTP server and client in the same VTP domain, and, when I cabled up the trunk, the client overwrote the VLAN database on the server.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/dLBwKV04fNw&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/dLBwKV04fNw&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>The moral of the story is that the best revision number will win no matter what the operating mode of the switch.</p>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/05/17/stubby-post-vtp-clients-send-updates/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SWITCH &#8211; Epic Regression</title>
		<link>http://aconaway.com/2010/05/10/switch-epic-regression/</link>
		<comments>http://aconaway.com/2010/05/10/switch-epic-regression/#comments</comments>
		<pubDate>Tue, 11 May 2010 01:35:33 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[cisco]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[642-812]]></category>
		<category><![CDATA[642-813]]></category>
		<category><![CDATA[mcmsn]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=743</guid>
		<description><![CDATA[Just because I like giving more money to Pearson Vue, I took the BCMSN test today to see how I would do.  I passed with no problem.]]></description>
			<content:encoded><![CDATA[<p>Just because I like giving more money to Pearson Vue, I took the BCMSN test today to see how I would do.  I passed with no problem.</p>
<p>In my mind, the CCNP is a technical certification, so I expect to be tested on technical topics.  Are there topics beyond technology that P-levels should know?  Of course there are, but I really don&#8217;t think whole chunks of the test should be about a preparation plan and rollback procedures.  The BCMSN had a lot more technical questions at a much higher level of expertise; it seems much better suited to the CCNP track than the SWITCH test did.</p>
<p>I was really surprised at how many questions today were repeats from the SWITCH test last week.  Of the three lab exercises I worked, two of them were exactly the same as last week.  I would venture to guess that there were also 8 to 10 repeated multiple choice questions.  It seems that this is going against my argument of being more technical, though, doesn&#8217;t it?  If you mix in the remaining questions that were at a much higher technical level, you wind up with a pretty darn good test.</p>
<p>I&#8217;ve really got nothing more to say about the BCMSN.  It&#8217;s a good test with an appropriate level of technical (and paper-pushing) detail.  I&#8217;m very glad I was able to take it before the 31 July 2010 deadline, and I advise anyone who needs the SWITCH test to try and do the same.</p>
<p>The next stop is ROUTE (642-902) for me.  I&#8217;m taking a class on that one soon, so I&#8217;m confident I can pass it in the next 11 weeks we have left until the deadline.</p>
<p>Audio commentary</p>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/05/10/switch-epic-regression/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
<enclosure url="http://aconaway.com/wp-content/uploads/2010/05/SWITCH-Epic-Regression.mp3" length="2838464" type="audio/mpeg" />
		</item>
		<item>
		<title>SWITCH &#8211; Epic Fail</title>
		<link>http://aconaway.com/2010/05/06/switch-epic-fail/</link>
		<comments>http://aconaway.com/2010/05/06/switch-epic-fail/#comments</comments>
		<pubDate>Thu, 06 May 2010 21:49:20 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[ccnp]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[642-813]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=723</guid>
		<description><![CDATA[I did my standard 2ish-hour drive to the closest testing center today to take the SWTCH test (642-813).  Utter failure.  That’s 3 for those scoring at home.]]></description>
			<content:encoded><![CDATA[<p>I did my standard 2ish-hour drive to the closest testing center today to take the SWTCH test (642-813).  Utter failure.  That’s 3 for those scoring at home.</p>
<p>The test was the absolute worst I’ve ever taken.  I know that I complain a lot, but this is totally justified in my eyes.  My 4th grade spelling tests were better than this.  I’ve seen kindergarten plays with better production value.</p>
<p>First of all, it was poorly written.  Whoever wrote those questions has a few pieces of information about English sentence structure missing from their skill set.  A sentence needs a verb, right?  Well, a lot of the sentences were missing those.  It’s kind of important to know what the whole point of the sentence is, or is that too much to ask?  The “drag this over here” exercise questions all started with the same 13-word phrase that left the question so long that it was unreadable.  A couple of commas would have been nice in some.  Others I just had to infer from the answers what they were trying to ask.</p>
<p>There were lots of spelling errors as well.  Most of them were just stupid stuff like switched letters or missing characters, but, at one point, I had to figure out that I needed to look at the “router” instead of the “route”.  That’s not really cool.  The misspellings were so bad that they were actually misspelling the hostnames on the diagrams provided.  Does anyone even try any more?</p>
<p>Let’s talk about the technical level of the test.  If I didn’t know any better, I would swear I was taking a CCNA test.  The technical material was so elementary that it bordered on comical.  If I recall correctly (which I never do), there were about 3 questions on trunking which were so easy that my wife could answer them.  There were about 4 FHRP questions that were out of the “Cisco for Dummies” book.  I could go on, but I have better things about which to complain.</p>
<p>“So,” you might ask, “why did you fail it if it was so easy?”  That’s a great question.  I failed it because the name of the test is misleading.  When Cisco says “Implementing Cisco IP Switched Networks”, they really mean “Collecting Documentation About VLANs.”  There were at least four questions on this test that asked what information you need to collect before implementing some unknown step of a project involving VLANs.  Sometimes, the reference was to rollback plans.  Sometimes it discussed IP assignments.  Sometimes it even talked about collecting user requirements.  It seemed that nearly half of the questions on the test discussed planning for making changes or preparing change documentation.  There was very little “implementing.”</p>
<p>To top it all off, too, one of my labs froze.  I entered a command into a router, and it didn’t come back.  I couldn’t change to the other lab windows, either (the “Scenario” or “Topology” windows included), but my timer kept ticking.  I could click around in the testing software, but the lab itself was toast.  I got the administrator who helped me out a bit after the machine was rebooted.  I didn’t run out of time or anything, but getting up to find help to troubleshoot a problem really throws you off.</p>
<p>How about some closing words?  First of all, I have given up on the Cisco Press books and other materials.  Each time I use them they have little to no coverage about topics on the test itself.  The ISCW was that way, and we all know about my problems with the ONT.  I figured that those were just aged text, but SWITCH is only a month or two old, isn’t it?  That means the test hasn’t had that much time to change, but the materials are totally different already.</p>
<p>I actually have an example of the books leading the reader directly away from the test materials.  I’m reading from the “CCNP SWITCH 642-813 Quick Reference” book by Donohue.  On page 8, it discusses the <a href="http://www.cisco.com/global/EMEA/IPNGN/ppdioo_method.html">PPDIOO lifecycle approach</a>.</p>
<blockquote><p>Network engineers at the CCNP level will likely be involved at the implementation and following phases.  They can also participate in the design phase.</p></blockquote>
<p>That doesn’t make any sense, does it?  Didn’t I just say that there were a good number of questions on preparation (the first P) and planning (the second P).  Both of those come before the design phase.</p>
<p>Somebody help me out here.  What am I missing?  Is there some magical book series that has the answers?</p>
<p>I should have bought testing vouchers in bulk when they were $150.</p>
<p>Audio commentary</p>
<p><strong>UPDATE</strong>:  It seems that the idea of seeing topics on the exam that aren&#8217;t are the test go beyond just me.  I&#8217;m getting in touch with as many people related to the SWITCH book as I can to let them know that this is a serious problem.  I&#8217;m sure I&#8217;ll have a post or two on the outcome of that effort.</p>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/05/06/switch-epic-fail/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
<enclosure url="http://aconaway.com/wp-content/uploads/2010/05/SWITCH-Epic-Fail.mp3" length="2491134" type="audio/mpeg" />
		</item>
		<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>]]></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>]]></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 &#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>]]></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 [...]]]></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.  <img src='http://aconaway.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </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>]]></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>Using SSH to Run Commands on a Router or Switch</title>
		<link>http://aconaway.com/2009/04/30/using-ssh-to-run-commands-on-a-router-or-switch/</link>
		<comments>http://aconaway.com/2009/04/30/using-ssh-to-run-commands-on-a-router-or-switch/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 14:54:52 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[csm]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[privilege]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[switch]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=322</guid>
		<description><![CDATA[SSH is more than just a shell.  You can copy files from and to a server or piece of network gear with it.  You can use it to tunnel traffic.  Possibly my favorite, though, is to use SSH to run a command on a remote box without interacting with a shell. One of my biggest [...]]]></description>
			<content:encoded><![CDATA[<p>SSH is more than just a shell.  You can copy files from and to a server or piece of network gear with it.  You can use it to tunnel traffic.  Possibly my favorite, though, is to use SSH to run a command on a remote box without interacting with a shell.</p>
<p>One of my biggest pet peeves with IOS (or pretty much any Cisco OS) is the lack of complex filtering.  Let&#8217;s say I want to look at all the downed ports and interfaces on modules 3 and 6 of my 6509.  I can&#8217;t easily do that with command from the IOS, but, on my Linux box, I can use multiple <em>grep </em>commands to get exactly what I want really easily.  Let&#8217;s work through the example, shall we?</p>
<p>To start with, let&#8217;s just do a <em>show ip int brief</em> without getting a shell on the switch.</p>
<blockquote>
<pre>ssh my.switch.com "show ip int brief"</pre>
</blockquote>
<p>When you run this and give your password, you see the output we&#8217;ve all learned to love, and, now that you&#8217;ve got it in STDOUT on your Linux box, you can start filtering. Now, let&#8217;s use <em>grep </em>to find the downed ports and interfaces on modules 3 and 6.</p>
<blockquote>
<pre>ssh my.switch.com "show ip int brief" | grep down | grep Ethernet[36]</pre>
</blockquote>
<p>How about downed ports and interfaces on modules 3 and 6 that not administratively down?</p>
<blockquote>
<pre>ssh my.switch.com "show ip int brief" | grep down | grep Ethernet[36] | grep -v admin</pre>
</blockquote>
<p>I&#8217;ll stop there, but it can go on and on.  Read up on regular expression and/or grep if you don&#8217;t know what we&#8217;re doing here.</p>
<p>What&#8217;s really happening is that we&#8217;re taking the output of the command &#8220;ssh &#8230;.&#8221; and piping it (with |) to the command <em>grep</em>.  We can send it to whatever command we want, though, so don&#8217;t be shy.  I&#8217;ve actually written several scripts that take output of commands like <em>show int description</em> on a router to generate some reports.  When I want to run one of those, I do something like this.</p>
<blockquote>
<pre>ssh my.switch.com "show int desc" | parseOutput.pl</pre>
</blockquote>
<p>There&#8217;s always a gotcha or two to watch for, isn&#8217;t there?  I&#8217;ve found a couple.</p>
<p>First, your command runs at your privilege level, so, if your user is priv 1, you&#8217;re not going to be able to do a <em>show run</em> or <em>reload</em>.  You could just ignore security for a bit and set your privilege to 15, but I don&#8217;t recommend doing anything like that.  Before you say it, you&#8217;ll probably have a hard time with enabling as well.  You can only run one command at a time, so you would just enable yourself and get kicked off.  Not very helpful.</p>
<p>Another problem I see is the lack of public/private key pair support on Cisco devices.  On a Linux box, you can copy your keys around, and those are presented in lieu of a password.  Since (most) Cisco devices don&#8217;t have home directories, there&#8217;s no place to drop the keys, and we&#8217;re left with just using passwords.  Support for this would be nice, but the security problems associated with keep SSH keys and user home directories are probably too much to even think about.</p>
<p>What else?  Oh, yeah.  The PIX/FWSM/ASA family supports SSH, but it acts differently from the IOS guys.  When you run a command through SSH, you actually get an interactive shell with the command already on the CLI for you. This is probably by design; the only thing you can really do from a non-priv prompt is to <em>enable</em>.</p>
<p>Anyway, send any <span style="text-decoration: line-through;">grilling tips</span> questions my way.</p>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2009/04/30/using-ssh-to-run-commands-on-a-router-or-switch/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
