Skip to content

Commit

Permalink
[show][interfaces] Add proposal for show interface errors {port} (#3623)
Browse files Browse the repository at this point in the history
* [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]>
  • Loading branch information
vdahiya12 authored Dec 12, 2024
1 parent d5cbe46 commit b2ba082
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions doc/Command-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -5134,6 +5134,37 @@ This command is to display the link-training status of the selected interfaces.
Ethernet8 trained on up up
```

**show interfaces errors**

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.

- Usage:
```
show interfaces errors [<interface_name>]
```

- Example:
```
admin@sonic:~$ show interfaces errors Ethernet4
Port Errors Count Last timestamp(UTC)
---------------------------------- ----- -------------------
oper_error_status 5442 2024-11-02 04:00:05
mac_local_fault 2 2024-11-02 04:00:05
fec_sync_loss 2 2024-11-02 04:00:05
fec_alignment_loss 2 2024-11-02 04:00:05
high_ser_error 2 2024-11-02 04:00:05
high ber_error 2 2024-11-02 04:00:05
data_unit_crc_error 2 2024-11-02 04:00:05
data_unit_misalignment_error 2 2024-11-02 04:00:05
signal_local_error 2 2024-11-02 04:00:05
mac_remote_fault 2 2024-11-02 04:00:50
crc_rate 2 2024-11-02 04:00:50
data_unit_size 2 2024-11-02 04:00:50
code_group_error 0 Never
no_rx_reachability 0 Never
```


**show interfaces mpls**

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

0 comments on commit b2ba082

Please sign in to comment.