Open as PDF
Configuring and Managing Ports 83
Clearing Statistics Counters
To clear all port statistics counters, use the following command:
clear port counters
The counters begin incrementing again, starting from 0.
Monitoring Port Statistics
You can display port statistics in a format that continually updates the
counters. When you enable monitoring of port statistics, MSS clears the
CLI session window and displays the statistics at the top of the window.
MSS refreshes the statistics every 5 seconds. This interval cannot be
To monitor port statistics, use the following command:
monitor port counters [octets | packets | receive-errors |
transmit-errors | collisions | receive-etherstats |
Statistics types are displayed in the following order by default:
Receive Ethernet statistics
Transmit Ethernet statistics
Each type of statistic is displayed separately. Press the Spacebar to cycle
through the displays for each type.
If you use an option to specify a statistic type, the display begins with that
statistic type. You can use one statistic option with the command.