set spantree version
6-8 Spanning Tree Configuration
Mode
Switchcommand,readonly.
Example
ThisexampleshowshowtodisplaySpanningTree versioninformationforthedevice:
D2(su)->show spantree version
Force Version is mstp
set spantree version
UsethiscommandtosettheversionoftheSpanningTre eprotocoltoMSTP(MultipleSpanning
Tree Protocol),RSTP(RapidSpanningTreeProtocol)ortoSTP802.1Dcompatible.
Syntax
set spantree version {mstp | stpcompatible | rstp}
Parameters
Defaults
None.
Mode
Switchcommand,readwrite.
Usage
Inmostnetworks,SpanningTree versionshouldnotbechangedfromitsdefaultsettingofmstp
(MultipleSpanningTree Protocol)mode.MSTPmodeisfullycompatibleandinteroperablewith
legacySTP802.1DandRapidSpanningTree(RSTP)bridges.Settingthever siontostpcompatible
modewillcausethebridgetotransmitonly802.1DBPDUs,andwillpreventnonedgeportsfrom
rapidlytransitioningtoforwardingstate.
Example
ThisexampleshowshowtogloballychangetheSpanningTree versionfromthedefaultofMSTP
toRSTP:
D2(su)->set spantree version rstp
clear spantree version
UsethiscommandtoresettheSpanningTree versiontoMSTPmode.
Syntax
clear spantree version
mstp SetstheversiontoSTP802.1scompatible.
stpcompatible SetstheversiontoSTP802.1Dcompatible.
rstp Setstheversionto802.1wcompatible.