Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring OpenFlow Hybrid Interfaces on MX Series Routers

On MX Series routers that support OpenFlow, you can configure a physical interface as a hybrid interface that concurrently supports OpenFlow logical interfaces and non-OpenFlow logical interfaces. If you configure an OpenFlow hybrid interface on a device running Junos OS, you must enable the reception and transmission of 802.1Q VLAN-tagged frames on all interfaces, including both hybrid and non-hybrid interfaces, and you must configure a virtual switch routing instance for the OpenFlow traffic and a separate virtual switch routing instance for the normal traffic.

The following sections detail configuring an MX Series router that supports OpenFlow with a mix of hybrid and normal interfaces:

Configuring the Hybrid Physical Interface

To configure the hybrid physical interface:

  1. Enable VLAN tagging.

    Configure vlan-tagging to support 802.1Q VLAN single-tag frames for both OpenFlow and non-OpenFlow traffic, or configure flexible-vlan-tagging to support both 802.1Q VLAN single-tag and dual-tag frames.

  2. Configure flexible Ethernet services encapsulation to enable multiple per-unit Ethernet encapsulations.

Configuring the Hybrid Interface Logical Units

On a hybrid interface, you configure an OpenFlow or non-OpenFlow logical interface as a Layer 2 trunk interface. Additionally, you can configure a non-OpenFlow logical interface as a Layer 3 subinterface that performs traditional Layer 3 or MPLS-based forwarding. To configure a logical interface to receive and forward VLAN-tagged frames, you must bind a VLAN ID, or a range or list of VLAN IDs, to the logical interface. Configure Layer 2 interfaces using family bridge on MX Series routers.

To configure the hybrid interface logical units:

  1. Configure the OpenFlow logical interfaces and any non-OpenFlow Layer 2 logical interfaces, and specify the interface mode and VLAN membership.
  2. Configure any non-OpenFlow Layer 3 logical interfaces, and specify the VLAN membership.

Configuring the Non-Hybrid Interfaces

Non-hybrid interfaces support either OpenFlow traffic or non-OpenFlow traffic, but not both simultaneously.

To configure the non-hybrid interfaces:

  1. Configure interfaces that support only OpenFlow traffic as Layer 2 trunk interfaces, and specify the interface mode and VLAN membership.
  2. Configure interfaces that support only normal traffic, and specify the interface mode for the Layer 2 interfaces and the VLAN membership.

    For example:

Configuring OpenFlow

To configure the OpenFlow virtual switch instance:

  1. Configure the OpenFlow controller IP address and the connection protocol.
  2. Specify all logical interfaces participating in OpenFlow under this virtual switch instance.

Configuring the Virtual Switch Routing Instances

Configure separate virtual switch routing instances for the OpenFlow traffic and the non-OpenFlow traffic. The configured interface names must include a logical unit number.

To configure the virtual switch routing instances:

  1. Configure the virtual switch routing instance for the OpenFlow traffic, and specify the OpenFlow logical interfaces and VLANs.
  2. Configure the virtual switch routing instance for the non-OpenFlow traffic, and specify the non-OpenFlow logical interfaces and VLANs.