OpenFlow v1.3.0 Instructions
Each flow entry has a set of instructions that are executed when the packet matches
the entry.
The instruction set associated with each flow entry can have only one instruction of each type. The following table shows the actions supported on different RUCKUS ICX devices.
Actions for Flow Table Instruction
| Actions | Description | Supported on ICX |
|---|---|---|
| Write-Action actions (Req) | Adds or overwrites specified actions to the action set. | Yes |
| Apply-Actions actions | Applies the specified actions immediately. | Yes |
| Clear-Actions actions | Clears all the actions in the action set. | Yes |
| Meter meter-id | Directs the packet to the specified meter. | Yes |
| Goto-Table next-table-id (Req) | Indicates the next table in pipeline processing. | No |
| Write-Metadata metadata/mask | Writes the metadata field from the mask. | No |
| Output (Req) | Forwards the packet to a specified OpenFlow port. If out-port is Controller, then the packet is sent as packet-in message. | Yes |
| Drop (Req) | No explicit drop action. Packet with empty action set is dropped. | Yes |
| Group | Processes the packet through the specified group. | Yes |
| Set field | Modifies the values of the packet header based on the field type. | Yes |
| Push-Tag/Pop-Tag | Adds and removes tag (newly inserted tags are always the outermost tags). | Yes |
| Set-Queue | Enqueues the packet to a specific queue on the outgoing port. | Yes |
| Decrement TTL | Decrements the TTL value by 1. | Yes1 |
| Normal Action mode | Processes the non-OpenFlow flows using local switching and routing. | Yes |
The set fields in the following table are supported for OpenFlow instructions. The set field action is used to set the value in the header field.
Supported Set Field Action
| Set Field | Supported on ICX | Description |
|---|---|---|
| OXM_OF_ETH_DST | Yes | Ethernet destination MAC address (A maximum of 600 flows can be configured with this action.) |
| OXM_OF_ETH_SRC | Yes | Ethernet source MAC address |
| OXM_OF_ETH_TYPE | No | EtherType of the OpenFlow packet payload after VLAN tags |
| OXM_OF_VLAN_VID | Yes | VLAN-ID 802.1Q header (The output port must be a part of the VLAN that the flow is trying to set.) |
| OXM_OF_VLAN_PCP | Yes | VLAN-PCP 802.1Q header |
| OXM_OF_IP_DSCP | Yes | DiffServ Code Point (DSCP). Part of the IPv4 TOS field or the IPv6 Traffic Class field. |
| OXM_OF_IP_ECN | Yes | Modified ECN bits of the IP header. |
- This action behaves differently on different devices. This action must be accompanied with a DMAC modification. In addition, the incoming traffic destination MAC address must be equal to the switch's MAC address for this action to work. Otherwise, the traffic is dropped. ↩