show spantree portpri
Enterasys D-Series CLI Reference 8-35
Example
Thisexampleshowshowtodisplayportadminstatusforge.1.1:
D2(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
Thisexampleshowshowtodisplaytheportpriorityforfe.2.7:
D2(su)->show spantree portpri port fe.2.7
Port fe.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 6‐1.
sidsid (Optional)DisplaysportpriorityforaspecificSpanningTreeidentifier.
Validvaluesare0‐
4094.Ifnotspecified,SID0isassumed.