Supported Platforms
show openflow statistics flows
Syntax
Release Information
Command introduced in Junos OS Release 13.3.
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
List of Sample Output
show openflow statistics flowsshow openflow statistics flows 16842752
show openflow statistics flows switch
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 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
user@host> show openflow statistics flows
Switch Name: OFswitch1 Table ID: 1 Flow ID: 16842752 Duration(in sec): 58772 Duration(in nsec): 215702000 Priority: 32768 Idle timeout(in sec):0 Hard timeout(in sec): 0 Number of packets: 8745275026 Number of bytes: 524716501560 Match: IN_PORT, Action: OUTPUT,
show openflow statistics flows 16842752
user@host> show openflow statistics flows 16842752
Switch Name: OFswitch1 Table ID: 1 Flow ID: 16842752 Duration(in sec): 58803 Duration(in nsec): 4127548296 Priority: 32768 Idle timeout(in sec):0 Hard timeout(in sec): 0 Number of packets: 8749713419 Number of bytes: 524982805140 Match: IN_PORT, Action: OUTPUT,
show openflow statistics flows switch
user@host> show openflow statistics flows switch
OFswitch1
Switch Name: OFswitch1 Table ID: 1 Flow ID: 16842752 Duration(in sec): 58829 Duration(in nsec): 4124448296 Priority: 32768 Idle timeout(in sec):0 Hard timeout(in sec): 0 Number of packets: 8752672358 Number of bytes: 525160341480 Match: IN_PORT, Action: OUTPUT,