Action taken Trigger
Trunk port
going Down
Trunk port
going Down
Trunk port
going Down
Trunk port
going Down
Clear
statistics on
physical port
which is part
of trunk
Clear
statistics on
trunk.
Reset port counters
When troubleshooting network issues, you can clear all counters and statistics without rebooting the switch using
the clear statistics global command or using the menu.
SNMP displays the counter and statistics totals accumulated since the last reboot, and it is not affected by the
clear statistics global command or the clear statistics <PORT-LIST> command. Clearing
statistics initiates an SNMP trap.
IMPORTANT: Once cleared, statistics cannot be reintroduced.
clear statistics
Syntax
clear statistics [<PORT-LIST>|global]
Description
This command clears all counters and statistics for all interfaces except SNMP.
Parameters and options
Chapter 12 Monitoring and Analyzing Switch Operation
Interaction with interface counter
Module crash/
•
Interface counters for this port are not cleared.
module reload
•
Average rate counters are cleared.
Save power - off •
Interface counters for this port are not cleared.
•
Average rate counters are cleared.
Stacking
•
Interface counters for this port are not cleared.
member reboot/
•
Average rate counters of this port is not cleared.
crash/shutdown.
•
Utilization for the port is cleared.
•
Utilization for the trunk group is updated accordingly
Module remove/
•
Statistics for removed trunk port can not be accessed as the port is
member
removed.
remove.
•
Interface counters for the trunk group is updated.
•
Utilization for the trunk group is updated.
CLI
•
Not allowed.
•
The error message Module not present for port or invalid
port: <PORT-NUM> displays when the command clear statistics
is executed on a port which part of a trunk.
CLI
•
Interface counters for physical ports which are part of trunk will be cleared.
•
Average rate counters are not cleared.
397