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,read‐write.
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
Ifport‐stringisnotspecified,adminpathcostforallSpanningTreeportswillbedisplayed.
Ifsidisnotspecified,adminpathcostforSpanningTree0willbedisplayed.
Mode
Switchcommand,read‐only.
port‐string Specifiestheport(s)forwhichtosetSpanningTreeportpriority.Fora
detaileddescriptionofpossibleport‐stringvalues,referto“PortString
SyntaxUsedintheCLI”onpage 4‐1.
sidsid (Optional)ResetstheportpriorityforaspecificSpanningTreeidentifier.
Valid
valuesare0‐4094.Ifnotspecified,SID0willbeassumed.
portport‐string (Optional)Displaystheadminpathcostvalueforspecificport(s).Fora
detaileddescriptionofpossibleport‐stringvalues,referto“PortString
SyntaxUsedintheCLI”onpage 4 ‐1.
sidsid (Optional)DisplaystheadminpathcostforaspecificSpanningTree
identifier.Validvaluesare
0‐4094.Ifnotspecified,SID0willbeassumed.