Skip to content

Commit b2ba082

Browse files
authored
[show][interfaces] Add proposal for show interface errors {port} (sonic-net#3623)
* [show][interfaces] Add proposol for show interface mac_statistics {port} Signed-off-by: Vaibhav Dahiya <[email protected]> * fix comments Signed-off-by: Vaibhav Dahiya <[email protected]> * format Signed-off-by: Vaibhav Dahiya <[email protected]> * add changes Signed-off-by: Vaibhav Dahiya <[email protected]> * fix suggestions Signed-off-by: Vaibhav Dahiya <[email protected]> --------- Signed-off-by: Vaibhav Dahiya <[email protected]>
1 parent d5cbe46 commit b2ba082

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

doc/Command-Reference.md

+31
Original file line numberDiff line numberDiff line change
@@ -5134,6 +5134,37 @@ This command is to display the link-training status of the selected interfaces.
51345134
Ethernet8 trained on up up
51355135
```
51365136

5137+
**show interfaces errors**
5138+
5139+
The show interface errors command provides detailed statistics and error counters for MAC-level operations on an interface. It displays the status of various operational parameters, error counts, and timestamps for when these errors occurred.
5140+
5141+
- Usage:
5142+
```
5143+
show interfaces errors [<interface_name>]
5144+
```
5145+
5146+
- Example:
5147+
```
5148+
admin@sonic:~$ show interfaces errors Ethernet4
5149+
Port Errors Count Last timestamp(UTC)
5150+
---------------------------------- ----- -------------------
5151+
oper_error_status 5442 2024-11-02 04:00:05
5152+
mac_local_fault 2 2024-11-02 04:00:05
5153+
fec_sync_loss 2 2024-11-02 04:00:05
5154+
fec_alignment_loss 2 2024-11-02 04:00:05
5155+
high_ser_error 2 2024-11-02 04:00:05
5156+
high ber_error 2 2024-11-02 04:00:05
5157+
data_unit_crc_error 2 2024-11-02 04:00:05
5158+
data_unit_misalignment_error 2 2024-11-02 04:00:05
5159+
signal_local_error 2 2024-11-02 04:00:05
5160+
mac_remote_fault 2 2024-11-02 04:00:50
5161+
crc_rate 2 2024-11-02 04:00:50
5162+
data_unit_size 2 2024-11-02 04:00:50
5163+
code_group_error 0 Never
5164+
no_rx_reachability 0 Never
5165+
```
5166+
5167+
51375168
**show interfaces mpls**
51385169

51395170
This command is used to display the configured MPLS state for the list of configured interfaces.

0 commit comments

Comments
 (0)