Load sharing balance method and device for physical ports, and link aggregation system

A technology of physical port and load balancing, applied in the field of communication, can solve the problems of insufficient utilization of physical port bandwidth and uneven data forwarding, and achieve the effect of balanced and fully utilized data forwarding

Active Publication Date: 2015-06-03
浙江杭海新城控股集团有限公司
View PDF6 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the embodiment of the present invention provides a method, device and link aggregation system for balanced load sharing of physical ports, so as to overcome the uneven data forwarding caused by the uneven load sharing of physical ports in the prior art, which cannot fully utilize The problem of the bandwidth of the physical port

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Load sharing balance method and device for physical ports, and link aggregation system
  • Load sharing balance method and device for physical ports, and link aggregation system
  • Load sharing balance method and device for physical ports, and link aggregation system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0062] Such as figure 1 As shown, it is a flowchart of a balanced load sharing method for physical ports disclosed in Embodiment 1 of the present invention, which mainly includes:

[0063] Step S101, adding the port numbers corresponding to the physical ports added to the link aggregation group to the forwarding table in the link aggregation group successively from the highest bit to the lowest bit;

[0064] In step S101, when the link aggregation group is used, the physical port will be added to the link aggregation group. In the process of adding the physical port to the link aggregation group, in order to ensure the subsequent route selection during data Add the port number corresponding to the physical port to the forwarding table in the road aggregation group. For example, a total of 3 physical ports are added to the link aggregation group, and their port numbers are port 1, port 2, and port 3 respectively. Then port 1, port 2 and port 3 are added to the forwarding tabl...

Embodiment 2

[0079] Based on the balanced load sharing method for physical ports disclosed in Embodiment 1 of the present invention, Embodiment 2 of the present invention further discloses a method for balanced load sharing of physical ports. The process of the method disclosed in Embodiment 2 of the present invention is as follows figure 2 As shown, it mainly includes the following steps:

[0080] Step S201, obtaining the port speed of each of the physical ports added to the link aggregation group;

[0081]Step S201 is executed to obtain the port speed of each physical port added to the link aggregation group, and determine the port speed of each port speed. The port speed represents the capability of the physical port and is the maximum speed supported by the physical port, which is equivalent to the maximum bandwidth of the physical port.

[0082] Because, in the prior art, the port speeds of the physical ports that are usually added to the same link aggregation group are the same, bu...

Embodiment 3

[0105] A balanced load sharing method for physical ports disclosed in Embodiment 1 of the present invention and Embodiment 2 of the present invention above, such as figure 1 shown in steps S101 and figure 2 The process of adding the port numbers corresponding to the physical ports added to the link aggregation group to the forwarding table in the link aggregation group successively from the highest bit to the lowest bit in step S205 is as follows:

[0106] First, according to the order of port numbers from small to large, add successively from the highest bit of the forwarding table in the link aggregation group.

[0107] For example, if the preset number of forwarding physical ports supported in the link aggregation group is 8, at this time, there are 3 physical ports added to the link aggregation group, and the corresponding port numbers are port 1, port 2 and port 3. In the process of adding, first add port 1, then add port 2, and finally add port 3.

[0108] Based on wh...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a load sharing balance method and device for physical ports, and a link aggregation system. The load sharing balance method comprises the following steps: determining that load sharing among physical ports on other positions is uniform through a position of the physical port affecting load sharing in a forwarding table in a link aggregation group through first Hash calculation; then determining the specific position and range of the physical port for forwarding data through secondary Hash calculation, so as to ensure that the physical port which is selected from the determined physical ports in the forwarding table is used for forwarding data in the data forwarding process, thus ensuring load share balance of the flow of each physical port in the link aggregation group added in the data forwarding process. The purposes of data forwarding balance and sufficient utilization of bandwidth of the physical ports are achieved.

Description

technical field [0001] The present invention relates to the technical field of communication, and more specifically, relates to a method, device and link aggregation system for balanced load sharing of physical ports. Background technique [0002] Link aggregation refers to a method of bundling a group of physical ports together as a logical interface to increase bandwidth, also known as a multi-port load balancing group. When a link aggregation group is established between two devices, multiple physical ports between the devices can be added to the same link aggregation group according to the existing route selection method. Assuming that a link aggregation group of switch A can support simultaneous forwarding of up to 8 physical ports, when three physical ports (numbered 1, 2, and 3) between switch A and switch B join the link aggregation group, The port distribution of the forwarding table of the link aggregation group is as follows. From the port distribution of the for...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/803H04L29/12
Inventor 周广证
Owner 浙江杭海新城控股集团有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products