openflow enable

Enables or disables the OpenFlow hybrid port-mode on the port.
Syntax
openflow enable [ layer2 | layer3 | layer23 [ hybrid-mode ] ]
no openflow enable [ layer2 | layer3 | layer23 [ hybrid-mode ] ]
Parameters
layer2
Enables Layer 2 matching mode for flows.
layer3
Enables Layer 3 matching mode for flows.
layer23 hybrid-mode
Enables Layer 2 and Layer 3 matching mode for flows with an option for hybrid port-mode.
Modes

Global configuration mode

Interface configuration mode

Usage Guidelines

In interface configuration mode, this command enables Layer 2 or Layer 3 matching mode for flows with an optional enabling of hybrid port-mode.

Note: OpenFlow must be globally enabled before the Layer 2 or Layer 3 matching modes can be specified.
Examples

After OpenFlow 1.0 is enabled, the following example configures Layer 2 and Layer 3 matching mode for flows.

device# configure terminal
device(config)# openflow enable ofv100
device(config)# interface ethernet 1/1/1
device(config-if-1/1/1)# openflow enable layer23 hybrid-mode

After OpenFlow 1.3 is enabled, the following example configures Layer 2 and Layer 3 matching mode for flows.

device# configure terminal
device(config)# openflow enable ofv130
device(config)# interface ethernet 1/1/1
device(config-if-1/1/1)# openflow enable layer23
History

Release

Command History

08.0.20

This command was introduced.