UMN:CLI User Manual
V5808
300
Tab. 8.2 STP Path-cost (short)
Tab. 8.3 RSTP Path-cost (long)
To decide the path-cost calculation method, use the following command.
spanning-tree pathcost method
long
Selects the method for calculating a RSTP path-cost:
long: 32 bits of RSTP path-cost (IEEE 802.1D-2004).
spanning-tree pathcost method
short
Selects the method for calculating a STP path-cost:
short: 16bits of STP path-cost (IEEE 802.1D-1998).
To display the configured method for calculating the path-cost, use the following
command.
show spanning-tree pathcost
method
Shows the configured method for calculating the path-
cost.
To delete a configured method for caculating the path-cost and return the configuration to
the default, use the following command.
no spanning-tree pathcost
method
Deletes the configured method of path-cost. (default:
long)
When the route decided by path-cost gets overloading, you would better take another
route. Considering these situations, it is possible to configure the path-cost of root port so
that user can configure a route manually. To specify the path-cost value, use the following
command.