Skip to content

Commit a5b7a90

Browse files
authored
[show][interfaces] Add proposal for show interfaces flap (sonic-net#3627)
* [show][interfaces] Add proposal for show interfaces history Signed-off-by: Vaibhav Dahiya <[email protected]> * change name Signed-off-by: Vaibhav Dahiya <[email protected]> * corrections Signed-off-by: Vaibhav Dahiya <[email protected]> * add changes Signed-off-by: Vaibhav Dahiya <[email protected]> * correct syntax Signed-off-by: Vaibhav Dahiya <[email protected]> * fix comments Signed-off-by: Vaibhav Dahiya <[email protected]> --------- Signed-off-by: Vaibhav Dahiya <[email protected]>
1 parent 0083a12 commit a5b7a90

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

doc/Command-Reference.md

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

5137+
**show interfaces flap**
5138+
5139+
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.
5140+
5141+
- Usage:
5142+
```
5143+
show interfaces flap
5144+
```
5145+
- Example:
5146+
```
5147+
admin@sonic:~$ show interfaces flap
5148+
Interface Flap Count Admin Oper Link Down TimeStamp (UTC) Link Up TimeStamp (UTC)
5149+
----------- ------------ ------- ------ -------------------------------------------------------- -----------------------------------------------------------
5150+
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)
5151+
Ethernet4 Never Up Up Never Last Link up: 2024-09-30 10:01:03 UTC (1 days 02:30:15 ago)
5152+
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)
5153+
```
51375154
**show interfaces errors**
51385155

51395156
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.

0 commit comments

Comments
 (0)