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 following command:

device(config)# clear statistics openflow

Syntax: clear statistics openflow [ flow-id ]

The flow-id keyword, if specified, clears only the counters for the specified flow. Use the show openflow flows command to obtain flow IDs.