EasyManuals Logo

Cisco Catalyst 4500 Series Command Reference Guide

Cisco Catalyst 4500 Series
1230 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1046 background imageLoading...
Page #1046 background image
2-988
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
spanning-tree cost
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.
spanning-tree cost cost
no spanning-tree cost cost
Syntax Description
Defaults The default settings are as follows:
• FastEthernet—19
• GigabitEthernet—1
Command Modes Interface configuration mode
Command History
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 This 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
cost Path cost; valid values are from 1 to 200,000,000.
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.
Command Description
spanning-tree portfast default Enables PortFast by default on all access ports.
spanning-tree portfast (interface
configuration mode)
Enables PortFast mode.
spanning-tree port-priority Prioritizes an interface when two bridges compete for
position as the root bridge.
spanning-tree uplinkfast Enables the UplinkFast feature.
spanning-tree vlan Configures STP on a per-VLAN basis.
show spanning-tree Displays spanning-tree information.

Table of Contents

Other manuals for Cisco Catalyst 4500 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 4500 Series and is the answer not in the manual?

Cisco Catalyst 4500 Series Specifications

General IconGeneral
SeriesCatalyst 4500 Series
CategorySwitch
Layer SupportLayer 2, Layer 3
Form FactorModular chassis
StackableNo
Chassis Slots3, 6, 7, 10
Power Supply OptionsAC, DC
RedundancyPower supply, Supervisor engine
Network ManagementCisco IOS Software CLI, SNMP, Cisco Prime Infrastructure
FeaturesSecurity, QoS
Port DensityUp to 384 ports per chassis
Security Features802.1X, ACLs, DHCP Snooping, Dynamic ARP Inspection, IP Source Guard
Supervisor Engine8-E

Related product manuals