Skip to content

sonic-clear counters does not clear FEC histogram counters #3741

@bobbymcgonigle

Description

@bobbymcgonigle

The FEC histogram feature works and actively polls the FEC bins for symbol errors. These counters increment as expected, but they are unable to be cleared by the sonic-clear counters command or any other command that I have found.

root@switch:~# show int counters fec-histogram Ethernet0
Symbol Errors Per Codeword         Codewords
----------------------------  --------------
BIN0                          77092897948028
BIN1                                 5529181
BIN2                                   85996
BIN3                                     217
BIN4                                       0
BIN5                                       0
BIN6                                       0
BIN7                                       0
BIN8                                       0
BIN9                                       0
BIN10                                      0
BIN11                                      0
BIN12                                      0
BIN13                                      0
BIN14                                      0
BIN15                                      0

root@switch:~# sonic-clear counters
Cleared counters

root@switch:~# show int counters fec-histogram Ethernet0
Symbol Errors Per Codeword         Codewords
----------------------------  --------------
BIN0                          77093367001233
BIN1                                 5529214
BIN2                                   85996
BIN3                                     217
BIN4                                       0
BIN5                                       0
BIN6                                       0
BIN7                                       0
BIN8                                       0
BIN9                                       0
BIN10                                      0
BIN11                                      0
BIN12                                      0
BIN13                                      0
BIN14                                      0
BIN15                                      0
root@switch:~#

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions