Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Understanding OpenFlow Flow Instructions on Devices Running Junos OS


Flow instructions are supported only on Juniper Networks devices running OpenFlow v1.3.1 or later.

When a packet matches a particular OpenFlow flow, a Juniper Networks device running OpenFlow v1.0 applies a set of actions to the packet. Starting with OpenFlow v1.3.1, instead of applying a set of actions, the Juniper Networks device applies a flow instruction to a matching packet.

In the Junos OS implementation of OpenFlow v1.3.1, a flow entry can include only one flow instruction, which can be one of the following:

  • Apply actions (OFPIT_APPLY_ACTIONS)

  • Write actions (OFPIT_WRITE_ACTIONS)

Each of the instructions mentioned above includes a list of actions that the device applies immediately in the order in which they appear the list.