Spanning Tree Commands 733
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 [{gigabitethernet unit/slot/port |
port-channel
port-channel-number
| tengigabitethernet unit/slot/port
|
fortygigabitethernet unit/slot/port}]
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/0/1.
console#clear spanning-tree detected-protocols gigabitethernet 1/0/1
revision (mst) spanning-tree
disable
spanning-tree mst
cost
spanning-tree tcnguard
show spanning-tree spanning-tree
forward-time
spanning-tree mst
port-priority
spanning-tree transmit
hold-count
show spanning-tree
summary
spanning-tree guard spanning-tree mst
priority
–
spanning-tree spanning-tree
loopguard
spanning-tree
portfast
–
2CSPC4.X8100-SWUM102.book Page 733 Friday, March 15, 2013 8:56 AM