Activating or reactivating an openflow instance – H3C Technologies H3C S5120 Series Switches User Manual

Page 16

Advertising
background image

10

Disabling MAC address learning in the VLANs associated with
an OpenFlow instance

This configuration does not take effect on in-band management VLANs.
To disable MAC address learning in the VLANs associated with 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.

Disable MAC address
learning in the VLANs

associated with an
OpenFlow instance.

mac-learning forbidden

By default, MAC address learning is
enabled in the VLANs associated with an
OpenFlow instance.

Configuring the datapath ID for an OpenFlow instance

In an OpenFlow network, each OpenFlow instance is uniquely identified by a datapath ID. By default,
the datapath ID of an OpenFlow instance consists of the instance ID and the bridge MAC address. The

datapath ID is configurable.
To configure the datapath ID 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
datapath ID for the

OpenFlow instance.

datapath-id datapath-id

By default, the datapath ID of an
OpenFlow instance consists of the

instance ID and the bridge MAC address.

The upper 16 bits are the instance ID and
the lower 48 bits are the bridge MAC

address.

Activating or reactivating an OpenFlow instance

CAUTION:

Reactivating an OpenFlow instance refreshes the configuration data and interrupts communication with
the controllers.

To activate or reactivate an OpenFlow instance:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

Advertising