Setting OpenFlow timers

An OpenFlow switch supports the following timers:

To set OpenFlow timers for an OpenFlow switch:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter OpenFlow instance view.

openflow instance instance-id

N/A

3. Set the connection detection interval.

controller echo-request interval interval-value

By default, the connection detection interval is 5 seconds.

As a best practice to reduce the CPU load, set the connection detection interval to a large value.

4. Set the reconnection interval.

controller connect interval interval-value

By default, the reconnection interval is 60 seconds.