background image

 

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. 

{

 

Goto-Table

—Indicates the next flow table in the processing line. 

Actions are executed in one of the following ways: 

{

 

Action Set

—When the instruction set of a flow entry does not contain a 

Goto-Table

 instruction, 

pipeline processing stops and the actions in the action set are executed. An action set contains 

a maximum of one action of each type. 

{

 

Action List

—The actions in the action list are executed immediately in the order specified by the 

action list. The effect of those actions is cumulative. 

 

Timeouts

—Maximum amount of idle time or hard time for the flow entry.  

{

 

idle Time

—The flow entry is removed when it has matched no packets during the idle time.  

{

 

hard Time

—The flow entry is removed when the hard time timeout is exceeded, regardless of 

whether or not it has matched packets. 

 

Cookie

—Flow entry identifier specified by the controller. 

Table-miss flow entry 

Every flow table must support a table-miss flow entry to process table misses. The table-miss flow entry 
specifies how to process packets unmatched by other flow entries in the flow table. The table-miss flow 

entry wildcards all match fields (all fields omitted) and has the lowest priority 0. The table-miss flow entry 

behaves in most ways like any other flow entry. 

OpenFlow pipeline 

The OpenFlow pipeline processing defines how packets interact with flow tables contained by a switch.  
The flow tables of an OpenFlow switch are sequentially numbered, starting at 0. The packet is first 

matched against flow entries of first flow table: flow table 0. A flow entry can only direct a packet to a 

flow table number which is greater than its own flow table number.  
When a packet matches a flow entry, the OpenFlow switch updates the action set for the packet and 
passes the packet to the next flow table. In the last flow table, the OpenFlow switch executes all actions 

to modify packet contents and specify the output port for packet forwarding. If the instruction set of one 

of the flow tables contains an action list, the OpenFlow switch executes the actions to modify a copy of 

the packet immediately in this table. 

Figure 3

 

OpenFlow forwarding workflow 

 

 

Summary of Contents for S6300 Series

Page 1: ...H3C S6300 Switch Series OpenFlow Configuration Guide Hangzhou H3C Technologies Co Ltd http www h3c com Software version Release 23xx Document version 6W101 20150407...

Page 2: ...gine SecPath SecCenter SecBlade Comware ITCMM and HUASAN are trademarks of Hangzhou H3C Technologies Co Ltd All other trademarks that may be mentioned in this manual are the property of their respecti...

Page 3: ...lanners Field technical support and servicing engineers Network administrators working with the S6300 series Conventions This section describes the conventions used in this documentation set Command c...

Page 4: ...in personal injury CAUTION An alert that calls attention to important information that if not understood or followed can result in data loss data corruption or damage to hardware or software IMPORTANT...

Page 5: ...s Fan assemblies installation manual Describes the appearance specifications and installation and removal of hot swappable fan assemblies Power modules user manual Describes the appearance specificati...

Page 6: ...hardware installation software upgrading and software feature configuration and maintenance documentation Products Solutions Provides information about products and technologies as well as solutions T...

Page 7: ...uring inband management VLANs 8 Disabling MAC address learning in the VLANs associated with an OpenFlow instance 9 Configuring the datapath ID for an OpenFlow instance 9 Activating or reactivating an...

Page 8: ...r physical and virtual devices Overview OpenFlow separates the data forwarding and routing decision functions It keeps the flow based forwarding function and employs a separate controller to make rout...

Page 9: ...w table contains flow entries and packets are matched based on the matching precedence of flow entries OpenFlow flow tables include the following types MAC IP Combines the MAC address table and FIB ta...

Page 10: ...ot it has matched packets Cookie Flow entry identifier specified by the controller Table miss flow entry Every flow table must support a table miss flow entry to process table misses The table miss fl...

Page 11: ...rs enable OpenFlow to implement various simple QoS operations such as rate limiting A group table contains meter entries Figure 5 Components of a meter entry A meter entry contains the following field...

Page 12: ...rts the following information to the controller Support capabilities for OpenFlow Ports that belongs to the OpenFlow instance An activated OpenFlow instance need be reactivated when any of the OpenFlo...

Page 13: ...ional Setting OpenFlow timers Optional Configuring an OpenFlow instance to support dynamic MAC addresses Configuring OpenFlow instances To use LLDP together with OpenFlow you must enable LLDP globally...

Page 14: ...w instance contains one extensibility flow table with an ID of 0 An OpenFlow instance supports only one MAC IP flow table and one extensibility flow table If you execute the command multiple times the...

Page 15: ...bility flow table supports a maximum of 65535 flow entries Configuring inband management VLANs Inband management VLANs of an OpenFlow instance are part of the VLANs associated with the OpenFlow instan...

Page 16: ...instance Step Command Remarks 1 Enter system view system view N A 2 Enter OpenFlow instance view openflow instance instance id N A 3 Configure the datapath ID for the OpenFlow instance datapath id dat...

Page 17: ...any main connection Setting the connection interruption mode An OpenFlow switch is set to either of the following modes when it is disconnected from all controllers Secure In this mode the OpenFlow s...

Page 18: ...nfiguring an OpenFlow instance to support dynamic MAC addresses You can configure an OpenFlow instance to support querying and deleting of dynamic MAC addresses in MAC IP flow tables To configure an O...

Page 19: ...penFlow communication with the controller in specific VLANs Create OpenFlow instance 1 associate VLANs 4092 and 4094 with the OpenFlow instance and activate the OpenFlow instance Configure the control...

Page 20: ...ption Active status active Inactive configuration none Active configuration Classification VLAN total VLANs 2 4092 4094 In band management VLAN total VLANs 0 empty VLAN Connect mode multiple Mac addre...

Page 21: ...ow configuration 1 12 OpenFlow instance configuration 6 OpenFlow timer setting 10 datapath ID configuration OpenFlow 9 disabling MAC address learning in associated VLANs OpenFlow 9 displaying OpenFlow...

Page 22: ...e 9 configuring flow table ID OpenFlow 7 configuring inband management VLAN OpenFlow 8 configuring OpenFlow instance 6 creating OpenFlow instance 6 disabling MAC address learning in associated VLANs O...

Reviews: