A SERVICE OF

logo

clear spantree portpri
D-Series CLI Reference 6-35
clear spantree portpri
UsethiscommandtoresetthebridgepriorityofaSpanningTreeporttoadefaultvalueof128.
Syntax
clear spantree portpri port-string [sid sid]
Parameters
Defaults
Ifsidisnotspecified,portprioritywillbesetforSpanningTree0.
Mode
Switchcommand,readwrite.
Example
Thisexampleshowshowtoresetthepriorityofge.1.3to128onSID1
D2(su)->clear spantree portpri ge.1.3 sid 1
show spantree adminpathcost
UsethiscommandtodisplaytheadminpathcostforaportononeormoreSpanningTrees.
Syntax
show spantree adminpathcost [port port-string] [sid sid]
Parameters
Defaults
Ifportstringisnotspecified,adminpathcostforallSpanningTreeportswillbedisplayed.
Ifsidisnotspecified,adminpathcostforSpanningTree0willbedisplayed.
Mode
Switchcommand,readonly.
portstring Specifiestheport(s)forwhichtosetSpanningTreeportpriority.Fora
detaileddescriptionofpossibleportstringvalues,refertoPortString
SyntaxUsedintheCLIonpage 41.
sidsid (Optional)ResetstheportpriorityforaspecificSpanningTreeidentifier.
Valid
valuesare0‐4094.Ifnotspecified,SID0willbeassumed.
portportstring (Optional)Displaystheadminpathcostvalueforspecificport(s).Fora
detaileddescriptionofpossibleportstringvalues,refertoPortString
SyntaxUsedintheCLIonpage 41.
sidsid (Optional)DisplaystheadminpathcostforaspecificSpanningTree
identifier.Validvaluesare
0‐4094.Ifnotspecified,SID0willbeassumed.