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 groups

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show openflow statistics groups
<group-id>

Description

Display statistics for OpenFlow groups. Groups are supported only on Juniper Networks devices running OpenFlow v1.3.1 or later.

Options

none

Display statistics for all groups defined on all OpenFlow virtual switches.

group-id

(Optional) Display statistics only for the specified group.

Required Privilege Level

admin

Output Fields

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

Table 1: show openflow statistics groups Output Fields

Field

Description

Switch Name

User-configured identifier for the OpenFlow virtual switch in which the groups resides.

Group ID

Unique identifier assigned to the group by the OpenFlow controller.

Ref Count

Number of flow entries that reference the group.

Number of packets (group)

Number of packets handled by the group.

Number of bytes (group)

Number of bytes handled by the group.

Duration(in sec)

Number of seconds the group has been active.

Duration(in nsec)

Number of nanoseconds the group has been active beyond the Duration(in sec)

Bucket number

Statistics for a particular bucket.

Number of packets (bucket)

Number of packets handled by a bucket in the group.

Number of bytes (bucket)

Number of bytes handled by a bucket in the group.

For a group with the group type of all, the values specified in the Number of packets (group) and Number of bytes (group) fields are usually the same as those specified in the Number of packets (bucket) and Number of bytes (bucket) fields because all buckets in the group are executed.

Sample Output

show openflow statistics group

content_copy zoom_out_map
user@host> show openflow statistics groups

Switch Name: OF-ex92k
Group ID: 50                    Ref Count: 1
Number of packets: 62161
Number of bytes:   7956608
Duration(in sec): 22687          Duration(in nsec): 4255381296
    Bucket 0
      Number of packets: 62161
      Number of bytes:   7956608
    Bucket 1
      Number of packets: 62161
      Number of bytes:   7956608

Switch Name: OF-ex92k
Group ID: 51                    Ref Count: 1
Number of packets: 0
Number of bytes:   0
Duration(in sec): 22673          Duration(in nsec): 8549000
    Bucket 0
      Number of packets: 0
      Number of bytes:   0
    Bucket 1
      Number of packets: 0
      Number of bytes:   0
...

show openflow statistics group (Specific Group)

content_copy zoom_out_map
user@host> show openflow statistics groups 50

Switch Name: OF-ex92k
Group ID: 50                    Ref Count: 1
Number of packets: 64886
Number of bytes:   8305408
Duration(in sec): 22789          Duration(in nsec): 586200000
    Bucket 0
      Number of packets: 64886
      Number of bytes:   8305408
    Bucket 1
      Number of packets: 64886
      Number of bytes:   8305408

Release Information

Command introduced in Junos OS Release 14.1X53-D10.

footer-navigation