Users Guide

Table Of Contents
protocol-version
Specifies protocol version the logical switch interface uses.
Syntax
protocol-version version
Parameters versionChoose from one of the following:
negotiateEnter the keyword to negotiate versions 1.0 or 1.3 with the controller. The highest of
the supported versions is selected.
1.0Specify the logical switch instance OpenFlow protocol version as 1.0.
1.3Specify the logical switch instance OpenFlow protocol version as 1.3.
Default
negotiate
Command Mode OPENFLOW SWITCH CONFIGURATION
Usage
Information
NOTE: Only use this command should be run when the logical switch instance is disabled. Use the
shutdown command to disable the logical switch instance. After you run this command, enter the
no shutdown command to enable the logical switch instance again.
When you specify, negotiate, the switch negotiates versions 1.0 and 1.3 and selects the highest of
the versions supported by the controller. The negotiation is based on the hello handshake described in
the OpenFlow Specification 1.3.
When you specify, 1.0, the switch establishes a connection with the controller that supports version
1.0 only.
When you specify, 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.0 or later
rate-limit packet_in
Configures the maximum packet rate for the controller connection, and the maximum packets permitted in a burst 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 for the controller OpenFlow channel
connection, from 100 to 268000000 seconds. The default is 0 seconds, disabled.
maximum-packets-to-controllerBurst in packets for the controller OpenFlow channel
connection, from 25 to 1073000. The default is 0 seconds, disabled. This parameter is optional. It is
set to 25% of the configured rate value, if not configured.
Default Disabled
Command Mode OPENFLOW SWITCH CONFIGURATION
Usage
Information
OpenFlow sets the specified rate and burst for the controller's connection with the logical switch
instance. The actual rate and burst on the controller has a maximum of two times the configured values.
OpenFlow 1231