Configuring OpenFlow
1. Enable OpenFlow:
2. Create an OpenFlow switch instance and add data ports:
3. Configure a controller for the OpenFlow switch instance:
4. Enable the OpenFlow switch instance:
5. Verify OpenFlow configuration:
Configuration Example 1 - OpenFlow Boot Profile
© Copyright Lenovo 2016
The RackSwitch G8264 is capable of operating both in normal switching
environment (default boot profile) and in OpenFlow switch environment
(OpenFlow boot profile).
Note: If you disable OpenFlow, you must reboot the switch to resume normal
switch environment operations.
Perform the following steps to configure an OpenFlow switch instance.
RS G8264(config)# openflow enable
RS G8264(config)# openflow instance <1‐4>
RS G8264(configopenflowinstance)# member <port number or range>
In version 1.3 of the OpenFlow standard, you can also add static portchannels or
static LACP LAGs to the instance:
RS G8264(configopenflowinstance)# member portchannel <1‐128>
RS G8264(configopenflowinstance)# controller <1‐4> address <IP address>
[mgtport|dataport]
RS G8264(configopenflowinstance)# controller <1‐4> port <1‐65535>
RS G8264(configopenflowinstance)# enable
The switch is ready to perform switching functions in an OpenFlow environment.
RS G8264(config)# show openflow instance <instance ID> information
The following example includes steps to configure an OpenFlow switch instance
when the switch operates in OpenFlow boot profile.
Configure OpenFlow instance 1, which connects with two controllers via in‐band
management ports, and OpenFlow instance 2, which connects with two controllers
via in‐band management ports.
283
Chapter 15: OpenFlow