摘要 |
Embodiments of the present invention provide a flow table interaction method, a switch, and a system, which relate to the field of communications, can reduce waste of resources and reduce power consumption of a system. A specific solution comprises: after a switch establishes a connection with a controller, the switch receiving a flow table capability request message from the controller; sending a logical flow table to the controller, the logical flow table comprising the number of flow tables pre-stored in the switch and a flow table capability of each pre-stored flow table, so that the controller configures, according to the logical flow table, at least one first flow table entry used for indicating a packet forwarding policy for the switch; and receiving the at least one first flow table entry delivered by the controller, and generating a physical flow table according to the at least one first flow table entry, so as to forward the packet according to the physical flow table after the packet is received. The present invention is used in a process of packet forwarding. |