29.04.2019 Views

OS6860(E)_AOS_8.1.1.R01_Switch_Management_Guide

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Web Services, CLI Scripting, and OpenFlow<br />

Quick Steps to Configure OpenFlow Agent<br />

Quick Steps to Configure OpenFlow Agent<br />

Follow the steps in this section for a quick tutorial on how to configure an OpenFlow Agent on the Omni<br />

A logical in Hybrid mode does not have a VLAN or interface configured.<br />

1 Create the logical and configure the mode<br />

-> openflow logical- v1 mode normal version 1.3.1 vlan 5<br />

-> openflow logical- v2 mode api<br />

2 Assign a controller to the logical<br />

-> openflow logical- v1 controller 1.1.1.1<br />

-> openflow logical- v2 controller 2.2.2.2<br />

3 Assign interfaces to the logical<br />

-> openflow logical- v1 interfaces port 1/1/3<br />

4 Verify the configuration<br />

-> show openflow logical-<br />

Admin<br />

Logical State Mode Versions VLAN Ctrlrs Intf Flows<br />

-------------------------+-----+------+------------+------+--------+------+-------<br />

v1 Ena Norm 1.3.1 5 1 1 5<br />

v2 Ena API 1.0 1.3.1 N/A 1 56 0<br />

-> show openflow logical- controllers<br />

Admin Oper<br />

Logical Controller Role State State<br />

------------------------------+-----------------------+----------+-----+-----------<br />

v1 1.1.1.1:6633 Equal Ena Connect<br />

v2 2.2.2.2:6633 Equal Ena Backoff<br />

-> show openflow logical- interfaces<br />

Logical Interface Mode<br />

--------------------------------+---------------+------<br />

v1 1/1/3 Norm<br />

v2 1/1/1 API<br />

v2 1/1/2 API<br />

v2 1/1/4 API<br />

v2 1/1/5 API<br />

v2 1/1/6 API<br />

v2 1/1/7 API<br />

(output truncated)<br />

Omni<strong>Switch</strong> <strong>AOS</strong> Release 8 <strong>Switch</strong> <strong>Management</strong> <strong>Guide</strong> May 2014 page 10-27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!