clear spantree adminpathcost
8-38 Spanning Tree Configuration
Example
Thisexampleshowshowtosettheadminpathcostto200forfe.3.2onSID1:
D2(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,read‐write.
Example
Thisexampleshowshowtoresettheadminpathcostto0forfe.3.2onSID1:
D2(su)->clear spantree adminpathcost fe.3.2 sid 1
show spantree adminedge
Usethiscommandtodisplaytheedgeportadministrativestatusforaport.
Syntax
show spantree adminedge [port port-string]
Parameters
Defaults
Ifport‐stringisnotsp ecifiededgeportadministrativestatuswillbedisplayedforallSpanningTree
ports.
port‐string Specifiestheport(s)forwhichtoresetadminpathcost.Foradetailed
descriptionofpossibleport‐stringvalues,referto“PortStringSyntax
UsedintheCLI”onpage 6‐1.
sidsid (Optional)ResetstheadminpathcostforspecificSpanningTree(s).
Validvaluesare0‐4094.Ifnotspecified,SID0isassumed.
port‐string (Optional)Displaysedgeportadministrativestatusforspecific
port(s).Foradetaileddescriptionofpossibleport‐stringvalues,
referto“PortStringSyntaxUsedintheCLI”onpage 6‐1.