clear spanning-tree detected-protocols
To restart the Spanning Tree Protocol (STP) migration process (force renegotiation with neighboring switches) on all interfaces or on a specific interface, use the clear spanning-tree detected-protocols Interface Configuration mode command.
Syntax
clear spanning-tree detected-protocols [interfaces interface-id]
Parameters
interfaces interface-id—An interface ID or a list of interface IDs.
Default Configuration
N/A
Command Mode
Interface Configuration (Ethernet, port channel) mode
User Guidelines
This feature can only be used when the switch is in RSTP or MSTP mode.
Example
switchxxxxxx# clear spanning-tree detected-protocols