Monitoring and Analyzing Switch Operation

Status and Counters Data

CLI Access To Port and Trunk Group StatisticsTo Display the Port Counter Summary Report.

Syntax: show interfaces

This command provides an overview of port activity for all ports on the switch.

To Display a Detailed Traffic Summary for Specific Ports. .

Syntax: show interfaces < port-list >

This command provides traffic details for the port(s) you specify

To Reset 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 com­ mand 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 inter­ faces 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 and web pages also display 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.

B-18