HP Cisco MDS 9222i Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 221
spanning-tree pathcost method
View all HP Cisco MDS 9222i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 221 highlights
Chapter 2 Ethernet Commands spanning-tree pathcost method Send comments to [email protected] spanning-tree pathcost method To set the default path-cost calculation method, use the spanning-tree pathcost method command. To return to the default settings, use the no form of this command. spanning-tree pathcost method {long | short} no spanning-tree pathcost method Syntax Description long short Specifies the 32-bit based values for port path costs. Specifies the 16-bit based values for port path costs. Command Default Short. Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines The long path-cost calculation method uses all 32 bits for path-cost calculations and yields valued in the range of 2 through 2,00,000,000. The short path-cost calculation method (16 bits) yields values in the range of 1 through 65535. Note This command applies only to the Rapid PVST+ spanning tree mode, which is the default mode. When you are using MST spanning tree mode, the switch uses only the long method for calculating path cost; this is not user-configurable for MST. Examples This example shows how to set the default pathcost method to long: switch(config)# spanning-tree pathcost method long Related Commands Command show spanning-tree summary Description Displays information about the spanning tree state. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-73