Configuring Support for OpenFlow on EX4550 Switches
The following sections configure EX4550 switches to support OpenFlow using interfaces that participate solely in OpenFlow.
Before configuring support for OpenFlow, ensure that the switch meets the following requirements:
EX4550 switch running Junos OS Release 13.2X51-D20 or a later release
OpenFlow software package with a software package release that matches the Junos OS release of the device on which it is installed
TCP connection between the switch and an OpenFlow controller
Connection between the management interface of the switch and the management network, which is reachable from the controller IP address
Configuration tasks are described in detail in the following sections:
Configuring the OpenFlow Interfaces
You must configure interfaces participating in OpenFlow
as Layer 2 interfaces. On EX Series Ethernet Switches, you configure
the interfaces with protocol family ethernet-switching
.
On EX4550 switches, you can configure only a single logical port using
logical unit number 0.
To configure the OpenFlow interfaces:
Configure the logical interface and the protocol family.
[edit interfaces interface-name] user@host# set unit 0 family ethernet-switching
Configuring the OpenFlow Protocol
To configure support for OpenFlow, create a virtual switch instance, and specify a switch name, which must be 60 characters or less. For the virtual switch instance, configure the OpenFlow controller information and the participating logical interfaces. Optionally, configure the default action for packets that do not match a flow entry, the purge timer for invalid flows, and any OpenFlow traceoptions.
To configure the OpenFlow protocol: