show openflow flows

show openflow flows {flow_name}

Description

Display the match conditions and actions of installed OpenFlow flows.

Syntax Description

flow_name Specifies the flow name.

Default

None.

Usage Guidelines

Use this command to determine the number and details of OpenFlow flows installed on the switch by an OpenFlow controller.

If you do not specify a flow name, information for all flows will be displayed.

Example

The following example displays the current OpenFlow flows:

show openflow flows   
Total number of OpenFlow flows : 3
Total number of default flows  : 3
 
Flow name        Type     Duration (secs)  Prio              Packets
---------------- ---- ------------------- ----- --------------------
of_0             ACL                   14     0                    0
    Match  :  Input Port          : 24
              Src MAC             : 00:00:00:00:00:01
              Dst MAC             : 00:00:00:00:24:24
    Actions:  output:17, cookie:0x10707658
of_1             ACL                   14     0                    0
    Match  :  Input Port          : 24
              Src MAC             : 00:00:00:00:00:02
              Dst MAC             : 00:00:00:00:24:24
    Actions:  output:17, cookie:0x10707658
of_2             MPLS               13073     0                    0
    Match  :  Dst MAC             : 00:04:96:83:73:f2
              VLAN ID             : 101
              Ethernet Type       : 0x8847
              MPLS BoS            : 0
              MPLS Label          : 0x31
    Actions:  pop_vlan,pop_mpls:0x0800,goto_table:1, cookie:0x1
ofDefault_0      ACL                 1590     0                    0
    Match  :
    Actions:  CONTROLLER
ofDefault_2      ACL                 1590     0                   22
    Match  :  Ethernet Type       : 0x88cc
    Actions:  CONTROLLER
ofFDB_0          ACL                 1590     0                   0*
    Match  :  FDB Entry         
    Actions:  forward
Packets:  (*) Cumulative packet count for all FDB flows           
         

History

This command was first available in ExtremeXOS 15.3.

Information about default flows and additional match and action types were added in ExtremeXOS 15.7.1.

Platform Availability

This command is available on platforms that support the appropriate license. For complete information about software licensing, including how to obtain and upgrade your license and which licenses support the OpenFlow feature, see the ExtremeXOS 22.2 Feature License Requirements document.