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

[show][interface][counters] Add proposal and changes for fec-histogram for interface counters fec-histogram subcommand

Open vdahiya12 opened this issue 1 year ago • 0 comments

What I did

This pull request proposes the addition of a new command line subcommand, show interfaces counters fec-histogram, to monitoring network interfaces. This new command is designed to display the FEC (Forward Error Correction) histogram for a specified port.

Summary of Changes: New Subcommand: show interfaces counters fec-histogram [<interface_name>]

  • Purpose: Displays a histogram that shows the distribution of FEC-related errors across different bins. Each bin represents a specific range or category of errors, with the number of codewords that experienced errors listed under each bin.
  • Example Usage:
  • Command: show interface counters fec-histogram <PORT> Output: A table showing the number of codewords in each error bin, with bins labeled as BIN_FEC_CODEWORD_S0 through BIN_FEC_CODEWORD_S16. This new command will help network administrators diagnose and monitor the health of network links by providing insights into the distribution of error correction activities across different levels of severity.

How I did it

How to verify it

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

vdahiya12 avatar Sep 04 '24 07:09 vdahiya12