Specifications

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,readwrite.
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
Ifportstringisnotsp ecifiededgeportadministrativestatuswillbedisplayedforallSpanningTree
ports.
portstring Specifiestheport(s)forwhichtoresetadminpathcost.Foradetailed
descriptionofpossibleportstringvalues,refertoPortStringSyntax
UsedintheCLIonpage 61.
sidsid (Optional)ResetstheadminpathcostforspecificSpanningTree(s).
Validvaluesare0‐4094.Ifnotspecified,SID0isassumed.
portstring (Optional)Displaysedgeportadministrativestatusforspecific
port(s).Foradetaileddescriptionofpossibleportstringvalues,
refertoPortStringSyntaxUsedintheCLIonpage 61.