Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show openflow statistics packet

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show openflow statistics packet (in | out)
<switch switch-name>

Description

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

Options

none

Display statistics for all OpenFlow virtual switches.

switch switch-name

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

Required Privilege Level

admin

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

content_copy zoom_out_map
user@host> show openflow statistics packet in
Openflow packet-in statistics information:
Switch Name                                             Rx packets  Drop packets
OFswitch1                                               1044137     0

show openflow statistics packet out

content_copy zoom_out_map
user@host> show openflow statistics packet out
Openflow packet-out statistics information:
Switch Name                                             Tx packets  Drop packets
OFswitch1                                               5260759     0

show openflow statistics packet out switch

content_copy zoom_out_map
user@host> show openflow statistics packet out switch OFswitch1
Openflow packet-out statistics information:
Switch Name                                             Tx packets  Drop packets
OFswitch1                                               5260759     0

Release Information

Command introduced in Junos OS Release 13.3.

footer-navigation