clear storm-control counters
To clear storm control counters, use the clear storm-control counters command in Privileged EXEC mode.
Syntax
clear storm-control counters [broadcast | multicast | unicast] [interface interface-id]
Parameters
-
broadcast—(Optional) Clear Broadcast storm control counters.
-
multicast—(Optional) Clear Multicast storm control counters.
-
unicast—(Optional) Clear Unicast Unknown storm control counters.
-
interface interface-id—(Optional) Clear storm control counters for the specified Ethernet port.
Command Mode
Privileged EXEC mode
User Guidelines
The switch clears the port counter of a given traffic type when storm control for this traffic type on this port is enabled.
Use this command to clear the storm control counters when storm control is running.
Use the clear storm-control counters command to clear all the storm control counters of all Ethernet ports.
Use the clear storm-control counters interface interface-id command to clear all the storm control counters of a given port.
Use the clear storm-control counters broadcast | multicast | unicast command to clear all storm control counters of a given traffic type of all Ethernet ports.
Use the clear storm-control counters broadcast | multicast | unicast interface interface-id command to clear one storm control counter of a given traffic type and of a given port.
Examples
Example 1. The following example clears all storm control counters of all ports:
switchxxxxxx# clear storm-control counters
Example 2. The following example clears all storm control counters of port gi1/0/1:
switchxxxxxx# clear storm-control counters interface gi1/0/1
Example 3. The following example clears broadcast storm control counter of all ports:
switchxxxxxx# clear storm-control counters broascat
Example 4. The following example clears multicast storm control counter of port gi1/0/1:
switchxxxxxx# clear storm-control counters multicast interface gi1/0/1