Deployment Guide

50
You can also see the management configuration information that is stored in the switch configuration and
shown in the running configuration:
"Management Interface":
{
"dhcp": false,
"ip address": "172.25.11.94/27",
"ip gateway": "172.25.11.254"
},
"SSH Service":
{
"enabled": false
},
"Telnet Service":
{
"enabled": true
}
5.4 Configure Controller Communications Channel
Since it is a pure OpenFlow switch, before the DNOS-OF switch can be used to control any switch traffic a
communications channel to the OpenFlow controller must be set up. This is done using the following
command:
set openflow controller <IP address of controller> <IP port of controller>
Example use and expected output is shown below:
FJ6K0Z1_console> set openflow controller 198.18.3.114
663308-12 02:36:06.760361 of-switch: MSG: src/of-
switch/OF_SDNControllerInterface.cpp:HandleSetOpenFlowController:Adding controller 198.18.3.114:6633,
(TCP connection), to configuration
08-12 02:36:06.760586 ofconnectionmanager: INFO: Added remote connection: 198.18.3.114:6633
08-12 02:36:06.762918 ofconnectionmanager: INFO: cxn 198.18.3.114:6633: DISCONNECTED->CONNECTING
FJ6K0Z1_console> 08-12 02:36:06.800228 ofconnectionmanager: INFO: cxn 198.18.3.114:6633: CONNECTING-
>HANDSHAKE_COMPLETE
You can also see the controller configuration in the switch using show running-config:
"OpenFlow Controller":
{
"connection max retries": 0,
"connection retry interval": 2000,
"enabled": false,
"ip address": "",
"ip port": 6653,
"periodic echo ms": 10000,
"priority": 0,
"protocol version": "OpenFlow 1.3.4",
"reset echo count": 3,
"tls": false
},
In DNOS-OF 1.0 only the IP address, port, connection max retries and connection retry interval are able to be
explicitly configured by the user, and the enabled state reflects whether there is a valid IP address and port
specified, so it is implicitly configured. The remainder of the controller configuration currently takes default
values.
The connection max retries and connection retry interval for the controller communication channel are
configured using the following commands: