User guide
Quick Steps to Configure OpenFlow Agent Web Services, CLI Scripting and OpenFlow
page 11-30 OmniSwitch AOS Release 7 Switch Management Guide March 2015
Quick Steps to Configure OpenFlow Agent
Follow the steps in this section for a quick tutorial on how to configure an OpenFlow Agent on the
OmniSwitch. A logical switch in Hybrid mode does not have a VLAN or interface configured.
1 Create the logical switch and configure the mode:
-> openflow logical-switch vswitch1 mode normal version 1.3.1 vlan 5
-> openflow logical-switch vswitch2 mode api
2 Assign a controller to the logical switch:
-> openflow logical-switch vswitch1 controller 1.1.1.1
-> openflow logical-switch vswitch2 controller 2.2.2.2
3 Assign interfaces to the logical switch:
-> openflow logical-switch vswitch1 interfaces port 1/1/3
4 Verify the configuration
-> show openflow logical-switch
Admin
Logical Switch State Mode Versions VLAN Ctrlrs Intf Flows
-------------------------+-----+------+------------+------+--------+------+-------
vswitch1 Ena Norm 1.3.1 5 1 1 5
vswitch2 Ena API 1.0 1.3.1 N/A 1 56 0
-> show openflow logical-switch controllers
Admin Oper
Logical Switch Controller Role State State
------------------------------+-----------------------+----------+-----+-----------
vswitch1 1.1.1.1:6633 Equal Ena Connect
vswitch2 2.2.2.2:6633 Equal Ena Backoff
-> show openflow logical-switch interfaces
Logical Switch Interface Mode
--------------------------------+---------------+------
vswitch1 1/1/3 Norm
vswitch2 1/1/1 API
vswitch2 1/1/2 API
vswitch2 1/1/4 API
vswitch2 1/1/5 API
vswitch2 1/1/6 API
vswitch2 1/1/7 API
(output truncated)