Setting the spanning tree mode

The spanning tree modes include:

The MSTP mode is compatible with the RSTP mode, and the RSTP mode is compatible with the STP mode.

Compatibility of the PVST mode depends on the link type of a port.

To set the spanning tree mode:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Set the spanning tree mode.

stp mode { mstp |pvst | rstp | stp }

The default setting is the MSTP mode.