Reference Guide

Table Of Contents
When you specify the option, 1.0, the switch establishes a connection with the controller that
supports version 1.0 only.
When you specify the option, 1.3, the switch establishes a connection with the controller that
supports version 1.3 only.
Example
The following example shows a logical switch instance, of-switch-1, configured to interact with controllers
that support the OpenFlow protocol version 1.3.
OS10 (config)# openflow
OS10 (config-openflow)# switch of-switch-1
OS10 (config-openflow-switch)# shutdown
OS10 (config-openflow-switch)# protocol-version 1.3
OS10 (config-openflow-switch)# no shutdown
OS10 (config-openflow-switch)#
Supported
Releases
10.4.1 or later
rate-limit packet_in
To configure the maximum packet rate for the controller connection, and the maximum packets permitted in a burst of packets
sent to the controller in a second.
Syntax
rate-limit packet_in controller-packet-rate [burst maximum-packets-to-
controller]
Parameters
controller-packet-rateRate in packets per second to be configured for the controller's
OpenFlow channel connection. Range is from 100 to 268000000 seconds. The default is 0 seconds
(disabled).
maximum-packets-to-controllerBurst in packets configured for the controller's OpenFlow
channel connection. Range is 25 to 1073000. The default is 0 seconds (disabled). This parameter is
optional and is set to 25% of the configured rate value, when this value is not configured.
Default Rate limiting is disabled on the OpenFlow connections by default.
Command Mode OPENFLOW SWITCH CONFIGURATION
Usage
Information
The rate and burst that are specified are set by the OpenFlow application for the controller's connection
with the logical switch instance. Actual rate and burst on the controller can go up to a maximum of two
times the configured values. For example, when a rate of 1000 PPS and a burst of 300 packet bursts per
second is configured on an OpenFlow logical switch instance connected to a controller, the packets can
egress on the connection at rates of up to 2000 PPS and 600 packet bursts per second. The no form of
this command disables rate limiting on the controller connection.
NOTE: The rate-limit packet_in command is a software rate limiting command and is applicable only
to the OpenFlow channel connection between the controller and the logical switch instance. This
command is not related to the switch's data-plane rate limits.
Example
The following example configures an OpenFlow controller connection with the logical switch instance,
of-switch-1 at a rate of 1000 PPS and packet bursts of 300 packets.
OS10 (config)# openflow
OS10 (config-openflow)# switch of-switch-1
OS10 (config-openflow-switch)# controller ipv4 10.11.63.56 port 6633
OS10 (config-openflow-switch)# rate-limit packet_in 1000 burst 300
OS10 (config-openflow-switch)#
Supported
Releases
10.4.1 or later
554 OpenFlow