set spantree version
8-8 Spanning Tree Configuration
Mode
Switchcommand,readonly.
Example
ThisexampleshowshowtodisplaySpanningTreever sioninformationforthedevice:
D2(su)->show spantree version
Force Version is mstp
set spantree version
UsethiscommandtosettheversionoftheSpanningTree protocoltoMSTP(MultipleSpanning
TreeProtocol),RSTP(RapidSpanningTr eeProtocol)ortoSTP802.1Dcompatible.
Syntax
set spantree version {mstp | stpcompatible | rstp}
Parameters
Defaults
None.
Mode
Switchcommand,readwrite.
Usage
Inmostnetworks,SpanningTreeversio nshouldnotbechangedfromitsdefaultsettingofmstp
(MultipleSpanningTreeProtocol)mode.MSTPmodeisfullycompatibleandinteroperablewith
legacySTP802.1DandRapidSpanningTree(RSTP)bridges.Settingtheversio ntostpcompatible
modewillcausethebridgetotransmitonly802.1DBPDUs,andwillpreventnonedgeportsfrom
rapidlytransitioningtoforwardingstate.
Example
ThisexampleshowshowtogloballychangetheSpanningTreever sionfromthedefaultofMSTP
toRSTP:
D2(su)->set spantree version rstp
clear spantree version
UsethiscommandtoresettheSpanningTreevers iontoMSTPmode.
Syntax
clear spantree version
mstp SetstheversiontoSTP802.1scompatible.
stpcompatible SetstheversiontoSTP802.1Dcompatible.
rstp Setstheversionto802.1wcompatible.