connection-stats-clear


This command clears statistics collected while connected to the host.

Syntax   connection-stats-clear

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

Specify a time to clear statistics collection.

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

Specify the start-time for statistics collection.

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

Specify the end-time  for statistics collection.

duration: #d#h#m#s

Specify the duration of statistics collection.

interval duration: #d#h#m#s

Specify the interval between statistics collection.

since-start

Clears statistics from the start of collection.

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

Clears statistics older than a specified duration.

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

Clears statistics within the last specified duration.

count count-number 

Specify a count for connection statistics

mac mac-address

Specify the MAC address of connections

vnet vnet-name 

Specify the vNET name of connections

vlan vlan_id

Specify the VLAN of connections.

ip ip-address

Specify the IP address of connections

port port-number

Specify the port number of connections.

iconns iconns-number

Specify the number of incoming connections.

oconns oconns-number

Specify the number outgoing connections.

obytes

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

ibytes

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

total-bytes total-bytes-number

Specify the total number of bytes for the connection.

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

Specify the time at which an entry was first seen.

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

Specify the time at which an entry was last seen.

last-seen-ago duration: #d#h#m#s

Specify the duration since the statistics was last seen.

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

Version 2.4.1

The parameters vnet, and total-bytes added.

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

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

CLI (network-admin@switch) > connection-stats-clear port 23

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south