Spanning-Tree Pathcost Method - Cisco 4500M Command Reference Manual

Command reference
Hide thumbs Also See for 4500M:
Table of Contents

Advertisement

Chapter2
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 32-bit-based values.
Command Modes
Global configuration
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
show spanning-tree
78-16201-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.
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
spanning-tree pathcost method
2-439

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c4507r4500 series

Table of Contents