clear openflow

Clears flows from the flow table.
Syntax
clear openflow { flowid flow-id | all }
Parameters
flowid flow-id
Clears the given flow ID that you want to delete from the flow table.
all
Deletes all flows from the flow table.
Modes

Privileged EXEC mode

Usage Guidelines

When an OpenFlow rule or all flows in the flow table need to be deleted you can use the clear openflow command with the all option. To delete a single OpenFlow rule based on a flow-id, use the clear openflow command with the flowid flow-id options.

Examples

The following example clears the flow with an ID of 6.

device# clear openflow flowid 6

The following example clears all flows in the flow table.

device# clear openflow all
History

Release

Command History

08.0.20

This command was introduced.