OS10 Enterprise Edition User Guide Release 10.4.0E(R3)

PDF

spanning-tree vlan cost

Sets the path cost of the interface per VLAN for PVST calculations.

Syntax
spanning-tree vlan vlan-id cost { value}
Parameters
value — Enter a port cost value to set the path cost of the interface for PVST calculations (1 to 200000000).
Defaults
  • 100- Mb/s Ethernet interface = 200000
  • 1 Gigabit Ethernet interface = 20000
  • 10-Gigabit Ethernet interface = 2000
  • Port–channel interface with one 100 Mb/s Ethernet = 200000
  • Port-channel interface with one 1 Gigabit Ethernet = 20000
  • Port-channel interface with one 10 Gigabit Ethernet = 2000
  • Port-channel with two 1 Gigabit Ethernet = 18000
  • Port-channel with two 10 Gigabit Ethernet = 1800
  • Port-channel with two 100 Mbps Ethernet = 180000
Command Mode
INTERFACE
Usage Information
The media speed of a LAN interface determines the STP port path cost default value.
Example
OS10(conf-if-eth1/1/4)# spanning-tree vlan 10 cost 1000
Supported Releases
10.2.0E or later

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\