Specifications
spanning-tree single pathcost method
186
spanning-tree single pathcost method
Sets whether to use a 16-bit value or a 32-bit value as the path cost for Single Spanning
Tree ports.
If the
spanning-tree single cost command setting is omitted, the following values are
applied to the path cost according to the interface speed and the setting of the
spanning-tree single pathcost method command.
If
short is set by the spanning-tree single pathcost method command:
10Mbit/s: 100
100 Mbit/s: 19
1 Gbit/s: 4
If
long is set by the spanning-tree single pathcost method command:
10 Mbit/s: 2000000
100 Mbit/s: 200000
1 Gbit/s: 20000
Syntax
To set or change information:
spanning-tree single pathcost method { long | short }
To delete information:
no spanning-tree single pathcost method
Input mode
(config)
Parameters
{ long | short }
If
long is set, a 32-bit value is used. If short is set, a 16-bit value is used.
1. Default value when this parameter is omitted:
This parameter cannot be omitted.
2. Range of values:
long or short
3. Note on using this parameter:
- The default value of the path cost changes.
- Changing the path cost value might change the topology.
- When 65536 or a larger value is set for the path cost, you cannot change the
parameter to
short.
Default behavior
The setting of the spanning-tree pathcost method command is used.
Impact on communication
None