Cisco Catalyst 4500 Series Configuration Manual page 1083

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
spanning-tree cost
To calculate the path cost of STP on an interface, use the spanning-tree cost command. To revert to the
default, use the no form of this command.
Syntax Description
cost
Command Default
The default settings are as follows:
Command Modes
Interface configuration mode
Command History
Release
12.1(8a)EW
Usage Guidelines
When you configure the cost, the higher values indicate higher costs. The range applies regardless of the
protocol type that is specified. The path cost is calculated, based on the interface bandwidth.
Examples
The following example shows how to access an interface and set a path cost value of 250 for the
spanning-tree VLAN that is associated with that interface:
Switch(config)# interface fastethernet 2/1
Switch(config-if)# spanning-tree cost 250
Switch(config-if)#
Related Commands
Command
spanning-tree portfast
spanning-tree portfast (interface
configuration mode)
spanning-tree port-priority
spanning-tree uplinkfast
spanning-tree vlan
show spanning-tree
spanning-tree cost cost
no spanning-tree cost cost
Path cost; valid values are from 1 to 200,000,000.
FastEthernet—19
GigabitEthernet—1
Modification
This command was introduced on the Catalyst 4500 series switch.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
Description
Enables PortFast by default on all access ports.
Enables PortFast mode.
Prioritizes an interface when two bridges compete for
position as the root bridge.
Enables the UplinkFast feature.
Configures STP on a per-VLAN basis.
Displays spanning-tree information.
spanning-tree cost
2-1033

Advertisement

Table of Contents
loading

Table of Contents