摘要 |
Embodiments of the present invention disclose a flow entry configuration method, apparatus, and system. The method includes: reporting, by a switch, a flow table structure to a controller, where an intersection of match fields and actions of multiple OpenFlow flow tables included in the flow table structure includes a match field and an action that are used to implement a first service supported by a hardware flow table; receiving a flow entry that is generated according to the flow table structure and sent by the controller; determining, when a first flow entry matching a first data packet of the first service is found in the software flow table, a first target service path matching the first flow entry, and further determining a corresponding first hardware flow table; and configuring a flow entry of the first hardware flow table according to the first flow entry. By using this method, no matter to which controller the switch is connected, the switch can successfully configure, in the hardware flow table, the flow entry used to implement the first service, so as to successfully process the first service, thereby reducing a probability of failure in service processing. |