摘要 |
A traffic forwarding method based on a virtual switch cluster is described. The method includes setting an aggregation group member list to store information about all the members of an aggregation group; setting an aggregation group traffic forwarding member list to store information of aggregation group members for forwarding traffic, wherein the list in an initial state only containing information about local members of the aggregation group; and when it is determined that traffic of a physical device exceeds the total bandwidth of the members in the aggregation group traffic forwarding member list or a threshold value related to the total bandwidth, selecting a nonlocal member from the aggregation group member list and adding the same into the aggregation group traffic forwarding member list, and forwarding traffic according to the changed aggregation group traffic forwarding member list. A traffic forwarding system based on a virtual switch cluster is also described. The disclosure can implement traffic forwarding in a virtual switch cluster scene on the premise of occupying limited bandwidth of a stack link as small as possible, thereby ensuring the traffic forwarding performance in the virtual switch cluster scene. |