Skip to content

Add port FEC BER show changes#3607

Merged
prgeor merged 5 commits intosonic-net:masterfrom
vincentpcng:master-fec-utilities
Nov 25, 2024
Merged

Add port FEC BER show changes#3607
prgeor merged 5 commits intosonic-net:masterfrom
vincentpcng:master-fec-utilities

Conversation

@vincentpcng
Copy link
Contributor

What I did

This is to add the utilities changes for the feature port FEC BER.
This change the cli output as describled in the HLD#1829, Port FEC BER

Two additonal PR(s) will address the swss ( sonic-swss) and the sonic-mgmt changes

How I did it

This is to add two additional column for the cli "show interface counters fec-stat".
The new new colums are FEC_PRE_BER FEC_POST_BER

How to verify it

using the following two cli, one can verify the output
(1) show interface counters fec-stat
(2) portstat -f

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

portstat -f
IFACE STATE FEC_CORR FEC_UNCORR FEC_SYMBOL_ERR

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

portstat -f
IFACE STATE FEC_CORR FEC_UNCORR FEC_SYMBOL_ERR FEC_PRE_BER FEC_POST_BER

Signed-off-by: vincent ng <vincent.ng@arista.com>
Signed-off-by: vincent ng <vincent.ng@arista.com>
Signed-off-by: vincent ng <vincent.ng@arista.com>
Signed-off-by: vincent ng <vincent.ng@arista.com>
Copy link
Contributor

@prgeor prgeor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: vincent ng <vincent.ng@arista.com>
@vincentpcng
Copy link
Contributor Author

Look like the Command-Reference.md were missing the cli "show interface counters fec-stats".

I updated the Command-Reference.md to add the show interface counters fec-stats , including the pre and post FEC

@vincentpcng
Copy link
Contributor Author

vincentpcng commented Nov 25, 2024 via email

@prgeor prgeor merged commit 636f7f1 into sonic-net:master Nov 25, 2024
nmoray pushed a commit to nmoray/sonic-utilities that referenced this pull request Jun 25, 2025
* Add port FEC BER show changes

Signed-off-by: vincent ng <vincent.ng@arista.com>

* Add port FEC BER show changes

Signed-off-by: vincent ng <vincent.ng@arista.com>

* Add port FEC BER show changes

Signed-off-by: vincent ng <vincent.ng@arista.com>

* Add port FEC BER show changes

Signed-off-by: vincent ng <vincent.ng@arista.com>

* Add port FEC BER show changes

Signed-off-by: vincent ng <vincent.ng@arista.com>

---------

Signed-off-by: vincent ng <vincent.ng@arista.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants