clear spantree adminpathcost Configuring Spanning Tree Port Parameters
Enterasys Matrix DFE-Gold Series Configuration Guide 6-59
Parameters
Defaults
Ifsidisnotspecified,adminpathcostwillbesetforSpanningTree0.
Mode
Switchcommand,Read‐Write.
Usage
Bydefault,thisvalueissetto0,whichforcestheporttorecalculateSpanningTreepathcostbased
onthespeedoftheportandwhetherornotlegacypathcostisenabled.Fordetailsonusingtheset
spantreelegacypathcostcommand,referto“setspantreelegacypathcost”onpage 6
‐30.
Example
Thisexampleshowshowtosettheadminpathcostto200forfe.3.2onSID1:
Matrix(rw)->set spantree adminpathcost fe.3.2 200 sid 1
clear spantree adminpathcost
UsethiscommandtoresettheSpanningTreedefaultvalueforportadminpathcostto0.
Syntax
clear spantree adminpathcost port-string [sid sid]
Parameters
Defaults
Ifsidisnotspecified,adminpathcostwillberesetforSpanningTree0.
Mode
Switchcommand,Read‐Write.
port‐string Specifiestheport(s)onwhichtosetanadminpathcost.Foradetailed
descriptionofpossibleport‐stringvalues,referto“PortStringSyntax
UsedintheCLI”onpage 4 ‐2.
cost Specifiestheportpathcost.Va1idvaluesare:
• 0‐65535iflegacy
pathcostisenabled.
• 0‐200000000iflegacypathcostisdisabled.
sidsid (Optional)SetstheadminpathcostforaspecificSpanningTree
identifier.Validvaluesare0‐4094.Ifnotspecified,SID0willbe
assumed.
port‐string Specifiestheport(s)forwhichtoresetadminpathcost.Foradetailed
descriptionofpossibleport‐stringvalues,referto“PortStringSyntax
UsedintheCLI”onpage 4 ‐2.
sidsid (Optional)ResetstheadminpathcostforspecificSpanningTree(s).
Validvaluesare0‐4094.If
notspecified,SID0isassumed.