Page 3
The H3C S5830V2 & S5820V2 documentation set includes 16 configuration guides. These guides describe the software features for the H3C S5830V2 & S5820V2 Switch Series and guide you through the software configuration procedures. These guides also provide configuration examples to help you apply software features to different network scenarios.
Page 4
OpenFlow was introduced in Release 2307. Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. Square brackets enclose syntax choices (keywords or arguments) that are optional.
Page 5
Port numbering in examples The port numbers in this document are for illustration only and might be unavailable on your switch. About the H3C S5830V2 & S5820V2 documentation set The H3C S5830V2 & S5820V2 documentation set includes: Category Documents Purposes...
Page 6
Solutions]—Provides information about products and technologies, as well as solutions. [Technical Support & Documents > Software Download]—Provides the documentation released with the software version. Technical support service@h3c.com http://www.h3c.com Documentation feedback You can e-mail your comments about product documentation to info@h3c.com. We appreciate your comments.
Configuring OpenFlow Software-Defined Networking (SDN) was developed to meet the growing requirements of virtualization technologies and data networks. SDN uses software to separate controlling functions from data forwarding, and provides simple, flexible device operations and high extensibility. OpenFlow is the communication interface between a controller and network devices to implement SDN. With OpenFlow, you can perform centralized data forwarding management for physical and virtual devices.
Page 9
OpenFlow supports the following types of ports: • Physical port—Corresponds to a hardware interface of a switch, such as an Ethernet interface. A physical port can be either an ingress port or an output port. Logical port—Does not correspond to a hardware interface of a switch and might be defined by •...
Page 10
Instructions—To modify the action set or pipeline processing. These include the following types: • Meter—Directs the packets to the specified meter to limit the rate of the packets. Apply-Actions—Applies the specified actions in the action list immediately. Clear-Actions—Clears all the actions in the action set immediately. Write-Actions—Modifies all the actions in the action set immediately.
Page 11
Group table The ability for a flow entry to point to a group enables OpenFlow to represent additional methods of forwarding. A group table contains group entries. Figure 4 Components of a group entry A group entry contains the following fields: Group Identifier—A 32 bit unsigned integer uniquely identifying the group.
OpenFlow instance You can configure one or more OpenFlow instances on the same device. A controller considers each OpenFlow instance as a separate OpenFlow switch and deploys forwarding instructions to it. In this chapter, an OpenFlow switch is the same as an OpenFlow instance, unless otherwise specified. Associated VLAN When an OpenFlow instance is associated with VLANs, the flow tables take effect on packets only within these VLANs.
To use LLDP together with OpenFlow, you must enable LLDP globally on OpenFlow switches. To prevent LLDP from affecting topology discovery of OpenFlow controllers, H3C recommends that you disable LLDP on ports of OpenFlow instances. For more information about LLDP, see Layer 2—LAN Switching Configuration Guide.
When you activate an OpenFlow instance that is associated with non-existent VLANs, the system • automatically creates the VLANs. Do not delete any of these VLANs after the OpenFlow instance is activated. To associate an OpenFlow instance with VLANs: Step Command Remarks Enter system view.
Step Command Remarks Enter OpenFlow instance view. openflow instance instance-id controller mode { multiple | By default, the controller mode is Set the controller mode. single } multiple. Setting the maximum number of flow entries You can set the maximum number of flow entries that an extensibility flow table supports. When the maximum number is reached, the OpenFlow instance does not accept new flow entries for that table and sends a deployment failure notification to the controller.
Disabling MAC address learning in the VLANs associated with an OpenFlow instance Step Command Remarks Enter system view. system-view Enter OpenFlow openflow instance instance-id instance view. By default, MAC address learning is Disable MAC address enabled in the VLANs associated with an learning in the VLANs OpenFlow instance.
Configuring controllers for an OpenFlow switch Configuring controllers and main connections An OpenFlow switch supports up to 64 controllers. However, the OpenFlow channel between the OpenFlow switch and each controller can have only one main connection. The main connection processes control messages to complete tasks such as deploying entries, obtaining data, and sending information.
By default, the connection detection interval is 5 seconds. Set the connection detection controller echo-request interval To reduce the CPU load, H3C interval. interval-value recommends that you set the connection detection interval to a large value.
Task Command Display controller information for an OpenFlow display openflow instance instance-id controller instance. Display group table information for an OpenFlow display openflow instance instance-id group instance. [ group-id ] display openflow instance instance-id meter Display meter information for an OpenFlow instance. [ meter-id ] Display summary OpenFlow instance information.
Index activating/reactivating flow table OpenFlow instance, configuring flow table ID (OpenFlow), associating OpenFlow, OpenFlow instance with VLAN, group tabel configuring OpenFlow, controller and main connection (OpenFlow), dynamic MAC address support by OpenFlow instance instance, OpenFlow instance, flow table ID (OpenFlow), OpenFlow instance port, inband management VLAN (OpenFlow), OpenFlow, 1,...
Page 22
OpenFlow instance port, setting OpenFlow pipeline, connection interruption mode (OpenFlow), OpenFlow port, controller mode (OpenFlow), OpenFlow switch, datapath ID for OpenFlow instance, protocols and standards, max flow entries (OpenFlow), setting datapath ID for OpenFlow instance, OpenFlow timer, setting max flow entries, switch timer setting, connection interruption mode setting...
Need help?
Do you have a question about the S5830V2 Series and is the answer not in the manual?
Questions and answers