Deployment Guide

61
5.4.2 Example Singletable (NEC) Controller Configuration
The NEC controller channel which functions as their control plane between the OFS (OpenFlow Switch) and
the PFC controller (which they call their “secure channel”) requires more setup to establish a successful
controller communication channel. The configuration used with the NEC in singletable mode is shown in the
example below:
1) First set the table processing mode to singletable.
4TBK0Z1_console> set openflow mode singletable
OpenFlow table processing mode set to singletable
2) Set up the NEC specific table mode HA features. All of the HA features are used for NEC singletable mode,
as shown below. For a full description of what each command does see the CLI Reference in the
appendix.
4TBK0Z1_console> set openflow hafeature <enabled | disabled>
Sets the current openflow HA feature mode enabled or disabled (echo timers, retries, failover timers, delay
times, etc.)
4TBK0Z1_console> set openflow hafeature enabled
4TBK0Z1_console> set openflow maxretries 5
OpenFlow controller connection max retries set to 5
4TBK0Z1_console> set openflow retryinterval 5
OpenFlow controller connection retry intreval set to 5 seconds
4TBK0Z1_console> set openflow echo interval 5
OpenFlow echo interval set to 5
4TBK0Z1_console> set openflow echo timeout 5
OpenFlow echo timeout set to 5
4TBK0Z1_console> set openflow reset echo count 3
OpenFlow reset echo count set to 3
4TBK0Z1_console> set openflow failover delay 4
OpenFlow failover delay time in seconds set to 4
4TBK0Z1_console> set openflow max failover time 17
OpenFlow max failover time in seconds set to 17
3) Set the OpenFlow primary and backup control network local port IP addresses. These are the two highest
numbered fixed ports on the switch (i.e. 23/24 on a 24 port model, or 47/48 on a 48 port model). These
are used for the OpenFlow Control Network in the NEC model (see the OF Control Network used for
“secure channel” communications in the physical example drawing in section 4.5.1). These are the local
inband ports on the switch that all control plane traffic uses between the agent and controller.
4TBK0Z1_console> set openflow primary control port 192.168.0.10/24
4TBK0Z1_console> set openflow backup control port 192.168.1.10/24