Spanning Tree Commands
clear spanning-tree detected-protocols
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 379
28
Default Configuration
Root guard is disabled.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
Root guard can be enabled when the device operates in STP, RSTP and MSTP.
When root guard is enabled, the port changes to the alternate state if spanning-
tree calculations selects the port as the root port.
Example
The following example prevents Ethernet port e1 from being the root port of the
device.
Console(config) # interface ethernet e1
Console(config-mst) # spanning-tree guard root
clear spanning-tree detected-protocolsThe clear spanning-tree detected-protocols Privileged EXEC mode command
restarts the protocol migration process (forces renegotiation with neighboring
devices) on all interfaces or on a specified interface.
Syntax
clear spanning-tree detected-protocols [ethernet
interface
| port-channel
port-
channel-number
]