show openflow statistics flows
Syntax
Release Information
Command introduced in Junos OS Release 13.3.
Description
Display statistics for OpenFlow flows.
Options
Required Privilege Level
admin
Related Documentation
List of Sample Output
show openflow statistics flowsshow 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)
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
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 (OpenFlow 1.3.1)
user@host> show openflow statistics flows
Switch Name: 100 Table ID: 1 Flow ID: 67174400 Duration(in sec): 51539 Duration(in nsec): 3961483296 Priority: 1000 Idle timeout(in sec):0 Hard timeout(in sec): 0 Number of packets: 179965839 Number of bytes: 14757198798 Match: IN_PORT, DL_VLAN, DL_TYPE, IPv6_SRC, IPv6_DST, Action: SET_FIELD[VLAN_ID], OUTPUT,
show openflow statistics flows (Specific Flow)
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 (Specific Flow, OpenFlow 1.3.1)
user@host> show openflow statistics flows 67174400
Switch Name: 100 Table ID: 1 Flow ID: 67174400 Duration(in sec): 51539 Duration(in nsec): 3961483296 Priority: 1000 Idle timeout(in sec):0 Hard timeout(in sec): 0 Number of packets: 179965839 Number of bytes: 14757198798 Match: IN_PORT, DL_VLAN, DL_TYPE, IPv6_SRC, IPv6_DST, Action: SET_FIELD[VLAN_ID], 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,
show openflow statistics flows switch (OpenFlow 1.3.1)
user@host> show openflow statistics flows switch
100
Switch Name: 100 Table ID: 1 Flow ID: 67174400 Duration(in sec): 51539 Duration(in nsec): 3961483296 Priority: 1000 Idle timeout(in sec):0 Hard timeout(in sec): 0 Number of packets: 179965839 Number of bytes: 14757198798 Match: IN_PORT, DL_VLAN, DL_TYPE, IPv6_SRC, IPv6_DST, Action: SET_FIELD[VLAN_ID], OUTPUT,