C Commands
clear flow monitor
55
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
clear flow monitor
To clear a Flexible NetFlow flow monitor, flow monitor cache, or flow monitor statistics and to force the
export of the data in the flow monitor cache, use the clear
flow monitor command.
clear flow monitor {name monitor-name | monitor-name} [cache [force-export] | statistics]
Syntax Description
Defaults None
Command Modes Any command mode
Supported User Roles network-admin
network-operator
vdc-admin
vdc-operator
Command History
Usage Guidelines You must enable Flexible NetFlow monitor before you can use the clear flow monitor command.
Use the clear flow monitor monitor-name cache command to remove all entries from the flow monitor
cache. These entries will not be exported and the data gathered in the cache is lost.
The statistics for the cleared cache entries are maintained.
Use the clear flow monitor monitor-name force-export command to remove all entries from the flow
monitor cache and exports them to all flow exporters that are assigned to the flow monitor. This process
can result in an short term increase in the CPU utilization.
Caution Be careful when you use the clear flow monitor monitor-name force-export command because using
this command might cause a short-term increase in the CPU utilization.
Use the clear flow monitor monitor-name statistics command to clear the statistics and cache entries
for this flow monitor.
name Specifies the name of a flow monitor.
monitor-name Name of an existing flow monitor.
cache (Optional) Clears the flow monitor cache information.
force-export (Optional) Forces the export of the flow monitor cache statistics.
statistics (Optional) Clears the flow monitor statistics.
Release Modification
4.0(1) This command was introduced.