Specifications
Configuring STP and RSTP
March 14, 2011 Page 13 of 29
configuredwithvariationsoftheSpanningTreeportconfigurationcommands.Defaultsettings
arelistedinTable 4:
Usethecommandsinthefollowing sectionstoadjustthesedefaults.
Setting Bridge Priority Mode and Priority
Bridgeprioritymodeaffectstherangeofpriorityvaluesusedtodeterminewhichdeviceis
selectedastheSpanningTreeroot.Bydefault,switchingdevicesaresetto802.1tmodeas
describedin“Updated802.1t”onpage5.802.1tmodeusesbridgepriorityvaluesof0to61440,in
increments
of4096,with0indicatinghighpriorityand6 1440lowpriority.Legacy(802.1D)
priorityvaluesare0to65535.
Usethiscommandtosetthebridgeprioritymode:
set spantree bridgepriortymode 802.1t | 802.1d
Inadditiontosettingprioritymode,youcangloballyconfigurethepriorityofanindividual
bridge.Whentwobridgestieforpositionastherootbridge,thissettingaffectsthelikelihoodthat
abridgewillbeselected.Thelowerthebridge’spriority,themorelikelythebridgewillbeselected
as
therootbridge.
Usethiscommandtosetthebridgepriority:
set spantree priority priority [sid]
Validpriority valuesare:
–For802.1tprioritymode:0
–61440(inincrementsof4096),with0indicatinghighpriority
and61440lowpriority.Valueswillautomaticallyberoundedupordown,dependingon
the802.1tvaluetowhichtheenteredvalueisclosest.
–For802.1Dprioritymode:0
–65535(inincrementsof1),with0indicatinghighpriorityand
65535lowpriority.
Validsidvaluesare0
–4094.Ifnotspecified,SID0willbeassumed.
Table 4 Spanning Tree Port Default Settings
Setting Default Value
Bridge priority mode 802.1t
Bridge priority 32768
Port priority 128
Port cost 0 (automatically calculated based on port speed)
Hello time (bridge and ports) 2 seconds
Bridge forward delay 15 seconds
Bridge maximum aging time 20 seconds
Note: Poorly chosen adjustments to these parameters can have a negative impact on network
performance. Please refer to the IEEE 802.1D specification for guidance.