{"id":833,"date":"2021-08-20T03:08:46","date_gmt":"2021-08-20T03:08:46","guid":{"rendered":"http:\/\/feralpacket.org\/?p=833"},"modified":"2021-08-20T03:08:46","modified_gmt":"2021-08-20T03:08:46","slug":"rapid-stp-rstp-notes","status":"publish","type":"post","link":"https:\/\/feralpacket.org\/?p=833","title":{"rendered":"Rapid STP (RSTP) Notes"},"content":{"rendered":"<p><span style=\"font-weight: bold;\">Rapid STP (RSTP)<\/span><\/p>\n<p>&nbsp;&#8211; 802.1W<\/p>\n<p>&nbsp;&#8211; STP plus fast convergence features<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/84afd7b0dff653dab20ae4005087628e.jpeg\" style=\"\" width=\"\" height=\"\"><\/p>\n<p>&nbsp;&#8211; No forward-delay or max-age-time<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Theoretical reconvergence time is up to 6 seconds<\/p>\n<p><span style=\"font-weight: bold;\">New Port Types<\/span><\/p>\n<p>&nbsp;&#8211; Access ports \u2014&gt; Edge port<\/p>\n<p>&nbsp;&#8211; Trunk port \u2014&gt; Point-to-Point port<\/p>\n<p>&nbsp;&#8211; Switch to Hub \u2014&gt; Shared port<\/p>\n<p>&nbsp;&#8211; Multiple connections to a Hub \u2014&gt; All ports except one will become Backup ports<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Backup ports are ports that receive our own BPDUs<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/9b371bbfb50da0dc1ebb45cee94c2dac.jpeg\" style=\"\" width=\"\" height=\"\"><\/p>\n<p>Failover does not have to wait for reconvergence<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/52c4bfbb9f56b9f730d56ccc97c0fdc9.jpeg\" style=\"\" width=\"\" height=\"\"><\/p>\n<p><span style=\"font-weight: bold;\">Proposal<\/span><\/p>\n<p>&nbsp;&#8211; Please make this port a root port<\/p>\n<p>&nbsp;&#8211; Receiving switch<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Disconnect from rest of topology<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Decide<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Send agreement<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Make port a root port<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Reconnect to the rest of topology<\/p>\n<p>&nbsp;&#8211; Disagreement<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Both switches don\u2019t want to change port to a root port<\/p>\n<p>&nbsp;&#8211; The root bridge never sends an agreement<\/p>\n<p><span style=\"font-weight: bold;\">Proposal and Agreement Procedure<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp;1. &nbsp;In RSTP once the root bridge is elected, it sends a Proposal message out all designated ports<\/p>\n<p>&nbsp; &nbsp; &nbsp;2. &nbsp;The Proposal is a request to make the receiving port a root port<\/p>\n<p>&nbsp; &nbsp; &nbsp;3. &nbsp;Whenever a switch receives a Proposal, it disconnects itself from the rest of the topology to decide to agree or disagree<\/p>\n<p>&nbsp; &nbsp; &nbsp;4. &nbsp;If agree, an Agreement message is sent back and the sending port becomes a root port<\/p>\n<p>&nbsp; &nbsp; &nbsp;5. &nbsp;Once the root port is decided, the switch sends Proposal messages further out potential designated ports<\/p>\n<p><span style=\"font-weight: bold;\">Configuring RSTP<\/span><\/p>\n<p>SW1(config)# <span style=\"background-color: rgb(255, 250, 165);-evernote-highlight:true;\">&nbsp;spanning-tree mode rapid-pvst<\/span><\/p>\n<p><span style=\"font-weight: bold;\">Convergence Methods<\/span><\/p>\n<p>&nbsp;&#8211; Only two<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; STP&nbsp;<\/p>\n<p>&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;-&gt; Slower<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; RSTP<\/p>\n<p>&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;-&gt; Faster<\/p>\n<p>&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;-&gt; Used by MST for convergence<\/p>\n<p><span style=\"font-weight: bold;\">Topological Design<\/span><\/p>\n<p>&nbsp; &#8211; STP to VLAN mapping<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Common Spanning Tree (CST)<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Per-VLAN Spanning Tree (PVST)<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Per-VLAN Spanning Tree + (PVST+)<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Multiple Spanning Tree (MST)<\/p>\n<p><span style=\"font-weight: bold;\">Common Spanning Tree (CST)<\/span><\/p>\n<p>&nbsp;&#8211; One STP instance for all VLANs<\/p>\n<p>&nbsp;&#8211; Only one root election<\/p>\n<p>&nbsp;&#8211; Limited to 100 VLANs<\/p>\n<p>&nbsp;&#8211; No load balancing between links or switches<\/p>\n<p>&nbsp;&#8211; Only supports dot1q<\/p>\n<p>&nbsp;&#8211; Only supports STP for convergence<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/105b19034740d0d16bfa5552c69a14e1.jpeg\" style=\"\" width=\"\" height=\"\"><\/p>\n<p><span style=\"font-weight: bold;\">Per-VLAN Spanning Tree (PVST)<\/span><\/p>\n<p>&nbsp;&#8211; One STP instance per VLAN<\/p>\n<p>&nbsp;&#8211; 100 VLANs means<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; 100 STP instances<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; 100 root bridges<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; 100 BPDUs<\/p>\n<p>&nbsp;&#8211; Only supports ISL<\/p>\n<p>&nbsp;&#8211; Only supports STP for convergence<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/f374ba609e0feebbb6d2c804441c50d8.jpeg\" style=\"\" width=\"\" height=\"\"><\/p>\n<p><span style=\"font-weight: bold;\">Per-VLAN Spanning Tree + (PVST+)<\/span><\/p>\n<p>&nbsp;&#8211; Supports both ISL and dot1q<\/p>\n<p>&nbsp;&#8211; Supports both STP and RSTP for convergence<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Rapid STP (RSTP)<\/p>\n","protected":false},"author":1,"featured_media":828,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[31,61,15],"class_list":["post-833","post","type-post","status-publish","format-standard","hentry","category-ccie","tag-published","tag-spanning-tree","tag-stp"],"_links":{"self":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/833","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=833"}],"version-history":[{"count":1,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/833\/revisions"}],"predecessor-version":[{"id":971,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/833\/revisions\/971"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/media\/828"}],"wp:attachment":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=833"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}