beautypg.com

Configuring flow table ids – H3C Technologies H3C S5120 Series Switches User Manual

Page 14

background image

8

To associate an OpenFlow instance with VLANs:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter OpenFlow instance
view.

openflow instance instance-id N/A

3.

Associate the OpenFlow

instance with VLANs.

classification vlan vlan-id [ mask
vlan-mask ] [ loosen ]

By default, an OpenFlow instance
is not associated with any VLAN.

Configuring flow table IDs

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

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.

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—When the connection mode is single, an OpenFlow establishes a connection to only one
controller at a time, and the other controllers back up the controller. When the current connection

is broken, the OpenFlow instance attempts to connect to the next controller until it successfully

establishes a connection.

multiple—When the connection mode is multiple, an OpenFlow can establish connections to

multiple controllers at a time. When the OpenFlow instance fails to connect to a controller or the
connection to a controller is broken, the OpenFlow instance attempts to reconnect to the controller

after the reconnection interval expires until it successfully establishes a connection to the controller.

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