background image

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 

non-OpenFlow methods, such as an aggregate interface. A logical port can be either an ingress 
port or an output port. 

 

Reserved port

—Defined by OpenFlow to specify forwarding actions. A reserved port can only be 

an output port. Reserved ports include the following types: 

{

 

All

—All OpenFlow ports that can be used to forward a packet. 

{

 

Controller

—OpenFlow controller. 

{

 

Local

—Local CPU. 

{

 

In port

—Packet ingress port. This type is available in Release 2311P05 and later versions. 

{

 

Normal

—Normal forwarding process. 

{

 

Flood

—Flooding. 

OpenFlow flow table 

An OpenFlow switch matches packets against one or  more  user-defined  flow  tables.  A  flow  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 table. 

A MAC-IP flow table provides the following match fields: 

{

 

Destination MAC address. 

{

 

VLAN. 

{

 

Destination IP address. 

A MAC-IP flow table provides the following actions: 

{

 

Modifying the destination MAC address. 

{

 

Modifying the source MAC address. 

{

 

Modifying the VLAN. 

{

 

Specifying the output port. 

 

Extensibility

—Provides more match fields and actions than a MAC-IP flow table, such as destination 

MAC address, destination IP address, VLAN priority, TCP source port, and TCP destination port. 

Flow entry 

Figure 2

 

Components of a flow entry 

 

 

A flow entry contains the following fields: 

 

Match fields

—Matching rules of the flow entry. These contain the ingress port, packet headers, and 

metadata specified by the previous table. 

 

Priority

—Matching precedence of the flow entry. A packet is matched against the table and only 

the highest priority flow entry that matches the packet is selected. 

 

Counters

—Counts of the packets that match the flow entry. 

Содержание S6300 Series

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: