set spantree portpri
7-34 Spanning Tree Configuration
Syntax
show spantree portpri [port port-string] [sid sid]
Parameters
Defaults
Ifport‐stringisnotspecified,portprioritywillbedisplayedforallSpanningTreeports.
Ifsidisnotspecified,portprioritywillbedisplayedforSpanningTree0.
Mode
Switchcommand,read‐only.
Example
Thisexampleshowshowtodisplaytheportpriorityforge.2.7:
C2(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]
Parameters
Defaults
Ifsidisnotspecified,portprioritywillbesetforSpanningTree0.
Mode
Switchcommand,read‐write.
portport‐string (Optional)Specifiestheport(s)forwhichtodisplaySpanningTreepriority.
Foradetaileddescriptionofpossibleport‐stringvalues,referto“PortString
SyntaxUsedintheCLI”onpage 5‐2.
sidsid (Optional)DisplaysportpriorityforaspecificSpanningTreeidentifier.
Valid
valuesare0‐4094.Ifnotspecified,SID0isassumed.
port‐string Specifiestheport(s)forwhichtosetSpanningTreeportpriority.Fora
detaileddescriptionofpossibleport‐stringvalues,referto“PortString
SyntaxUsedintheCLI”onpage 5‐2.
priority SpecifiesanumberthatrepresentsthepriorityofalinkinaSpanningTree
bridge.Valid
valuesarefrom0to240(inincrement sof16)with0
indicatinghighpriority.
sidsid (Optional)SetsportpriorityforaspecificSpanningTreeidentifier.Valid
valuesare0‐4094.Ifnotspecified,SID0isassumed.