Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show openflow statistics flows

Syntax

Description

Display statistics for OpenFlow flows.

Options

none

Display flow statistics for all flows for all OpenFlow virtual switches.

flow-id

(Optional) Display flow statistics only for the specified flow.

switch switch-name

(Optional) Display flow statistics only for the specified OpenFlow virtual switch.

Required Privilege Level

admin

Output Fields

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

Table 1: show openflow statistics flows Output Fields

Field Name

Field Description

Switch Name

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

Table ID

Identifier for the flow table from which the flow originated.

Flow ID

OpenFlow flow entry identifier.

Duration(in sec)

Number of seconds the flow has been active.

Duration(in nsec)

Number of nanoseconds the flow has been active beyond the value of Duration(in sec).

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.

Number of packets

Number of packets that have matched the flow entry.

Number of bytes

Number of bytes that have matched the flow entry.

Match

Fields against which the incoming packet is compared.

Action

Set of actions applied to a packet when it matches the flow entry.

Sample Output

show openflow statistics flows

show openflow statistics flows (OpenFlow 1.3.1)

show openflow statistics flows (Specific Flow)

show openflow statistics flows (Specific Flow, OpenFlow 1.3.1)

show openflow statistics flows switch

show openflow statistics flows switch (OpenFlow 1.3.1)

Release Information

Command introduced in Junos OS Release 13.3.