control-stats-show
This command is used to display the packet counts sent from the CPU.
Syntax control-stats-show
time date/time: yyyy-mm-ddThh:mm:ss |
Specify the timestamp of the statistics that you want to display. |
start-time date/time: yyyy-mm-ddThh:mm:ss |
Specify the start time for the statistics that you want to display. |
end-time date/time: yyyy-mm-ddThh:mm:ss |
Specify the end time for the statistics that you want to display. |
duration duration: #d#h#m#s |
Specify the duration of the statistics that you want to display. |
interval duration: #d#h#m#s |
Specify the interval between the statistics that you want to display. |
since-start |
Specify a start time for the statistics. |
older-than duration: #d#h#m#s |
Specify a duration that is older than a specified time. |
within-last duration: #d#h#m#s |
Specify a duration window for a specified time. |
caller Unknown|Total|Vxlan|Vle |
Specify the caller for the specific statistics. Total is displayed by default. |
Defaults None
Access CLI
History
Version 2.0 |
Command introduced. |
Version 2.1 |
The options, CPU-RX-TX|VLAG|BCAST|Flood, added to the parameter, caller. |
Version 2.2 |
The parameters, older-than and within-last, added. The parameters, |ARP|Vxlan-ARP|Vxlan-multicast|Vxlan-TCP|Vxlan-encap|Vxlan|Discovery|Keep-Alive|ECP| ICMP|IGMP|LLDP|LACP| |
Version 2.4.0 |
The option, Vxlan, added to the parameter, caller. |
Version 2.6.2 |
The option, Vle, added to the parameter, caller. |
Usage You can use this command to display how many packets the operating system is sending out and how many packets were dropped. This can be helpful when debugging or troubleshooting problems on the network.
Examples To display control stats for a duration of three days and an interval of one day, use the following command:
CLI network-admin@switch > control-stats-show duration 03:00:00 interval 01:00:00 format all layout vertical
switch: pubdev03
caller: Total
ipkts: 1.80M
ibytes: 458M
idrops: 5
idrop-bytes: 300
idrops-err: 0
opkts: 1.87M
obytes: 395M
odrops: 29.7K
odrop-bytes: 1.51M
switch: pubdev02
caller: Total
ipkts: 978K
ibytes: 434M
idrops: 8
idrop-bytes: 490
idrops-err: 0
opkts: 1.53M
obytes: 399M
odrops: 53.4K
odrop-bytes: 15.2M
switch: pubdev01
caller: Total
ipkts: 1.86M
ibytes: 499M
idrops: 13
idrop-bytes: 780
idrops-err: 0
opkts: 2.33M
obytes: 454M
odrops: 89.0K
odrop-bytes: 15.0M