Specifications

set spantree adminpathcost
SecureStack C3 Configuration Guide 6-37
set spantree adminpathcost
UsethiscommandtosettheadministrativepathcostonaportandoneormoreSpanningTrees.
Syntax
set spantree adminpathcost port-string cost [sid sid]
Parameters
Defaults
Ifsidisnotspecified,adminpathcostwillbesetforSpanningTree0.
Mode
Switchcommand,readwrite.
Example
Thisexampleshowshowtosettheadminpathcostto200forfe.3.2onSID1:
C3(su)->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,readwrite.
portstring Specifiestheport(s)onwhichtosetanadminpathcost.Foradetailed
descriptionofpossibleportstringvalues,refertoPortStringSyntaxUsed
intheCLIonpage 41.
cost Specifiestheportpathcost.Va1idvaluesare0‐200000000.
sidsid (Optional)Sets
theadminpathcostforaspecificSpanningTreeidentifier.
Validvaluesare0‐4094.Ifnotspecified,SID0willbeassumed.
portstring Specifiestheport(s)forwhichtoresetadminpathcost.Foradetailed
descriptionofpossibleportstringvalues,refertoPortStringSyntax
UsedintheCLIonpage 41.
sidsid (Optional)ResetstheadminpathcostforspecificSpanningTree(s).
Validvaluesare 0‐4094.If
notspecified,SID0isassumed.