Administrator Guide

Data Center Technology Commands 1181
Example
The following example configures OpenFlow 1.0 full matching, configures a
connection to the controller at IPv4 address 1.2.3.4 TCP port 3435 using SSL
security, and enables OpenFlow 1.0 on the switch.
console(config)#hardware profile openflow full-match
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)#protocol-version 1.0
console(config-of-switch)#mode auto
console(config-of-switch)#exit
ipv4 address
Use the ipv4 address command to assign the IPv4 source address utilized for
controller connections. Use the no form of the command to return the setting
to the default.
Syntax
ipv4 address
ipv4-address
no ipv4 address
ipv4-address
— The configured IPv4 address of the switch. A VLAN
interface must exist with an identical address.
Default Configuration
By default, the switch selects an address automatically.
Command Mode
OpenFlow Configuration
User Guidelines
This command configures the switch with a static IPv4 address. The switch
must be configured in static mode in order to use the configured static
address..
2CSNXXX_SWUM204.book Page 1181 Monday, January 25, 2016 1:25 PM