show spantree adminpathcost
SecureStack C2 Configuration Guide 9-37
show spantree adminpathcost
UsethiscommandtodisplaytheadminpathcostforaportononeormoreSpanningTrees.
Syntax
show spantree adminpathcost [port port-string] [sid sid]
Parameters
Defaults
Ifport‐stringisnotspecified,adminpathcostforallSpanningTreeportswillbedisplayed.
Ifsidisnotspecified,adminpathcostforSpanningTree0willbedisplayed.
Mode
Switchcommand,read‐only.
Example
Thisexampleshowshowtodisplaytheadminpathcostforge.3.4onSID1:
C2(su)->show spantree adminpathcost port ge.3.4 sid 1
Port
ge.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,read‐write.
portport‐string (Optional)Displaystheadminpathcostvalueforspecificport(s).Fora
detaileddescriptionofpossibleport‐stringvalues,referto“PortString
SyntaxUsedintheCLI”onpage 7‐2.
sidsid (Optional)DisplaystheadminpathcostforaspecificSpanningTree
identifier.
Validvaluesare0‐4094.Ifnotspecif ied,SID0willbeassumed.
port‐string Specifiestheport(s)onwhichtosetanadminpathcost.Foradetailed
descriptionofpossibleport‐stringvalues,referto“PortStringSyntaxUsed
intheCLI”onpage 7‐2.
cost Specifiestheportpathcost.Va1idvaluesare0‐2000 00000.
sidsid (Optional)Setstheadminpath
costforaspecificSpanningTreeidentifier.
Validvaluesare0‐4094.Ifnotspecified,SID0willbeassumed.