Configuring flow table ids – H3C Technologies H3C S12500-X Series Switches User Manual

Page 13

Advertising
background image

7

Configuring flow table IDs

You can configure one MAC-IP flow table and one extensibility flow table for an OpenFlow instance. For

an OpenFlow instance, the MAC-IP flow table ID must be smaller than the extensibility flow table ID.
To configure flow table IDs 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.

Configure the flow table ID.

flow-table { extensibility table-id |
mac-ip table-id }*

By default, OpenFlow supports
only one flow table with an ID of 0,

which is the extensibility type.
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.

Setting the connection mode for an OpenFlow instance to
establish connections to controllers

The following connection modes are available for an OpenFlow instance to establish connections to

controllers:

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 according to the controller ID in

ascending order until it successfully connects to a controller. If multiple controllers that are

configured for the OpenFlow instance are unreachable, the OpenFlow instance might take a long
time to connect to a reachable controller.

Multiple—The OpenFlow instance can simultaneously connect to multiple controllers. When
communication with a controller fails, the OpenFlow instance attempts to reconnect to the controller

after a reconnection interval.

To set the connection mode for an OpenFlow instance to establish connections to controllers:

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 mode for the
OpenFlow instance to establish

connections to controllers.

controller mode { multiple |
single }

By default, the connection mode
is multiple.

Advertising
This manual is related to the following products: