Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show openflow flows

Syntax

Description

Display information about traffic flows that match filters on OpenFlow interfaces.

Options

none

(Same as brief) Display information for all flows.

brief | detail | summary

(Optional) Display the specified level of output.

flow-id

(Optional) Display information only for the specified flow.

switch switch-name

(Optional) Display information only for the flows on the specified OpenFlow virtual switch.

Required Privilege Level

admin

Output Fields

Table 1 lists the output fields for the show openflow flows command. Output fields are listed in the approximate order in which they appear.

Table 1: show openflow flows Output Fields

Field Name

Field Description

Switch Name

User-configured identifier for the OpenFlow virtual switch on which the flow resides.

Number of flows

Number of active flow entries associated with that OpenFlow virtual switch.

Flow name

Flow descriptor.

Table ID

Identifier for the flow table from which the flow originated.

Flow ID

Flow identifier associated with that flow entry.

Number of packets

Number of packets that have matched the flow entry.

Priority

Flow entry priority. Packets match higher priority entries before matching lower priority entries.

Idle timeout

Number of seconds after which the flow entry is removed from the flow table provided there are no matching packets.

Hard timeout

Number of seconds after which the flow entry is removed from the flow table regardless of the number of matching packets.

Cookie

An identifier specified by the OpenFlow controller when the flow is installed in the flow table. Cookies are used to filter flows for flow modification and delete operations.

Note:

This field appears only if the device running Junos OS supports OpenFlow version 1.3.1 or later.

Match

Configured match conditions against which the incoming packet is compared.

Note:

In the OpenFlow 1.3.1 sample output, the match fields that are populated for an IPv6 flow apply to MX Series routers only.

Action

Set of actions (for OpenFlow v1.0) or flow instructions (for OpenFlow v1.3.1) applied to a packet when it matches the flow entry.

Number of match

Number of match conditions against which the incoming packet is compared.

Number of action

Number of actions (for OpenFlow v1.0) or flow instructions (for OpenFlow v1.3.1) that are applied to a packet when it matches the flow entry.

Sample Output

show openflow flows switch brief

show openflow flows switch detail

show openflow flows switch detail (OpenFlow 1.3.1, IPv6 Flow)

show openflow flows switch summary

show openflow flows brief (Specific Flow)

show openflow flows detail (Specific Flow)

show openflow flows detail (Specific Flow, OpenFlow 1.3.1, IPv6 Flow)

show openflow flows detail (Specific Flow, OpenFlow 1.3.1, Destination MAC Address Rewrite Action)

show openflow flows summary (Specific Flow)

Release Information

Command introduced in Junos OS Release 13.3.