Use this command to set the version of the Spanning Tree protocol to MSTP (Multiple Spanning Tree Protocol), RSTP (Rapid Spanning Tree Protocol) or to STP 802.1D-compatible.
spt | Sets the version to Version 4. |
mstp | Sets the version to STP 802.1s-compatible (Version 3). |
stpcompatible | Sets the version to STP 802.1D-compatible (Version 2). |
rstp | Sets the version to 802.1w-compatible (Version 0). |
Spanning Tree version defaults to version 3.
All command modes.
In most networks, Spanning Tree version should not be changed from its default setting of mstp (Multiple Spanning Tree Protocol) mode. MSTP mode is fully compatible and interoperable with legacy STP 802.1D and Rapid Spanning Tree (RSTP) bridges. Setting the version to stpcompatible mode will cause the bridge to transmit only 802.1D BPDUs, and will prevent non-edge ports from rapidly transitioning to forwarding state. Version 4, set using the spt option enables shortest path bridging on the device.
This example shows how to globally change the Spanning Tree version from the default of MSTP to RSTP:
System(rw)->set spantree version rstp