Accessing port and trunk group statistics

Viewing the port counter summary report

Syntax

show interfaces

Provides an overview of port activity for all ports on the switch.

Viewing a detailed traffic summary for specific ports

Syntax

show interfaces <PORT-LIST>

Provides traffic details for the ports you specify.

Resetting the port counters

It is useful to be able to clear all counters and statistics without rebooting the switch when troubleshooting network issues. The clear statistics global command clears all counters and statistics for all interfaces except SNMP. You can also clear the counters and statistics for an individual port using the clear statistics <PORT-LIST> command.

Syntax

clear statistics [ <PORT-LIST> | global ]

When executed with the <PORT-LIST> option, clears the counters and statistics for an individual port.

When executed with the global option, clears all counters and statistics for all interfaces except SNMP.

The show interfaces <PORT-LIST> command displays the totals accumulated since the last boot or the last clear statistics command was executed. The menu page also displays these totals.

SNMP displays the counter and statistics totals accumulated since the last reboot; it is not affected by the clear statistics global command or the clear statistics <PORT-LIST> command. An SNMP trap is sent whenever the statistics are cleared.