Administrator Guide

Data Center Technology Commands 1190
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.
Only IPv4 addresses are supported for OpenFlow controllers.
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. The local switch is configured with a static IP address
after being configured into static address mode.
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 static
console(config-of-switch)#ipv4 address 1.2.3.1
console(config-of-switch)#exit