Specifications

show spantree adminpathcost
SecureStack B2 Configuration Guide 9-37
show spantree adminpathcost
UsethiscommandtodisplaytheadminpathcostforaportononeormoreSpanningTrees.
Syntax
show spantree adminpathcost [port port-string] [sid sid]
Parameters
Defaults
Ifportstringisnotspecified,adminpathcostforallSpanningTreeportswillbedisplayed.
Ifsidisnotspecified,adminpathcostforSpanningTree0willbedisplayed.
Mode
Switchcommand,readonly.
Example
Thisexampleshowshowtodisplaytheadminpathcostforfe.3.4onSID1:
B2(su)->show spantree adminpathcost port fe.3.4 sid 1
Port
fe.3.4 has a Port Admin Path Cost of 0 on SID 1
set spantree adminpathcost
UsethiscommandtosettheadministrativepathcostonaportandoneormoreSpanningTrees.
Syntax
set spantree adminpathcost port-string cost [sid sid]
Parameters
Defaults
Ifsidisnotspecified,adminpathcostwillbesetforSpanningTree0.
Mode
Switchcommand,readwrite.
portportstring (Optional)Displaystheadminpathcostvalueforspecificport(s).Fora
detaileddescriptionofpossibleportstringvalues,refertoPortString
SyntaxUsedintheCLIonpage 72.
sidsid (Optional)DisplaystheadminpathcostforaspecificSpanningTree
identifier.
Validvaluesare0‐4094.Ifnotspecified,SID0willbeassumed.
portstring Specifiestheport(s)onwhichtosetanadminpathcost.Foradetailed
descriptionofpossibleportstringvalues,refertoPortStringSyntaxUsed
intheCLIonpage 72.
cost Specifiestheportpathcost.Va1idvaluesare0‐2000 00000.
sidsid (Optional)Setstheadminpath
costforaspecificSpanningTreeidentifier.
Validvaluesare0‐4094.Ifnotspecified,SID0willbeassumed.