You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/Command-Reference.md
+131-2
Original file line number
Diff line number
Diff line change
@@ -4984,8 +4984,8 @@ The "current-mode" subcommand is used to display current breakout mode for all i
4984
4984
4985
4985
**show interfaces counters**
4986
4986
4987
-
This show command displays packet counters for all interfacessince the last time the counters were cleared. To display l3 counters "rif" subcommand can be used. There is no facility to display counters for one specific l2 interface. For l3 interfaces a single interface output mode is present. Optional argument "-a" provides two additional columns - RX-PPS and TX_PPS.
4988
-
Optional argument "-p" specify a period (in seconds) with which to gather counters over.
4987
+
This show command displays packet counters for all interfaces(except the "show interface detailed" command) since the last time the counters were cleared. To display l3 counters "rif" subcommand can be used. There is no facility to display counters for one specific l2 interface. For l3 interfaces a single interface output mode is present. Optional argument "-a" provides two additional columns - RX-PPS and TX_PPS.
4988
+
Optional argument "-p" specify a period (in seconds) with which to gather counters over. To display the detailed per-interface counters "detailed <interface-name>" subcommand can be used.
4989
4989
4990
4990
- Usage:
4991
4991
```
@@ -4995,6 +4995,7 @@ Optional argument "-p" specify a period (in seconds) with which to gather counte
4995
4995
show interfaces counters rif [-p|--period <period>] [-i <interface_name>]
4996
4996
show interfaces counters fec-histogram [-i <interface_name>]
4997
4997
show interfaces counters fec-stats
4998
+
show interfaces counters detailed <interface_name>
4998
4999
```
4999
5000
5000
5001
- Example:
@@ -5100,6 +5101,56 @@ Optionally, you can specify a period (in seconds) with which to gather counters
The "detailed" subcommand is used to display more detailed interface counters. Along with tx/rx counters, it also displays the WRED drop counters that are supported on the platform.
5105
+
5106
+
- Example:
5107
+
```
5108
+
admin@sonic:~$ show interfaces counters detailed Ethernet8
0 commit comments