摘要 |
This application provides a packet processing method, a device and a system. The method is applied to a system including a layer 4 forwarding device, a layer 7 forwarding device, and a controller, where the layer 4 forwarding device and the layer 7 forwarding device separately communicate with the controller, and a data channel used to transmit a packet exists between the layer 4 forwarding device and the layer 7 forwarding device. The method includes: sending, by the controller, a first forwarding entry to the layer 4 forwarding device, where the first forwarding entry includes a first keyword and a first processing policy corresponding to the first keyword, the first keyword includes layer 4 information of a packet, and the first forwarding entry is used to instruct the layer 4 forwarding device to send a second packet to the layer 7 forwarding device according to the first processing policy when a first packet matching the first keyword is received; and sending, by the controller, to the layer 7 forwarding device, a control rule used to instruct the layer 7 forwarding device in packet processing, so that the layer 7 forwarding device processes the second packet according to the control rule. |