The stp enable command enables STP/Rapid Spanning Tree Protocol (RSTP)/Multiple Spanning Tree Protocol (MSTP) on an Eth-Trunk interface.
The undo stp enable command cancels the stp enable command configuration.
The stp disable command disables STP/RSTP/MSTP on an Eth-Trunk interface.
The undo stp disable command cancels the stp disable command configuration.
By default, STP/RSTP/MSTP is enabled on a Eth-Trunk interface.
Usage Scenario
Configuration Impact
If STP/RSTP/MSTP is enabled on an interface, the interface participates in spanning tree calculation, and its forwarding state is determined based the calculation result.
If STP/RSTP/MSTP is disabled on an interface, the interface does not participate in spanning tree calculation and is always in the forwarding state.Precautions