On a vSphere Distributed Switch (vDS), port statistics or counters for virtual machines or physical uplinks (vmnics) do not reset. Attempts to clear these statistics using the following methods are unsuccessful:
The feature to manually reset port statistics via the UI or API was removed from all current vSphere versions (8.x and above). Statistics are maintained in the VCDB and the host's proxy copy of the vDS configuration and are not cleared by a standard reboot or driver initialization.
There is no UI, API, or command-line method to reset statistics for an active port on a vSphere Distributed Switch.
To clear statistics, choose one of the following workarounds:
Method 1: For Virtual Machine Ports
Method 2: For Physical Uplinks (vmnics)
A feature to reset counters without host removal can be requested for future addition to the product by filing a feature request through the Broadcom Support Portal.