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 the connection statistics.

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

Clear statistics from a specific start time and date.

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

Clear statistic from a specific end time and date.

duration: #d#h#m#s

Clear statistics for a specific duration.

interval duration: #d#h#m#s

Clear statistics for a specific interval duration.

since-start

Clear statistics from the start of collection.

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

Clear statistics older than a specified date and time.

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

Clear 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

Clear the VLAN identifier.

ip ip-address

Clear the IP address of the connection.

port port-number

Clear the port number of the connection.

iconns iconns-number

Clear the number of incoming connections.

oconns oconns-number

Clear the number outgoing connections.

obytes

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

ibytes

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

total-bytes total-bytes-number

Clear the total number of bytes.

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.

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