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 switch

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show openflow switch
<switch-name>

Description

Display OpenFlow message statistics for OpenFlow virtual switches.

Options

none

Display information for all OpenFlow virtual switches.

switch switch-name

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

Required Privilege Level

admin

Output Fields

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

Table 1: show openflow switch Output Fields

Field Name

Field Description

Switch Name

User-configured identifier for the OpenFlow virtual switch.

Switch ID

Device identifier for the OpenFlow virtual switch.

Switch DPID

Data path ID uniquely identifying the OpenFlow instance. This value is a concatenation of the switch ID for the virtual switch and the management port MAC address.

Flow mod received

Number of Modify Flow Entry messages (OFPT_FLOW_MOD) received from the controller.

Vendor received

Number of messages with vendor-specific extensions.

Packets sent

Number of packets sent to the controller.

Packets received

Number of packets received from the controller.

Echo req sent

Number of Echo Request messages (OFPT_ECHO_REQUEST) sent to the controller.

Echo req received

Number of Echo Request messages (OFPT_ECHO_REQUEST) received from the controller.

Echo reply sent

Number of Echo Reply messages (OFPT_ECHO_REPLY) sent to the controller.

Echo reply received

Number of Echo Reply messages (OFPT_ECHO_REPLY) received from the controller.

Port Status sent

Number of Port Status messages (OFPT_PORT_STATUS) sent to the controller.

Port mod received

Number of Port Modification messages (OFPT_PORT_MOD) received from the controller.

Barrier request

Number of Barrier Request messages (OFPT_BARRIER_REQUEST) received from the controller.

Barrier reply

Number of Barrier Reply messages (OFPT_BARRIER_REPLY) sent to the controller.

Error msg sent

Number of error messages (OFPT_ERROR) sent to the controller.

Error msg received

Number of error messages (OFPT_ERROR) received from the controller.

Sample Output

show openflow switch

content_copy zoom_out_map
user@host> show openflow switch
Switch Name:        OFswitch1
Switch ID:          0                  Switch DPID:    00:00:00:00:5e:00:53:d0
Flow mod received:  4                  Vendor received:      0
Packets sent:       1048258            Packets received:     1089664
Echo req sent:      4115               Echo req received:    0
Echo reply sent:    0                  Echo reply received:  4115
Port Status sent:   1                  Port mod received:    0
Barrier request:    0                  Barrier reply:        0
Error msg sent:     1                  Error msg received:   0

show openflow switch (Specific OpenFlow Virtual Switch)

content_copy zoom_out_map
user@host> show openflow switch OFswitch1
Switch Name:        OFswitch1
Switch ID:          0                  Switch DPID:    00:00:00:00:5e:00:53:d0
Flow mod received:  4                  Vendor received:      0
Packets sent:       1048259            Packets received:     1089675
Echo req sent:      4116               Echo req received:    0
Echo reply sent:    0                  Echo reply received:  4116
Port Status sent:   1                  Port mod received:    0
Barrier request:    0                  Barrier reply:        0
Error msg sent:     1                  Error msg received:   0

Release Information

Command introduced in Junos OS Release 13.3.

footer-navigation