<?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>Cisco Switching Archives - Network Guy</title>
	<atom:link href="https://networkguy.de/category/cisco-switching/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Share your knowledge!</description>
	<lastBuildDate>Sun, 06 Aug 2017 11:07:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://networkguy.de/wp-content/uploads/2016/09/cropped-og-image-32x32.jpg</url>
	<title>Cisco Switching Archives - Network Guy</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">35051042</site>	<item>
		<title>Spanning-Tree between HP Comware and Cisco</title>
		<link>https://networkguy.de/spanning-tree-between-hp-comware-and-cisco/</link>
					<comments>https://networkguy.de/spanning-tree-between-hp-comware-and-cisco/#comments</comments>
		
		<dc:creator><![CDATA[Michel]]></dc:creator>
		<pubDate>Tue, 16 May 2017 09:08:49 +0000</pubDate>
				<category><![CDATA[Cisco Switching]]></category>
		<category><![CDATA[HPE Networking]]></category>
		<guid isPermaLink="false">https://networkguy.de/?p=1599</guid>

					<description><![CDATA[<p>In the past, I had many problems with a heterogene infrastructure containing HPE 5000 Comware devices and Cisco Catalyst switches. I couldn&#8217;t get Multiple Spanning-Tree (MSTP) on the run (same revision number, same case-sensitive region-name). So we decided to go on with Per VLAN Rapid Spanning-Tree. But this also didn&#8217;t work, also no other VLANs that [&#8230;]</p>
<p>The post <a href="https://networkguy.de/spanning-tree-between-hp-comware-and-cisco/">Spanning-Tree between HP Comware and Cisco</a> appeared first on <a href="https://networkguy.de">Network Guy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In the past, I had many problems with a heterogene infrastructure containing HPE 5000 Comware devices and Cisco Catalyst switches. I couldn&#8217;t get Multiple Spanning-Tree (MSTP) on the run (same revision number, same case-sensitive region-name). So we decided to go on with Per VLAN Rapid Spanning-Tree. But this also didn&#8217;t work, also no other VLANs that VLAN 1 could be transported, Cisco runs into PVST simulation with correct MSTP configuration (Messages like &#8220;Bound(PVST)&#8221; and &#8220;*PVST_Inc&#8221; in show spanning-tree output), etc. After several attempts we got a final configuration.</p>
<p>Cisco and HP have also different STP path-costs -.-</p>
<p><a href="https://networkguy.de/wp-content/uploads/2017/05/stp-costs.png"><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-1600" src="https://networkguy.de/wp-content/uploads/2017/05/stp-costs.png" alt="" width="1206" height="305" srcset="https://networkguy.de/wp-content/uploads/2017/05/stp-costs.png 1206w, https://networkguy.de/wp-content/uploads/2017/05/stp-costs-300x76.png 300w, https://networkguy.de/wp-content/uploads/2017/05/stp-costs-768x194.png 768w, https://networkguy.de/wp-content/uploads/2017/05/stp-costs-1024x259.png 1024w" sizes="(max-width: 1206px) 100vw, 1206px" /></a></p>
<p>Our next problem was, that two connected Cisco Switches auto-negotiat their interconnects as trunk-ports (VLAN 2-4094 tagged). In case that we migrate to our new 5700 HPE comware switch, we needed also to configure each uplink port like this:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">interface GigabitEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk</pre>
<p>we consistent configured this stp configuration on the cisco switches:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">spanning-tree mode rapid-pvst
spanning-tree extend system-id</pre>
<p>keeping in mind, that we need the same path-cost at Cisco and HP switches, this was our final HP configuration (this switch was also the root-bridge):</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">stp vlan 1-4094 priority 0
stp mode pvst
stp pathcost-standard dot1d-1998
stp global enable</pre>
<p>So &#8220;dot1d-1998&#8221; brings the path-cost-calculation to the Cisco level :) I hope that I can help some people. Didn&#8217;t find any direct solution to my problem online about this.</p>
<p>The post <a href="https://networkguy.de/spanning-tree-between-hp-comware-and-cisco/">Spanning-Tree between HP Comware and Cisco</a> appeared first on <a href="https://networkguy.de">Network Guy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://networkguy.de/spanning-tree-between-hp-comware-and-cisco/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1599</post-id>	</item>
		<item>
		<title>Cisco Telnet hack available :)</title>
		<link>https://networkguy.de/cisco-telnet-hack-available/</link>
					<comments>https://networkguy.de/cisco-telnet-hack-available/#respond</comments>
		
		<dc:creator><![CDATA[Michel]]></dc:creator>
		<pubDate>Tue, 21 Mar 2017 21:12:57 +0000</pubDate>
				<category><![CDATA[Cisco Switching]]></category>
		<guid isPermaLink="false">https://networkguy.de/?p=1574</guid>

					<description><![CDATA[<p>Ok&#8230; cracking is bad&#8230; but enabling telnet is worse! &#8220;Cisco is warning of a new critical zero-day IOS / IOS XE vulnerability that affects more than 300 of its switch models. The company identified this highest level of vulnerability in its product while analyzing &#8220;Vault 7&#8221; — a roughly 8,761 documents and files leaked by [&#8230;]</p>
<p>The post <a href="https://networkguy.de/cisco-telnet-hack-available/">Cisco Telnet hack available :)</a> appeared first on <a href="https://networkguy.de">Network Guy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Ok&#8230; cracking is bad&#8230; but enabling telnet is worse!</p>
<p><a href="https://networkguy.de/wp-content/uploads/2017/03/1362913881093.gif"><img decoding="async" class="alignnone size-full wp-image-1575" src="https://networkguy.de/wp-content/uploads/2017/03/1362913881093.gif" alt="" width="370" height="263" /></a></p>
<p>&#8220;Cisco is warning of a new critical zero-day IOS / IOS XE vulnerability that affects more than 300 of its switch models. The company identified this highest level of vulnerability in its product while analyzing &#8220;<a href="https://wikileaks.org/ciav7p1/" target="_blank">Vault 7</a>&#8221; — a roughly 8,761 documents and files leaked by Wikileaks last week, claiming to detail hacking tools and tactics of the Central Intelligence Agency (CIA).&#8221;</p>
<p>More here: <a href="http://thehackernews.com/2017/03/cisco-network-switch-exploit.html" target="_blank">http://thehackernews.com/2017/03/cisco-network-switch-exploit.html</a></p>
<p>&nbsp;</p>
<p>The post <a href="https://networkguy.de/cisco-telnet-hack-available/">Cisco Telnet hack available :)</a> appeared first on <a href="https://networkguy.de">Network Guy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://networkguy.de/cisco-telnet-hack-available/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1574</post-id>	</item>
		<item>
		<title>Cisco switch &#8220;inline power denied&#8221;</title>
		<link>https://networkguy.de/cisco-switch-inline-power-denied/</link>
					<comments>https://networkguy.de/cisco-switch-inline-power-denied/#respond</comments>
		
		<dc:creator><![CDATA[Michel]]></dc:creator>
		<pubDate>Mon, 22 Aug 2016 08:17:15 +0000</pubDate>
				<category><![CDATA[Cisco Mobility]]></category>
		<category><![CDATA[Cisco Switching]]></category>
		<guid isPermaLink="false">http://networkguy.de/?p=1335</guid>

					<description><![CDATA[<p>I had a curios problem with the new Cisco Aironet access points &#8220;AIR-AP2702I-UXK9&#8221;. This are universal (country-independent) APs. After several seconds, the access points from this series (connected directly to the PoE switches) made a power reset. Powering this APs with PoE-Injector solved the problem. The Cisco switches used in the environment are 3550 series. The installed firmware [&#8230;]</p>
<p>The post <a href="https://networkguy.de/cisco-switch-inline-power-denied/">Cisco switch &#8220;inline power denied&#8221;</a> appeared first on <a href="https://networkguy.de">Network Guy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I had a curios problem with the new Cisco Aironet access points &#8220;AIR-AP2702I-UXK9&#8221;. This are universal (country-independent) APs. After several seconds, the access points from this series (connected directly to the PoE switches) made a power reset. Powering this APs with PoE-Injector solved the problem. The Cisco switches used in the environment are 3550 series. The installed firmware is from 2004 and I thought it could be a problem with CDP and PoE. So I debugged CDP events on the Cisco switch. The AP starts again (without the injector) and after the reset, I could see the following debug messages:</p>
<blockquote><p>012844: Aug 22 09:51:45: CDP-EV: Unrecognized type (22) seen in TLV<br />
012845: Aug 22 09:51:45: CDP-EV: Number of addresses &lt;0&gt; in Address Tlv is NOT &gt; 0<br />
012846: Aug 22 09:51:45: CDP-EV: Number of addresses &lt;0&gt; in Mgmt Address Tlv is NOT &gt; 0<br />
012847: Aug 22 09:51:52: CDP-EV: Unrecognized type (22) seen in TLV<br />
012848: Aug 22 09:51:52: CDP-EV: Invalid protocol type (0)<br />
012849: Aug 22 09:51:53: CDP-EV: Unrecognized type (22) seen in TLV<br />
012850: Aug 22 09:51:53: CDP-EV: Invalid protocol type (0)<br />
012851: Aug 22 09:52:49: CDP-EV: Unrecognized type (19) seen in TLV<br />
012852: Aug 22 09:52:49: CDP-EV: Unrecognized type (22) seen in TLV<br />
012853: Aug 22 09:52:49: CDP-EV: Invalid protocol type (0)<br />
012854: Aug 22 09:52:49: %ILPOWER-5-ILPOWER_POWER_DENY: Interface Fa0/11: inline power denied</p></blockquote>
<p>Normally, the APs are taking 15 or 15.4 watt power but the 2700er series needs at least 16.8 watt to run at &#8220;PoE/Full Power&#8221;. So it asks via CDP to get more. The old switch (or maybe the old firmware) doesn&#8217;t understand the new AP CDP, so the switch denys inline power as a precaution. Deactivating CDP on this specific port also solves the problem, but the AP is running in &#8220;PoE/Medium Power&#8221; (which is not good; Cyclic Shift Diversity (CSD) disabled, 2 of 4 transmitters disabled, data rates MCS  8-15 disabled), no spatial stream possible, etc.; see <a href="http://www.cisco.com/c/en/us/td/docs/wireless/controller/8-0/configuration-guide/b_cg80/b_cg80_chapter_01111010.html" target="_blank">here </a>and <a href="http://www.cisco.com/c/en/us/td/docs/wireless/technology/apdeploy/8-0/Cisco_Aironet_3700AP.html#pgfId-99003" target="_blank">here</a>).</p>
<p>Maybe a firmware update could solve the problem, we couldn&#8217;t test this by now. The customer will use newer switches at the new aimed location.</p>
<p>The post <a href="https://networkguy.de/cisco-switch-inline-power-denied/">Cisco switch &#8220;inline power denied&#8221;</a> appeared first on <a href="https://networkguy.de">Network Guy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://networkguy.de/cisco-switch-inline-power-denied/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1335</post-id>	</item>
		<item>
		<title>StackWise configuration with Cisco Catalyst 3750-X Series</title>
		<link>https://networkguy.de/stackwise-configuration-with-cisco-catalyst-3750-x-series/</link>
					<comments>https://networkguy.de/stackwise-configuration-with-cisco-catalyst-3750-x-series/#comments</comments>
		
		<dc:creator><![CDATA[Michel]]></dc:creator>
		<pubDate>Mon, 01 Jul 2013 13:36:36 +0000</pubDate>
				<category><![CDATA[Cisco Switching]]></category>
		<guid isPermaLink="false">http://networkguy.de/?p=473</guid>

					<description><![CDATA[<p>Today I will open the box of pandora of switch virtualization :) Switch virtualization is needed for configure etherchannels or LACP over two or more devices, configuration-redundancy, single-configuration and easy network expansion. In this example I will show you how to configure a stackwise cluster with Cisco Catalyst 3750-X switches:   with Cisco StackWise you can [&#8230;]</p>
<p>The post <a href="https://networkguy.de/stackwise-configuration-with-cisco-catalyst-3750-x-series/">StackWise configuration with Cisco Catalyst 3750-X Series</a> appeared first on <a href="https://networkguy.de">Network Guy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Today I will open the box of pandora of switch virtualization :) Switch virtualization is needed for configure etherchannels or LACP over two or more devices, configuration-redundancy, single-configuration and easy network expansion. In this example I will show you how to configure a stackwise cluster with Cisco Catalyst 3750-X switches:</p>
<p style="text-align: center;"> <a href="http://networkguy.de/wp-content/uploads/2013/07/stackwise1.jpg"><img decoding="async" class="alignnone size-full wp-image-475" src="http://networkguy.de/wp-content/uploads/2013/07/stackwise1.jpg" alt="stackwise1" width="581" height="778" srcset="https://networkguy.de/wp-content/uploads/2013/07/stackwise1.jpg 581w, https://networkguy.de/wp-content/uploads/2013/07/stackwise1-224x300.jpg 224w, https://networkguy.de/wp-content/uploads/2013/07/stackwise1-145x195.jpg 145w" sizes="(max-width: 581px) 100vw, 581px" /></a></p>
<p>with Cisco StackWise you can bound several standalone-switches to one core-switch (the backbone will be connected together with Stacking-Cables (0,5, 1 or 3 meters):</p>
<p style="text-align: center;"><a href="http://networkguy.de/wp-content/uploads/2013/07/stackwise2.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-482" src="http://networkguy.de/wp-content/uploads/2013/07/stackwise2.jpg" alt="stackwise2" width="581" height="778" srcset="https://networkguy.de/wp-content/uploads/2013/07/stackwise2.jpg 581w, https://networkguy.de/wp-content/uploads/2013/07/stackwise2-224x300.jpg 224w, https://networkguy.de/wp-content/uploads/2013/07/stackwise2-145x195.jpg 145w" sizes="(max-width: 581px) 100vw, 581px" /></a></p>
<p><a href="http://networkguy.de/wp-content/uploads/2013/07/stackwise3.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-481 aligncenter" src="http://networkguy.de/wp-content/uploads/2013/07/stackwise3.jpg" alt="stackwise3" width="778" height="581" srcset="https://networkguy.de/wp-content/uploads/2013/07/stackwise3.jpg 778w, https://networkguy.de/wp-content/uploads/2013/07/stackwise3-300x224.jpg 300w, https://networkguy.de/wp-content/uploads/2013/07/stackwise3-620x463.jpg 620w, https://networkguy.de/wp-content/uploads/2013/07/stackwise3-195x145.jpg 195w" sizes="(max-width: 778px) 100vw, 778px" /></a></p>
<p>You can connect two devices with only one StackWise-Cable but for full bandwith and redundant connection, you need to connect the devices to a ring topology:</p>
<p><a href="http://networkguy.de/wp-content/uploads/2013/07/stackwise-cable-visio.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-478 aligncenter" src="http://networkguy.de/wp-content/uploads/2013/07/stackwise-cable-visio.png" alt="stackwise-cable-visio" width="606" height="394" srcset="https://networkguy.de/wp-content/uploads/2013/07/stackwise-cable-visio.png 606w, https://networkguy.de/wp-content/uploads/2013/07/stackwise-cable-visio-300x195.png 300w, https://networkguy.de/wp-content/uploads/2013/07/stackwise-cable-visio-195x126.png 195w" sizes="(max-width: 606px) 100vw, 606px" /></a></p>
<p>&nbsp;</p>
<p>Before connecting two devices together, make sure that both devices have the same IOS software installed. The configuration of the StackWise Cluster is done automatically by connecting the stack cable. One switch will be the master within the cluster. The election is done as follow at connect or boot:</p>
<ol>
<li>Specified by user</li>
<li>Switch with the highest IOS feature-set (Advanced Enterprise wins against Advanced IP Services)</li>
<li>Uptime (longest running Switch wins)</li>
<li>MAC Address (Switch with the lowest mac addresses will become master)</li>
</ol>
<p>I recommend to configure the priority value of each switch so the configuration and the physical structure (top-down, A, B, C, etc.) keeps straight and didn&#8217;t confuse the administrator or someone who needs to troubleshoot the infrastructure OR you have differnet switch-models within one cluster. In our example Switch A is running for an hour and we connect another device (same device-model, same IOS software) to the main switch with a stacking cable. The second device &#8220;Switch B&#8221; will be select as Slave, because we didn&#8217;t configure anything and &#8220;Switch A&#8221; has a longer uptime. You will see that other interfaces are coming up and you can view all devices with this:</p>
<blockquote>
<pre>CoreSwitch# show switch
                                               Current
<b>Switch#</b>  Role      Mac Address     Priority     State
--------------------------------------------------------
 <b>1</b>       Master    0016.4748.ff12     5         Ready
 <b>2</b>       Slave     0016.9d59.db00     1         Ready</pre>
</blockquote>
<p>The stack member number is the same as can be seen in the interfaces:</p>
<p>interface GigabitEthernet1/0/1 = 1st Port of  Switch with ID #1<br />
interface GigabitEthernet2/0/1 = 1st Port of Switch with ID #2</p>
<p>You can define the priority of each switch. The higher the priority, the lower the switch stack-member-number. For example, we have three switches named 1,2 and 3 from top to down, 1 is connected with 2, 2 is connected with 3 and 3 is connected with 1 to connect a ring topology. We will configure the priority value with this commands:</p>
<blockquote><p>switch 1 priority 15<br />
switch 2 priority 14<br />
switch 3 priority 13</p></blockquote>
<p>in this case switch 2 will keep his stack-member-number 2, regardless at which time the device is rebooting or powered on. This is important because the configuration is shared on all switches within the StackWise Cluster and we don&#8217;t want to have similar port configurations on switch-members where the specific devices aren&#8217;t connected. Let us see this example:</p>
<p><a href="http://networkguy.de/wp-content/uploads/2013/07/stackwise-visio.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-474 aligncenter" src="http://networkguy.de/wp-content/uploads/2013/07/stackwise-visio.png" alt="stackwise-visio" width="1054" height="484" srcset="https://networkguy.de/wp-content/uploads/2013/07/stackwise-visio.png 1054w, https://networkguy.de/wp-content/uploads/2013/07/stackwise-visio-300x138.png 300w, https://networkguy.de/wp-content/uploads/2013/07/stackwise-visio-1024x470.png 1024w, https://networkguy.de/wp-content/uploads/2013/07/stackwise-visio-940x431.png 940w, https://networkguy.de/wp-content/uploads/2013/07/stackwise-visio-620x284.png 620w, https://networkguy.de/wp-content/uploads/2013/07/stackwise-visio-195x89.png 195w" sizes="(max-width: 1054px) 100vw, 1054px" /></a></p>
<p>&nbsp;</p>
<p>As you can see we are using two StackWise switches with the same model. The upper switch has ethernet ports defined from 1/0/1 to 1/0/24. The bottom switch has the ports 2/0/1 to 2/0/24. So the stack number defines the first backbone-number in the gigabitEthernet port name. When you didn&#8217;t configure the priorit values, the master election will always select the switch with the longest uptime as the master. Let us consider, that the first switch is a master and the second one (top-down) is the slave, if both switches are powered down and you first start the bottom one and after seconds the top one: The bottom switch will become the master node (port-configuration 1/../..) and the top one will be elected to a slave node with ID #2 (port-configuration 2/../..). When both switches are configured as a mirror, you will have no problem, but if the ports are configured different, you will get problems.</p>
<p>You can also stack different models together or can pre-configure a cluster configuration by just adding this line to your configuration:</p>
<blockquote><p>switch 2 provision ws-c3750x-12s</p></blockquote>
<p>In this case, the IOS knows that there will be another switch clustered together and the C3750X-12S has twelve ports, so you can see that another twelve ports are coming up to be configured. At the moment you connect a fresh 3750-X-12S Catalyst switch, the device will add himself to the Stack, reboots and the pre-configured ports can be used directly.</p>
<p>To view and verify you stack-healthness you can use this command:</p>
<blockquote><p>CoreSwitch# show platform stack-manager all</p></blockquote>
<p>I hope I could explain as much as you need :) feel free to add comments and help me to complete this guide and explainations. I will add a new post for switch virtualization built with HP A5500 switches soon.</p>
<p>The post <a href="https://networkguy.de/stackwise-configuration-with-cisco-catalyst-3750-x-series/">StackWise configuration with Cisco Catalyst 3750-X Series</a> appeared first on <a href="https://networkguy.de">Network Guy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://networkguy.de/stackwise-configuration-with-cisco-catalyst-3750-x-series/feed/</wfw:commentRss>
			<slash:comments>23</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">473</post-id>	</item>
		<item>
		<title>Spanning Tree Protocol and PXE Boot</title>
		<link>https://networkguy.de/spanning-tree-protocol-and-pxe-boot/</link>
					<comments>https://networkguy.de/spanning-tree-protocol-and-pxe-boot/#respond</comments>
		
		<dc:creator><![CDATA[Michel]]></dc:creator>
		<pubDate>Mon, 01 Jul 2013 12:08:03 +0000</pubDate>
				<category><![CDATA[Cisco Switching]]></category>
		<guid isPermaLink="false">http://networkguy.de/?p=470</guid>

					<description><![CDATA[<p>Most of us is using STP (Spanning Tree Protocol) within switched networks. In the last days I had problems on one location of a customer. We distribute new Cisco Catalyst 3750-X switches to the location and didn&#8217;t understand why desktop clients can&#8217;t boot via DHCP/PXE (Preboot Execution Environment). With globally activated STP/RTSP on the switches, every [&#8230;]</p>
<p>The post <a href="https://networkguy.de/spanning-tree-protocol-and-pxe-boot/">Spanning Tree Protocol and PXE Boot</a> appeared first on <a href="https://networkguy.de">Network Guy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Most of us is using STP (Spanning Tree Protocol) within switched networks. In the last days I had problems on one location of a customer. We distribute new Cisco Catalyst 3750-X switches to the location and didn&#8217;t understand why desktop clients can&#8217;t boot via DHCP/PXE (Preboot Execution Environment). With globally activated STP/RTSP on the switches, every new connect on an ethernet-port will go through these statements: Blocking &#8211; Listening &#8211; Learning &#8211; Forwarding. Here an explanation from <a href="http://en.wikipedia.org/wiki/Spanning_Tree_Protocol" target="_blank">Wikipedia</a>:</p>
<ul>
<li>Blocking &#8211; A port that would cause a switching loop if it were active. No user data is sent or received over a blocking port, but it may go into forwarding mode if the other links in use fail and the spanning tree algorithm determines the port may transition to the forwarding state. BPDU data is still received in blocking state. Prevents the use of looped paths.</li>
<li>Listening &#8211; The switch processes BPDUs and awaits possible new information that would cause it to return to the blocking state. It does not populate the MAC address table and it does not forward frames.</li>
<li>Learning &#8211; While the port does not yet forward frames it does learn source addresses from frames received and adds them to the filtering database (switching database). It populates the MAC Address table, but does not forward frames.</li>
<li>Forwarding &#8211; A port receiving and sending data, normal operation. STP still monitors incoming BPDUs that would indicate it should return to the blocking state to prevent a loop.</li>
</ul>
<p>So when the desktop pc is starting, the port is coming up and is listening to BPDU packets and learning source addresses from received frames (in STP this longs to 45 seconds). You can see this also that the port LED is shining in an orange color. If the port will be switched to forwarding state (green LED) packets are forwarded (for example broadcast packet for receiving an IP address from a DHCP server). This procedure cost some seconds and the desktop PCs are mostly faster than this, so the client isn&#8217;t getting an IP address and can&#8217;t boot from a PXE server.</p>
<p>You can solve this problem by activate PortFast globally or on specific ports (which I prefer):</p>
<blockquote><p>MySwitch(config)# interface range GigabitEthernet1/0/1 -20<br />
MySwitch(config-if-range)# spanning-tree portfast</p></blockquote>
<p>You will get a warning like this:</p>
<blockquote><p>%Warning: portfast should only be enabled on ports connected to a single<br />
host. Connecting hubs, concentrators, switches, bridges, etc&#8230; to this<br />
interface when portfast is enabled, can cause temporary bridging loops.<br />
Use with CAUTION<br />
%Portfast will be configured in 20 interfaces due to the range command<br />
but will only have effect when the interfaces are in a non-trunking mode.</p></blockquote>
<p>With this action you disable STP on this ports, so you will be able to setup loops in your network which is not a good idea. You can prevent this by configuring the command &#8220;<strong>spanning-tree bpduguard enable</strong>&#8221; so the port is also listening for BDPU packets from other STP-switches to prevent loops. If the interface is receiving BDPU packets you will have no loop because the interface state is changing to &#8220;err-disable&#8221; with warning &#8220;%SPANTREE-2-BLOCK_BPDUGUARD&#8221;. You can disconnect this port from the other switch and can bring him back to life with &#8220;<strong>shutdown</strong>&#8221; and &#8220;<strong>no shutdown</strong>&#8221; the specific interface. After activating PortFast on the client ports of my customer, the clients are getting IP addresses fine and can boot via PXE.</p>
<p>To globally activate PortFast on all access mode ports with BPDU guard enable you can configure this:</p>
<blockquote><p>MySwitch(config)# spanning-tree portfast bpduguard</p></blockquote>
<p>&nbsp;</p>
<p>The post <a href="https://networkguy.de/spanning-tree-protocol-and-pxe-boot/">Spanning Tree Protocol and PXE Boot</a> appeared first on <a href="https://networkguy.de">Network Guy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://networkguy.de/spanning-tree-protocol-and-pxe-boot/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">470</post-id>	</item>
	</channel>
</rss>
