Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[show][interfaces] Add proposal for show interface errors {port} #3623

Merged
merged 5 commits into from
Dec 12, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions doc/Command-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -5121,6 +5121,50 @@ This command is to display the link-training status of the selected interfaces.
Ethernet8 trained on up up
```

**show interfaces mac-statistics**

The show interface mac-stats 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 mac_statistics [<interface_name>]
```

- Example:
```
admin@sonic:~$ show interfaces mac_statistics Ethernet4
Field Value
-------------------------------- -------------------
oper_error_status 5442
mac_local_fault_count 2
mac_local_fault_time 2024-11-02 04:00:05
fec_sync_loss_count 2
fec_sync_loss_time 2024-11-02 04:00:05
fec_alignment_loss_count 2
fec_alignment_loss_time 2024-11-02 04:00:05
high_ser_error_count 2
high_ser_error_time 2024-11-02 04:00:05
high ber_error_count 2
high ber_error_time 2024-11-02 04:00:05
data_unit_crc_error_count 2
data_unit_crc_error_time 2024-11-02 04:00:05
data_unit_misalignment_error_count 2
data_unit_misalignment_error_time 2024-11-02 04:00:05
signal_local_error_count 2
signal_local_error_time 2024-11-02 04:00:05
mac_remote_fault_count 2
mac_remote_fault_time 2024-11-02 04:00:50
crc_rate_count 2
crc_rate_time 2024-11-02 04:00:50
data_unit_size_count 2
data_unit_size_time 2024-11-02 04:00:50
code_group_error_count 2
code_group_error_time 2024-11-02 04:00:50
no_rx_reachability_count 2
no_rx_reachability_time 2024-11-02 04:00:50
```


**show interfaces mpls**

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