A SERVICE OF

logo

Spanning Tree Commands 531
clear spanning-tree detected-protocols
Use the clear spanning-tree detected-protocols command in Privileged
EXEC mode to restart 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
| port-channel
port-channel-number
]
interface
— A valid Ethernet port. The full syntax is:
unit/port.
port-channel-number
— A valid port channel.
Default Configuration
This command has no default setting.
Command Mode
Privileged EXEC mode
User Guidelines
This feature is used only when working in RSTP or MSTP mode.
Example
The following example restarts the protocol migration process (forces the
renegotiation with neighboring switches) on 1/g1.
console#clear spanning-tree detected-protocols
ethernet 1/g1
exit (mst)
Use the exit command in MST mode to exit the MST configuration mode
and apply all configuration changes.
Syntax
exit