<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Spanning Tree Algorithm Port Path Costs in FAQs</title>
    <link>https://community.extremenetworks.com/t5/faqs/spanning-tree-algorithm-port-path-costs/m-p/41162#M35</link>
    <description>Article ID: 4723 &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Protocols/Features&lt;/B&gt;&lt;BR /&gt;
Spanning Tree &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Standards&lt;/B&gt;&lt;BR /&gt;
802.1d&lt;BR /&gt;
802.1t &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Goals&lt;/B&gt;&lt;BR /&gt;
STA Port Path Costs &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Cause&lt;/B&gt;&lt;BR /&gt;
With the advent of ever-faster port speeds, new methods have arisen for allocating Spanning Tree path costs to ports, based on their speed. &lt;BR /&gt;
&lt;BR /&gt;
This document contrasts the old and new methodologies, and details which Enterasys Networks products adhere to which of the costing methods. &lt;BR /&gt;
&lt;BR /&gt;
See &lt;A href="http://bit.ly/1iwUe4J" target="_blank" rel="nofollow noreferrer noopener"&gt;4832&lt;/A&gt; for 802.1t-related Bridge Priority restrictions. &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Solution&lt;/B&gt;&lt;BR /&gt;
There are three different algorithms which may be found on Enterasys Networks products:&lt;OL&gt; 
&lt;LI&gt;&lt;B&gt;IEEE 802.1D-1990 standard&lt;/B&gt;:&lt;UL&gt; 
&lt;LI&gt;Uses the computation &lt;I&gt;1 x 10 to the 9th power divided by port speed in bits per second&lt;/I&gt; 
&lt;/LI&gt;&lt;LI&gt;Path cost range is 1 - 65,535 
&lt;/LI&gt;&lt;LI&gt;Allocates unique path costs for port speeds up to 600 Mb/s 
&lt;/LI&gt;&lt;LI&gt;Most Spanning Tree products use this method. &lt;BR /&gt;
&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;Extension of the IEEE 802.1D-1998 standard&lt;/B&gt;:&lt;UL&gt; 
&lt;LI&gt;Generally adheres to the 1990 standard, but with variations (both IEEE and Enterasys originated) to correct for shortcomings 
&lt;/LI&gt;&lt;LI&gt;Path cost range is 1 - 65,535 
&lt;/LI&gt;&lt;LI&gt;Allocates unique path costs for port speeds up to 50 Gb/s 
&lt;/LI&gt;&lt;LI&gt;The X-Pedition product line uses this method, with firmware versions E8.2.1.1, and E8.3.0.1 and higher. 
&lt;/LI&gt;&lt;LI&gt;The SmartSwitch 2000/6000 2nd/3rd Generation switches use this method by default, with firmware version 5.04.09 and higher. 
&lt;/LI&gt;&lt;LI&gt;The Vertical Horizon L3 switches use this method exclusively. 
&lt;/LI&gt;&lt;LI&gt;The Vertical Horizon non-L3 switches use this method, as of unknown pre-2.05 firmware version.&lt;/LI&gt;&lt;/UL&gt; &lt;BR /&gt;
&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;IEEE 802.1t-2001 standard&lt;/B&gt;:&lt;UL&gt; 
&lt;LI&gt;Uses the computation &lt;I&gt;2 x 10 to the 13th power divided by port speed in bits per second&lt;/I&gt; 
&lt;/LI&gt;&lt;LI&gt;Path cost range is 1 - 200,000,000 
&lt;/LI&gt;&lt;LI&gt;Allocates unique path costs for port speeds up to 20 Tb/s 
&lt;/LI&gt;&lt;LI&gt;The SmartSwitch 2000/6000 2nd/3rd Generation switches optionally use this method, with firmware version 5.04.09 and higher. 
&lt;/LI&gt;&lt;LI&gt;The Matrix E1 switches optionally use this method.&lt;/LI&gt;&lt;/UL&gt;
BPDUs are capable of carrying 32 bits of Path Cost information; however, IEEE Std. 802.1D, 1998 Edition and earlier revisions of this standard limited the range of the Path Cost parameter to a 16-bit unsigned integer value of 65535. The recommended values of the 802.1t standard make use of the full 32-bit range available in BPDUs in order to extend the range of link speeds supported by the protocol. Limiting the range of the Path Cost parameter to a 200,000,000 maximum value ensures that the accumulated Path Cost cannot exceed 32 bits over a concatenation of 20 hops.&lt;BR /&gt;
             Link Speed ==&amp;gt; Path Cost&lt;BR /&gt;
&lt;BR /&gt;
               802.1D-1990   802.1D-1998    802.1t-2001&lt;BR /&gt;
 Link Speed       Cost          Cost           Cost&lt;BR /&gt;
&lt;BR /&gt;
  10 Kb/s       65,535        65,535        200,000,000[3]&lt;BR /&gt;
 100 Kb/s       10,000        10,000        200,000,000[3]&lt;BR /&gt;
   1 Mb/s         1000          1000         20,000,000[3]&lt;BR /&gt;
   2 Mb/s          500           500         10,000,000[3]&lt;BR /&gt;
   3 Mb/s          333           333          6,666,666[3]&lt;BR /&gt;
   4 Mb/s          250           250[2]       5,000,000[3]&lt;BR /&gt;
   5 Mb/s          200           200          4,000,000[3]&lt;BR /&gt;
   6 Mb/s          166           166          3,333,333[3]&lt;BR /&gt;
   7 Mb/s          142           142          2,857,142[3]&lt;BR /&gt;
   8 Mb/s          125           125          2,500,000[3]&lt;BR /&gt;
   9 Mb/s          111           111          2,222,222[3]&lt;BR /&gt;
  10 Mb/s          100            99[2]       2,000,000[3]&lt;BR /&gt;
  16 Mb/s           62            62[2]       1,250,000[3]&lt;BR /&gt;
  20 Mb/s           50            90          1,000,000[3]&lt;BR /&gt;
  30 Mb/s           33            81            666,666[3]&lt;BR /&gt;
  40 Mb/s           25            72            500,000[3]&lt;BR /&gt;
  50 Mb/s           20            63            400,000[3]&lt;BR /&gt;
  60 Mb/s           16            54            333,333[3]&lt;BR /&gt;
  70 Mb/s           14            45            285,714[3]&lt;BR /&gt;
  80 Mb/s           12            36            250,000[3]&lt;BR /&gt;
  90 Mb/s           11            27            222,222[3]&lt;BR /&gt;
 100 Mb/s           10            19[2]         200,000[3]&lt;BR /&gt;
 200 Mb/s            5            17            100,000[3]&lt;BR /&gt;
 300 Mb/s            3            15             66,666[3]&lt;BR /&gt;
 400 Mb/s            2            14             50,000&lt;BR /&gt;
 500 Mb/s            2            12             40,000&lt;BR /&gt;
 600 Mb/s            1            10             33,333&lt;BR /&gt;
 700 Mb/s            1             9             28,571&lt;BR /&gt;
 800 Mb/s            1             7             25,000&lt;BR /&gt;
 900 Mb/s            1             5             22,222&lt;BR /&gt;
   1 Gb/s            1             4[2]          20,000&lt;BR /&gt;
   2 Gb/s            1             4             10,000&lt;BR /&gt;
   3 Gb/s            1             4              6,666&lt;BR /&gt;
   4 Gb/s            1             4              5,000&lt;BR /&gt;
   5 Gb/s            1             3              4,000&lt;BR /&gt;
   6 Gb/s            1             3              3,333&lt;BR /&gt;
   7 Gb/s            1             3              2,857&lt;BR /&gt;
   8 Gb/s            1             3              2,500&lt;BR /&gt;
   9 Gb/s            1             2              2,222&lt;BR /&gt;
  10 Gb/s            1             2[2]           2,000&lt;BR /&gt;
  50 Gb/s            1             1                400&lt;BR /&gt;
 100 Gb/s            1             1                200&lt;BR /&gt;
   1 Tb/s            1             1                 20&lt;BR /&gt;
  10 Tb/s            1             1                  2&lt;BR /&gt;
  20 Tb/s            1             1                  1&lt;/LI&gt;&lt;/UL&gt;
[&lt;B&gt;2&lt;/B&gt;] The IEEE Std 802.1D, 1998 Edition standard lists only these designated entries. The remainder of entries in this column are Enterasys-originated extensions of the original suggested pattern. &lt;BR /&gt;
&lt;BR /&gt;
[&lt;B&gt;3&lt;/B&gt;] Bridges conformant to IEEE Std 802.1D, 1998 Edition, i.e., that support only 16-bit values for Path Cost, should use 65535 as the Path Cost for these link speeds when used in conjunction with Bridges that support 32 bit Path Cost values. &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Note:&lt;/B&gt;&lt;BR /&gt;
802.1D Spanning Tree uses the dot1dBridge=1.3.6.1.2.1.17 mib. &lt;BR /&gt;
&lt;BR /&gt;
Implementations of 802.1t will likely use the new ietf-bridge-bridgemib-smiv2 mib, which is an update to RFC1493; as well as supporting some measure of switch-level control over the port costs in use, by means of the ietf-bridge-rstpmib mib.&lt;BR /&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Wed, 04 Dec 2013 04:49:00 GMT</pubDate>
    <dc:creator>FAQ_User</dc:creator>
    <dc:date>2013-12-04T04:49:00Z</dc:date>
    <item>
      <title>Spanning Tree Algorithm Port Path Costs</title>
      <link>https://community.extremenetworks.com/t5/faqs/spanning-tree-algorithm-port-path-costs/m-p/41162#M35</link>
      <description>Article ID: 4723 &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Protocols/Features&lt;/B&gt;&lt;BR /&gt;
Spanning Tree &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Standards&lt;/B&gt;&lt;BR /&gt;
802.1d&lt;BR /&gt;
802.1t &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Goals&lt;/B&gt;&lt;BR /&gt;
STA Port Path Costs &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Cause&lt;/B&gt;&lt;BR /&gt;
With the advent of ever-faster port speeds, new methods have arisen for allocating Spanning Tree path costs to ports, based on their speed. &lt;BR /&gt;
&lt;BR /&gt;
This document contrasts the old and new methodologies, and details which Enterasys Networks products adhere to which of the costing methods. &lt;BR /&gt;
&lt;BR /&gt;
See &lt;A href="http://bit.ly/1iwUe4J" target="_blank" rel="nofollow noreferrer noopener"&gt;4832&lt;/A&gt; for 802.1t-related Bridge Priority restrictions. &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Solution&lt;/B&gt;&lt;BR /&gt;
There are three different algorithms which may be found on Enterasys Networks products:&lt;OL&gt; 
&lt;LI&gt;&lt;B&gt;IEEE 802.1D-1990 standard&lt;/B&gt;:&lt;UL&gt; 
&lt;LI&gt;Uses the computation &lt;I&gt;1 x 10 to the 9th power divided by port speed in bits per second&lt;/I&gt; 
&lt;/LI&gt;&lt;LI&gt;Path cost range is 1 - 65,535 
&lt;/LI&gt;&lt;LI&gt;Allocates unique path costs for port speeds up to 600 Mb/s 
&lt;/LI&gt;&lt;LI&gt;Most Spanning Tree products use this method. &lt;BR /&gt;
&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;Extension of the IEEE 802.1D-1998 standard&lt;/B&gt;:&lt;UL&gt; 
&lt;LI&gt;Generally adheres to the 1990 standard, but with variations (both IEEE and Enterasys originated) to correct for shortcomings 
&lt;/LI&gt;&lt;LI&gt;Path cost range is 1 - 65,535 
&lt;/LI&gt;&lt;LI&gt;Allocates unique path costs for port speeds up to 50 Gb/s 
&lt;/LI&gt;&lt;LI&gt;The X-Pedition product line uses this method, with firmware versions E8.2.1.1, and E8.3.0.1 and higher. 
&lt;/LI&gt;&lt;LI&gt;The SmartSwitch 2000/6000 2nd/3rd Generation switches use this method by default, with firmware version 5.04.09 and higher. 
&lt;/LI&gt;&lt;LI&gt;The Vertical Horizon L3 switches use this method exclusively. 
&lt;/LI&gt;&lt;LI&gt;The Vertical Horizon non-L3 switches use this method, as of unknown pre-2.05 firmware version.&lt;/LI&gt;&lt;/UL&gt; &lt;BR /&gt;
&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;IEEE 802.1t-2001 standard&lt;/B&gt;:&lt;UL&gt; 
&lt;LI&gt;Uses the computation &lt;I&gt;2 x 10 to the 13th power divided by port speed in bits per second&lt;/I&gt; 
&lt;/LI&gt;&lt;LI&gt;Path cost range is 1 - 200,000,000 
&lt;/LI&gt;&lt;LI&gt;Allocates unique path costs for port speeds up to 20 Tb/s 
&lt;/LI&gt;&lt;LI&gt;The SmartSwitch 2000/6000 2nd/3rd Generation switches optionally use this method, with firmware version 5.04.09 and higher. 
&lt;/LI&gt;&lt;LI&gt;The Matrix E1 switches optionally use this method.&lt;/LI&gt;&lt;/UL&gt;
BPDUs are capable of carrying 32 bits of Path Cost information; however, IEEE Std. 802.1D, 1998 Edition and earlier revisions of this standard limited the range of the Path Cost parameter to a 16-bit unsigned integer value of 65535. The recommended values of the 802.1t standard make use of the full 32-bit range available in BPDUs in order to extend the range of link speeds supported by the protocol. Limiting the range of the Path Cost parameter to a 200,000,000 maximum value ensures that the accumulated Path Cost cannot exceed 32 bits over a concatenation of 20 hops.&lt;BR /&gt;
             Link Speed ==&amp;gt; Path Cost&lt;BR /&gt;
&lt;BR /&gt;
               802.1D-1990   802.1D-1998    802.1t-2001&lt;BR /&gt;
 Link Speed       Cost          Cost           Cost&lt;BR /&gt;
&lt;BR /&gt;
  10 Kb/s       65,535        65,535        200,000,000[3]&lt;BR /&gt;
 100 Kb/s       10,000        10,000        200,000,000[3]&lt;BR /&gt;
   1 Mb/s         1000          1000         20,000,000[3]&lt;BR /&gt;
   2 Mb/s          500           500         10,000,000[3]&lt;BR /&gt;
   3 Mb/s          333           333          6,666,666[3]&lt;BR /&gt;
   4 Mb/s          250           250[2]       5,000,000[3]&lt;BR /&gt;
   5 Mb/s          200           200          4,000,000[3]&lt;BR /&gt;
   6 Mb/s          166           166          3,333,333[3]&lt;BR /&gt;
   7 Mb/s          142           142          2,857,142[3]&lt;BR /&gt;
   8 Mb/s          125           125          2,500,000[3]&lt;BR /&gt;
   9 Mb/s          111           111          2,222,222[3]&lt;BR /&gt;
  10 Mb/s          100            99[2]       2,000,000[3]&lt;BR /&gt;
  16 Mb/s           62            62[2]       1,250,000[3]&lt;BR /&gt;
  20 Mb/s           50            90          1,000,000[3]&lt;BR /&gt;
  30 Mb/s           33            81            666,666[3]&lt;BR /&gt;
  40 Mb/s           25            72            500,000[3]&lt;BR /&gt;
  50 Mb/s           20            63            400,000[3]&lt;BR /&gt;
  60 Mb/s           16            54            333,333[3]&lt;BR /&gt;
  70 Mb/s           14            45            285,714[3]&lt;BR /&gt;
  80 Mb/s           12            36            250,000[3]&lt;BR /&gt;
  90 Mb/s           11            27            222,222[3]&lt;BR /&gt;
 100 Mb/s           10            19[2]         200,000[3]&lt;BR /&gt;
 200 Mb/s            5            17            100,000[3]&lt;BR /&gt;
 300 Mb/s            3            15             66,666[3]&lt;BR /&gt;
 400 Mb/s            2            14             50,000&lt;BR /&gt;
 500 Mb/s            2            12             40,000&lt;BR /&gt;
 600 Mb/s            1            10             33,333&lt;BR /&gt;
 700 Mb/s            1             9             28,571&lt;BR /&gt;
 800 Mb/s            1             7             25,000&lt;BR /&gt;
 900 Mb/s            1             5             22,222&lt;BR /&gt;
   1 Gb/s            1             4[2]          20,000&lt;BR /&gt;
   2 Gb/s            1             4             10,000&lt;BR /&gt;
   3 Gb/s            1             4              6,666&lt;BR /&gt;
   4 Gb/s            1             4              5,000&lt;BR /&gt;
   5 Gb/s            1             3              4,000&lt;BR /&gt;
   6 Gb/s            1             3              3,333&lt;BR /&gt;
   7 Gb/s            1             3              2,857&lt;BR /&gt;
   8 Gb/s            1             3              2,500&lt;BR /&gt;
   9 Gb/s            1             2              2,222&lt;BR /&gt;
  10 Gb/s            1             2[2]           2,000&lt;BR /&gt;
  50 Gb/s            1             1                400&lt;BR /&gt;
 100 Gb/s            1             1                200&lt;BR /&gt;
   1 Tb/s            1             1                 20&lt;BR /&gt;
  10 Tb/s            1             1                  2&lt;BR /&gt;
  20 Tb/s            1             1                  1&lt;/LI&gt;&lt;/UL&gt;
[&lt;B&gt;2&lt;/B&gt;] The IEEE Std 802.1D, 1998 Edition standard lists only these designated entries. The remainder of entries in this column are Enterasys-originated extensions of the original suggested pattern. &lt;BR /&gt;
&lt;BR /&gt;
[&lt;B&gt;3&lt;/B&gt;] Bridges conformant to IEEE Std 802.1D, 1998 Edition, i.e., that support only 16-bit values for Path Cost, should use 65535 as the Path Cost for these link speeds when used in conjunction with Bridges that support 32 bit Path Cost values. &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Note:&lt;/B&gt;&lt;BR /&gt;
802.1D Spanning Tree uses the dot1dBridge=1.3.6.1.2.1.17 mib. &lt;BR /&gt;
&lt;BR /&gt;
Implementations of 802.1t will likely use the new ietf-bridge-bridgemib-smiv2 mib, which is an update to RFC1493; as well as supporting some measure of switch-level control over the port costs in use, by means of the ietf-bridge-rstpmib mib.&lt;BR /&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 04 Dec 2013 04:49:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/faqs/spanning-tree-algorithm-port-path-costs/m-p/41162#M35</guid>
      <dc:creator>FAQ_User</dc:creator>
      <dc:date>2013-12-04T04:49:00Z</dc:date>
    </item>
  </channel>
</rss>

