EasyManuals Logo

Cisco Catalyst 3750 User Manual

Cisco Catalyst 3750
1154 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 #794 background imageLoading...
Page #794 background image
2-764
Catalyst 3750 Switch Command Reference
OL-8552-07
Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
spanning-tree cost
spanning-tree cost
Use the spanning-tree cost interface configuration command to set the path cost for spanning-tree
calculations. If a loop occurs, spanning tree considers the path cost when selecting an interface to place
in the forwarding state. Use the no form of this command to return to the default setting.
spanning-tree [vlan vlan-id] cost cost
no spanning-tree [vlan vlan-id] cost
Syntax Description
Defaults The default path cost is computed from the interface bandwidth setting. These are the IEEE default path
cost values:
1000 Mb/s—4
100 Mb/s—19
10 Mb/s—100
Command Modes Interface configuration
Command History
Usage Guidelines When you configure the cost, higher values represent higher costs.
If you configure an interface with both the spanning-tree vlan vlan-id cost cost command and the
spanning-tree cost cost command, the spanning-tree vlan vlan-id cost cost command takes effect.
Examples This example shows how to set the path cost to 250 on a port:
Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# spanning-tree cost 250
This example shows how to set a path cost to 300 for VLANs 10, 12 to 15, and 20:
Switch(config-if)# spanning-tree vlan 10,12-15,20 cost 300
You can verify your settings by entering the show spanning-tree interface interface-id privileged
EXEC command.
vlan vlan-id (Optional) VLAN range associated with a spanning-tree instance. You can specify
a single VLAN identified by VLAN ID number, a range of VLANs separated by a
hyphen, or a series of VLANs separated by a comma. The range is 1 to 4094.
cost Path cost. The range is 1 to 200000000, with higher values meaning higher costs.
Release Modification
12.1(11)AX This command was introduced.
12.1(14)EA1 The value for the vlan-id variable was changed.

Table of Contents

Other manuals for Cisco Catalyst 3750

Questions and Answers:

Question and Answer IconNeed help?

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

Cisco Catalyst 3750 Specifications

General IconGeneral
Device TypeSwitch
Switching Capacity32 Gbps
Forwarding Rate38.7 Mpps
Stacking Bandwidth32 Gbps
RAM128 MB
Jumbo Frame SupportYes
Switch TypeManaged
ModelCatalyst 3750 Series
Uplink InterfacesSFP
Form FactorRack-mountable
MAC Address Table Size12, 000 entries
Routing ProtocolRIP, OSPF, EIGRP
Remote Management ProtocolSNMP, Telnet, HTTP
FeaturesLayer 3 switching, Layer 2 switching, auto-negotiation, BOOTP support, ARP support, VLAN support, auto-uplink (auto MDI/MDI-X), IGMP snooping, traffic shaping, MAC address filtering, Quality of Service (QoS), Jumbo Frames support, MLD snooping, Dynamic ARP Inspection (DAI), Cisco EnergyWise technology
Power over Ethernet (PoE)PoE
Operating Temperature-5 - 45 °C
Operating Humidity10% to 85% non-condensing

Related product manuals