Spanning-Tree Commands 467
FILE LOCATION:  C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Contax 
CLI\files\Spanning-Tree.fm
DELL CONFIDENTIAL – PRELIMINARY 5/15/12 - FOR PROOF ONLY
Example
The following example shuts down Ethernet port 
1/0/
5 when it receives a 
BPDU.
Console(config)# 
interface 
gigabitethernet 1/0/5
Console(config-if)# 
spanning-tree bpduguard enable
clear spanning-tree detected-protocols 
Use the clear spanning-tree detected-protocols Privileged EXEC command 
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 
[interface interface-id]
Parameters
interface-id—Specifies an interface ID. The interface ID can be one of the 
following types: Ethernet port or Port-channel.
Command Mode 
Privileged EXEC mode
User Guidelines
This feature should be used only when working in RSTP or MSTP mode.
Example
console# clear spanning-tree detected-protocols
spanning-tree mst priority
Use the spanning-tree mst priority Global Configuration mode command to 
configure the device priority for the specified spanning-tree instance. Use the 
no form of this command to restore the default configuration.