CN104038447A - Message transmission method and device - Google Patents

Message transmission method and device Download PDF

Info

Publication number
CN104038447A
CN104038447A CN201410233023.7A CN201410233023A CN104038447A CN 104038447 A CN104038447 A CN 104038447A CN 201410233023 A CN201410233023 A CN 201410233023A CN 104038447 A CN104038447 A CN 104038447A
Authority
CN
China
Prior art keywords
message
port
equipment
network equipment
aggregation
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.)
Granted
Application number
CN201410233023.7A
Other languages
Chinese (zh)
Other versions
CN104038447B (en
Inventor
曹包文
王波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201410233023.7A priority Critical patent/CN104038447B/en
Publication of CN104038447A publication Critical patent/CN104038447A/en
Application granted granted Critical
Publication of CN104038447B publication Critical patent/CN104038447B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a message transmission method and device. The message transmission method comprises maintaining aggregation group table items through a network device and querying the aggregation group table items through the network device when a message which is a unicast message is received by the network device through a non-ISC (Inter Switch Connect) link and an output port corresponding to a target MAC address of the message in local MAC (Media Access Control) table items is a cross-device aggregation port, performing load sharing between physical ports recorded in the aggregation group table items and forwarding the message. According to the message transmission method and device, port resources on the network device can be reasonably utilized and the loss of the unicast message can be avoided.

Description

A kind of message transmitting method and equipment
Technical field
The present invention relates to communication technical field, especially relate to a kind of message transmitting method and equipment.
Background technology
Striding equipment polymerization refers to use proprietary protocol to realize the striding equipment port trunking between many network equipments, as shown in Figure 1, for the networking schematic diagram of striding equipment polymerization, network equipment B and network equipment C are striding equipment polymerization member device, physical port Eth1/0/1, Eth1/0/2 on network equipment B, a striding equipment aggregation port of physical port Eth2/0/1, Eth2/0/2 composition on network equipment C, striding equipment aggregation port comprises Eth1/0/1, Eth1/0/2, Eth2/0/1, Eth2/0/2.For the physical port on network equipment B and network equipment C is formed to striding equipment aggregation port, between network equipment B and network equipment C, need at least to provide two dedicated links, one is ISC (Inter Switch Connect, middle exchange connects) link, it controls message for mutual between the network equipment, and for forwarding striding equipment flow; Another is keep-alive link, and it is for when the ISC link occurs fault, by sending keep-alive message failure judgement type.
In prior art, the network equipment, in the time receiving that outbound port is the unicast message of striding equipment aggregation port, cannot be realized between all physical ports in striding equipment aggregation port and carry out load balancing.
Summary of the invention
The embodiment of the present invention provides a kind of message transmitting method and equipment, to carry out load balancing between multiple network equipments, rationally utilizes the port resource on each network equipment, avoids the loss of unicast message.
For achieving the above object, the embodiment of the present invention provides a kind of message transmitting method, be applied in the network that comprises multiple network equipments, physical port composition striding equipment aggregation port on described multiple network equipment, described method comprises: network equipment maintenance aggregation group list item, in described aggregation group list item, record striding equipment aggregation port, and record the physical port on described multiple network equipment under described striding equipment aggregation port;
The described network equipment is being received message by exchange connection ISC link in the middle of non-, and described message is unicast message, when the outbound port of the object medium access control MAC Address of described message correspondence in local mac list item is striding equipment aggregation port, the described network equipment is inquired about described aggregation group list item, and carry out load balancing between the each physical port recording in described aggregation group list item, forward described message.
The described network equipment is after receiving message by non-middle exchange connection ISC link, also comprise: if described message is broadcasting packet, or described message is unicast message, but in described local mac list item, do not record the target MAC (Media Access Control) address of described message, the described network equipment sends described message with broadcast mode, so that described message is transmitted to other network equipment by ISC link, and the physical port being positioned on present networks equipment that described message is comprised by described striding equipment aggregation port sends.
Between each physical port that the described network equipment records in described aggregation group list item, carry out load balancing, forward described message, specifically comprise:
If the outbound port of described unicast message is the physical port on present networks equipment, the described network equipment forwards described unicast message by the physical port on present networks equipment; If the outbound port of described unicast message is the physical port on other network equipment, the described network equipment is transmitted to described other network equipment by ISC link by described unicast message, forwards described unicast message by other network equipment.
Described method further comprises: in the time that the described network equipment is learnt outbound port and is the MAC Address of striding equipment aggregation port, the described network equipment sends MAC Address sync message by other network equipment of ISC chain road direction; In local mac list item, record described MAC Address and outbound port corresponding to described MAC Address by described other network equipment, and return to the synchronous successful confirmation message of MAC Address to the described network equipment; The described network equipment is before receiving the synchronous successful confirmation message of described MAC Address, between the physical port on present networks equipment that the described network equipment comprises at striding equipment aggregation port, the message that is described striding equipment aggregation port to outbound port carries out load balancing; The described network equipment is after receiving the synchronous successful confirmation message of described MAC Address, the described network equipment is carried out the described aggregation group list item of inquiry, and between the each physical port recording in described aggregation group list item, the message that is described striding equipment aggregation port to outbound port carries out the step of load balancing.
Described method further comprises: the described network equipment is being received message by ISC link, and described message is unicast message, when the outbound port of the target MAC (Media Access Control) address of described message correspondence in local mac list item is striding equipment aggregation port, the physical port being positioned on present networks equipment that the described network equipment comprises by described striding equipment aggregation port forwards described message.
The described network equipment is after receiving message by ISC link, and described method further comprises:
If described message is broadcasting packet, or described message is unicast message, but in local mac list item, do not record the target MAC (Media Access Control) address of described message:
In the time that the striding equipment aggregation port on the network equipment that sends described message by the network equipment described in ISC chain road direction is UP, no thoroughfare that the physical port being positioned on present networks equipment that striding equipment aggregation port comprises forwards described message for the described network equipment; In the time that the striding equipment aggregation port on the network equipment that sends described message by the network equipment described in ISC chain road direction is DOWN, the physical port that what the described network equipment comprised by striding equipment aggregation port be positioned on present networks equipment forwards described message.
The embodiment of the present invention provides a kind of network equipment, is applied in the network that comprises multiple network equipments, and the physical port composition striding equipment aggregation port on described multiple network equipments, the described network equipment comprises:
List item maintenance module, for safeguarding aggregation group list item, records striding equipment aggregation port in described aggregation group list item, and records the physical port on described multiple network equipment under described striding equipment aggregation port;
Message sending module, for receiving message by exchange connection ISC link in the middle of non-, and described message is unicast message, when the outbound port of the object medium access control MAC Address of described message correspondence in local mac list item is striding equipment aggregation port, inquire about described aggregation group list item, and carry out load balancing between the each physical port recording in described aggregation group list item, forward described message.
Described message sending module, also for after receiving described message by non-middle exchange connection ISC link, if described message is broadcasting packet, or described message is unicast message, but in described local mac list item, do not record the target MAC (Media Access Control) address of described message, send described message with broadcast mode, so that described message is transmitted to other network equipment by ISC link, and the physical port being positioned on present networks equipment that described message is comprised by described striding equipment aggregation port sends.
Described message sending module, specifically for carry out load balancing between the each physical port recording in described aggregation group list item after, if the outbound port of described unicast message is the physical port on present networks equipment, forward described unicast message by the physical port on present networks equipment; If the outbound port of described unicast message is the physical port on other network equipment, by ISC link, described unicast message is transmitted to described other network equipment, forward described unicast message by other network equipment.
Described message sending module, also in the time that study is the MAC Address of striding equipment aggregation port to outbound port, sends MAC Address sync message by other network equipment of ISC chain road direction; In local mac list item, record described MAC Address and outbound port corresponding to described MAC Address by described other network equipment, and return to the synchronous successful confirmation message of MAC Address to the described network equipment;
Before receiving the synchronous successful confirmation message of described MAC Address, between the physical port on present networks equipment comprising at striding equipment aggregation port, the message that is described striding equipment aggregation port to outbound port carries out load balancing; After receiving the synchronous successful confirmation message of described MAC Address, carry out the described aggregation group list item of inquiry, and between the each physical port recording, the message that is described striding equipment aggregation port to outbound port carries out the step of load balancing in described aggregation group list item.
Described message sending module, also for receiving message by ISC link, and described message is unicast message, when the outbound port of the target MAC (Media Access Control) address of described message correspondence in local mac list item is striding equipment aggregation port, the physical port being positioned on present networks equipment comprising by described striding equipment aggregation port forwards described message.
Described message sending module, be further used for after receiving message by ISC link, if described message is broadcasting packet, or described message is unicast message, but in local mac list item, do not record the target MAC (Media Access Control) address of described message,: in the time that the striding equipment aggregation port on the network equipment that sends described message by the network equipment described in ISC chain road direction is UP, no thoroughfare, and the physical port being positioned on present networks equipment that striding equipment aggregation port comprises forwards described message; In the time that the striding equipment aggregation port on the network equipment that sends described message by the network equipment described in ISC chain road direction is DOWN, the physical port being positioned on present networks equipment comprising by striding equipment aggregation port forwards described message.
Compared with prior art, the embodiment of the present invention at least has the following advantages: in the embodiment of the present invention, the network equipment is after receiving unicast message, can utilize each physical port of composition striding equipment aggregation port to carry out load balancing, then between multiple network equipments, carry out the load balancing of unicast message, thereby can reasonably utilize the port resource on each network equipment, and can avoid the loss of unicast message.
Brief description of the drawings
Fig. 1 is the networking schematic diagram of the striding equipment polymerization that proposes in prior art;
Fig. 2 is a kind of message transmitting method schematic flow sheet proposing in the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of network equipment of proposing in the embodiment of the present invention.
Embodiment
In prior art, as shown in Figure 1, in the time that network equipment B receives that outbound port is the unicast message of striding equipment aggregation port, if there is not DOWN in Eth1/0/1, Eth1/0/2, network equipment B only can carry out load balancing between Eth1/0/1, Eth1/0/2, be that network equipment B only can forward this unicast message by Eth1/0/1 or Eth1/0/2, and cannot between Eth1/0/1, Eth1/0/2, Eth2/0/1, Eth2/0/2, carry out load balancing; Therefore, cannot realize the overall load balancing of striding equipment aggregation port.Be the unicast message of striding equipment aggregation port when network equipment B receives a large amount of outbound ports, and network equipment C only receives when little outbound port is the unicast message of striding equipment aggregation port, aforesaid way cannot effectively utilize the port resource on network equipment C, and can cause the loss of the unicast message of receiving on network equipment B.
For problems of the prior art, a kind of message transmitting method is proposed in the embodiment of the present invention, the method is applied in the network that comprises multiple network equipments, and physical port on the plurality of network equipment composition striding equipment aggregation port.For convenience of description, taking the physical port composition striding equipment aggregation port on two network equipments as example, and application scenarios taking Fig. 1 as the embodiment of the present invention.Wherein, network equipment B and network equipment C are striding equipment polymerization member device, physical port Eth1/0/1, Eth1/0/2 on network equipment B, a striding equipment aggregation port 1 of physical port Eth2/0/1, Eth2/0/2 composition on network equipment C, striding equipment aggregation port 1 comprises Eth1/0/1, Eth1/0/2, Eth2/0/1, Eth2/0/2.
In the embodiment of the present invention, on each network equipment, all need to safeguard aggregation group list item, in this aggregation group list item, record striding equipment aggregation port, and record the physical port on multiple network equipments under this striding equipment aggregation port.Under the application scenarios shown in Fig. 1, in the upper aggregation group list item of safeguarding of network equipment B and network equipment C, all record striding equipment aggregation port 1, and this striding equipment aggregation port all records Eth1/0/1, Eth1/0/2, Eth2/0/1, Eth2/0/2 1 time, and aggregation group list item can be as shown in table 1.
Table 1
In order to know all physical ports that comprise under striding equipment aggregation port, each network equipment is all notified the striding equipment aggregation port on present networks equipment and physical port to other network equipment by ISC link, so that each network equipment all can be known all physical ports that record under striding equipment aggregation port.For example, network equipment B notifies the information of striding equipment aggregation port 1 and Eth1/0/1, Eth1/0/2 to network equipment C by ISC link, make network equipment C know that the physical port of 1 time record of striding equipment aggregation port comprises Eth1/0/1, Eth1/0/2, Eth2/0/1, Eth2/0/2, and the aggregation group list item shown in Maintenance Table 1.Network equipment C notifies the information of striding equipment aggregation port 1 and Eth2/0/1, Eth2/0/2 to network equipment B by ISC link, make network equipment B know that the physical port of 1 time record of striding equipment aggregation port comprises Eth1/0/1, Eth1/0/2, Eth2/0/1, Eth2/0/2, and the aggregation group list item shown in Maintenance Table 1.
The aggregation group list item of safeguarding on equipment Network Based, as shown in Figure 2, this message transmitting method comprises:
Step 201, the network equipment receives message; If the network equipment is received message by non-ISC link, perform step 202, if the network equipment is received message by ISC link, perform step 207.
In the embodiment of the present invention, be the processing procedure for striding equipment polymerization member device, therefore the network equipment all refers to striding equipment polymerization member device, and in the embodiment of the present invention, to this, it is no longer repeated.
Under the application scenarios shown in Fig. 1, in the time that network equipment C receives message by physical port Eth2/0/3, illustrate that network equipment C receives message by non-ISC link.In the time that network equipment B receives message by physical port Eth1/0/4, illustrate that network equipment B receives message by ISC link.
Step 202, the network equipment judges the type (unicast message or broadcasting packet) of message; If message is unicast message, perform step 203; If message is broadcasting packet, perform step 206.
Step 203, the network equipment judges local mac (Media Access Control, medium access control) whether record the target MAC (Media Access Control) address of unicast message (being the message that in step 201, the network equipment is received) in list item, if so, perform step 204; If not, perform step 206.
If there is the target MAC (Media Access Control) address of unicast message in local mac list item, before explanation, learnt this target MAC (Media Access Control) address, i.e. study is to this target MAC (Media Access Control) address and corresponding outbound port, and this target MAC (Media Access Control) address and this outbound port are recorded in local mac list item; If there is no the target MAC (Media Access Control) address of unicast message in local mac list item, before explanation, do not learn this target MAC (Media Access Control) address.
Step 204, in the time that the outbound port of target MAC (Media Access Control) address correspondence in local mac list item is striding equipment aggregation port, network equipment inquiry aggregation group list item (as shown in table 1), and carry out load balancing between the each physical port recording in this aggregation group list item, to determine the outbound port of unicast message.In the time that the outbound port of target MAC (Media Access Control) address correspondence in local mac list item is not striding equipment aggregation port, the network equipment directly determines that the outbound port of unicast message is the outbound port recording in this local mac list item.
In the embodiment of the present invention, the situation that is striding equipment aggregation port to target MAC (Media Access Control) address corresponding outbound port in local mac list item is below elaborated, and the situation that is not striding equipment aggregation port to target MAC (Media Access Control) address corresponding outbound port in local mac list item repeats no longer in detail.
Step 205, if the outbound port of unicast message is the physical port on present networks equipment, the network equipment directly forwards this unicast message by the physical port on present networks equipment; If the outbound port of unicast message is the physical port on other network equipment, the network equipment will be transmitted to other network equipment by this unicast message by ISC link, forward this unicast message by other network equipment.Wherein, other network equipment forwards the process of this unicast message referring to subsequent step 207-step 210, does not repeat them here.
Step 206, the network equipment sends message (being the message of receiving in step 201) with broadcast mode.The network equipment is in the time sending message with broadcast mode, and this message can be transmitted to other network equipment by ISC link, and other network equipment, does not repeat them here referring to subsequent step 207-step 210 processing of message.In addition, the physical port being positioned on present networks equipment that this message also can comprise by striding equipment aggregation port sends, and any one physical port that what the network equipment comprised by striding equipment aggregation port be positioned on present networks equipment forwards this message.
Below in conjunction with the application scenarios shown in Fig. 1, above-mentioned steps 202-step 206 is elaborated.
Network equipment C is in the time receiving message by physical port Eth2/0/3, if this message is broadcasting packet, or this message is unicast message, but in local mac list item, do not record the target MAC (Media Access Control) address of this message, network equipment C will send this message with broadcast mode, be that network equipment C sends this message by physical port Eth2/0/1 or Eth2/0/2, and send this message by physical port Eth2/0/4, now this message can send to network equipment B by ISC link (being the link that physical port Eth2/0/4 is corresponding), the processing procedure of network equipment B will elaborate in subsequent step.If this message is unicast message, and in local mac list item, record the target MAC (Media Access Control) address of this unicast message, and this target MAC (Media Access Control) address corresponding outbound port in local mac list item is striding equipment aggregation port 1, the aggregation group list item shown in network equipment C question blank 1, and find that this striding equipment aggregation port records physical port Eth1/0/1, Eth1/0/2, Eth2/0/1, Eth2/0/2 1 time, therefore network equipment C carries out load balancing between physical port Eth1/0/1, Eth1/0/2, Eth2/0/1, Eth2/0/2, to determine the outbound port of unicast message.If the outbound port of unicast message is Eth2/0/1 or Eth2/0/2, network equipment C directly forwards this unicast message by Eth2/0/1 or Eth2/0/2; If the outbound port of unicast message is Eth1/0/1 or Eth1/0/2, network equipment C is transmitted to network equipment B by ISC link by unicast message, forward this unicast message by network equipment B, the processing procedure of network equipment B will elaborate in subsequent step.
In the embodiment of the present invention, the network equipment, need to be recorded in MAC Address and outbound port corresponding to MAC Address in local mac list item in study in the process of MAC Address.In the time that outbound port corresponding to MAC Address is striding equipment aggregation port (as striding equipment aggregation port 1), the network equipment also needs to send MAC Address sync message by other network equipment of ISC chain road direction, carries MAC Address and outbound port corresponding to MAC Address in this MAC Address sync message.Other network equipment, after receiving this MAC Address sync message, records this MAC Address and outbound port corresponding to this MAC Address in local mac list item, and returns to the synchronous successful confirmation message of MAC Address to the network equipment.
For example, the outbound port that network equipment C learns MAC Address 1 correspondence is striding equipment aggregation port 1, network equipment C is recorded in MAC Address 1 and striding equipment aggregation port 1 in local mac list item, and send MAC Address sync message by ISC chain road direction network equipment B, in local mac list item, recorded MAC Address 1 and striding equipment aggregation port 1 by network equipment B, and return to the synchronous successful confirmation message of MAC Address to network equipment C, the synchronous successful confirmation message of this MAC Address is used for representing that network equipment B records MAC Address 1 and striding equipment aggregation port 1 at local mac list item.
Based on the transmitting procedure of the synchronous successful confirmation message of MAC Address, if message is unicast message, and in local mac list item, record the target MAC (Media Access Control) address of this unicast message, and this target MAC (Media Access Control) address corresponding outbound port in local mac list item is striding equipment aggregation port, : (1) network equipment is before receiving the synchronous successful confirmation message of MAC Address, between the physical port on present networks equipment that the network equipment directly comprises at striding equipment aggregation port, the message that is striding equipment aggregation port to outbound port carries out load balancing, and forward this unicast message by the physical port on present networks equipment, (2) network equipment is after receiving the synchronous successful confirmation message of MAC Address, network equipment inquiry aggregation group list item, and between the each physical port recording in this aggregation group list item, the message that is striding equipment aggregation port to outbound port carries out load balancing, to determine the outbound port of unicast message, if the outbound port of unicast message is the physical port on present networks equipment, the network equipment directly forwards this unicast message by the physical port on present networks equipment, if the outbound port of unicast message is the physical port on other network equipment, the network equipment will be transmitted to other network equipment by this unicast message by ISC link, forward this unicast message by other network equipment.
For example, if message is unicast message, and in local mac list item, record the target MAC (Media Access Control) address of this unicast message, and this target MAC (Media Access Control) address corresponding outbound port in local mac list item is striding equipment aggregation port 1,: network equipment C is before the synchronous successful confirmation message of MAC Address of receiving for target MAC (Media Access Control) address, between Eth2/0/1 and Eth2/0/2, carry out load balancing, and based on sharing result, forward this unicast message by Eth2/0/1 or Eth2/0/2; Network equipment C is after the synchronous successful confirmation message of MAC Address of receiving for target MAC (Media Access Control) address, aggregation group list item shown in question blank 1, find that striding equipment aggregation port records physical port Eth1/0/1, Eth1/0/2, Eth2/0/1, Eth2/0/2 1 time, therefore network equipment C carries out load balancing between physical port Eth1/0/1, Eth1/0/2, Eth2/0/1, Eth2/0/2, to determine the outbound port of unicast message; If the outbound port of unicast message is Eth2/0/1 or Eth2/0/2, network equipment C directly forwards this unicast message by Eth2/0/1 or Eth2/0/2; If the outbound port of unicast message is Eth1/0/1 or Eth1/0/2, network equipment C is transmitted to network equipment B by ISC link by unicast message, forwards this unicast message by network equipment B.
In the embodiment of the present invention, while carrying out load balancing between each physical port that the network equipment records in aggregation group list item, corresponding load balancing algorithm can be selected arbitrarily based on actual needs.For example, the network equipment selects hash algorithm between each physical port, to carry out load balancing, or the network equipment selects the even algorithm of port between each physical port, to carry out load balancing.For example, when the network equipment selects the even algorithm of port to carry out load balancing between each physical port, for first message, the network equipment determines that the outbound port of unicast message is Eth1/0/1, for second message, the network equipment determines that the outbound port of unicast message is Eth1/0/2, for the 3rd message, the network equipment determines that the outbound port of unicast message is Eth2/0/1, for the 4th message, the network equipment determines that the outbound port of unicast message is Eth2/0/2, for the 5th message, the network equipment determines that the outbound port of unicast message is Eth1/0/1, by that analogy.
Step 207, the network equipment judges the type (unicast message or broadcasting packet) of message; If message is unicast message, perform step 208; If message is broadcasting packet, perform step 210.
Step 208, the network equipment judges the target MAC (Media Access Control) address that whether records unicast message in local mac list item, if so, performs step 209; If not, perform step 210.
Step 209, in the time that the outbound port of target MAC (Media Access Control) address correspondence in local mac list item is striding equipment aggregation port, what the network equipment comprised by striding equipment aggregation port is positioned at the physical port forwarding unicast message on present networks equipment.In the time that the outbound port of target MAC (Media Access Control) address correspondence in local mac list item is not striding equipment aggregation port, the network equipment directly forwards this unicast message by target MAC (Media Access Control) address corresponding outbound port in local mac list item.
Step 210, in the time that the striding equipment aggregation port on the opposite end network equipment (sending the network equipment of message by ISC chain road direction present networks equipment) is UP (normally), by no thoroughfare, the physical port being positioned on present networks equipment that striding equipment aggregation port comprises E-Packets the network equipment; In the time that the striding equipment aggregation port on the network equipment of opposite end is DOWN (fault), the physical port being positioned on present networks equipment that network equipment can comprise by striding equipment aggregation port directly E-Packets.
Below in conjunction with the application scenarios shown in Fig. 1, above-mentioned steps 207-step 210 is elaborated.
Network equipment B is in the time receiving message by physical port Eth1/0/4, if message is unicast message, and in local mac list item, record the target MAC (Media Access Control) address of this unicast message, and this target MAC (Media Access Control) address corresponding outbound port in local mac list item is striding equipment aggregation port 1, the physical port (being Eth1/0/1 or Eth1/0/2) that what network equipment B directly comprised by striding equipment aggregation port 1 be positioned on present networks equipment forwards this unicast message.If message is broadcasting packet, or message is unicast message, but in local mac list item, do not record the target MAC (Media Access Control) address of this message, when the striding equipment aggregation port 1 on network equipment C is UP, no thoroughfare that the physical port (Eth1/0/1 and Eth1/0/2) being positioned on present networks equipment that striding equipment aggregation port 1 comprises E-Packets for network equipment B; When striding equipment aggregation port 1 on network equipment C is DOWN, the physical port (Eth1/0/1 or Eth1/0/2) that what network equipment B comprised by striding equipment aggregation port 1 be positioned on present networks equipment E-Packets.
In specific implementation, can also select according to actual needs the message of the above-mentioned steps of carrying out the embodiment of the present invention.For example, it is the above-mentioned steps of the message execution embodiment of the present invention of MAC Address 1-MAC address 100 that target MAC (Media Access Control) address is set by hand, the network equipment, in the time receiving message, if the target MAC (Media Access Control) address of message is MAC Address 1, is carried out the above-mentioned steps of the embodiment of the present invention; If the target MAC (Media Access Control) address of message is MAC Address 101, process according to prior art.
In sum, in the embodiment of the present invention, can utilize each physical port of composition striding equipment aggregation port to carry out load balancing, then between multiple network equipments, carry out the load balancing of unicast message, thereby can reasonably utilize the port resource on each network equipment, and can avoid the loss of unicast message.
Based on the inventive concept same with said method, in the embodiment of the present invention, also provide, a kind of network equipment, be applied in the network that comprises multiple network equipments physical port on described multiple network equipments composition striding equipment aggregation port, as shown in Figure 3, the described network equipment specifically comprises:
List item maintenance module 11, for safeguarding aggregation group list item, records striding equipment aggregation port in described aggregation group list item, records the physical port on described multiple network equipment under described striding equipment aggregation port;
Message sending module 12, for receiving message by exchange connection ISC link in the middle of non-, and described message is unicast message, when the outbound port of the object medium access control MAC Address of described message correspondence in local mac list item is striding equipment aggregation port, inquire about described aggregation group list item, and carry out load balancing between the each physical port recording in described aggregation group list item, forward described message.
Described message sending module 12, also for after receiving described message by non-middle exchange connection ISC link, if described message is broadcasting packet, or described message is unicast message, but in described local mac list item, do not record the target MAC (Media Access Control) address of described message, send described message with broadcast mode, so that described message is transmitted to other network equipment by ISC link, and the physical port being positioned on present networks equipment that described message is comprised by described striding equipment aggregation port sends.
Described message sending module 12, specifically for carry out load balancing between the each physical port recording in described aggregation group list item after, if the outbound port of described unicast message is the physical port on present networks equipment, forward described unicast message by the physical port on present networks equipment; If the outbound port of described unicast message is the physical port on other network equipment, by ISC link, described unicast message is transmitted to described other network equipment, forward described unicast message by other network equipment.
Described message sending module 12, also in the time that study is the MAC Address of striding equipment aggregation port to outbound port, sends MAC Address sync message by other network equipment of ISC chain road direction; In local mac list item, record described MAC Address and outbound port corresponding to described MAC Address by described other network equipment, and return to the synchronous successful confirmation message of MAC Address to the described network equipment;
Before receiving the synchronous successful confirmation message of described MAC Address, between the physical port on present networks equipment comprising at striding equipment aggregation port, the message that is described striding equipment aggregation port to outbound port carries out load balancing; After receiving the synchronous successful confirmation message of described MAC Address, carry out the described aggregation group list item of inquiry, and between the each physical port recording, the message that is described striding equipment aggregation port to outbound port carries out the step of load balancing in described aggregation group list item.
Described message sending module 12, also for receiving message by ISC link, and described message is unicast message, when the outbound port of the target MAC (Media Access Control) address of described message correspondence in local mac list item is striding equipment aggregation port, the physical port being positioned on present networks equipment comprising by described striding equipment aggregation port forwards described message.
Described message sending module 12, be further used for after receiving message by ISC link, if described message is broadcasting packet, or described message is unicast message, but in local mac list item, do not record the target MAC (Media Access Control) address of described message,: in the time that the striding equipment aggregation port on the network equipment that sends described message by the network equipment described in ISC chain road direction is UP, no thoroughfare, and the physical port being positioned on present networks equipment that striding equipment aggregation port comprises forwards described message; In the time that the striding equipment aggregation port on the network equipment that sends described message by the network equipment described in ISC chain road direction is DOWN, the physical port being positioned on present networks equipment comprising by striding equipment aggregation port forwards described message.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into multiple submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential general hardware platform by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions (can be personal computers in order to make a computer equipment, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.It will be appreciated by those skilled in the art that the module in the device in embodiment can be distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into multiple submodules.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Disclosed is above only several specific embodiment of the present invention, and still, the present invention is not limited thereto, and the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (12)

1. a message transmitting method, is applied in the network that comprises multiple network equipments, it is characterized in that, the physical port composition striding equipment aggregation port on described multiple network equipments, and described method comprises:
Network equipment maintenance aggregation group list item, records striding equipment aggregation port in described aggregation group list item, and records the physical port on described multiple network equipment under described striding equipment aggregation port;
The described network equipment is being received message by exchange connection ISC link in the middle of non-, and described message is unicast message, when the outbound port of the object medium access control MAC Address of described message correspondence in local mac list item is striding equipment aggregation port, the described network equipment is inquired about described aggregation group list item, and carry out load balancing between the each physical port recording in described aggregation group list item, forward described message.
2. the method for claim 1, is characterized in that, the described network equipment is after receiving message by non-middle exchange connection ISC link, and described method further comprises:
If described message is broadcasting packet, or described message is unicast message, but in described local mac list item, do not record the target MAC (Media Access Control) address of described message, the described network equipment sends described message with broadcast mode, so that described message is transmitted to other network equipment by ISC link, and the physical port being positioned on present networks equipment that described message is comprised by described striding equipment aggregation port sends.
3. the method for claim 1, is characterized in that, between each physical port that the described network equipment records in described aggregation group list item, carries out load balancing, forwards described message, specifically comprises:
If the outbound port of described unicast message is the physical port on present networks equipment, the described network equipment forwards described unicast message by the physical port on present networks equipment; If the outbound port of described unicast message is the physical port on other network equipment, the described network equipment is transmitted to described other network equipment by ISC link by described unicast message, forwards described unicast message by other network equipment.
4. the method for claim 1, is characterized in that, described method further comprises:
In the time that the described network equipment is learnt outbound port and is the MAC Address of striding equipment aggregation port, the described network equipment sends MAC Address sync message by other network equipment of ISC chain road direction; In local mac list item, record described MAC Address and outbound port corresponding to described MAC Address by described other network equipment, and return to the synchronous successful confirmation message of MAC Address to the described network equipment;
The described network equipment is before receiving the synchronous successful confirmation message of described MAC Address, between the physical port on present networks equipment that the described network equipment comprises at striding equipment aggregation port, the message that is described striding equipment aggregation port to outbound port carries out load balancing;
The described network equipment is after receiving the synchronous successful confirmation message of described MAC Address, the described network equipment is carried out the described aggregation group list item of inquiry, and between the each physical port recording in described aggregation group list item, the message that is described striding equipment aggregation port to outbound port carries out the step of load balancing.
5. the method for claim 1, is characterized in that, described method further comprises:
The described network equipment is being received message by ISC link, and described message is unicast message, when the outbound port of the target MAC (Media Access Control) address of described message correspondence in local mac list item is striding equipment aggregation port, the physical port being positioned on present networks equipment that the described network equipment comprises by described striding equipment aggregation port forwards described message.
6. method as claimed in claim 5, is characterized in that, the described network equipment is after receiving message by ISC link, and described method further comprises:
If described message is broadcasting packet, or described message is unicast message, but in local mac list item, do not record the target MAC (Media Access Control) address of described message:
In the time that the striding equipment aggregation port on the network equipment that sends described message by the network equipment described in ISC chain road direction is UP, no thoroughfare that the physical port being positioned on present networks equipment that striding equipment aggregation port comprises forwards described message for the described network equipment; In the time that the striding equipment aggregation port on the network equipment that sends described message by the network equipment described in ISC chain road direction is DOWN, the physical port that what the described network equipment comprised by striding equipment aggregation port be positioned on present networks equipment forwards described message.
7. a network equipment, is applied in the network that comprises multiple network equipments, it is characterized in that, the physical port composition striding equipment aggregation port on described multiple network equipments, and the described network equipment comprises:
List item maintenance module, for safeguarding aggregation group list item, records striding equipment aggregation port in described aggregation group list item, and records the physical port on described multiple network equipment under described striding equipment aggregation port;
Message sending module, for receiving message by exchange connection ISC link in the middle of non-, and described message is unicast message, when the outbound port of the object medium access control MAC Address of described message correspondence in local mac list item is striding equipment aggregation port, inquire about described aggregation group list item, and carry out load balancing between the each physical port recording in described aggregation group list item, forward described message.
8. the network equipment as claimed in claim 7, is characterized in that,
Described message sending module, also for after receiving described message by non-middle exchange connection ISC link, if described message is broadcasting packet, or described message is unicast message, but in described local mac list item, do not record the target MAC (Media Access Control) address of described message, send described message with broadcast mode, so that described message is transmitted to other network equipment by ISC link, and the physical port being positioned on present networks equipment that described message is comprised by described striding equipment aggregation port sends.
9. the network equipment as claimed in claim 7, is characterized in that,
Described message sending module, specifically for carry out load balancing between the each physical port recording in described aggregation group list item after, if the outbound port of described unicast message is the physical port on present networks equipment, forward described unicast message by the physical port on present networks equipment; If the outbound port of described unicast message is the physical port on other network equipment, by ISC link, described unicast message is transmitted to described other network equipment, forward described unicast message by other network equipment.
10. the network equipment as claimed in claim 7, is characterized in that,
Described message sending module, also in the time that study is the MAC Address of striding equipment aggregation port to outbound port, sends MAC Address sync message by other network equipment of ISC chain road direction; In local mac list item, record described MAC Address and outbound port corresponding to described MAC Address by described other network equipment, and return to the synchronous successful confirmation message of MAC Address to the described network equipment;
Before receiving the synchronous successful confirmation message of described MAC Address, between the physical port on present networks equipment comprising at striding equipment aggregation port, the message that is described striding equipment aggregation port to outbound port carries out load balancing; After receiving the synchronous successful confirmation message of described MAC Address, carry out the described aggregation group list item of inquiry, and between the each physical port recording, the message that is described striding equipment aggregation port to outbound port carries out the step of load balancing in described aggregation group list item.
11. network equipments as claimed in claim 7, is characterized in that,
Described message sending module, also for receiving message by ISC link, and described message is unicast message, when the outbound port of the target MAC (Media Access Control) address of described message correspondence in local mac list item is striding equipment aggregation port, the physical port being positioned on present networks equipment comprising by described striding equipment aggregation port forwards described message.
12. network equipments as claimed in claim 11, is characterized in that,
Described message sending module, be further used for after receiving message by ISC link, if described message is broadcasting packet, or described message is unicast message, but in local mac list item, do not record the target MAC (Media Access Control) address of described message,: in the time that the striding equipment aggregation port on the network equipment that sends described message by the network equipment described in ISC chain road direction is UP, no thoroughfare, and the physical port being positioned on present networks equipment that striding equipment aggregation port comprises forwards described message; In the time that the striding equipment aggregation port on the network equipment that sends described message by the network equipment described in ISC chain road direction is DOWN, the physical port being positioned on present networks equipment comprising by striding equipment aggregation port forwards described message.
CN201410233023.7A 2014-05-28 2014-05-28 A kind of message transmitting method and equipment Active CN104038447B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410233023.7A CN104038447B (en) 2014-05-28 2014-05-28 A kind of message transmitting method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410233023.7A CN104038447B (en) 2014-05-28 2014-05-28 A kind of message transmitting method and equipment

Publications (2)

Publication Number Publication Date
CN104038447A true CN104038447A (en) 2014-09-10
CN104038447B CN104038447B (en) 2017-08-22

Family

ID=51469039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410233023.7A Active CN104038447B (en) 2014-05-28 2014-05-28 A kind of message transmitting method and equipment

Country Status (1)

Country Link
CN (1) CN104038447B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107332943A (en) * 2017-06-27 2017-11-07 杭州迪普科技股份有限公司 A kind of message forwarding method and device
CN107547243A (en) * 2017-05-24 2018-01-05 新华三技术有限公司 A kind of message forwarding method and device
CN107547452A (en) * 2017-07-11 2018-01-05 新华三技术有限公司 A kind of distributed communication equipment and its message forwarding method and device
CN107547419A (en) * 2016-06-28 2018-01-05 新华三技术有限公司 One kind extension bridge system and message forwarding method and device
CN107846357A (en) * 2017-12-22 2018-03-27 杭州迪普科技股份有限公司 A kind of message forwarding method and device based on stream definition
CN108933744A (en) * 2018-06-26 2018-12-04 新华三技术有限公司 A kind of message forwarding method and device
CN109151620A (en) * 2017-06-28 2019-01-04 中兴通讯股份有限公司 Aggregation group port switching method and device and Optical Line Terminal (OLT) equipment
CN110166356A (en) * 2018-02-11 2019-08-23 华为技术有限公司 Send the method and the network equipment of message
CN111629239A (en) * 2020-04-29 2020-09-04 腾讯科技(深圳)有限公司 Screen projection processing method, device, equipment and computer readable storage medium
CN111682927A (en) * 2020-04-27 2020-09-18 浪潮思科网络科技有限公司 Message synchronization method, device, equipment and medium based on MLAG environment
CN115412483A (en) * 2022-08-30 2022-11-29 武汉烽火技术服务有限公司 Method and system for aggregating keep-alive messages and interacting across equipment links

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1809021A (en) * 2005-01-17 2006-07-26 华为技术有限公司 Ethernet link converging method
US20100033541A1 (en) * 2008-08-06 2010-02-11 Xerox Corporation Method For Reducing Mechanical Cross-Talk Between Array Structures On A Substrate Mounted to Another Substrate By An Adhesive
CN102447640A (en) * 2012-02-01 2012-05-09 杭州华三通信技术有限公司 Method for carrying out aggregate routing in IRF (intelligent resilient framework) system and machine frame switch
CN103338161A (en) * 2013-07-10 2013-10-02 杭州华三通信技术有限公司 Method and equipment for realizing cross-equipment aggregation
CN103501250A (en) * 2013-09-30 2014-01-08 杭州华三通信技术有限公司 Data flow processing method and device in distribution type link aggregation network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1809021A (en) * 2005-01-17 2006-07-26 华为技术有限公司 Ethernet link converging method
US20100033541A1 (en) * 2008-08-06 2010-02-11 Xerox Corporation Method For Reducing Mechanical Cross-Talk Between Array Structures On A Substrate Mounted to Another Substrate By An Adhesive
CN102447640A (en) * 2012-02-01 2012-05-09 杭州华三通信技术有限公司 Method for carrying out aggregate routing in IRF (intelligent resilient framework) system and machine frame switch
CN103338161A (en) * 2013-07-10 2013-10-02 杭州华三通信技术有限公司 Method and equipment for realizing cross-equipment aggregation
CN103501250A (en) * 2013-09-30 2014-01-08 杭州华三通信技术有限公司 Data flow processing method and device in distribution type link aggregation network

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547419A (en) * 2016-06-28 2018-01-05 新华三技术有限公司 One kind extension bridge system and message forwarding method and device
CN107547419B (en) * 2016-06-28 2020-08-04 新华三技术有限公司 Extended network bridge system and message forwarding method and device
CN107547243A (en) * 2017-05-24 2018-01-05 新华三技术有限公司 A kind of message forwarding method and device
CN107547243B (en) * 2017-05-24 2021-04-02 新华三技术有限公司 Message forwarding method and device
CN107332943A (en) * 2017-06-27 2017-11-07 杭州迪普科技股份有限公司 A kind of message forwarding method and device
CN109151620B (en) * 2017-06-28 2022-05-13 中兴通讯股份有限公司 Aggregation group port switching method and device and Optical Line Terminal (OLT) equipment
CN109151620A (en) * 2017-06-28 2019-01-04 中兴通讯股份有限公司 Aggregation group port switching method and device and Optical Line Terminal (OLT) equipment
CN107547452B (en) * 2017-07-11 2020-09-25 新华三技术有限公司 Distributed communication equipment and message forwarding method and device thereof
CN107547452A (en) * 2017-07-11 2018-01-05 新华三技术有限公司 A kind of distributed communication equipment and its message forwarding method and device
CN107846357A (en) * 2017-12-22 2018-03-27 杭州迪普科技股份有限公司 A kind of message forwarding method and device based on stream definition
CN110166356A (en) * 2018-02-11 2019-08-23 华为技术有限公司 Send the method and the network equipment of message
CN110166356B (en) * 2018-02-11 2021-09-17 华为技术有限公司 Method and network equipment for sending message
CN108933744B (en) * 2018-06-26 2021-01-26 新华三技术有限公司 Message forwarding method and device
CN108933744A (en) * 2018-06-26 2018-12-04 新华三技术有限公司 A kind of message forwarding method and device
CN111682927A (en) * 2020-04-27 2020-09-18 浪潮思科网络科技有限公司 Message synchronization method, device, equipment and medium based on MLAG environment
CN111629239A (en) * 2020-04-29 2020-09-04 腾讯科技(深圳)有限公司 Screen projection processing method, device, equipment and computer readable storage medium
CN111629239B (en) * 2020-04-29 2022-01-25 腾讯科技(深圳)有限公司 Screen projection processing method, device, equipment and computer readable storage medium
CN115412483A (en) * 2022-08-30 2022-11-29 武汉烽火技术服务有限公司 Method and system for aggregating keep-alive messages and interacting across equipment links
CN115412483B (en) * 2022-08-30 2023-06-09 武汉烽火技术服务有限公司 Method and system for cross-device link aggregation keep-alive message interaction

Also Published As

Publication number Publication date
CN104038447B (en) 2017-08-22

Similar Documents

Publication Publication Date Title
CN104038447A (en) Message transmission method and device
CN103338161B (en) A kind of method and apparatus realizing cross-equipment aggregation
CN104104570A (en) Aggregation processing method in IRF (Intelligent Resilient Framework) system and device
CN102347867A (en) Processing method and equipment for stacking splitting detection
CN103516609A (en) Method and equipment for transmitting service messages
CN101729425B (en) Method and equipment for flow sending in VRRP networking
CN103944828A (en) Method and equipment for transmitting protocol messages
CN103209130A (en) Method for synchronizing media access control (MAC) address table entries and forwarding chips
CN103338152B (en) A kind of method for forwarding multicast message and master control borad
CN102307136A (en) Method for processing message and device thereof
CN101651626B (en) Traffic-forwarding method and device
CN102904825A (en) Hash based message transmission method and device
CN110120897A (en) Link detection method, apparatus, electronic equipment and machine readable storage medium
CN104601742A (en) Message transmission method and device
CN104994022A (en) Message transmission method and service board
CN105763472A (en) Trans-board forwarding method and device
CN102158422B (en) Message forwarding method and equipment for layer 2 ring network
CN104811383A (en) Message forwarding method and equipment
CN103825839A (en) Message transmission method and equipment based on aggregated link
CN103248567A (en) BFD conversation message transmission method and equipment
JP2015091018A (en) Network system and network relay device
CN105939397B (en) A kind of transmission method and device of message
CN102904803B (en) A kind of message transmitting method and equipment
CN102857436B (en) Flow transmission method and flow transmission equipment based on IRF (intelligent resilient framework) network
CN104394075A (en) Message transmission method and equipment

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.

GR01 Patent grant
GR01 Patent grant