Action taken Trigger
Interaction with interface counter
Trunk port
going Down
Module crash/
module reload
• Interface counters for this port are not cleared.
• Average rate counters are cleared.
Trunk port
going Down
Save power - off • Interface counters for this port are not cleared.
• Average rate counters are cleared.
Trunk port
going Down
Stacking
member reboot/
crash/shutdown.
• Interface counters for this port are not cleared.
• Average rate counters of this port is not cleared.
• Utilization for the port is cleared.
• Utilization for the trunk group is updated accordingly
Trunk port
going Down
Module remove/
member
remove.
• Statistics for removed trunk port can not be accessed as the port is
removed.
• Interface counters for the trunk group is updated.
• Utilization for the trunk group is updated.
Clear
statistics on
physical port
which is part
of trunk
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.
Clear
statistics on
trunk.
CLI
• Interface counters for physical ports which are part of trunk will be cleared.
• Average rate counters are not cleared.
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
397