Setting openflow timers – H3C Technologies H3C S12500-X Series Switches User Manual

Page 17

Advertising
background image

11

Setting OpenFlow timers

An OpenFlow switch supports the following timers:

Connection detection interval—Interval at which the OpenFlow switch sends two consecutive Echo
Request messages to a controller. The OpenFlow switch can send up to three Echo Request

messages. If none of the requests receives a reply, the OpenFlow switch is disconnected from the

controller.

Reconnection interval—Interval for the OpenFlow switch to wait before it attempts to reconnect to a
controller.

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

The default setting is 5 seconds.
To reduce the CPU load, H3C
recommends that you set the

connection detection interval to a
large value.

4.

Set the reconnection interval. controller connect interval

interval-value

The default setting is 60 seconds.

Configuring OpenFlow to support dynamic MAC

addresses

On an OpenFlow switch that supports MAC-IP flow tables, you can configure OpenFlow to support
querying and deleting dynamic MAC addresses in the flow tables.
To configure OpenFlow to support dynamic MAC addresses:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter OpenFlow instance
view.

openflow instance instance-id N/A

3.

Configure OpenFlow to

support dynamic MAC
addresses.

mac-ip dynamic-mac aware

By default, OpenFlow prohibits
controllers from querying and

deleting dynamic MAC addresses.
This feature is applicable only to

OpenFlow instances in VLAN
mode.

Advertising
This manual is related to the following products: