clear spanning-tree detected-protocols

Syntax

clear spanning-tree detected-protocols [ interface { ethernet slot/port | port-channel number } ]

Parameters

interface
Specifies an interface.
ethernet
Specifies an Ethernet interface.
slot
Specifies a valid slot number. Must be 0 if the switch does not contain slots.
port
Specifies a valid port number.
port-channel number
Specifies a port-channel.

Modes

Privileged EXEC mode

Usage Guidelines

If the interface parameter is not specified, spanning-tree detected protocols are cleared for all interfaces.

Examples

To clear detected protocols on all interfaces:

device# clear spanning-tree detected-protocols
 

To clear detected protocols on an Ethernet interface:

device# clear spanning-tree detected-protocols interface ethernet 0/1
 

To clear detected protocols on port-channel 23:

device# clear spanning-tree detected-protocols interface port-channel 23