client-server-stats-clear
This command is used to clear statistics generated between a client, and server on the network.
Syntax client-server-stats-clear
Specify any of the following options: |
|
time date/time:yyyy-mm-ddThh:mm:ss |
Clear statistics from a specific time period. |
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 the number of counters. |
vlan vlan-id |
Clear statistics for a specific VLAN. |
vxlan vxlan-id |
Clear statistics for a specific VXLAN. |
client-switch-port port-number |
Clear statistics for a specific port number on the client switch. |
server-switch-port port-number |
Clear statistics for a specific port number on the server switch. |
client-mac mac-address |
Clear statistics for a specific client MAC address. |
server-mac mac-address |
Clear statistics for a specific server MAC address. |
client-ip ip-address |
Clear statistics for a specific client IP address. |
server-ip ip-address |
Clear statistics for a specific client IP address. |
server-port |
Specifies the type of statistic to clear from the server port. This includes HDFS, Hive, Ganglia, Cassandra, Nutanix, and other server types. |
syn syn-number |
Clear the statistics for SYN packets. |
est est-number |
Clear the statistics for established connections. |
fin fin-number |
Clear the statistics for the total number of closed connections. |
obytes obytes-number |
Specifis the number of outgoing bytes to clear statistics. |
ibytes ibytes-number |
Specifies the number of incoming bytes to clear statistics. |
total-bytes total-bytes-number |
Specifies the total bytes to clear statistics. |
avg-dur high resolution time: #ns |
Clear the average duration of high resolution statistics. |
avg-lat high resolution time: #ns |
Clear the average latency statistics. |
first-seen date/time: yyyy-mm-ddThh:mm:ss |
Clear the first-seen statistics only. |
last-seen date/time: yyyy-mm-ddThh:mm |
Clear the last-seen statistics only. |
Defaults None
Access CLI
History
Version 2.0 |
Command introduced. |
Version 2.1 |
The parameters timestamp, start-time, end-time, duration, interval, since-start, older-than, and within-last added to the command. |
Version 2.2 |
The parameter no-since-start deprecated. |
Version 2.2.5 |
The parameters HDFS- added. |
Version 2.2.6 |
The parameters MR, HBase, Ganglia, Cassandra, and Nutanix added to server-port. |
Usage You can clear all statistics for a client server connection or you can use a filter to clear specific statistics.
Examples To clear statistics for VLAN12, use the following command:
CLI (network-admin@switch) > client-server-stats-clear vlan 12