Connectivity Guide

Table Of Contents
With dynamic learning in an OpenFlow network, the OpenFlow switch receives a packet that does not match the flow
table entries and sends the packet to the SDN controller to process it. The controller identifies the path the packet has to
traverse and updates the flow table with a new entry. The controller also decides the caching time of the flow table entries.
Configure OpenFlow
Ensure IP connectivity between the switch and the controller. When you convert the switch from Normal mode to OpenFlow
mode, the switch retains the management, interface, and AAA settings.
The following example lists the minimum configuration needed to establish the connection between the OpenFlow controller and
a logical switch instance.
1. Enter the OPENFLOW configuration mode.
OS10# configure terminal
OS10 (config)# openflow
OS10 (config-openflow)#
2. Enable the OpenFlow-only mode.
OS10 (config-openflow)# mode openflow-only
The system prompts you to reload the switch. Enter yes to enable OpenFlow-only mode.
NOTE: When the switch starts up in OpenFlow mode, it disables all L2 and 3 protocols. Many CLI commands are not
available when the switch is in OpenFlow-only mode. For a list of commands that are available in OpenFlow-only mode,
see CLI commands available in the OpenFlow-only mode.
3. Configure a logical switch instance.
a. Option 1; for OOB management:
i. Configure an IP address for the management port. Ensure that there is IP connectivity between the switch and the
controller.
OS10# configure terminal
OS10 (config)# interface management 1/1/1
OS10 (conf-if-ma-1/1/1)# ip address 11.1.1.1/24
OS10 (conf-if-ma-1/1/1)# no shutdown
OS10 (conf-if-ma-1/1/1)# exit
ii. Configure the logical switch instance, of-switch-1.
OS10# configure terminal
OS10 (config)# openflow
OS10 (config-openflow)# switch of-switch-1
b. Option 2; for in-band management:
i. Configure one of the front-panel ports as the management port.
OS10# configure terminal
OS10 (config)# openflow
OS10 (config-openflow)# in-band-mgmt interface ethernet 1/1/1
OS10 (config-openflow)#
ii. Configure an IPv4 address on the front-panel management port.
OS10# configure terminal
OS10 (config)# interface ethernet 1/1/1
OS10 (conf-if-eth1/1/1)# ip address 11.1.1.1/24
OS10 (conf-if-eth1/1/1)# no shutdown
iii. Configure the logical switch instance, of-switch-1.
OS10# configure terminal
OS10 (config)# openflow
OS10 (config-openflow)# switch of-switch-1
OpenFlow
827