clear spantree adminpathcost
Parameters
port‐string
cost
sid sid
Defaults
If sid is not specified, admin path cost will be set for Spanning Tree 0.
Mode
Switch command, Read‐Write.
Usage
By default, this value is set to 0, which forces the port to recalculate Spanning Tree path cost based
on the speed of the port and whether or not legacy path cost is enabled. For details on using the set
spantree legacypathcost command, refer to "set spantree legacypathcost" on page 6‐30.
Example
This example shows how to set the admin path cost to 200 for fe.3.2 on SID 1:
Matrix(rw)->set spantree adminpathcost fe.3.2 200 sid 1
clear spantree adminpathcost
Use this command to reset the Spanning Tree default value for port admin path cost to 0.
Syntax
clear spantree adminpathcost port-string [sid sid]
Parameters
port‐string
sid sid
Defaults
If sid is not specified, admin path cost will be reset for Spanning Tree 0.
Mode
Switch command, Read‐Write.
Specifies the port(s) on which to set an admin path cost. For a detailed
description of possible port‐string values, refer to "Port String Syntax
Used in the CLI" on page 4‐2.
Specifies the port path cost. Va1id values are:
•
0 ‐ 65535 if legacy path cost is enabled.
•
0 ‐ 200000000 if legacy path cost is disabled.
(Optional) Sets the admin path cost for a specific Spanning Tree
identifier. Valid values are 0 ‐ 4094. If not specified, SID 0 will be
assumed.
Specifies the port(s) for which to reset admin path cost. For a detailed
description of possible port‐string values, refer to "Port String Syntax
Used in the CLI" on page 4‐2.
(Optional) Resets the admin path cost for specific Spanning Tree(s).
Valid values are 0 ‐ 4094. If not specified, SID 0 is assumed.
Enterasys Matrix DFE-Gold Series Configuration Guide 6-59
Configuring Spanning Tree Port Parameters
Need help?
Do you have a question about the Enterasys Matrix DFE-Gold Series and is the answer not in the manual?
Questions and answers