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: |
Clear statistics from a specific time period. |
start-time date/time: |
Clear statistics from a specific start time and date. |
end-time date/time: |
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. The options, openstack-nova|openstack-keystone|openstack-metering| openstack-neutron |
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
client-server-stats-clear-history
This command is used to clear the history of client and server statistics.
Syntax client-server-stats-clear-history
Defaults None
Access CLI
History Command introduced in Version 2.2.3.
client-server-stats-show
This command is used to show statistics generated between a client and server on the network.
Syntax client-server-stats-show
timestamp date/time:yyyy-mm-ddThh:mm:ss |
Clear statistics from a specific timestamp 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 |
Specifies the number of counters. |
vlan vlan-id |
Specifies statistics for a specific VLAN. |
vxlan vxlan-id |
Specifies statistics for a specific VXLAN. |
client-switch-port port-number |
Specifies statistics for a specific port number on the client switch. |
server-switch-port port-number |
Specifies statistics for a specific port number on the server switch. |
client-mac mac-address |
Specifies statistics for a specific client MAC address. |
server-mac mac-address |
Specifies statistics for a specific server MAC address. |
client-ip ip-address |
Specifies statistics for a specific client IP address. |
server-ip ip-address |
Specifies statistics for a specific client IP address. |
server-port |
Specifies the type of protocol on the server port. This includes HDFS, Hive, Ganglia, Cassandra, Nutanix and other server types. |
syn syn-number |
Specifies the number of SYN packets. |
est est-number |
Specifies the number established connections. |
fin fin-number |
Specifies the total number of closed connections statistics. |
syn-resends syn-resends-number |
Specifies the number of SYN packet resends. |
syn-ack-resends syn-ack-resends-number |
Specifies the number of SYN-ACK packet resends. |
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 |
Specifies the average duration of high resolution statistics. |
avg-lat high resolution time: #ns |
Specifies the average latency statistics. |
first-seen date/time: yyyy-mm-ddThh:mm:ss |
Specifies the first-seen statistics only. |
last-seen date/time: yyyy-mm-ddThh:mm |
Specifies the last-seen statistics only. |
last-seen-ago duration: #d#h#m#s |
Specifies a duration to clear statistics. |
Defaults None
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.4.1 |
The parameters, syn-resends, and syn-ack-resends, added. |
Usage You can display all statistics for a client server connection or you can use a filter to display specific statistics.
Examples To display all statistics on switch pleiedes24, use the following command:
CLI network-admin@switch > client-server-stats-show layout vertical
switch: pleiades24
vlan: 1
vxlan: 0
client-ip: 192.171.1.65
server-ip: 192.171.2.60
server-port: ssh
syn: 4
est: 0
fin: 724
obytes: 1.29M
ibytes: 2.70M
total-bytes: 3.99M
avg-dur: 486ms
avg-lat: 97.1us
last-seen-ago: 51m4s
switch: pleiedes24
vlan: 1
vxlan: 0
client-ip: 192.171.1.31
server-ip: 192.171.2.60
server-port: ssh
syn: 10
est: 0
fin: 1.60K
obytes: 2.92M
ibytes: 6.09M
total-bytes: 9.01M
avg-dur: 490ms
avg-lat: 86.3us
last-seen-ago: 51m4s