A method for diverting a packet multiple times in a device cluster which includes a master device and at least two slave devices, the method is performed by the master device and comprising: receiving an original packet sent by an upstream device; and after adding a multi-protocol label switching MPLS header that carries multi-diversion information to the original packet, sending the packet to a first slave device; receiving a packet sent by the first slave device, wherein the packet comprises an MPLS header that carries multi-diversion information, the MPLS header having multiple layers, the multi-diversion information comprises a multi-diversion identifier field, and the multi-diversion identifier field is used to indicate a second slave device to which the packet needs to be diverted, wherein each of the at least two slave devices attached to the master device corresponds to at least one bit in the multi-diversion identifier field, the multi-diversion information further comprises a link number field, and the link number field is used to indicate which link of the master device the original packet enters over; the multi-diversion information occupy idle bits which are in the MPLS header and specified in an existing MPLS protocol, and each layer of the MPLS header alone is configured to carry a 20 bit multi-diversion information; and a number M of bits of the multi-diversion identifier field and a number N of bits of the link number field are set according to actual application requirements, the sum of the M and N is 20, wherein M and N are adjustable in following manners: M is set to 12 when N is set to 8, or M is set to 14 when N is set to 6; if one layer of MPLS header is not enough for carrying the multi-diversion information, the number of layers of the MPLS header is increased according to an information amount of the multi-diversion information; determining, according to the multi-diversion identifier field, the second slave device to which the packet needs to be diverted; and sending the packet to the second slave device. receiving an original packet sent by an upstream device; and after adding a multi-protocol label switching MPLS header that carries multi-diversion information to the original packet, sending the packet to a first slave device; receiving a packet sent by the first slave device, wherein the packet comprises an MPLS header that carries multi-diversion information, the MPLS header having multiple layers, the multi-diversion information comprises a multi-diversion identifier field, and the multi-diversion identifier field is used to indicate a second slave device to which the packet needs to be diverted, wherein each of the at least two slave devices attached to the master device corresponds to at least one bit in the multi-diversion identifier field, the multi-diversion information further comprises a link number field, and the link number field is used to indicate which link of the master device the original packet enters over; the multi-diversion information occupy idle bits which are in the MPLS header and specified in an existing MPLS protocol, and each layer of the MPLS header alone is configured to carry a 20 bit multi-diversion information; and a number M of bits of the multi-diversion identifier field and a number N of bits of the link number field are set according to actual application requirements, the sum of the M and N is 20, wherein M and N are adjustable in following manners: M is set to 12 when N is set to 8, or M is set to 14 when N is set to 6;