Connecting to an OpenFlow controller
To connect to anOpenFlow controller in active mode, enter the following command:
device(config)# openflow controller ip-address 10.2.3.4
Syntax:
[no] openflow controller ip-address
ip-address
[
no-ssl
]
[
port
port
]
The
ip-address variable specifies the IP address of the OpenFlow Controller. By default, the connection
with the Controller uses SSL encryption, but you can optionally disable SSL encryption
using the
no-ssl keyword. By default, the OpenFlow connection uses TCP port 6633, but you can specify
another port using the
port parameter.
Use the
no
form of the command to remove the specified OpenFlow Controller connection.
To connect to an OpenFlow controller in the passive mode, enter the following command:
device(config)# openflow controller passive no-ssl
Syntax:
[no] openflow controller passive no-ssl
[
ip-address
ip-address
]
[
port
port
]
You can optionally specify the TCP port to be used for the connection. By default, the device accepts the connection from a controller with any IP address. However, you can provide an IP address to limit which controller can connect to the device.
Use the
no
form of the command to remove a passive connection. Passive mode connections are
intended for testing environments and not recommended for production environments.