Enabling OpenFlow on a specified interface

After you have enabled OpenFlow on the device, you can enable OpenFlow on specific interfaces.

Note: You can enable OpenFlow on an interface only after you have enabled OpenFlow globally on the device. In addition, you must use individual CLI commands to enable OpenFlow on each interface. You cannot specify a range of ports when enabling OpenFlow.
Note: Configuration of an OpenFlow hybrid port is not supported, if the port is already configured as a member of an MCT VLAN.

To enable OpenFlow on a specific interface, enter the following command:

device(config-if-e1000-1/1/1)# openflow enable layer2

You can specify Layer 2 or Layer 3 or both layers (as Layer23 matching mode) in OpenFlow hybrid port mode to be supported on the interface. By default, interfaces on these devices support Layer 2 matching mode. If you enable Layer 2 matching mode on the specified interface, only Layer 2 matching fields are supported on that interface.

Use the no form of the command to disable OpenFlow on the interface.