Configuring Spanning Tree Port Parameters show spantree adminpathcost
6-58 Spanning Tree Configuration
•Ifsidisnotspecified,portcostwillbedisplayedforallSpanningTrees.
Mode
Switchcommand,Read‐Only.
Example
Thisexampleshowshowtodisplaytheportcostforfe.2.5:
Matrix(rw)->show spantree portcost port fe.2.5
Port fe.2.5 has a Port Path Cost of 2000000 on SID 0
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
Thisexampleshowshowtodisplaytheadminpathcostforfe.3.4onSID1:
Matrix(rw)->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]
portport‐string (Optional)Displaystheadminpathcostvalueforspecificport(s).Fora
detaileddescriptionofpossibleport‐stringvalues,referto“PortString
SyntaxUsedintheCLI”onpage 4‐2.
sidsid (Optional)DisplaystheadminpathcostforaspecificSpanningTree
identifier.Validvaluesare
0‐4094 .Ifnotspecified,SID0willbe
assumed.