OpenFlow instance mode

OpenFlow can work either in active or passive mode.

Active mode

New packets of a flow that the switch is not aware of are sent to the OpenFlow controller.

Passive mode
There is one-way communication from the OpenFlow controller to the switch. Packets that do not match any flow in the flow table on the switch are not sent to the controller. The switch normally handles such packets of new flows.

This option is applicable only for an OpenFlow version 1.0 instance.

This command sets operation mode for an OpenFlow instance.


openflow instance <instance-name> mode {active | passive}

Sets the mode for the named instance.


New flows are redirected to the controller for the instance.


New flows are not sent to the controller for the instance.

Default: active