Mellanox MLNX-OS User Manual for SX1018HP Ethernet Managed Blade Switch
Rev 2.10
Mellanox Technologies
454
Mellanox Technologies Confidential
Every flow entry contains one of the following parameters:
1. Header fields for matching purposes with each entry
containing a specific value or a wildcard
which could match all entries.
2. Matching packet counters which are useful for statis
tical purposes, in order to keep track of
the number of packets.
3. Actions which specify the manner in which to handle the packets of a flow which can be any
of the following:
a. Forwarding the packet
b. Dropping
the packet
c. Forwarding the packet to the OpenFlow controller
d. Modifying the VLAN, VLAN priority (PCP), and/or stripping the VLAN header
5.6.2 Configuring OpenFlow
To run OpenFlow on a switch:
Step 1. Unlock the OpenFlow CLI commands. Run:
Step 2. Configure interfaces to be managed by OpenFlow. Run:
Step 3. Configure the OpenFlow controller IP and TCP port. Run:
Step 4. (Optional) Verify the OpenFlow configuration. Run:
The flow table supports up to 1000 flows.
switch (config) # protocol openflow
switch (config) # interface ethernet 1/1-1/4 openflow mode hybrid
switch (config) # openflow controller-ip 10.209.0.205 tcp-port 6633
switch (config) # show openflow
OpenFlow version: OF VERSION 1.0
Table size: 1000, 0 in use
Active controller ip: 10.209.0.205 port: 6633
Connection status: HANDSHAKE_COMPLETE (CONNECTED)
Forward-to-controller: ospf lldp arp-unicast arp-broadcast (all)
Enabled ports: Eth1/1 Eth1/2 Eth1/3 Eth1/4
switch (config) #
To be able to configure the switch using the controller, you should see the following line
in the output:
Connection status must be: HANDSHAKE_COMPLETE (CONNECTED).










