clear stp-protect-statistics

Clears the BPDU drop counters for all ports on the device that have STP Protection enabled.
Syntax
clear stp-protect-statistics [ ethernet unit/slot/port | lag lag-id ]
Parameters
ethernet unit/slot/port
Specifies the Ethernet interface on which to clear the BPDU drop counters.
lag lag-id
Specifies the LAG virtual interface.
Modes

Privileged EXEC mode

Usage Guidelines

For each port that has STP Protection enabled, the ICX device counts and records the number of dropped BPDUs. You can use this command to clear the BPDU drop counters for all ports on the device, or for a specific port on the device.

Examples

The following example shows how to clear the BPDU drop counters on all ports.

device# clear stp-protect-statistics

The following example shows how to clear the BPDU drop counter on a specific port.

device# clear stp-protect-statistics ethernet 1/1/1
History
Release version Command history
08.0.61 This command was modified to add lag lag-id options.