STP Commands
spanning-tree pathcost method
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
436
33
User Guidelines
The priority value must be a multiple of 4096.
The switch with the lowest priority is the root of the STP.
Example
switchxxxxxx(config)#
spanning-tree mst 1 priority 4096
spanning-tree pathcost method
To set the default path cost method, use the spanning-tree pathcost method
Global Configuration mode command.
Syntax
spanning-tree pathcost method {long | short}
Parameters
•
long—The default port path costs are within the range 1 through
200,000,000.
•
short—The default port path costs are within the range 1 through 65,535.
Default Configuration
Short path cost method
Command Mode
Global Configuration mode
User Guidelines
This command applies to all STP instances on the switch.
•
If the short method is selected, the switch calculates cost in the range 1
through 65,535.
•
If the long method is selected, the switch calculates cost in the range 1
through 200,000,000.