Clearing the OpenFlow Statistics

You can clear the flow statistics for all flows or, optionally, for a specified flow. Only the counters of packets and bytes (when applicable) are cleared. None of the other flow table entries are affected.

To clear flow counters, enter the clear statistics openflow command.

device(config)# clear statistics openflow 

To clear flow counters for a specified flow, enter the following command:

device(config)# clear statistics openflow flow 2

In the example, the flow counters are cleared only for flow ID 2. Use the show openflow flows command to obtain flow IDs.