spanning-tree path-cost-method

Configures all ports running Spanning Tree Protocol (STP) to alter the path costs to match either the 802.1D 1998 path costs or the 802.1D 2004 path costs.
Syntax
spanning-tree path-cost-method [ long | short ]
no spanning-tree path-cost-method [ long | short ]
Command Default

The default path cost method is short (802.1D 1998 path costs).

Parameters
long
Configures all ports running STP to use the 802.1D 2004 path costs.
short
Configures all ports running STP to use the 802.1D 1998 path costs.
Modes

Global configuration mode

Usage Guidelines

The 802.1D 2004 defined set of path costs allows for faster port speeds and all network bridges must be running the same set of STP path costs.

The no form of the command returns all ports running STP to the default 802.1D 1998 path costs.

Examples

The following example configures all ports running STP to use the 802.1D 2004 path cost method for determining STP path costs.

device# configure terminal
device(config)# spanning-tree path-cost-method long
History
Release version Command history
08.0.70 This command was introduced.