11
•
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
By default, the connection
detection interval 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
By default, the reconnection
interval is 60 seconds.
Configuring an OpenFlow instance to support
dynamic MAC addresses
You can configure an OpenFlow instance to support querying and deleting of dynamic MAC addresses
in MAC-IP flow tables.
To configure an OpenFlow instance 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 the OpenFlow
instance to support dynamic
MAC addresses.
mac-ip dynamic-mac aware
By default, an OpenFlow instance
prohibits controllers from querying
and deleting dynamic MAC
addresses.
Displaying and maintaining OpenFlow
Execute
display
commands in any view.
Task Command
Display the detailed information for an OpenFlow
instance.
display openflow instance
[
instance-id
]
Display flow table entries for an OpenFlow instance.
display openflow
instance
instance-id
flow-table
[
table-id
]