Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show openflow filters



Display information for filters bound to OpenFlow interfaces.



Display information for all filters that are bound to OpenFlow interfaces.

interface interface-name

(Optional) Display information for the filter bound to the specified OpenFlow interface. The interface name must include the logical unit number.

switch switch-name

(Optional) Display information for filters bound to the interfaces configured under the specified OpenFlow virtual switch.

Required Privilege Level


Output Fields

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

Table 1: show openflow filters Output Fields

Field Name

Field Description

Switch Name

User-configured identifier for the OpenFlow virtual switch associated with the interface to which the filter is bound.

Number of filters

Number of filters bound to OpenFlow interfaces on the virtual switch.

Default action

Default action executed for packets that do not match any existing flow entries. Values are PACKET IN or DROP.

Filter name

Filter identifier consisting of the concatenation of the interface name (including the logical unit number) and an internally assigned switch ID.

Filter index

Auto-generated string that identifies the filter.

Number of terms

Number of terms in the filter. Each term consists of match conditions and actions.

Number of priorities

Number of unique active flow priorities in the filter.

Term name

Filter term identifier, which consists of the filter name (interface name and switch ID), the flow priority, and a sequence number.

Priority ID

Flow entry priority. Higher priority terms are installed above lower priority terms.

Flow ID

Flow identifier associated with that flow entry.

Number of packets

Number of packets that have matched a filter term. A filter term is equivalent to a flow entry.

Number of bytes

Number of bytes that have matched a filter term. A filter term is equivalent to a flow entry.

Sample Output

show openflow filters

show openflow filters interface

show openflow filters switch

Release Information

Command introduced in Junos OS Release 13.3.