connection-stats-show


This command displays statistics collected when connected to a 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

The statistics from a specific start time, and date.

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

The statistic from a specific end time, and date.

duration: #d#h#m#s

The statistics for a specific duration.

interval duration: #d#h#m#s

The statistics for a specific interval duration.

since-start|no-since-start

The statistics from the start of collection.

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

The statistics older than a specified date, and time.

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

The 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

The vNET name of the connection.

vlan vlan_id

The VLAN identifier.

ip ip-address

The IP address of the connection.

port port-number

The port number of the connection.

iconns iconns-number

The number of incoming connections.

oconns oconns-number

The number outgoing connections.

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.

total-bytes

total-bytes-number

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.

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)1 > connection-stats-show format all layout vertical

switch:        switch1

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:        switch1

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

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south