Specifications
4.5.9 CommandLines:
Feature CommandLine
Global(STP,RSTP,MSTP)
Enable Switch(config)#spanning‐treeenable
Disable Switch (config)#spanning‐treedisable
Mode(Choosethe
SpanningTreemode)
Switch(config)#spanning‐treemode
rsttherapidspanning‐treeprotocol(802.1w)
stpthespanning‐treeprtotcol(802.1d)
mstthemultiplespanning‐treeprotocol(802.1s)
BridgePriority Switch(config)#spanning‐treepriority
<0‐61440>validrangeis0to61440inmultipleof4096
Switch(config)#spanning‐treepriority4096
BridgeTimes Switch(config)#spanning‐treebridge‐times(forwardDelay)(max‐age)
(HelloTime)
Switch(config)#spanning‐treebridge‐times15202
T
hiscommandallowsyouconfigureallthetiminginonetime.
ForwardDelay Switch(config)#spanning‐treeforward‐time
<4‐30>Validrangeis4~30seconds
Switch(config)#spanning‐treeforward‐time15
MaxAge Switch(config)#spanning‐treemax‐age
<6‐40>Validrangeis6~40seconds
Switch(config)#spanning‐treemax‐age20
HelloTime Switch(config)#spanning‐treehello‐time
<1‐10>Validrangeis1~10seconds
Switch(config)#spanning‐treehello‐time2
MSTP
EntertheMSTP
ConfigurationTree
Switch(config)#spanning‐treemst
MSTMAPthemstinstancenumberorrange
configurationentermstconfigurationmode
forward‐timetheforwarddleaytime
hello‐timethehellotime
max‐agethemessagemaximumagetime
max‐hopsthemaximumhops
syncsyncportstateofexistvlanentry
Switch(config)#spanning‐treemstconfiguration
Switch(config)#spanning‐treemstconfiguration
Switch(config‐mst)#
abortexitcurrentmodeanddiscardallchanges
endexitcurrentmode,changetoenablemodeandapplyall
changes
exitexitcurrentmodeandapplyallchanges
instancethemstinstance
listPrintcommandlist
namethenameofmstregion
noNegateacommandorsetitsdefaults
quitexitcurrentmodeandapply allchanges
revisiontherevisionofmstregion
showshowmstconfiguration
RegionConfiguration RegionName:
Switch(config‐mst)#name
NAMEthenamestring
Switch(config‐mst)#nameWestermo
78