sonic-utilities icon indicating copy to clipboard operation
sonic-utilities copied to clipboard

need command to clear the 'pfcwd stats'

Open alpeshspatel opened this issue 3 years ago • 1 comments

Description

The existing command show pfcwd stats shows the number of WD events detected and restored for a particular port/queue, along with the Tx/Rx forward/drop packet counters.

This ticket is opened to add a clear command to clear the WD stats for a particular port/queue, preferably when the number of detected/restored count is identical.

Steps to reproduce the issue

This is an enhancement request.

Describe the results you received

n/a

Describe the results you expected

*clear pfcwd stats [ [interface] [ queue] ] [interface] optional [queue] optional without any arguments clear all PFC WD stats without queue, clear the PFC WD stats for the interface

Additional information you deem important

Requesting this for 202012, 202205 and master

alpeshspatel avatar Sep 25 '22 19:09 alpeshspatel

@neethajohn @kevinwangsk Please do the needful.

alpeshspatel avatar Sep 25 '22 19:09 alpeshspatel