Spanning-Tree Pathcost Method - Cisco Catalyst 2960-X Command Reference Manual

Layer 2
Hide thumbs Also See for Catalyst 2960-X:
Table of Contents

Advertisement

spanning-tree pathcost method

spanning-tree pathcost method
To set the default path-cost calculation method, use the spanning-tree pathcost method command in global
configuration mode. 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
Command Default
short
Command Modes
Global configuration
Command History
Release
Cisco IOS 15.0(2)EX
Usage Guidelines
The long path-cost calculation method utilizes all 32 bits for path-cost calculation and yields values in the
range of 1 through 200,000,000.
The short path-cost calculation method (16 bits) yields values in the range of 1 through 65535.
Examples
This example shows how to set the default path-cost calculation method to long:
Switch(config)#spanning-tree pathcost method long
This example shows how to set the default path-cost calculation method to short:
Switch(config)#spanning-tree pathcost method short
Catalyst 2960-X Switch Layer 2 Command Reference, Cisco IOS Release 15.0(2)EX
104
Specifies the 32-bit based values for default port-path costs.
Specifies the 16-bit based values for default port-path costs.
Modification
This command was introduced.
Layer 2 Commands
OL-29043 -01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents