Specifications

show spantree portadmin
6-34 Spanning Tree Configuration
show spantree portadmin
UsethiscommandtodisplaythestatusoftheSpanningTreealgorithmononeormoreports.
Syntax
show spantree portadmin [port port-string]
Parameters
Defaults
Ifportstringisnotspecified,statuswillbedisplayedforallports.
Mode
Switchcommand,readonly.
Example
Thisexampleshowshowtodisplayportadminstatusforge.1.1:
C3(ro)->show spantree portadmin port ge.1.1
Port ge.1.1 has portadmin set to enabled
show spantree portpri
UsethiscommandtoshowtheSpanningTreepriorityforoneormoreports.ortpriorityisa
componentoftheportID,whichisoneelementusedindeterminingSpanningTreeportroles.
Syntax
show spantree portpri [port port-string] [sid sid]
Parameters
Defaults
Ifportstringisnotspecified,portprioritywillbedisplayedforallSpanningTreeports.
Ifsidisnotspecified,portprioritywillbedisplayedforSpanningTree0.
Mode
Switchcommand,readonly.
portportstring (Optional)Displaysstatusforspecific port(s).Foradetaileddescriptionof
possibleportstringvalues,refertoPortStringSyntaxUsedintheCLI
onpage 41.
portportstring (Optional)Specifiestheport(s)forwhichtodisplaySpanningTreepriority.
Foradetaileddescriptionofpossibleportstringvalues,refertoPortString
SyntaxUsedintheCLIonpage 41.
sidsid (Optional)DisplaysportpriorityforaspecificSpanningTreeidentifier.
Validvaluesare 0‐
4094.Ifnotspecified,SID0isassumed.