beautypg.com

Configuring openflow instances, Configuration restrictions and guidelines, Creating an openflow instance – H3C Technologies H3C S5120 Series Switches User Manual

Page 13: Associating an openflow instance with vlans

background image

7

for an OpenFlow switch

Setting the connection interruption mode

Optional.

Setting OpenFlow timers

Optional.

Configuring OpenFlow to support dynamic MAC addresses

Optional.

Configuring OpenFlow instances

Configuration restrictions and guidelines

When you configure OpenFlow instances, follow these restrictions and guidelines:

The switch supports up to 128 route entries. When you deploy more than 128 route entries to the
switch through controllers, use the display ip routing-table command to view the effective route

entries.

Delete the flow entries deployed to a port before removing the port from the group table or the
VLANs that are associated with an OpenFlow instance. Removing a port from the group table or the

VLANs that are associated with an OpenFlow instance does not automatically delete the flow

entries deployed to the port by controllers.

When you delete a VLAN interface that is associated with MAC-IP flow entries, create a new VLAN
interface for controllers to deploy new flow entries.

A forwarding conflict might occur when you configure the same service through both the controller
and CLI. To ensure the correct forwarding, configure a service either by deploying flow entries
through the controller or using CLI.

Creating an OpenFlow instance

Step Command

Remarks

1.

Enter system view.

system-view

N/A

1.

Create an OpenFlow instance
and enter OpenFlow instance

view.

openflow instance instance-id

By default, no OpenFlow instance
exists.

2.

(Optional.) Specify a
description for the OpenFlow

instance.

description text

By default, an OpenFlow instance
does not have a description.

Associating an OpenFlow instance with VLANs

When you associate an OpenFlow instance with VLANs, follow these guidelines:

Do not associate multiple OpenFlow instances to the same VLAN. Otherwise, VLAN traffic cannot
be correctly processed.

When you activate an OpenFlow instance that is associated with non-existent VLANs, the system
automatically creates the VLANs. Do not delete any of these VLANs after the OpenFlow instance is
activated.

VLANs that are associated with an OpenFlow instance cannot contain loopback interfaces.