Supported Platforms
show openflow flows
Syntax
Release Information
Command introduced in Junos OS Release 13.3.
Description
Display information for OpenFlow flows.
Options
none | — | 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
List of Sample Output
show openflow flows switch briefshow openflow flows switch detail
show openflow flows switch summary
show openflow flows 16842752 brief
show openflow flows 16842752 detail
show openflow flows 16842752 summary
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. |
Match | Configured match conditions against which the incoming packet is compared. |
Action | Action set 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 that are applied to a packet when it matches the flow entry. |
Sample Output
show openflow flows switch brief
user@host> show openflow flows switch OFswitch1
brief
Switch Flow Number of packets Priority Number of Number of Name ID match action OFswitch1 16842752 8075372509 32768 1 1
show openflow flows switch detail
user@host> show openflow flows switch OFswitch1
detail
Flow name: flow-16842752 Table ID: 1 Flow ID: 16842752 Priority: 32768 Idle timeout(in sec):0 Hard timeout(in sec): 0 Match: Input port: 45549 Ethernet src addr: wildcard Ethernet dst addr: wildcard Input vlan id: wildcard Input VLAN priority: wildcard Ether type: wildcard IP ToS: wildcard IP protocol: wildcard IP src addr: wildcard IP dst addr: wildcard Source port: wildcard Destination port: wildcard Action: Output port 41350,
show openflow flows switch summary
user@host> show openflow flows switch OFswitch1
summary
Switch Name Number of Flows OFswitch1 1
show openflow flows 16842752 brief
user@host> show openflow flows 16842752 brief
Switch Flow Number of packets Priority Number of Number of Name ID match action OFswitch1 16842752 8056139439 32768 1 1
show openflow flows 16842752 detail
user@host> show openflow flows 16842752 detail
Flow name: flow-16842752 Table ID: 1 Flow ID: 16842752 Priority: 32768 Idle timeout(in sec):0 Hard timeout(in sec): 0 Match: Input port: 45549 Ethernet src addr: wildcard Ethernet dst addr: wildcard Input vlan id: wildcard Input VLAN priority: wildcard Ether type: wildcard IP ToS: wildcard IP protocol: wildcard IP src addr: wildcard IP dst addr: wildcard Source port: wildcard Destination port: wildcard Action: Output port 41350,
show openflow flows 16842752 summary
user@host> show openflow flows 16842752 summary
Flow name: flow-16842752 Number of packets: 8066495711