Patent ID: 9634932
Date: 2017-04-25
CPC Classifications: H04L

Claim:
1. A method for forwarding traffic of a switching system, wherein the switching system comprises a first line card chassis (LCC) at least one second LCC, and at least one third LCC; wherein the first LCC, the at least one second LCC, and the at least one third LCC are interconnected according to a wireless mesh form topology; and the method comprises: receiving, by the first LCC, a packet comprising first and second sub-packets to be distributed to first and second links, and parsing the packet to acquire a destination address of the packet; and when the destination address indicates that the packet is to be sent to the third LCC and when a currently preset configuration mode of the switching system is a first configuration mode, bearing, by the first LCC, the packet on the first and second links, and forwarding the packet to the third LCC, including preferentially distributing, by the first LCC, the packet to at least one link in the first link, and distributing a remaining packet in the packet to at least one link in the second link after the at least one link in the first link reaches a saturation state, wherein the first link is a directly connected two-hop link between the first LCC and the third LCC, and a quantity of links comprised by the first link is at least one, the second link is an n-hop link that passes through the at least one second LCC and that is between the first LCC and the third LCC, and a quantity of links comprised by the second link is at least one, wherein n is a natural number, 3≦n≦N, and N is a natural number greater than or equal to 3; and the first configuration mode indicates that an N-hop mode is currently applied to the switching system; and separately adding, by the first LCC, a first original time-scale to the first sub-packet, and adding a second original time-scale to the second sub-packet, wherein the first original time-scale indicates an initial time at which the first sub-packet arrives at the first LCC, and the second original time-scale indicates an initial time at which the second sub-packet arrives at the first LCC, enabling the third LCC to separately obtain, according to a first forwarding delay of the first sub-packet and a second forwarding delay of the second sub-packet, a first time-scale by adding a first time-scale compensation to the first original time-scale and a second time-scale by adding a second time-scale compensation to the second original time-scale, enabling a time sequence of the first and second time-scales to be consistent with a time sequence of the first and second original time-scales, wherein a sum of the first forwarding delay and the first time-scale compensation equals a sum of the second forwarding delay and the second time-scale compensation.