14 clear spanning-tree detected-protocols, Command modes, User guidelines – PLANET WGSD-1022 User Manual
Page 274: Example, Syntax, Default configuration

Command Modes
Global Configuration mode
User Guidelines
The command is relevant when spanning-tree is disabled globally or on a single interface..
Example
The following example defines BPDU packet flooding when spanning-tree is disabled on an interface.
Console(config)# spanning-tree bpdu flooding
5.21.14 clear spanning-tree detected-protocols
The clear spanning-tree detected-protocols privileged EXEC command restarts the protocol migration
process (force the renegotiation with neighboring switches) on all interfaces or on the specified interface.
Syntax
clear spanning-tree detected-protocols [ethernet interface number | port-channel
port-channel-number]
interface — A valid Ethernet port.
port-channel-number — A port-channel index.
Default Configuration
If no interface is specified, the action is applied to all interfaces.
Command Modes
Privileged EXEC mode
User Guidelines
This feature should be used only when working in RSTP mode.
Example
The following example restarts the protocol migration process (forces the renegotiation with neighboring
switches) on g1.
Console# clear spanning-tree detected-protocols ethernet g1