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] [start-time date/time: yyyy-mm-ddThh:mm:ss] [end-time date/time: yyyy-mm-ddThh:mm:ss] [duration duration: #d#h#m#s] [interval duration: #d#h#m#s] [since-start] [older-than duration: #d#h#m#s] [within-last duration: #d#h#m#s] [caller Unknown|Total|Vxlan]

Defaults   

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.

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.

sort-asc

Display output in ascending order.

sort-desc

Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.

show-headers|
no-show-headers

Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.

count-output

Display the number of entries in the output. This is useful with vRouter show commands.

unscaled

Display full values in the output instead of scaled approximate values.

raw-int-values

Display integer values instead of mapped values

sum-by

Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

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|
Logical-switch|PTP|STP|PVST|nvOS-control|Local-subnet|Ipv6-mc|TCP-conn|RX-queue|NAT-Dynamic|CPU-RX-TX|VLAG|BCAST|Flood
] deprecated.

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