Spanning-Tree Cost - Cisco AP775A - Nexus Converged Network Switch 5010 Command Reference Manual

Cisco nexus 5000 series command reference, release 4.1(3)n1(1) (ol-16599-01, august 2009)
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Chapter 2
Ethernet Commands
S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m

spanning-tree cost

To set the path cost of the interface for Spanning Tree Protocol (STP) calculations, use the
spanning-tree cost command. To return to the default settings, use the no form of this command.
Syntax Description
vlan vlan-id
value
auto
Command Default
Port cost is set by the media speed.
Command Modes
Interface configuration mode
Command History
Release
4.0(0)N1(1a)
Usage Guidelines
The STP port path cost default value is determined from the media speed and path cost calculation
method of a LAN interface (see
information on setting the path cost calculation method for Rapid PVST+.
Table 2-1
Bandwidth
10 Mbps
100 Mbps
1-Gigabit Ethernet
10-Gigabit Ethernet
When you configure the value, higher values will indicate higher costs.
On access ports, assign the port cost by port. On trunk ports, assign the port cost by VLAN; you can
configure all the VLANs on a trunk port as the same port cost.
OL-16599-01
spanning-tree [vlan vlan-id] cost {value | auto}
no spanning-tree [vlan vlan-id] cost
(Optional) Lists the VLANs on this trunk interface for which you want to
assign the path cost. You do not use this parameter on access ports. The range
is from 1 to 4094.
Value of the port cost. The available cost range depends on the path-cost
calculation method as follows:
Sets the value of the port cost by the media speed of the interface (see to
Table 2-1
Modification
This command was introduced.
Default Port Cost
short—The range is 1 to 65536.
long—The range is 1 to 200,000,000.
for the values).
Table
2-1). See the
spanning-tree pathcost method
Short Path Cost Method Port Cost Long Path Cost Method Port Cost
100
19
4
2
Cisco Nexus 5000 Series Command Reference
spanning-tree cost
command for
2,000,000
200,000
20,000
2,000
2-51

Advertisement

Table of Contents
loading

Table of Contents