Specifications

spanning-tree vlan cost
192
spanning-tree vlan cost
Sets the path cost for the applicable PVST+ ports.
Syntax
To set or change information:
spanning-tree vlan <VLAN ID list> cost <Cost>
To delete information:
no spanning-tree vlan <VLAN ID list> cost
Input mode
(config-if)
Parameters
<VLAN ID list>
Starts configuration of PVST+ for the set VLAN.
1. Default value when this parameter is omitted:
This parameter cannot be omitted.
2. Range of values:
For details about how to set <VLAN ID list> and the specifiable values, see
Specifiable values for parameters.
<Cost>
Specifies the path cost value. The lower the <Cost> value, the higher the possibility
that the port will be used for forwarding the applicable frames.
1. Default value when this parameter is omitted:
This parameter cannot be omitted.
2. Range of values:
If
short is set for the spanning-tree pathcost method or the
spanning-tree vlan <VLAN ID list> pathcost method command:
1 to 65535
If
long is set for the spanning-tree pathcost method or the spanning-tree
vlan
<VLAN ID list> pathcost method command:
1 to 200000000
3. Note on using this parameter:
Changing the port priority might change the topology.
Default behavior
The method of applying the path cost is determined by the setting of the spanning-tree
vlan pathcost method command.
Impact on communication
None
When the change is applied
The change is applied immediately after setting values are changed.