show spantree portadmin
D-Series CLI Reference 6-33
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Example
ThisexampleshowshowtoresetthedefaultSpanningTreeadminstatetoenableonge.1.12:
D2(rw)->clear spantree portadmin ge.1.12
show spantree portadmin
UsethiscommandtodisplaythestatusoftheSpanningTreealgorithmononeormoreports.
Syntax
show spantree portadmin [port port-string]
Parameters
Defaults
Ifport‐stringisnotspecified,statuswillbedisplayedforallports.
Mode
Switchcommand,read‐only.
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]
port‐string Resetsthedefaultadminstatusonspecificport(s).Foradetailed
descriptionofpossibleport‐stringvalues,referto“PortStringSyntaxUsed
intheCLI”onpage 4‐1.
portport‐string (Optional)Displaysstatusforspecificport(s).Foradetaileddescriptionof
possibleport‐stringvalues,referto“PortStringSyntaxUsedintheCLI”
onpage 4‐1.