Patent ID: 11909633
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A method for processing packets, comprising:
allocating, by a controller, a service label corresponding to a service processing manner of a forwarding equivalence class (FEC) and a path, wherein the controller also establishes a mapping relationship between the service label and the service processing manner;
sending, by the controller, the service label to a source node of the path to enable the source node to insert the service label to a first packet to obtain a second packet to be forwarded along the path to a destination node, wherein the service label is used to instruct a network node on the path to perform service processing on the second packet according to the service processing manner; and
sending, by the controller, the mapping relationship to the destination node to enable the destination node to pop the service label from the second packet to obtain the first packet.