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.

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

vflow-stats-show

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

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

ddThh:mm:ss.

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

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

ddThh:mm:ss

dur duration-number

Specifies the duration of the flow (in seconds).

interval duration: #d#h#m#s

Specifies the length of time between collection intervals.

since-start|no-since-start

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

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

Specifies if the statistics are older than the stated duration.

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

Specifies the statistics collected within the last duration.

name vflow name

Specifies the name of the vflow.

vnet vnet-name

Specifies the name of the VNET.

id

Specifies the ID assigned.

Defaults   None.

Access   CLI

History   .

Version 1.2

Command introduced.

Version 2.4.1

The parameter, vnet, added.

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

Examples  This example shows how to display flow statistics.

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

switch       name                 packets bytes cpu-packets cpu-bytes

------       -----------          ------- ----- ----------- --------

pleiades24   IGMP-Flow            1.98M   130M  1.99M       123M

pleiades24   LLDP-Flow            218K    24.2M 218K        23.4M

pleiades24   Host-Agent-Discover  3.92K   251K  0           0

pleiades24   ECP                  0       0     0           0

pleiades24   Fabric-Discovery    282K     159M  273K        157M

pleiades24   SYSTEM-S            777K     60.2M 763K        56.0M

pleiades24   SYSTEM-F            719K     67.3M 711K        63.5M

pleiades24   SYSTEM-R            288K     18.0M 285K        16.7M

pleiades24   System-A            36.5M    2.28G 36.5M       2.14G

pleiades24   DHCP-client         83.6K    40.7M 37.9K       19.3M

pleiades24   DHCP-server         53.2K    23.0M 31.4K       10.5M

vflow-stats-settings-modify

This command allows you to modify the settings for collection vFlow statistics.

Syntax   vflow-stats-settings-modify

enable|disable

Specify to enable or disable statistics collection.

interval duration:#d#h#m#s

Specify the interval between statistics collection.

disk-space disk-space-number

Specify the amount of disk space to reserve for the statistics.

Defaults   None

Access   CLI

History   Command introduced in Version 2.1.

Usage   Use this command to modify the setting for statistics collection.

Examples  To modify the vFlow statistics disk size to 8G, use the following command:

CLI network-admin@switch > vflow-stats-settings-modify disk-space 8g

vflow-stats-settings-show

This command allows to display the settings for collection vFlow statistics.

Syntax   vflow-stats-settings-show

Defaults   None

Access   CLI

History   Command introduced in Version 2.1.

Usage   Use this command to display the settings for statistics collection.

Examples  To display the vFlow statistics, use the following command:

CLI network-admin@switch > vflow-stats-settings-show

switch:     pleiades25

enable:     yes

interval:   1m

disk-space: 50M