Supported Platforms
show openflow statistics packet
Syntax
Release Information
Command introduced in Junos OS Release 13.3.
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
List of Sample Output
show openflow statistics packet inshow openflow statistics packet out
show openflow statistics packet out switch
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
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
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
user@host> show openflow statistics packet out
switch OFswitch1
Openflow packet-out statistics information: Switch Name Tx packets Drop packets OFswitch1 5260759 0