Enabling the Display of the Elapsed Timestamp for Port Statistics Reset

Whenever the port statistics of a device are cleared globally or on an interface, the counter values of the received and transmitted packets on the device are reset for all the ports or for an interface, respectively.

The elapsed time after the most recent reset of the port statistics counters can be displayed in the output of the show statistics command by configuring the port-statistics-reset-timestamp enable command. By default, the display of the elapsed timestamp information is disabled.

The elapsed time is calculated as the time between the most recent reset of the port statistics counters and the time when the show statistics command is executed.

The following list provides details of the conditions under which the port statistics counters are reset and also explains the elapsed time calculation considerations.

  • When the port statistics are cleared individually using the clear statistics ethernet command. The elapsed time is calculated and displayed only for that particular interface.
  • When the port statistics are cleared globally using the clear statistics command. The port statistics counters for all the ports, including management ports, are cleared and the elapsed time is calculated and displayed for each of the interfaces.
  • When the management interface is cleared using the clear statistics management command. The port statistics counters specific to management ports are cleared. The elapsed time is calculated and displayed for the management interface.
  • If the system is reloaded (hard reboot or soft reboot), the port statistics on the device are cleared automatically. In this case, the time when the ports are cleared during the reload is considered as the most recent reset time.
  • In a stacking device, the Elapsed Timestamp information is applicable for other unit's ports. In case of a switchover, all the port statistics are cleared and the elapsed time is calculated and displayed for all ports.
  • If hitless failover is enabled and if any unit is reloaded, the statistics of the reloading device's interfaces are cleared. In this case, the time when the ports are cleared during the reload is considered as the most recent reset time.
  • The elapsed time is not impacted when the Network Time Protocol (NTP) syncs up with a different time other than the recorded time.

For more information refer to the RUCKUS FastIron Command Reference