CN103888370B - A kind of method and apparatus for choosing port - Google Patents
A kind of method and apparatus for choosing port Download PDFInfo
- Publication number
- CN103888370B CN103888370B CN201410130229.7A CN201410130229A CN103888370B CN 103888370 B CN103888370 B CN 103888370B CN 201410130229 A CN201410130229 A CN 201410130229A CN 103888370 B CN103888370 B CN 103888370B
- Authority
- CN
- China
- Prior art keywords
- port
- equipment
- aggregation group
- opposite equip
- priority
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The invention discloses a kind of method for choosing port, this method includes:Port is chosen in the priority of port of the equipment in aggregation group, and the port of the different opposite equip.s of opposite equip. equilibrium selection connection of each port connection for the aggregation group.Based on same inventive concept, the present invention also proposes a kind of equipment, can realize load balancing.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of method and apparatus for choosing port.
Background technology
The link of General polymeric is merely able in an equipment, cross-equipment aggregation using proprietary protocol realize two equipment it
Between striding equipment port trunking.It is the link in ether equipment from upstream device aggregated links, for supporting General polymeric
Device transparency.The link level error protection provided relative to General polymeric, cross-equipment aggregation provides device level redundancy protecting.
Cross-equipment aggregation is that two two-layer equipments are virtualized into a two-layer equipment, allows Layer 2 data forwarding to pass through this
An equipment is appeared as during two equipment.The data of influence Layer 2 data forwarding need to be synchronized to peer switches, it is ensured that two
The forwarding behavior of platform equipment is consistent.
After polymerization terminates between devices, the member port transfer capability in same aggregation group is all identical, and all selections are
Choose port.
In the equipment for being currently used for polymerization, there is limitation, the so port in the aggregation group in the port number of many equipment
The limitation of middle selection port is several when choosing port, is selected by port priority, i.e. the high end of prioritizing selection priority
Mouth chooses port as the aggregation group.
In the case of cross-equipment aggregation, such method for choosing port may make to choose port all to connect together
One opposite equip., and the port for connecting another opposite equip. is not selected, does not reach the effect of load balancing.
Referring to Fig. 1, Fig. 1 is cross-equipment aggregation triangle networking schematic diagram.Aggregation group 20 in Fig. 1 in device A includes four
Port, it is assumed that according to priority this four ports are ranked up from big to small for:Eth1/0/1、Eth1/0/2、Eth1/0/3、
Eth1/0/4;And assume that the port limitation number of device A is 2, then by system of selection above, two of selection choose the port to be
Eth1/0/1 and Eth1/0/1, and the two ports all peer end of the connection equipment B, and peer end of the connection equipment C port is not chosen
In.
The content of the invention
In view of this, the present invention provides a kind of method for choosing port, can realize load balancing.
In order to solve the above technical problems, the technical proposal of the invention is realized in this way:
A kind of method for choosing port, applied on any polymerization unit in cross-equipment aggregation network, the side
Method includes:
The priority of port of the equipment in aggregation group, and the opposite equip. equilibrium selection of each port connection are connected
Port is chosen for the aggregation group in the port of different opposite equip.s.
A kind of equipment, any polymerization unit that can be applied in cross-equipment aggregation network, the equipment includes:Selection is single
Member;
The selecting unit, the opposite equip. for the priority of the port in aggregation group, and the connection of each port
Equilibrium selection connects the port of different opposite equip.s and chooses port for the aggregation group.
In summary, the priority of the invention by the port in aggregation group, and the opposite end of each port connection are set
Standby equilibrium selection connects the port of different opposite equip.s and chooses port for the aggregation group, can realize load balancing.
Brief description of the drawings
Fig. 1 is cross-equipment aggregation triangle networking schematic diagram;
Fig. 2 is to choose the schematic flow sheet of port in invention specific embodiment;
Fig. 3 is across polymerization unit networking schematic diagram in the embodiment of the present invention;
Fig. 4 is the structural representation of the equipment based on above-mentioned technology in the specific embodiment of the invention.
Embodiment
For the objects, technical solutions and advantages of the present invention are more clearly understood, develop simultaneously embodiment referring to the drawings, right
Scheme of the present invention is described in further detail.
A kind of method for choosing port is proposed in the embodiment of the present invention, applied to any in cross-equipment aggregation network
On polymerization unit, the priority of port of the equipment in aggregation group, and the opposite equip. equilibrium selection that each port is connected
Connect the port of different opposite equip.s and choose port for the aggregation group, load balancing can be realized.
The priority of port of the equipment in aggregation group, and the opposite equip. equilibrium selection of each port connection are connected
Port is chosen for the aggregation group in the port of different opposite equip.s.When implementing, The present invention gives implement as follows
Mode, referring to Fig. 2, Fig. 2 is to choose the schematic flow sheet of port in invention specific embodiment.Concretely comprise the following steps:
Step 201, equipment selects the port of highest priority as the aggregation group in the port of aggregation group and chooses end
Mouthful.
When the port more than one of highest priority, it is determined by the port numbers of these ports, such as can be true
The priority of the minimum port of fixed end slogan is maximum.
If the aggregation group port limitation number of the aggregation group is 1, it can now terminate to choose the selection of port.
Step 202, the equipment again with having selected to choose the opposite equip. that the port of port is connected not to be same equipment
Port in, select the port of highest priority as the aggregation group to choose port, the rest may be inferred, until choosing for having selected
The number of port is identical with the aggregation group port limitation number of the aggregation group.
The equipment again in having selected to choose the opposite equip. that the port of port is connected not to be the port of same equipment,
The port of selection highest priority when choosing port, can also choose port as the aggregation group with currently selected
Port outside in the port of the same opposite equip. of port connection, the maximum port of selection priority.
Port in the aggregation group of such as equipment connects three opposite equip.s altogether.The He of port 1 wherein in the aggregation group
The peer end of the connection equipment 1 of port 2, port 3 and the peer end of the connection equipment 2 of port 4, port 5 and the peer end of the connection equipment 3 of port 6;Each port
Port numbers value it is smaller, exemplified by the priority of the port is bigger.
Assuming that have selected port 1 first chooses port for the aggregation group, select next when choosing port, can first select
Select the equipment outside an equipment 1(Equipment 2 or equipment 3), after this equipment of selection, connecting this equipment(Such as equipment
3)Two ports(Port 5 and port 6)Middle selection port, that is, choose port-for-port 5;It can also select next
When choosing port, the port of port can chosen to be connected same equipment with having selected(Equipment 1)Port(Port 2)Outside
Port(Port 3, port 4, port 5 and port 6)In, select the port of highest priority(Port 3)As choosing port.
Therefore, during port is chosen in same wheel selection, if selection with having selected to choose port corresponding right
Selected in the corresponding port of the different opposite equip. of end equipment.
When being not present in the unselected port for being selected as choosing port with having selected to choose the opposite end that the port of port is connected
The port that equipment is differed, and selected choose port number be less than the aggregation group aggregation port limitation number when,
It is unselected to be selected as choosing in the port of port, a new round is carried out according to the opposite equip. of the priority of port, and the connection of each port
Choose the selection of port.
After a wheel selection terminates, if the number for choosing port of selection is individual less than the aggregation port limitation of the aggregation group
During number, the selection of a new wheel is carried out in the port for being not selected for choosing port.
It is the corresponding each opposite equip. in port to being not selected for choosing port when port is chosen in every wheel selection
Traversal.As in the present embodiment, when first round selection chooses port, traveled through all opposite equip.s, equipment 1, equipment 2 and equipment
3。
When port is chosen in the second wheel selection, i.e., when port is chosen in a new wheel selection, to being not selected for choosing port
The corresponding opposite equip. in port by first round selection choose port method carry out choose port to select.
It is such as exemplified above, when the aggregation group port limitation number of the corresponding aggregation group in the equipment is 5, work as first round selection
Terminate, i.e., the corresponding opposite equip. in each port in aggregation group(Equipment 1, equipment 2 and equipment 3)At the end of traversal, port 1, port 3
It is selected as choosing port with port 5, the number at this moment choosing port is 3, and number 5 is limited less than aggregation group port, therefore,
The unselected port for being selected as choosing port(Port 2, port 4 and port 6)In, carry out the selection of a new polling middle port.
Choose the selection rule of port identical with first round selection, first, select excellent in port 2, port 4 and port 6
First level highest port(Port 2)Port is chosen as what this took turns selection;At this moment, the port number of choosing of this two-wheeled selection is altogether
4, also not up to aggregation group port limits number 5, therefore, in the corresponding opposite equip. in connectivity port 2(Equipment 1)Outside pair
End equipment(Equipment 2 and equipment 3)Port in choose port, the port of prioritizing selection highest priority(Port 4)As
What this took turns selection chooses port.At this moment, what this two-wheeled was selected chooses port number to be altogether 5, reaches that aggregation group port is limited
Number 5, terminates to choose the selection of port, what this two-wheeled was selected chooses port to choose port as the aggregation group.If,
Also not up to aggregation group port limits number for the port of choosing of now two-wheeled selection, then continues to select, all right until having traveled through
End equipment, terminate this current wheel chooses the selection of port, then starts the selection that a new round chooses port.
Which equipment the opposite equip. for how determining the port connection of this equipment in a particular embodiment of the present invention is, such as
In above-mentioned example, opposite equip. how is determined for equipment 1, equipment 2, or equipment 3.Given in the specific embodiment of the invention
A kind of following determination method:
Each equipment carries the mark of this equipment in interactive polymerization handshake message.
When each equipment receives the polymerization handshake message for the Portable device mark that opposite equip. is sent, shaken hands to receive the polymerization
The port of message records the mark of the opposite equip. of port connection.
Each equipment determines the opposite equip. that the port is connected according to the mark of the port device recorded for each port.More than still
It is that opposite equip. that port 1 and port 2 are recorded is designated equipment 1 exemplified by literary example;The opposite end recorded for port 3 and port 4
The mark for being designated equipment 2 of equipment;The mark for being designated equipment 3 of the opposite equip. recorded for port 5 and port 6.Wherein,
The mark of equipment can be the MAC Address of equipment or the title etc. of equipment, can be used for the mark of unique identification equipment
.
The present invention is given by the mark of polymerization handshake message Portable device to determine the port device of port connection, in tool
When body is realized, be not intended to limit with this implementation, such as by being pre-configured with, or other message notifyings are realized.
When the system priority of the equipment is less than opposite equip., the polymerization handshake message sent according to opposite equip. is carried
Port priority determine the priority of each port in this equipment in the aggregation group, and the port in the aggregation group is excellent
End is chosen in first level, and the port of the different opposite equip.s of opposite equip. equilibrium selection connection of each port connection for the aggregation group
Mouthful.
When implementing, when having different for the opposite equip. of each port connection in aggregation group, present invention tool is used
The selection of technical scheme that body embodiment is provided chooses port;For in aggregation group during the opposite equip. all same of each port connection,
Technical scheme provided in an embodiment of the present invention can be used, port can also be chosen without using existing method.
Below by taking two kinds of cross-equipment aggregation typical application scenarios as an example, describe that of the invention how to realize chooses port in detail
Selection.
Scene 1, still by taking Fig. 1 as an example, equipment B and equipment C opposite equip. A are not cross-equipment aggregation equipment.Device A is matched somebody with somebody
Aggregation group 20 is put, and port Eth1/0/1, Eth1/0/2, Eth1/0/3, Eth1/0/4 are added into the aggregation group 20;Equipment B matches somebody with somebody
Aggregation group 20 is put, the type for configuring the aggregation group is cross-equipment aggregation, and port Eth3/0/1, Eth3/0/2 are added into aggregation group
20;Equipment C configures aggregation group 20, and the type for configuring the aggregation group is cross-equipment aggregation, and by port Eth4/0/1, Eth4/0/2
Add aggregation group 20.
After each equipment starts, polymerization handshake message is sent by the port in aggregation group 20 respectively.
Priority, the end for the port for sending the message are carried in the polymerization handshake message that each equipment is sent in existing realization
Slogan, polymerization state and sends system priority of equipment of the message etc..When the present invention is implemented, held sending polymerization
During hand message, the device identification for sending the message is also carried, there are 50 reserved fields in the polymerization handshake message of existing realization,
It can be identified for Portable device.Device identification can be the MAC Address of equipment or the title etc. of equipment, Neng Gouyong
Carry out the mark of unique identification equipment.Hereafter by taking the MAC Address of equipment as an example.
When each equipment receives polymerization message, the letter of polymerization message carrying is recorded on the port for receiving the polymerization message
Breath.
As device A by port Eth1/0/1 receive equipment send shake hands polymerization message when, the information of record is:This
Hold port numbers Eth1/0/1, peer port number Eth3/0/1, port Eth3/0/1 priority, polymerizable state, equipment B
MAC Address, equipment B system priority etc..
Due to across polymerization unit(Equipment B and equipment C)The source MAC of the polymerization handshake message of transmission is same MAC
Location(The MAC Address of configuration), therefore, device A is when port is chosen in selection in the specific embodiment of the invention, it is impossible to it is determined that with it is local
The equipment of port connection is equipment B or equipment C.So as to be carried in the specific embodiment of the invention when sending polymerization handshake message
Device identification, such device A is when port is chosen in selection, you can know by which equipment of that port peer end of the connection.
Device A is for the nothing of aggregation group 20 on 2, equipment B and equipment C for the aggregation group port limitation number of aggregation group 20
Aggregation group port limits number;And assume that the system priority of device A is more than equipment B and equipment C system priority(Equipment B
It is cross-equipment aggregation equipment with equipment C, therefore, the system priority of two equipment is identical).
Four ports of the aggregation group 20 of device A be according to priority ranked up from big to small for:Eth1/0/1、Eth1/0/
2、Eth1/0/3、Eth1/0/4。
When device A chooses port in aggregation group 20, the maximum port of priority is first selected in this four ports
(Eth1/0/1)As choosing port.When implementing, if there is port priority identical situation when, then pass through end
Slogan is distinguished, and generally determines that the small port priority of port numbers is high.
Device A determines the aggregation group port limitation number for choosing the number of port to be also not up to aggregation group 20 of selection, after
The continuous selection for carrying out choosing port, chooses port in the different port of MAC Address corresponding with choosing port, that is, exists
Port is chosen in Eth1/0/3 and Eth1/0/4, because Eth1/0/3 priority is big, therefore, selection Eth1/0/3 is choosing
Middle port.
Device A determines that the number 2 for choosing port of selection reaches that the aggregation group port of aggregation group 20 limits number, then terminates
Choose the selection of port.
Assuming that when the aggregation group port limitation number of the aggregation group 20 of device A is 3, then proceeding selection.
Device A determines that the port different from choosing the corresponding MAC Address in port is not present, then entered in unselected middle port
The selection of the new wheel of row.
The maximum port of priority, the unselected port for being selected as choosing port are selected in the unselected port for being selected as choosing port
In Eth1/0/2 and Eth1/0/4, Eth1/0/2 priority is big, therefore, and Eth1/0/2 is as port is chosen for selection, select be
Choose the number of port(The summation of the numbers for choosing port for taking turns selection more)Reach that aggregation group port limits number, terminate to choose
The selection of port.
In a new wheel port selection, the corresponding MAC Address in port is chosen in being selected with the wheel, and whether difference is selected
Select.
Due to being limited on equipment B and equipment C without aggregation group port number aggregation group 20, then by the port in aggregation group all
Select to choose port.The negotiation of port is chosen compared with realization as same opposite equip., in the specific embodiment of the invention simultaneously
It is not restricted and improves.
Scene 2, referring to Fig. 3, Fig. 3 is across polymerization unit networking schematic diagram in the embodiment of the present invention.Equipment C's and equipment D
Opposite equip.(Device A and equipment B)It is also the equipment of cross-equipment aggregation.Device A and equipment B are across setting for equipment C and equipment D
The equipment of standby polymerization, equipment C and equipment D are also across polymerization unit, and device A and equipment B system for device A and equipment B
Priority is higher than equipment C and equipment D system priority.The middle port of aggregation group 10 in device A is Eth1/0/1, Eth1/0/
2、Eth1/0/3、Eth1/0/4;Aggregation group 10 middle port Eth2/0/2, Eth2/0/3, Eth2/0/4, Eth2/0/ on equipment B
5.Port Eth3/0/1, Eth3/0/2, Eth3/0/3, Eth3/0/4 in aggregation group 10 on equipment C;Polymerization on equipment D
Port Eth4/0/2, Eth4/0/3, Eth4/0/4, Eth4/0/5 in group 10.
If it is 2 that the aggregation group port in each equipment for aggregation group 10, which limits number, and device A and equipment B system
Priority is more than equipment C and equipment D system priority.
For the big device A of system priority and equipment B so that the small port priority of port numbers is high as an example.It is excellent for system
Carried in the polymerization handshake message that port priority on first level small equipment C and equipment D is sent according to device A and equipment B
Information is determined.
Because equipment C and equipment D is using device A and equipment B as reference, therefore equipment C and equipment D shakes hands report in record polymerization
During the information that text is carried, the port priority carried in record polymerization handshake message.
By taking equipment C as an example, when receiving the polymerization handshake message that device A is sent by Eth1/0/1, to receive the message
Port Eth3/0/1 records peer port number Eth1/0/1, port priority, polymerization state, system priority and device A
MAC Address etc..
Same equipment C can receive the polymerization handshake message that device A is sent by Eth1/0/2;Passed through by equipment B
The polymerization handshake message that Eth2/0/2 and Eth2/0/3 is sent.So far, equipment C determines four in aggregation group 10 in this equipment
The priority of port.
The maximum port Eth1/0/1 selections of priority, when port is chosen in selection, are first to choose port by device A, then
MAC Address corresponding with choosing port Eth1/0/1(Equipment C MAC Address)Different port(Eth1/0/3 and Eth1/0/
4)It is middle to choose port, then select the maximum port Eth1/0/3 of priority.What is selected chooses port to reach aggregation group 10
Aggregation group port limits number 2, terminates the flow that device A chooses port in aggregation group 10.
Equipment B selection course with device A selection course, therefore, equipment B selection ports Eth2/0/2 and Eth2/0/4
Port is chosen as what is selected in aggregation group 10.
Equipment C and equipment the D system priority of itself are less than opposite equip. A and equipment B, therefore, equipment C and equipment D
When choosing port in aggregation group 10, the port priority and MAC Address of this equipment determined according to opposite equip. enter
Row chooses the selection of port, and selection course is similar with the selection course of device A, equipment C final choices port Eth3/0/1 and
Eth3/0/3 is that aggregation group 10 chooses port in this equipment;Equipment D final choices port Eth4/0/2 and Eth4/0/4 are this
Aggregation group 10 chooses port in equipment.
Based on same inventive concept, the present invention also proposes a kind of equipment, can be applied to appointing in cross-equipment aggregation network
One polymerization unit.Referring to Fig. 4, Fig. 4 is the structural representation of the equipment based on above-mentioned technology in the specific embodiment of the invention.Equipment
Including:Selecting unit 401.
Selecting unit 401, it is equal for the priority of the port in aggregation group, and the opposite equip. of each port connection
Port is chosen for the aggregation group in the port of the different opposite equip.s of weighing apparatus selection connection.
It is preferred that
Selecting unit 401, specifically for selecting the port of highest priority to be used as the polymerization in the port of the aggregation group
Group chooses port, then in having selected to choose the opposite equip. that the port of port is connected not to be the port of same equipment,
Port is chosen in the port of selection highest priority as the aggregation group, and the rest may be inferred, until for choosing port selected
Number is identical with the aggregation group port limitation number of the aggregation group.
It is preferred that
It has been not present in selecting unit 401, the port for being further used for unselected being selected as choosing port with having selected as choosing
The port that the opposite equip. of the port connection of middle port is differed, and the number for choosing port selected is less than the aggregation group
When aggregation port limits number, it is selected as choosing the port of port unselected, is connected according to the priority of port, and each port
Opposite equip. carry out a new round and choose the selection of port.
It is preferred that the equipment further comprises:Receiving unit 402 and recording unit 403.
Receiving unit 402, the polymerization handshake message sent for receiving port equipment;
Recording unit 403, holds for receiving the polymerization of Portable device mark of opposite equip. transmission when receiving unit 402
During hand message, to receive the mark that the port of the polymerization handshake message records the opposite equip. of port connection;
Selecting unit 401, specifically for being each in the priority of the port in aggregation group, and recording unit 403
Port the choosing for the aggregation group of the mark of the different opposite equip.s of mark equilibrium selection correspondence of the opposite equip. of port record
Port.
It is preferred that
Selecting unit 401, is further used for when the system priority of this equipment is less than opposite equip., according to opposite equip.
The port priority that the polymerization handshake message of transmission is carried determines the priority of each port in this equipment in the aggregation group, and root
Different opposite equip.s are connected according to the opposite equip. equilibrium selection of the priority of the port in the aggregation group, and the connection of each port
Port is chosen for the aggregation group in port.
The unit of above-described embodiment can be integrated in one, and can also be deployed separately;A unit is can be merged into, also may be used
To be further split into multiple subelements.
In summary, the priority of the invention by the port in aggregation group, and the opposite end of each port connection are set
Standby equilibrium selection connects the port of different opposite equip.s and chooses port for the aggregation group, can realize load balancing.
In cross-equipment aggregation networking, due to the limitation of device forwards ability, i.e., to aggregation group middle port as choosing end
The limitation of the number of mouth, the technical scheme provided by the specific embodiment of the invention can optimize and be aggregated in individual device
Port is chosen in weighing apparatus selection, individual device is worked, plays the effect of load balancing.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.It is all
Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements made etc. should be included in the protection of the present invention
Within the scope of.
Claims (8)
1. a kind of method for choosing port, applied on any polymerization unit in cross-equipment aggregation network, its feature exists
In methods described includes:
The priority of port of the equipment in aggregation group, and the opposite equip. equilibrium selection connection of each port connection are different
Port is chosen in the port of opposite equip. for the aggregation group, specifically includes:The equipment is selected preferentially in the port of the aggregation group
Level highest port as the aggregation group port of choosing, then with having selected to choose the opposite equip. that the port of port is connected
Be not same equipment port in, select the port of highest priority as the aggregation group to choose port, the rest may be inferred, until
The number for choosing port selected is identical with the aggregation group port limitation number of the aggregation group.
2. according to the method described in claim 1, it is characterised in that methods described further comprises:
When being not present in the unselected port for being selected as choosing port with having selected to choose the opposite equip. that the port of port is connected
The port differed, and selected choose port number be less than the aggregation group aggregation port limitation number when, unselected
It is selected as choosing in the port of port, carrying out a new round according to the opposite equip. of the priority of port, and the connection of each port chooses
The selection of port.
3. the method according to claim 1-2 any one, it is characterised in that methods described further comprises:The equipment
When receiving the polymerization handshake message of Portable device mark of opposite equip. transmission, to receive the port note of the polymerization handshake message
Record the mark of the opposite equip. of port connection;
The priority of port of the described equipment in aggregation group, and the opposite equip. equilibrium selection of each port connection are connected
The port of different opposite equip.s is the port of choosing of the aggregation group, including:The priority of port in aggregation group, Yi Jiwei
The port of the mark of the different opposite equip.s of mark equilibrium selection correspondence of the opposite equip. of each port record is the choosing of the aggregation group
Middle port.
4. method according to claim 3, it is characterised in that methods described further comprises:
When the system priority of the equipment is less than opposite equip., the end that the polymerization handshake message sent according to opposite equip. is carried
Mouthful priority determines the priority of each port in this equipment in the aggregation group, and the port in the aggregation group is preferential
End is chosen in level, and the port of the different opposite equip.s of opposite equip. equilibrium selection connection of each port connection for the aggregation group
Mouthful.
5. a kind of equipment, any polymerization unit that can be applied in cross-equipment aggregation network, it is characterised in that the equipment bag
Include:Selecting unit;
The selecting unit, it is balanced for the priority of the port in aggregation group, and the opposite equip. of each port connection
Port is chosen in the port of the different opposite equip.s of selection connection for the aggregation group, specifically includes:Selected in the port of the aggregation group
Priority highest port is selected as the port of choosing of the aggregation group, then with having selected to choose pair that the port of port is connected
During end equipment is not the port of same equipment, the port of highest priority is selected as the port of choosing of the aggregation group, class according to this
Push away, until the number for choosing port selected is identical with the aggregation group port limitation number of the aggregation group.
6. equipment according to claim 5, it is characterised in that
It is not present in the selecting unit, the port for being further used for unselected being selected as choosing port and end is chosen with having selected
Mouthful port connection the port that differs of opposite equip., and selected choose the number of port to be less than the polymerization of the aggregation group
When port limits number, it is selected as choosing the port of port unselected, according to pair of the priority of port, and the connection of each port
End equipment carries out the selection that a new round chooses port.
7. the equipment according to claim 5-6 any one, it is characterised in that the equipment further comprises:Receiving unit
And recording unit;
The receiving unit, the polymerization handshake message sent for receiving port equipment;
The recording unit, shakes hands for receiving the polymerization of Portable device mark of opposite equip. transmission when the receiving unit
During message, to receive the mark that the port of the polymerization handshake message records the opposite equip. of port connection;
The selecting unit, specifically for being each end in the priority of the port in aggregation group, and the recording unit
End is chosen for the aggregation group in the port of the mark of the different opposite equip.s of mark equilibrium selection correspondence of the opposite equip. of mouth record
Mouthful.
8. equipment according to claim 7, it is characterised in that
The selecting unit, is further used for, when the system priority of this equipment is less than opposite equip., being sent out according to opposite equip.
The port priority that the polymerization handshake message that send is carried determines the priority of each port in this equipment in the aggregation group, and according to
The priority of port in the aggregation group, and the opposite equip. equilibrium selection of each port connection connect the ends of different opposite equip.s
Mouth chooses port for the aggregation group.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410130229.7A CN103888370B (en) | 2014-04-02 | 2014-04-02 | A kind of method and apparatus for choosing port |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410130229.7A CN103888370B (en) | 2014-04-02 | 2014-04-02 | A kind of method and apparatus for choosing port |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103888370A CN103888370A (en) | 2014-06-25 |
CN103888370B true CN103888370B (en) | 2017-09-15 |
Family
ID=50957094
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410130229.7A Active CN103888370B (en) | 2014-04-02 | 2014-04-02 | A kind of method and apparatus for choosing port |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103888370B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106330781B (en) * | 2015-06-26 | 2020-02-07 | 中兴通讯股份有限公司 | Method, device and switch for separating protocol control and forwarding link of stacking system |
CN110602182B (en) * | 2019-08-27 | 2022-02-01 | 达闼机器人有限公司 | Service scheduling method, device and system, global load balancer and client |
CN113794634B (en) * | 2021-08-02 | 2023-06-13 | 新华三信息安全技术有限公司 | Load sharing method and equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1581695A (en) * | 2003-08-05 | 2005-02-16 | 华为技术有限公司 | Port polling selection method |
CN101035050A (en) * | 2007-03-15 | 2007-09-12 | 中兴通讯股份有限公司 | Processing method of the virtual LAN aggregation |
CN103634228A (en) * | 2013-11-25 | 2014-03-12 | 华为技术有限公司 | Network message transmission method and equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9653039B2 (en) * | 2012-03-29 | 2017-05-16 | Thinklogical, Llc | Method, apparatus and system for changing to which remote device a local device is in communication via a communication medium through use of interruption of the communication medium |
-
2014
- 2014-04-02 CN CN201410130229.7A patent/CN103888370B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1581695A (en) * | 2003-08-05 | 2005-02-16 | 华为技术有限公司 | Port polling selection method |
CN101035050A (en) * | 2007-03-15 | 2007-09-12 | 中兴通讯股份有限公司 | Processing method of the virtual LAN aggregation |
CN103634228A (en) * | 2013-11-25 | 2014-03-12 | 华为技术有限公司 | Network message transmission method and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN103888370A (en) | 2014-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104333511B (en) | Determine the method, apparatus and system of service transmission path | |
CN106656801A (en) | Method and device for redirection of forwarding path of business flow and business flow forwarding system | |
CN105591974B (en) | Message processing method, apparatus and system | |
CN103973560B (en) | A kind of method and apparatus that link failure processing is stacked in IRF systems | |
CN103401707A (en) | Link aggregation method and access equipment | |
CN107547391A (en) | A kind of message transmitting method and device | |
CN103888370B (en) | A kind of method and apparatus for choosing port | |
CN102511151A (en) | Router, virtual cluster router system and establishing method thereof | |
EP3739837B1 (en) | Media access control security (macsec) enabled links of a link aggregation group (lag) | |
CN106453156B (en) | Communication means and device between a kind of virtual unit | |
US20170005947A1 (en) | Systems and methods to create highly scalable network services | |
CN106936704A (en) | Being classified using hop-by-hop VLAN carries out multipath exchange | |
CN104811431A (en) | Data packet processing method and device based on parallel protocol stack instance | |
CN105991315A (en) | Link protection method applied to SDN (software defined network), switching device and network controller | |
CN104394075B (en) | A kind of method and apparatus of message transmissions | |
CN108234200B (en) | Communication processing method and device based on access ring | |
CN103493439A (en) | Information receiving and sending methods and apparatuses | |
JP6062388B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION CONTROL METHOD, AND CONTROL DEVICE | |
CN113364678A (en) | Data transmission system, method, device, electronic equipment and computer readable medium | |
CN101622828B (en) | Asymmetrical forwarding in layer 3 ip vpns | |
CN108011802A (en) | A kind of file transmitting method and two three-layer network appliances | |
US9979561B2 (en) | Systems and methods for stacking fibre channel switches with fibre channel over ethernet stacking links | |
CN107872331A (en) | A kind of port method to set up, apparatus and system | |
CN110166320A (en) | MPLS-TP OAM realization method and system based on OpenFlow interchanger | |
CN106330492A (en) | Method, device and system of configuring user equipment forwarding table |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |