set spantree version
8-8 Spanning Tree Configuration
Mode
Switchcommand,read‐only.
Example
ThisexampleshowshowtodisplaySpanningTreeversioninformationforthedevice:
D2(su)->show spantree version
Force Version is mstp
set spantree version
UsethiscommandtosettheversionoftheSpanningTreeprotocoltoMSTP(MultipleSpanning
TreeProtocol),RSTP(RapidSpanningTreeProtocol)ortoSTP802.1D‐compatible.
Syntax
set spantree version {mstp | stpcompatible | rstp}
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
Inmostnetworks,SpanningTreeversionshouldnotbechangedfromitsdefaultsettingofmstp
(MultipleSpanningTreeProtocol)mode.MSTPmodeisfullycompatibleandinteroperablewith
legacySTP802.1DandRapidSpanningTree(RSTP)bridges.Settingtheversiontostpcompatible
modewillcausethebridgetotransmitonly
802.1DBPDUs,andwillpreventnon‐edgeportsfrom
rapidlytransitioningtoforwardingstate.
Example
ThisexampleshowshowtogloballychangetheSpanningTreeversionfromthedefaultofMSTP
toRSTP:
D2(su)->set spantree version rstp
clear spantree version
UsethiscommandtoresettheSpanningTreeversiontoMSTPmode.
Syntax
clear spantree version
mstp SetstheversiontoSTP802.1s‐compatible.
stpcompatible SetstheversiontoSTP802.1D‐compatible.
rstp Sets theversionto802.1w‐compatible.