sonic-utilities
sonic-utilities copied to clipboard
[show][interface][counters] Add proposal and changes for fec-histogram for interface counters fec-histogram subcommand
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.