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


switch:        pleiades24

mac:           00:e0:81:e4:02:12

vlan:          200

ip:            100.200.1.3

port:          53

iconns:        80

oconns:        0

ibytes:        0

obytes:        0

total-bytes:   0

last-seen-ago: 4d19h32m23s

switch:        pleiades24

mac:           00:12:c0:80:1e:85

vlan:          200

ip:            100.200.1.4

port:          16

iconns:        0

oconns:        70684

ibytes:        578M

obytes:        890M

total-bytes:   1.43G

last-seen-ago: 46s

 

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 96.17.77.96  http     yes 35m27s

switch12 5    0          10.12.1.47  10.9.10.204  445      yes 7m56s

switch12 1    0          10.9.9.21   23.62.97.88  http     yes 3m41s

switch12 1    0          10.9.9.21   23.60.129.224http     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.