Displaying Standard Statistics
You can display standard statistics that consist of flow-based information collected and tracked continuously by the switch.
To show connection-level statistics, traffic flows between a pair of hosts for an application service, including current connections and all connections since the creation of the fabric, enter the following CLI command at the prompt:
CLI (network-admin@Leaf1) > connection-stats-show
From the information displayed in the output, you can see statistics for each switch, VLANs, client and server IP addresses, as well as the services on each connection. Latency and other information is also displayed.
The latency(us) column displays the running latency measurement for the TCP connection in microseconds. It indicates end-to-end latency and includes the protocol stack processing for the connected hosts and all intermediary network hops.
This is not the same latency measurement experience by a packet transiting the switch port-to-port. The port-to-port latency is platform-dependent and you should refer to the data sheet for your switch model.
To display specific types of connections, use the additional parameters with the command. For instance to display VLANs of connections:
CLI (network-admin@Leaf1) > connection-stats-show vlan
switch vlan vxlan client-ip server-ip service active age
switch12 1 0 10.9.10.152 188.8.131.52 http yes 35m27s
switch12 5 0 10.12.1.47 10.9.10.204 445 yes 7m56s
switch12 1 0 10.9.9.21 184.108.40.206 http yes 3m41s
switch12 1 0 10.9.9.21 220.127.116.11http yes 3m44s
switch12 1 0 10.9.10.72 10.9.99.23 http yes 7s
. . .
To display a summary of traffic statistics for each application service, use the service-stats-show command.
CLI (network-admin@Leaf1) > service-stats-show
switch service bytes
pleiades24 53495 584
pleiades24 8084 845M
pleiades24 59475 33.9K
pleiades24 imap 1.83M
pleiades24 35356 106
pleiades24 54341 584
From the information displayed in the output, you can review each switch, service, and the number of bytes used by each service.