Show group information for a specific instance

Syntax


show openflow instance <instance-name> groups

Displays group information for a specific instance.

Displays OpenFlow group table information. Groups are supported in software tables only. Up to 4 types of groups are supported and 1024 groups across all instances. A select group uses the round-robin method for every packet and the number of action buckets are capped to 8 per group. Groups can be filtered based on group-ID. show openflow instance <instance-name> groups <group-id>

Example

show openflow instance test groups
Group ID                      : 1
Group Type                    : ALL
Reference Count               : 32767
Packet Count                  : 0
Byte Count                    : 0
Duration                      : 10 seconds
Action Buckets                : 1, 2
 Bucket 1
 Packet Count                 : 0
 Byte Count                   : 0
 Watch port                   : Any
 Weight                       : 0
 Actions                      : output A1
 Bucket 2
   Actions                    :output F2
 Packet Count                 : 0
 Byte Count                   : 0
 Watch port                   : Any
 Weight                       : 0
 Action                       : Output F23

Group ID                      : 1
Group Type                    : SELECT
Reference Count               : 0
Packet Count                  : 0
Byte Count                    : 0
Duration                      : 10
Action Buckets                : 1
 Bucket 1
 Packet Count                 : 0
 Byte Count                   : 0
 Watch Port                   : Any
 Weight                       : 1
 Actions                      : output A

Group ID                      : 7
Group Type                    : INDIRECT
Reference Count               : 0
Packet Count                  : 0
Byte Count                    : 0
Duration                      : 10
Action Buckets                : 1
 Bucket 1
 Packet Count                 : 0
 Byte Count                   : 0
 Watch Port                   : Any
 Weight                       : 0
 Actions                      : output A1
Group ID                      : 32
 Group Type                   : FAST
 FAIL OVER
Reference Count               : 0
Packet Count                  : 0
Byte Count                    : 0
Duration                      : 10
Action Buckets                : 1
 Bucket 1
 Packet Count                 : 0
 Byte Count                   : 0
 Watch port                   : A1
 Weight                       : 0
 Actions                      : output A1

  

Example

switch(config)# show openflow instance test groups

OpenFlow Instance Groups
 Group ID                                    : 2
 Group Type                                  : All
 Group Location                              : Hardware
 Is Hardware Counter Available               : No
 Reference Count                             : 1
 Packet Count                                : 0
 Byte Count                                  : 0
 Duration                                    : 30
 Action Buckets                              : 1, 2
Bucket 1
 Packet Count                                : 0
 Byte Count                                  : 0
 Watch port                                  : Any
 Weight                                      : 0
 Action                                      : Output F22
Bucket 2
 Packet Count                                : 0
 Byte Count                                  : 0
 Watch port                                  : Any
 Weight                                      : 0
 Action                                      : Output F23

Rule pointing to above Group:
Flow 3
Match
 Incoming Port          : Any Ethernet Type    : IP
 Source MAC             : Any Destination MAC  : Any
 Source MAC Mask        : 000000-000000
 Destination MAC Mask   : 000000-000000
 VLAN ID                : Any VLAN priority    : Any
 Source IP Address      : 11.11.11.11/32
 Destination IP Address : Any
 IP Protocol            : Any
 IP ECN                 : Any IP DSCP          : Any
 Source Port            : Any Destination Port : Any

Attributes
 Priority               : 32768        Duration          : 36 seconds
 Hard Timeout           : 0 seconds    Idle Timeout      : 0 seconds
 Byte Count             : NA           Packet Count      : 0
 Flow Table ID          : 100          Controller ID     : listen-port
 Cookie                 : 0x0
 Hardware Index: 17

Instructions
 Apply Actions
  Group                 : 2