Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

openflow (Protocols OpenFlow)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
openflow {
    switch switch-name {
        controller {
            address address;
            id id;
            protocol tcp {
                port port;
            }
            role equal;
        }
        default-action (drop | packet-in); 
        interfaces {
            interface-name port-id port;
        }
        purge-flow-timer seconds;
    }
    traceoptions {
        file <filename> <files number> <match regular-expression> <size size> <world-readable | no-world-readable>;
        flag flag;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit protocols]

Description

Configure support for OpenFlow on a device running Junos OS. To configure OpenFlow, the device must be running a Junos OS release that supports OpenFlow and have the OpenFlow software package installed. The OpenFlow software package release must match the Junos OS release of the device on which the software is installed.

Default

OpenFlow is disabled on the device.

Options

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

admin—To view this statement in the configuration.

admin-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 13.3.

footer-navigation