SummaryWhen viewing NIC diagnostics under the 'System > Network, "NICs" page or the System > Diagnostics, "NICs" page, there will be an interface level set of diagnostics run on the interface. It is difficult to clear this information out of the system and any option on the UI or CLI will not get rid of the statistics.
OverviewThe NIC diagnostics are a valuable tool that can be run on the Exinda in order to show a list of the network cards, each port and statistics for each of them, including the following:
- Transferred (Tx) bytes
- Received (Rx) bytes
- Tx / Rx errors
- Dropped packets
- Errored packets
- Cyclic Redundancy Failure (CRC) notifications
Sometimes, it is wanted to clear these statistics in order to zero them out and get a clean slate after a known network problem that generate errors or other packet loss.
When using the web UI, under System > Setup, "Monitoring" tab, there is an option to "Clear Interface Statistics", among other types. When doing this in an attempt to clear the NIC statistics, it is noticed that these NIC statistics are not cleared like would be assumed. Similarly, there is no command line option that also works to clear the NIC statistics in order to zero them out at any time.
CauseThe NIC diagnostic statistics are generated on a driver level, and are independent of the Exinda firmware. Unlike switches and routers, where this information is integrated into the core firmware (for example, the 'show interfaces' command on most switches is comparable to the NIC diagnostics in the Exinda, but are more heavily integrated into the firmware), the Exinda simply utilizes its own mechanisms for tracking. It studies these diagnostics and utilizes them for other statistics, but it does not generate them itself, as it is the driver's responsibility.
The Exinda doesn't have a mechanism built into both the web UI and CLI to be able to clear these statistics. The "Interface Statistics" clearing option available, instead clears the database information for the 'Interfaces' graph available for viewing. This doesn't clear the NIC level statistics, simply what the firmware has collected from them and placed in its database. Though the wording is confusing, because 'interface' could refer to both of the options. For clarity, the diagnostics are referred to as 'NIC' diagnostics due to the relation of the hardware level.