Introduction
You can view switch performance statistics in the user, operator, and administrator command modes. This chapter discusses how to use the CLI to display switch statistics.
Menu information
Command: /stats
[Statistics Menu] |
| |
port | - Port Stats Menu | |
clrports | – Clear stats for all ports | |
l2 | - Layer 2 | Stats Menu |
l3 | - Layer 3 | Stats Menu |
mp | - | |
ntp | - Show NTP stats | |
dump | - Dump all stats | |
|
|
|
The following table describes the Statistics Menu options.
Table 34 Statistics Menu options
Command | Usage |
port <port number> | Displays the Port Statistics Menu for the specified port. Use this command to display |
| traffic statistics on a |
| Management Information Base (MIB) objects. |
clrports | Clears the statistics for all ports. |
l2 | Displays the Layer 2 Statistics Menu. |
l3 | Displays the Layer 3 Statistics Menu. |
mp | Displays the Management Processor Statistics Menu. Use this command to view |
| information on how switch management processes and resources are currently being |
| allocated. |
ntp <clear> | Displays Network Time Protocol (NTP) Statistics. |
| Add the argument, clear, to clear NTP statistics |
dump | Dumps all switch statistics. Use this command to gather data for tuning and debugging |
| switch performance. If you want to capture dump data to a file, set your communication |
| software on your workstation to capture session data prior to issuing the dump |
| command. |
Command Line Interface 46