clear spantree portpri
SecureStack C2 Configuration Guide 7-35
Example
Thisexampleshowshowtosetthepriorityofge.1.3to240onSID1
C2(su)->set spantree portpri ge.1.3 240 sid 1
clear spantree portpri
UsethiscommandtoresetthebridgepriorityofaSpanningTreeporttoadefaultvalueof128.
Syntax
clear spantree portpri port-string [sid sid]
Parameters
Defaults
Ifsidisnotspecified,portprioritywillbesetforSpanningTree0.
Mode
Switchcommand,read‐write.
Example
Thisexampleshowshowtoresetthepriorityofge.1.3to128onSID1
C2(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.
port‐string Specifiestheport(s)forwhichtosetSpanningTreeportpriority.Fora
detaileddescriptionofpossibleport‐
stringvalues,referto“PortString
SyntaxUsedintheCLI”onpage 5‐2.
sidsid (Optional)ResetstheportpriorityforaspecificSpanningTreeidentifier.
Validvaluesare0‐4094.If nots p ecified,SID0willbeassumed.
portport‐string (Optional)Displaystheadminpathcostvalueforspecificport(s).Fora
detaileddescriptionofpossibleport‐stringvalues,referto“PortString
SyntaxUsedinthe CLI”onpage 5‐2.
sidsid (Optional)DisplaystheadminpathcostforaspecificSpanningTree
identifier.Validvaluesare
0‐4094.Ifnotspecified,SID0willbeassumed.