Administrator Guide

Data Center Technology Commands 1184
If the switch is configured in static mode, OpenFlow will remain operationally
disabled until a static IPv4 address is configured, the IPv4 address matches
exactly an IPv4 address on a VLAN interface, and the VLAN interface is
operationally enabled.
If the OOB interface is manually selected as the OpenFlow IP address then
the Open Flow feature becomes enabled immediately, even if there is no IP
address assigned to the service port.
If the OOB interface is used to connect to the OpenFlow controllers, the
controllers should be on the same subnet as the OOB interface.
OpenFlow operates on the stack master only. Flows may not be configured on
stack members. Failover to the stack standby unit is not supported.
OpenFlow should only be enabled on stand-alone switches and should not be
enabled on stacks of switches. This restriction is not enforced.
Command History
Introduced in version 6.3.0.1 firmware.
Example
This example configures an interface using VLAN 10 with IPv4 address
1.2.3.1, configures a connection to the controller at IPv4 address 1.2.3.4 TCP
port 3435 using SSL security and initiates the connection over the switch
front panel interface.
console(config)#vlan 10
console(config-vlan10)#interface vlan 10
console(config-if-vlan10)#ip address 1.2.3.1 255.255.0.0
console(config-if-vlan10)#interface gi1/0/1
console(config-if-Gi1/0/1)#switchport mode access
console(config-if-Gi1/0/1)#switchport access vlan 10
console(config)#openflow
WARNING! OpenFlow does not operate on stack members. Enable OpenFlow on
stand-alone switches only.
console(config-of-switch)#controller ipv4 1.2.3.4 port 3435 security ssl
console(config-of-switch)#mode auto
console(config-of-switch)#exit
2CSNXXX_SWUM204.book Page 1184 Monday, January 25, 2016 1:25 PM