Setting the controller mode, Setting the maximum number of flow entries – H3C Technologies H3C S6800 Series Switches User Manual
Page 18
10
Step Command
Remarks
3.
Configure the flow table type
and the flow table ID.
flow-table { extensibility table-id |
mac-ip table-id }*
By default, an OpenFlow instance
contains one extensibility flow
table with an ID of 0.
An OpenFlow instance supports
only one MAC-IP flow table and
one extensibility flow table. If you
execute the command multiple
times, the most recent
configuration takes effect.
The ID of the MAC-IP flow table
must be smaller than that of the
extensibility flow table.
Setting the controller mode
An OpenFlow instance can connect to one or more controllers, depending on the controller mode the
OpenFlow instance uses:
•
Single—The OpenFlow instance connects to only one controller at a time. When communication
with the current controller fails, the OpenFlow instance uses another controller. In this mode, an
OpenFlow instance attempts to connect to a controller one by one in ascending order of controller
ID until it successfully connects to a controller. If multiple controllers that are configured for the
OpenFlow instance are unreachable, it might take a long time for the OpenFlow instance to
connect to a reachable controller.
•
Multiple—The OpenFlow instance can simultaneously connect to multiple controllers. When
communication with any controller fails, the OpenFlow instance attempts to reconnect to the
controller after a reconnection interval.
To set the controller mode for an OpenFlow instance:
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 controller mode.
controller mode { multiple |
single }
By default, the controller mode is
multiple.
Setting the maximum number of flow entries
You can set the maximum number of flow entries that an extensibility flow table supports. When the
maximum number is reached, the OpenFlow instance does not accept new flow entries for that table and
sends a deployment failure notification to the controller.
To set the maximum number of flow entries that an extensibility flow table supports:
Step Command
Remarks
1.
Enter system view.
system-view
N/A