DGS-6604
m
spanning-tree cost
CLI Reference Guide
862
spanning-tree cost
This setting is used to configure the value of port path-cost on the specified port.
spanning-tree cost
COST
no spanning-tree cost
Default
The path cost is computed from the bandwidth setting of the interface.
Command Mode
Interface configuration
Usage Guideline
Both physical port and port-channel interfaces are valid for this command,.
In RSTP / STP-Compatible mode, the administrative path cost is used by the
single spanning-tree when accumulating the path cost to reach the Root.
In MSTP mode, the administrative path cost is used by the CIST regional root
when accumulating the path cost to reach the CIST root.
Example
This example shows how to configure the port cost to 20000 for eth3.7.
Verify the settings by entering the
show spanning-tree interface
command.
Syntax Description
COST
Specifies the path cost for the port. The range is 1 to 200000000.
Switch(config)#interface eth3.7
Switch(config-if)#spanning-tree cost 20000