Openflow flow table – H3C Technologies H3C S12500-X Series Switches User Manual
Page 8
2
•
Logical port—Does not correspond to a hardware interface of a switch and might be defined by
non-OpenFlow methods. For example, aggregate interfaces are logical ports. A logical port can be
either an ingress port or an output port.
IMPORTANT:
The switch does not support loopback interfaces.
•
Reserved port—Defined by OpenFlow to specify forwarding actions. Reserved ports include the
following types:
{
All—All OpenFlow ports that can be used to forward a packet.
{
Controller—OpenFlow controller.
{
Local—Local CPU.
{
Normal—Normal forwarding process.
{
Flood—Flooding.
Except the Any type, all reserved ports can be used only as output ports.
OpenFlow flow table
An OpenFlow switch matches packets with 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.
Figure 2 Flow entry components
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 matching fields and actions than a MAC-IP flow table.
A flow entry contains the following fields:
•
Match fields—Matching rules of the flow entry, including the ingress port, packet headers, and
metadata specified by the previous table.
•
Priority—Matching precedence of the flow entry. A packet is matched with 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.
•
Instructions—Modify the action set or pipeline processing. Instructions include the following types:
{
Meter—Directs the packets to the specified meter to rate limit the packets.