vflow-stats-clear

This command displays flow statistics for Layer 2 Ethernet or Layer 3 Internet Protocol (IP) traffic.

Syntax   vflow-stats-show

Specify any of the following options:

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

Specify the start time of the flow using the notation yyyymm-

ddThh:mm:ss.

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

Specify the start time of the flow using the notation yyyymm-

ddThh:mm:ss

dur duration-number

Specify the duration of the flow (in seconds).

interval duration: #d#h#m#s

Specify the length of time between collection intervals.

since-start|no-since-start

Specify if the statistics are collected from the start of the vflow.

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

Specify if the statistics are older than the stated duration.

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

Specify the statistics collected within the last duration.

name vflow name

Specify the name of the vflow.

Specifyvnet vnet name

Specify the VNET.

id

Specify the ID assigned.

pkts pkts-number

Specify the total number of packets.

bytes bytes-number

Specify the total number of bytes.

cpu-pkts cpu-pkts-number

Specify the total number of CPU packets.

cpu-bytes cpu-bytes-number

Specify the total number of CPU bytes.

mismatches mismatches-number

Specify the number of mismatched packets.

drops drops-number

Specify the number of dropped packets.

drops-bytes drops-bytes-number

Specify the number of dropped bytes.

policer-drops policer-drops-number

Specify the number of policer dropped packets.

policer-drop-bytes policer-drop-bytes-number

Specify the number of policer dropped bytes.

cpu-tx-pkts cpu-tx-pkts-number

Specify the number of packets sent from the CPU.

cpu-tx-bytes cpu-tx-bytes-number

Specify the number of bytes sent from the CPU.

 

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.

sort-asc

Display output in ascending order.

sort-desc

Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.

show-headers|
no-show-headers

Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.

count-output

Display the number of entries in the output. This is useful with vRouter show commands.

unscaled

Display full values in the output instead of scaled approximate values.

raw-int-values

Display integer values instead of mapped values

sum-by

Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

 

Defaults   None.

Access   CLI

History   

Version 2.4.0

Command introduced.

Version 2.6.2

The parameters, policer-drops, policer-drop-bytes, cpu-tx-pkts, and cpu-tx-bytes, added.

Usage   Each fabric, cluster, standalone switch, or virtual network can track application flow statistics. This command clears vflow statistics.

Examples  This example shows how to clear vflow statistics:

CLI network-admin@switch > vflow-stats-clear

See Also   

vflow-create

vflow-delete

vflow-modify

vflow-show

vflow-class-create

vflow-class-delete

vflow-class-show

vflow-share-modify

vflow-snoop