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

Claim 6:
7. A method for forwarding a packet in a network, wherein the network comprises a first network device and a second network device, there are a plurality of forwarding paths between the first network device and the second network device, and the method comprises:
receiving, by the second network device, a second packet, wherein the second packet is any one of a plurality of second packets that are generated by the first network device based on a first packet, the second packet comprises indication information, payload data carried in the first packet, and a packet sequence number of the first packet in a data flow corresponding to the first packet;
when the second network device determines that the second packet comprises the indication information, searching, by the second network device, a packet receiving table to determine whether the packet sequence number is in the packet receiving table, wherein the indication information is a Multi-Protocol Label Switching (MPLS) label or an Internet Protocol version 6 (IPv6) address; and
if the packet sequence number is not in the packet receiving table, storing, by the second network device, the second packet; or
if the packet sequence number is in the packet receiving table, discarding, by the second network device, the second packet.