connection-stats-show

This command displays statistics collected when connected to host.

Syntax   connection-stats-show

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

Specify a time to display connection statistics.

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|
no-since-start

Specifies statistics from the start of collection.

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

Specifies statistics older than a specified date and time.

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

Specifies statistics within a specified duration time.

count count-number 

Clear a specific number of statistics.

mac mac-address

Clear statistics for a MAC address.

vnet vnet-name 

Clears statistics for a specific VNET.

vlan vlan_id

Specifies the VLAN identifier.

ip ip-address

Specifies the IP address of the connection.

port port-number

Specifies the port number of the connection.

iconns iconns-number

Specifies the number of incoming connections.

oconns oconns-number

Specifies the number outgoing connections.

obytes

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

ibytes

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

total-bytes

total-bytes-number

Specifies the total number of bytes for the connection.

first-seen date/time: yyyy-mm-ddThh:mm:ss

Clear statistics from the time a connection is first seen.

last-seen date/time: yyyy-mm-ddThh:mm:ss

Clear statistics from the time a connection was last seen.

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 1.2

Command introduced.

Version 1.2.2

Command changed to connection-stats-show.

Version 2.2

The parameter, total-bytes, added.

Version 2.4

The parameter, age, deprecated.

Version 2.4.1

The parameter, vnet, added.

Usage   Used to clear statistics about a connection to a host.

Examples  To display the statistics from port 23, use the following command:

CLI network-admin@switch > connection-stats-show format all layout vertical

switch:        pubdev02

mac:           64:0e:94:28:03:56

vnet:          vnet-global

vlan:          1

ip:            192.168.42.30

port:          41

iconns:        184

oconns:        0

ibytes:        0

obytes:        0

total-bytes:   0

first-seen:    01-14,10:33:44

last-seen:     01-14,10:35:22

last-seen-ago: 5d23h29m53s

switch:        pubdev02

mac:           64:0e:94:28:00:5e

vlan:          1

ip:            192.168.42.20

port:          47

iconns:        3

oconns:        0

ibytes:        1.47K

obytes:        14.8K

total-bytes:   16.3K

first-seen:    01-13,13:59:35

last-seen:     01-19,22:45:21

last-seen-ago: 11h19m54s

See Also