spanning-tree cost
spanning-tree cost
Sets the path cost of the applicable port. This command is applied to PVST+, single
spanning trees, and multiple spanning trees.
Input format
To set or change information:
spanning-tree cost
To delete information:
no spanning-tree cost
Input mode
(config-if)
Parameters
<Cost>
Specify the path cost value. The lower the
the port will be used for forwarding the applicable frames.
1.
2.
3.
Default behavior
The path cost is applied according to the setting of the
command.
Impact on communication
None
When the change is applied
The change is applied immediately after setting values are changed.
Notes
1.
When the
command, or the
spanning-tree cost
2.
When the
154
<Cost>
Default value when this parameter is omitted:
This parameter cannot be omitted.
Range of values:
When
short
is set for the
1 to 65535
When
long
is set for the
1 to 200000000
Notes on using this parameter:
Changing the path cost value might change the topology.
spanning-tree vlan cost
spanning-tree mst cost
command is not applied.
spanning-tree vlan pathcost method
<Cost>
value, the higher the possibility that
spanning-tree pathcost method
spanning-tree pathcost method
spanning-tree pathcost method
command, the
spanning-tree single cost
command is set, the value of the
command or the
command:
command:
spanning-tree