Skip to content
Merged
Changes from all commits
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
48 changes: 48 additions & 0 deletions doc/Command-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -5222,6 +5222,54 @@ This command is to display the link-training status of the selected interfaces.
Ethernet8 trained on up up
```

**show interfaces flap**

The show interfaces flap command provides detailed insights into interface events, including the timestamp of the last link down event and the total flap count (number of times the link has gone up and down). This helps in diagnosing stability and connectivity issues.

- Usage:
```
show interfaces flap
```
- Example:
```
admin@sonic:~$ show interfaces flap
Interface Flap Count Admin Oper Link Down TimeStamp (UTC) Link Up TimeStamp (UTC)
----------- ------------ ------- ------ -------------------------------------------------------- -----------------------------------------------------------
Ethernet0 5 Up Up Last flapped : 2024-10-01 10:00:00 (0 days 00:01:23 ago) Last Link up: 2024-09-30 10:01:03 UTC (1 days 02:30:15 ago)
Ethernet4 Never Up Up Never Last Link up: 2024-09-30 10:01:03 UTC (1 days 02:30:15 ago)
Ethernet8 1 Up Up Last flapped : 2024-10-01 10:01:00 (0 days 00:00:23 ago) Last Link up: 2024-10-02 10:01:03 UTC (5 days 02:30:15 ago)
```
**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
Loading