C613-50170-01 Rev B
Command Reference for x510 Series
2053
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
O
PEN
F
LOW
C
OMMANDS
SHOW
OPENFLOW
FLOWS
show openflow flows
Overview
Use this command to display all the entries in the switch’s flow tables that resulted
from receiving packets on OpenFlow ports.
Syntax
show openflow flows
Mode
Privileged Exec
Usage
The switch uses OpenFlow rules from the Controller to create a rule table that tells
the switch what to do with packets. From the rules, the switch creates a software
flow table to process packets. From the software flow table, the switch creates
entries in its silicon hardware flow tables, when possible. When silicon table entries
exist, the switch uses them to switch packets. When silicon table entries do not
exist, the switch uses the software flow table to process packets.
See the “Communication and Packet Processing” section of the OpenFlow Feature
Overview and Configuration Guide for a detailed explanation of how the switch
puts entries into the software and silicon flow tables.
This command displays flows in both the software and silicon flow tables. A symbol
at the start of each flow output indicates whether it is a silicon or software table
entry:
•
# indicates silicon flow table entries, and
•
~ indicates software flow table entries
Example
To show the entries of the flow tables on the switch:
awplus#
show openflow flows
Output
Where possible, the switch uses OpenFlow rules from the Controller to create
entries in its silicon hardware flow tables, and switches packets according to the
silicon flow tables.
In the following example output, the OpenFlow ports are port1.0.14, port1.0.15,
port1.0.16, port1.0.33 and sa3 (port1.0.27 and port1.0.38). As LOCAL and LAG ports
are now supported, the first OpenFlow port number is used as the local port.
OpenFlow port numbering becomes:
•
port1.0.14 is OpenFlow port number 2
•
port1.0.15 is OpenFlow port number 3
•
port1.0.33 is OpenFlow port number 5
•
sa3 is OpenFlow port number 6
The clients are connected to port1.0.15 and port1.0.33 in this scenario and sa3 is
used as OpenFlow ports for the uplink. The
show openflow flows
command
shows the following: