show spantree portpri
9-36 Spanning Tree Configuration
Example
Thisexampleshowshowtodisplayportadminstatusforge.1.1:
B5(ro)->show spantree portadmin port ge.1.1
Port ge.1.1 has portadmin set to enabled
show spantree portpri
UsethiscommandtoshowtheSpanningTreepriorityforoneormoreports.Portpriorityisa
componentoftheportID,whichisoneelementusedindeterminingSpanningTreeportroles.
Syntax
show spantree portpri [port port-string] [sid sid]
Parameters
Defaults
Ifport‐stringisnotspecified,portprioritywillbedisplayedforallSpanningTreeports.
Ifsidisnotspecified,portprioritywillbedisplayedforSpanningTree0.
Mode
Switchcommand,read‐only.
Example
Thisexampleshowshowtodisplaytheportpriorityforge.2.7:
B5(su)->show spantree portpri port ge.2.7
Port
ge.2.7 has a Port Priority of 128 on SID 0
set spantree portpri
Usethiscommandtosetaport’sSpanningTreepriority.
Syntax
set spantree portpri port-string priority [sid sid]
portport‐string (Optional)Specifiestheport(s)forwhichtodisplaySpanningTreepriority.
Foradetaileddescriptionofpossibleport‐stringvalues,referto“PortString
SyntaxUsedintheCLI”onpage 7‐1.
sidsid (Optional)DisplaysportpriorityforaspecificSpanningTreeidentifier.
Validvaluesare0‐
4094.Ifnotspecified,SID0isassumed.