Spanning-Tree Pathcost Method - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches

spanning-tree pathcost method

To set the path cost calculation method, use the spanning-tree pathcost method command. To revert to
the default setting, use the no form of this command.
Syntax Description
long
short
Defaults
Port path cost has 16-bit-based values.
Command Modes
Global configuration mode
Command History
Release
12.1(8a)EW
Usage Guidelines
This command applies to all the spanning-tree instances on the switch.
The long path cost calculation method uses all the 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 65,535.
Examples
This example shows how to set the path cost calculation method to long:
Switch(config) spanning-tree pathcost method long
Switch(config)
This example shows how to set the path cost calculation method to short:
Switch(config) spanning-tree pathcost method short
Switch(config)
Related Commands
Command
show spanning-tree
OL-27596 -01
spanning-tree pathcost method {long | short}
no spanning-tree pathcost method
Specifies 32-bit-based values for port path costs.
Specifies 16-bit-based values for port path costs.
Modification
Support for this command was introduced on the Catalyst 4500 series switch..
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
Description
Displays spanning-tree state information.
spanning-tree pathcost method
2-1005

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents