Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show openflow statistics packet



Display statistics for packet-in and packet-out (send-packet) actions.



Display statistics for all OpenFlow virtual switches.

switch switch-name

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

Required Privilege Level


Output Fields

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

Table 1: show openflow statistics packet Output Fields

Field Name

Field Description

Switch Name

User-configured identifier for the OpenFlow virtual switch.

Rx packets

Number of packets received by the OpenFlow virtual switch that have been sent to the OpenFlow controller. The switch includes the packet in the data portion of an OFPT_PACKET_IN message.

Tx packets

Number of packets sent by the OpenFlow controller to an egress interface. The controller includes the packet in the data portion of an OFPT_PACKET_OUT message.

Drop packets

Number of dropped packets.

Sample Output

show openflow statistics packet in

show openflow statistics packet out

show openflow statistics packet out switch

Release Information

Command introduced in Junos OS Release 13.3.