connection-show

To display connection statistics for a switch, use the connection-show command.

Syntax   connection-show

start-time date/time: yyyy-mm-ddThh:mm:ss

Specifies statistics from a specific start time, and date.

end-time date/time: yyyy-mm-ddThh:mm:ss

Specifies statistic from a specific end time, and date.

duration: #d#h#m#s

Specifies statistics for a specific duration.

interval duration: #d#h#m#s

Specifies statistics for a specific interval duration.

since-start

Specifies statistics from the start of collection. This is another way to specify the start time for the connection output.

older-than duration: #d#h#m#s

Specifies statistics older than a specified date, and time. This is another way to specify the end time for the connection output.

within-last duration: #d#h#m#s

Specifies statistics within a specified duration time. This is another way to specify the start time for the connection output. Also, only the closed connections are displayed.

vlan vlan-id

The VLAN identifier.

egress-vnet vnet-name 

The egress vNET.

egress-vlan vlan_id

The egress VLAN of the connection.

vnet vnet-name

The vNET name.

src-switch-port

The physical port number on the switch where a client requested a connection.

dst-switch-port

The physical port number on the switch where a server responded to a connection.

ether_type

The EtherType value or keyword of the connection. The keywords can be arp, dot1X, fcoe, fcoe-init, ipv4, ipv6, jumbo, lldp, macsec, mpls-multi, mpls-uni, ptp, qing, rarp, vlan, and wake.

src-mac-addr

The MAC address of the client requesting a connection.

dst-mac-addr

The MAC address of the server responding to a connection.

src-ip

The IP address of the client requesting a connection.

dst-ip

The IP address of the server responding to a connection.

src-port

The type of data on the source port. HDFS indicates ports connected to Hadoop systems. Also includes HDFS, Hive, Ganglia, Cassandra, Nutanix, and other server types.

dst-port

The type of data on the destination port. This includes HDFS, Hive, Ganglia, Cassandra, Nutanix, and other server types.

dscp

The 6-bit Differentiated Services Code Point (DSCP).

tunnel-vnet vnet-name

The tunnel vNET name.

tunnel-vlan vlan-id

The VLAN ID.

tunnel-src-mac mac-address

The tunnel source MAC address.

tunnel-dst-mac mac-address

The tunnel destination MAC address.

tunnel-src-ip ip-address

The tunnel source IP address

tunnel-dst-ip ip-address

The tunnel destination IP address.

tunnel-src-port

The type of port used by the client requesting a connection. This includes HDFS, Hive, Ganglia, Cassandra, Nutanix, and other server types.

tunnel-dst-port

The type of port used by the client requesting a connection. This includes HDFS, Hive, Ganglia, Cassandra, Nutanix, and other server types.

tunnel-proto tcp|udp|icmp|igmp|ip|icmpv6

The protocol assigned to the tunnel.

proto[tcp|udp|icmp|igmp|ip

The protocol.

cur-state syn|est|fin|rst

The current state of the connection.

syn — synchronized

est — established

fin — finished

rst — reset

dur high resolution time: #ns

The duration of the connection.

latency(us)high resolution time: #ns

The network transmit time (latency) experienced by the connection in microseconds.

obytes

The number of bytes sent from the client side of the connection.

ibytes

The number of bytes received by the client side of the connection.

active

Specifies whether the connection is currently active or inactive.

age duration:#d#h#m#s

The duration of the connection in days, hours, minutes, and seconds.

transition-state any|started-and-ended |started| ended|ongoing

The transition state of the connection.

Defaults   None

Access   CLI

History   

Version 1.2

Command introduced.

 Version 1.2.2

Command changed to connection-clear. bytes-sent, and bytes-recvd changed to obytes, and ibytes. older-than, and within-last parameters added.

Version 2.1

The parameters client, and server changed to src and dst. The parameter service, is deprecated. The parameters started-time, ended-time, and transition-state added.

Version 2.2

The parameter no-since-start deprecated.

Version 2.2.5

The parameters HDFS- added.

Version 2.4

The parameter egress-vlan added.

Version 2.4.1

The parameter egress-vnet added.

Version 2.6.2

The parameters tunnel-* added.

Version 5.1.1

The parameters egress-bd, tunnel-bd, update-id high resolution time, and started-time-ns high resolution time added.


Usage   Each switch maintains a set of standard flow-based statistics that are “always-on”, meaning that they are continuously tracked, and updated by the switch. This command displays the TCP connections transiting the local switch as identified through the SYN/FIN protocol handshake between the client, and the server of the application.

Examples  To show the connection statistics for vnet MyVNET, use the following command:

CLI (network-admin@switch) > connection-show vnet MyVNET layout vertical

switch:                              pleiades24

vlan:                                51

vxlan:                               0

vnet:                                

src-ip:                              10.222.1.1

dst-ip:                              10.222.1.2

client-switch-port:                  8000

server-switch-port:                  

client-port:                         

server-port:                         

dscp:                                

proto:                               

service dur(s:                       

latency(us):                         

bytes-sent:                          

bytes-recv:                          

active:

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south