摘要 |
<p>A method for forwarding packet includes: configuring a corresponding relationship between a physical feature and a service feature of a packet; receiving a packet, obtaining the physical feature of the packet; finding the corresponding relationship between the physical feature and the service feature according to the obtained physical feature, and obtaining service feature of the packet; encapsulating the service feature of the packet into the packet and forwarding the packet. In addition, the present invention also discloses an apparatus for forwarding packet. The method and the apparatus of the present invention make it possible for a network device to process a packet directly according to the service feature of the packet, which improves the processing efficiency of the packet, and implement differential services for users, decreases the cost for processing the packet during operation, and improves the service management and service control abilities during operation.</p> |