Spanning Tree Commands 755clear spanning-tree detected-protocolsUse the clear spanning-tree detected-protocols command in PrivilegedEXEC mode to restart the protocol migration process (force the renegotiationwith neighboring switches) on all interfaces or on the specified interface.Syntaxclear spanning-tree detected-protocols [{gigabitethernet unit/slot/port |port-channelport-channel-number | tengigabitethernet unit/slot/port}]Default ConfigurationThis command has no default setting.Command ModePrivileged EXEC modeUser GuidelinesThis feature is used only when working in RSTP or MSTP mode.ExampleThe following example restarts the protocol migration process (forces therenegotiation with neighboring switches) on 1/0/1.console#clear spanning-tree detected-protocols gigabitethernet 1/0/1revision (mst) spanning-treedisablespanning-tree mstcostspanning-tree tcnguardshow spanning-tree spanning-treeforward-timespanning-tree mstport-priorityspanning-tree transmithold-countshow spanning-treesummaryspanning-tree guard spanning-tree mstpriority–spanning-tree spanning-treeloopguardspanning-treeportfast–