Patent attributes
Embodiments of the present disclosure provide a packet processing method and a network device, so as to effectively resolve a problem that a quantity of concurrent packet processing policies is limited in a network device due to scarce hardware resources of a packet forwarding chip. A method part in the embodiments of the present disclosure includes: obtaining, by a first network device, identification information; processing, by the first network device, a packet when receiving the packet, where a processed packet includes the identification information, and packets corresponding to different preset policy information include different identification information; and sending, by the first network device, the processed packet to a second network device, so that the second network device matches a corresponding policy for the processed packet based on the identification information.