CN106982169B - Message forwarding method and device - Google Patents

Message forwarding method and device Download PDF

Info

Publication number
CN106982169B
CN106982169B CN201710203800.7A CN201710203800A CN106982169B CN 106982169 B CN106982169 B CN 106982169B CN 201710203800 A CN201710203800 A CN 201710203800A CN 106982169 B CN106982169 B CN 106982169B
Authority
CN
China
Prior art keywords
mac address
irf
port
mac
physical member
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
Application number
CN201710203800.7A
Other languages
Chinese (zh)
Other versions
CN106982169A (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.)
New H3C Technologies Co Ltd
Original Assignee
New 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201710203800.7A priority Critical patent/CN106982169B/en
Publication of CN106982169A publication Critical patent/CN106982169A/en
Application granted granted Critical
Publication of CN106982169B publication Critical patent/CN106982169B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application provides a message forwarding method and a device, the method is applied to any AC in an IRF system, and the method comprises the following steps: when receiving a data message sent by a local terminal, determining an IRF physical member port for forwarding the data message; searching the determined port MAC address of the IRF physical member port from the obtained MAC address table; replacing the source MAC address of the data message with the searched port MAC address; and sending the data message with the searched port MAC address to the two-layer network equipment through the determined IRF link where the IRF physical member port is located. Therefore, in the application, the two-layer network device receiving the data message can select different IRF links for load sharing according to different port MAC addresses, so that the situation that a certain IRF link is congested and other IRF links are idle is avoided, and the message forwarding efficiency is improved.

Description

Message forwarding method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for forwarding a packet.
Background
An IRF (Intelligent Resilient Framework) is an Intelligent Resilient Framework that connects a plurality of devices together, and virtualizes the devices into one device after necessary configuration.
Currently, in a star IRF, each AC (Access Controller) may be connected together through a two-layer network device (e.g., a two-layer switch), and forward a message through the connection.
In addition, in order to improve the message forwarding capability of the star-type IRF, a plurality of IRF links may be established between each AC and the two-layer switch, and the message forwarding is shared on average through the plurality of IRF links.
However, when the traffic to be forwarded between the ACs in the star IRF is not uniform, a situation that a certain IRF link is congested and other IRF links are idle easily occurs, and the message forwarding efficiency is reduced.
Disclosure of Invention
The application provides a message forwarding method and a message forwarding device, which are used for solving the problem that in the prior art, when the traffic needing to be forwarded between all ACs in a star-type IRF is uneven, the situation that a certain IRF link is congested and other IRF links are idle easily occurs, and the message forwarding efficiency is reduced.
According to a first aspect of an embodiment of the present application, a method for forwarding a packet is provided, where the method is applied to any access controller AC in an IRF system, and the AC is connected to other ACs in the IRF system through a two-layer network device in the IRF system, where the method includes:
when a data message sent by a local terminal is received, an IRF physical member port for forwarding the data message is determined;
searching the determined port MAC address of the IRF physical member port from an obtained MAC address table, wherein the MAC address table comprises the port MAC addresses of all the IRF physical member ports of the AC local, and the port MAC addresses of all the IRF physical member ports are different from one another;
replacing the source MAC address of the data message with the searched port MAC address;
and sending the data message with the searched port MAC address to the two-layer network equipment through the determined IRF link where the IRF physical member port is located.
According to a second aspect of the embodiments of the present application, there is provided a packet forwarding apparatus, where the apparatus is applied to any access controller AC in an IRF system, and the AC is connected to other ACs in the IRF system through a layer two network device in the IRF system, where the apparatus includes:
an IRF physical member port determining unit, configured to determine, when receiving a data packet sent by a local terminal, an IRF physical member port for forwarding the data packet;
a searching unit, configured to search for a determined port MAC address of an IRF physical member port from an obtained MAC address table, where the MAC address table includes port MAC addresses of all IRF physical member ports of the AC local area, and the port MAC addresses of all IRF physical member ports are different from each other;
a first replacing unit, configured to replace the source MAC address of the data packet with the found port MAC address;
and the first sending unit is used for sending the data message with the searched port MAC address to the two-layer network equipment through the determined IRF link where the IRF physical member port is located.
By applying the embodiment of the application, the source MAC address of the data message is replaced by the port MAC address of the IRF physical member port for forwarding the data message, so that the source MAC addresses of the data message forwarded by the same AC through different IRF physical member ports are different, and the two-layer network equipment receiving the data message can select different IRF links according to different port MAC addresses for load sharing, thereby avoiding the situation that a certain IRF link is congested and other IRF links are idle, and improving the message forwarding efficiency.
Drawings
FIG. 1 is a schematic diagram of a star-shaped IRF to which embodiments of the present application are applied;
fig. 2 is a flowchart of an embodiment of a message forwarding method according to the present application;
fig. 3 is a flowchart of another embodiment of a message forwarding method according to the present application;
fig. 4 is a flowchart of an embodiment of a message forwarding method according to the present application;
fig. 5 is a schematic diagram of a hardware structure of a device in which the message forwarding apparatus of the present application is located;
fig. 6 is a block diagram of an embodiment of a message forwarding apparatus according to the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
FIG. 1 is a schematic diagram of a star-shaped IRF to which embodiments of the present application are applied. As shown in FIG. 1, the star IRF includes AC1, AC2, AC3, AC4, and two-layer network devices respectively connected to AC1, AC2, AC3, and AC 4. Wherein the AC is a controller device that centrally and uniformly manages the local wireless terminals.
In the star IRF, four ACs, i.e., AC1, AC2, AC3, and AC4, may be connected together through a layer two network device (e.g., a layer two switch), and forward a packet through the connection.
In order to improve the message forwarding capability of the star-type IRF, a plurality of IRF links can be established between each AC and the two-layer network device, and the traffic is shared equally through the plurality of IRF links. Such as:
1 IRF polymerization port is respectively established on AC1, AC2, AC3 and AC 4. Wherein, the IRF polymerization port of the AC1 comprises three IRF physical member ports of G1/1, G1/2 and G1/3; the IRF polymerization ports of the AC2 comprise three IRF physical member ports of G2/1, G2/2 and G2/3; the IRF polymerization ports of the AC3 comprise three IRF physical member ports of G3/1, G3/2 and G3/3; the IRF polymerization ports of the AC4 comprise three IRF physical member ports of G4/1, G4/2 and G4/3.
Ports G1, G2 and G3 of the two-layer network equipment are respectively connected with G1/1, G1/2 and G1/3 of the AC1, an aggregation port B1 is created, and G1, G2 and G3 are added into B1.
Ports G4, G5 and G6 of the two-layer network equipment are respectively connected with G2/1, G2/2 and G2/3 of the AC2, an aggregation port B2 is created, and G4, G5 and G6 are added into B2.
Ports G7, G8 and G9 of the two-layer network equipment are respectively connected with G3/1, G3/2 and G3/3 of the AC3, an aggregation port B3 is created, and G7, G8 and G9 are added into B3.
Ports G10, G11 and G12 of the two-layer network equipment are respectively connected with G4/1, G4/2 and G4/3 of the AC4, an aggregation port B4 is created, and G10, G11 and G12 are added into B4.
MAC (Media Access Control) addresses of the AC1, the AC2, the AC3 and the AC4 are respectively 1-1-1, 1-1-1-3, 3-3-3-3 and 4-4-4-4. The layer two switch creates a separate VLAN4000 and adds B1, B2, B3, B4 into VLAN 4000.
If the traffic between the various ACs is relatively uniform, the overall traffic load of the star IRF will also be relatively uniform. However, when the traffic to be forwarded between the ACs in the star IRF is not uniform, a situation that a certain IRF link is congested and other IRF links are idle is likely to occur, and the message forwarding efficiency is reduced.
Such as: only 1200M cross-board traffic from AC1 to AC2 exists in the existing network, if forwarding is performed according to the prior art, the source MACs of the 1200M cross-board traffic are all MAC addresses 1-1-1-1 of AC1, and are sent to the two-layer network device from three IRF physical member ports of G1/1, G1/2, and G1/3 more uniformly, and after the two-layer network device receives the 1200M cross-board traffic from the aggregation port B1, the two-layer network device forwards the 1200M cross-board traffic to AC2 through B2, since the 1200M cross-board traffic from AC1 is two-layer traffic and the source MAC address and the destination MAC address are the same (since both come from AC1 and go to AC 2), the two-layer network device determines that all traffic reaches AC2 through G2/1 according to a default load algorithm (the default algorithm may be hashed according to the source MAC address or according to a quintuple, and if the rate of G2/1 is about 1000M, at least 200M is dropped, at this time, G2/2 and G2/3 have almost no traffic, so the message forwarding efficiency is reduced.
In order to solve the above problem, an embodiment of the present application provides a packet forwarding method.
Fig. 2 is a flowchart of an embodiment of the message forwarding method of the present application, where the method is applied to any AC in a star IRF system, and the AC may be any AC among AC1, AC2, AC3, and AC4 in fig. 1, and is connected to other ACs through a two-layer network device. As shown in fig. 2, the message forwarding method includes the following steps 210 and 240:
step 210, when receiving the data message sent by the local terminal, determining an IRF physical member port for forwarding the data message.
In this embodiment of the present application, the IRF physical member port for forwarding the data packet may be determined in the following manner:
determining an IRF aggregation port for forwarding the data message according to a destination MAC of the received data message, wherein the IRF aggregation port at least comprises two IRF physical member ports;
and selecting one IRF physical member port from the IRF aggregation ports, and taking the selected IRF physical member port as an IRF physical member port for forwarding the data message.
Referring to fig. 1, the AC1 creates 1 IRF aggregation port, where the IRF aggregation port includes three IRF physical member ports G1/1, G1/2, and G1/3, and when the AC1 receives a data packet sent by a local terminal, one IRF physical member port is selected from the three IRF physical member ports G1/1, G1/2, and G1/3 of the local IRF aggregation port, and the selected IRF physical member port is used as an IRF physical member port for forwarding the data packet.
A random algorithm is generally adopted when the IRF physical member port is selected, so that all data messages received by the AC1 are easily and uniformly sent to the two-layer network equipment from G1/1, G1/2 and G1/3.
Such as: in 1200M cross-board traffic from AC1 to AC2, the source MAC address of 400M cross-board traffic is 1-1-1-4, and the traffic is sent out from a port G1/1; the source MAC address of 400M cross-board traffic is 1-1-1-5, and is sent out from a port G1/2; the source MAC address of 400M cross-board traffic is 1-1-1-6, emanating from port G1/3.
Step 220, searching the determined port MAC addresses of the IRF physical member ports from the obtained MAC address table, where the MAC address table includes port MAC addresses of all IRF physical member ports of the AC local, and the port MAC addresses of all IRF physical member ports are different from each other.
In this embodiment of the present application, the MAC address table may be manually configured by an administrator, or may be automatically generated by a master device of the IRF system.
Such as: the MAC address table of the AC1 comprises port MAC addresses of three IRF physical member ports of G1/1, G1/2 and G1/3, and if the IRF physical member port for forwarding the data message is determined to be G1/1, the source MAC address of the data message can be replaced by the port MAC address of G1/1.
Step 230, the source MAC address of the data packet is replaced with the found port MAC address.
And 240, sending the data message with the searched port MAC address to the two-layer network equipment through the determined IRF link where the IRF physical member port is located.
In an embodiment, the packet forwarding method further includes:
and when receiving a heartbeat message sent by the local terminal, replacing the source MAC address of the heartbeat message with the MAC address of the local AC.
And sending the heartbeat message with the MAC address of the AC to the two-layer network equipment.
In the embodiment of the application, the source MAC address of the heartbeat packet is replaced with the MAC address of the AC, so that the two-layer network device can learn the MAC address of each AC, thereby ensuring the reachability of the unicast packet.
It can be seen from the above embodiments that, by replacing the source MAC address of the data packet with the port MAC address of the IRF physical member port for forwarding the data packet, the source MAC addresses of the data packets forwarded by the same AC through different IRF physical member ports are different, so that the two-layer network device receiving the data packet can select different IRF links according to different port MAC addresses for load sharing, thereby avoiding a situation where some IRF link is congested and other IRF links are idle, and improving the packet forwarding efficiency.
Fig. 3 is a flowchart of another embodiment of the message forwarding method of the present application, where the method is applied to any AC in a star IRF system, and the AC may be any AC among AC1, AC2, AC3, and AC4 in fig. 1. As shown in fig. 3, the message forwarding method is based on the method shown in fig. 2, and further includes the following steps 310 and 330:
in step 310, if the device role of the AC is the master device of the IRF system, different port MAC addresses are allocated to each IRF physical member port of all ACs in the IRF system, and the allocated port MAC addresses are also different from the MAC addresses of all ACs in the IRF system and the MAC addresses of the two-layer network devices.
In the embodiment of the present application, when different port MAC addresses are allocated to each IRF physical member port of all ACs in the IRF system, the port MAC address may be manually configured by an administrator or may be automatically generated according to a master device of the IRF system.
The manual configuration method includes, but is not limited to, the following ways:
the administrator configures a port MAC address for each IRF physical member port of the whole IRF system in advance, the port MAC addresses are different from each other, the port MAC addresses are different from the MAC addresses of each AC and the MAC addresses of the two-layer network devices, and the port MAC addresses of the IRF physical member ports on the same member AC are in an increasing relationship according to 1.
Methods of automatic generation include, but are not limited to, the following:
the method for automatically generating the port MAC address comprises the steps that an AC with a device role as a main device automatically generates a port MAC address for each IRF physical member port of the whole IRF system, an administrator is required to add the MAC address of a two-layer network device into the main device in a blacklist mode, an automatically generated rule is that 1 is increased according to the MAC address of each AC to generate the port MAC address, when one port MAC address is generated, the port MAC address is compared with the MAC addresses of all ACs and the MAC addresses of the two-layer network devices, and if a conflict exists, all IRF ports of the AC are regenerated by adding 1 on the basis of the conflicting MAC. And before generating the port MAC address for each AC, comparing the MAC address of the AC with other ACs that have generated the port MAC address, and if the MAC address of the AC is between the MAC addresses of the other ACs and the maximum port MAC address that has been allocated, adding 1 to the maximum port MAC address that has been allocated to generate all IRF ports of the AC until each IRF physical port has a port MAC address.
In an embodiment, when different port MAC addresses are allocated to each IRF physical member port of all ACs in the IRF system, the specific process is as follows:
(1) and taking an AC in the IRF system as an initial AC, and incrementing the MAC address of the initial AC by a specified value to obtain a first MAC address.
(2) And judging whether the first MAC address is different from the MAC addresses of other ACs and the MAC addresses of the two-layer network equipment in the IRF system.
(3) And if so, allocating the first MAC address to an IRF physical member port on the initial AC as a port MAC address of the IRF physical member port.
(4) Otherwise, increasing the designated value of the first MAC address to obtain a second MAC address, taking the second MAC address as the first MAC address, returning to the step (2) for judging whether the first MAC address is different from the MAC addresses of other ACs in the IRF system and the address MAC of the two-layer network equipment or not until the second MAC address which is different from the MAC addresses of other ACs in the IRF system and the address MAC of the two-layer network equipment is obtained and is distributed to an IRF physical member port on the initial AC to be used as the port MAC address of the IRF physical member port.
The above (1) to (4) are distribution flows of the first IRF physical member port of the initial AC. Such as: the first physical member of the initial AC IRF port is G1/1 of AC1 in FIG. 1.
(5) And increasing the specified value of the port MAC address of the IRF physical member port by an increment to obtain a third MAC address.
(6) And judging whether the third MAC address is different from the MAC addresses of other ACs and the MAC addresses of the two-layer network equipment in the IRF system.
(7) And if so, allocating the third MAC address to another IRF physical member port on the starting AC, taking another IRF physical member port as the IRF physical member port, returning to the step (5) of executing increment of the specified value of the port MAC address of the IRF physical member port to obtain the third MAC address, and till all the IRF physical member ports of the starting AC are allocated with the port MAC addresses.
The above (5) to (7) are the cases where another IRF physical member port of the starting AC is first assigned to a MAC address that can be different from other MAC addresses, where after the process of returning (5) is executed, all IRF physical member ports on the starting AC are assigned to MAC addresses.
(8) Otherwise, increasing the designated value of the third MAC address to obtain a fourth MAC address, taking the fourth MAC address as the third MAC address, returning (6) to execute the step of judging whether the third MAC address is different from the MAC addresses of other ACs in the IRF system and the address MAC of the two-layer network equipment until obtaining the fourth MAC address which is different from the MAC addresses of other ACs in the IRF system and the address MAC of the two-layer network equipment and distributing the fourth MAC address to the IRF physical member port, and returning (5) to execute the step of increasing the designated value of the port MAC address of the IRF physical member port to obtain the third MAC address.
In the above (8), in the case where the other IRF physical member port of the starting AC has the same MAC address as the other IRF physical member port, how to obtain a different MAC address is to obtain the MAC address, and after obtaining the same, to re-assign the obtained MAC address to the first IRF physical member port. The process of returning (5) is executed, after the MAC address of the first IRF physical member port is obtained again, the above processes need to be circulated again.
(9) And judging whether the MAC address of another AC in the IRF system is positioned in a MAC address interval formed by the MAC address of the AC with the allocated port MAC address and the MAC address of the allocated port.
The above (9) is the primary judgment when the port MAC is allocated to the non-first AC. Such as: in fig. 1, AC1 is the AC of the first distribution port MAC, AC2 is the AC of the second distribution port MAC, AC3 is the AC of the third distribution port MAC, and AC4 is the AC of the fourth distribution port MAC.
(10) If so, taking the other AC as the initial AC, taking the maximum MAC address in the MAC address interval as the MAC address of the initial AC, returning to the step (1) of executing the increment of the designated numerical value of the MAC address of the initial AC to obtain the first MAC address until all the ports MAC addresses are distributed to all the IRF physical member ports of all the ACs in the IRF system.
The above (10) is a flow to be executed in the MAC address interval, where the MAC address of the start AC is the maximum MAC address in the MAC address interval.
(11) And otherwise, taking the other AC as the starting AC, and returning to the step (1) of executing the step of incrementing the MAC address of the starting AC by a specified value to obtain the first MAC address.
The above (11) is a flow to be executed not in the MAC address interval, where the MAC address of the starting AC is the MAC address of another AC.
Referring to fig. 1, the AC2 is a master device, the MAC addresses of the AC1, the AC2, the AC3 and the AC4 are 1-1-1-1, 1-1-3, 3-3-3-3 and 4-4-4-4 respectively, and the MAC address of the two-layer network device is 5-5-5-5.
When the AC2 allocates port MAC addresses to each IRF physical member port of all ACs in the IRF system, that is, AC1, AC2, AC3, and AC4, the AC to be allocated may be determined according to the device number of each AC, such as: the equipment numbers are distributed from small to large, and the equipment numbers are distributed for the AC1 firstly, and then distributed for the AC2, the AC3 and the AC4 in sequence.
(1) Assigned to AC 1.
The port MAC address allocated to the G1/1 of the AC1 is 1-1-1-1 plus 1 of the MAC address 1-1-1-1 of the AC1, and is compared with the MAC addresses of the AC1, the AC2, the AC3 and the AC4 respectively, and is different from the MAC addresses of the two-layer network equipment; secondly, distributing 1-1-1-2 plus 1 of a port MAC address of G1/1 of G1 of AC1 to be 1-1-1-3 for G1/2 of AC1, comparing the port MAC address with MAC addresses of AC1, AC2, AC3 and AC4 respectively, wherein the port MAC address is the same as the MAC address of AC2, so that the port MAC address needs to be distributed to G1/1 of AC1 again, the distributed port MAC address is 1-1-1-3 plus 1 of MAC address of AC2 to be 1-1-1-4, comparing the port MAC addresses with the MAC addresses of AC1, AC2, AC3 and AC4 respectively, comparing the port MAC addresses with the MAC addresses of two-layer network equipment, and comparing the port MAC addresses with the MAC addresses of two-layer network equipment to be different; then, distributing 1-1-1-4 plus 1 to the port MAC address 1-1-1-4 of G1/1 of the port MAC address of AC1 for G1/2 of AC1, comparing the port MAC addresses with the MAC addresses of AC1, AC2, AC3 and AC4 respectively, comparing the port MAC addresses with the MAC addresses of two-layer network equipment, and comparing the port MAC addresses with the MAC addresses of two-layer network equipment; and then allocating 1-1-1-5 plus 1 to the port MAC address 1-1-1-5 of G1/2 of which the port MAC address is AC1 for G1/3 of AC1, comparing the port MAC addresses with the MAC addresses of AC1, AC2, AC3 and AC4 respectively, comparing the port MAC addresses with the MAC addresses of two-layer network equipment, and comparing the port MAC addresses with the MAC addresses of two-layer network equipment. Where the port MAC address assigned to AC1 is shown in table 1.
TABLE 1
Figure GDA0002205658580000101
(2) Assigned to AC 2.
First, comparing with the port MAC address of AC1, finding that the MAC address of AC2 is between the MAC address 1-1-1-1 of AC1 and the port MAC 1-1-1-6 region of G1/3 of AC1, so the IRF port MAC address of AC2 needs to start from the port MAC address of the largest port G1/3 of AC1 plus 1, i.e. 1-1-1-7.
Allocating a port MAC address to G2/1 of AC2, wherein the port MAC address is G1/3 of AC1, and the port MAC address is added with 1 to form 1-1-1-7, and the port MAC address is compared with the MAC addresses of AC1, AC2, AC3 and AC4, is different and is compared with the MAC addresses of two-layer network equipment; then, distributing 1-1-1-7 plus 1 to the port MAC address 1-1-1-7 of G2/1 of the port MAC address of AC2 for G2/2 of AC2, comparing the port MAC addresses with the MAC addresses of AC1, AC2, AC3 and AC4, respectively, comparing the port MAC addresses with the MAC addresses of two-layer network equipment, and comparing the port MAC addresses with the MAC addresses of two-layer network equipment; and then allocating the port MAC address 1-1-1-8 plus 1 of the port MAC address of G2/2 of the port MAC of the AC2 to G2/3 of the AC2 to be 1-1-1-9, comparing the port MAC addresses with the MAC addresses of AC1, AC2, AC3 and AC4, wherein the port MAC addresses are different from the MAC addresses of the two-layer network equipment. Where the port MAC address assigned to AC2 is shown in table 2.
TABLE 2
Figure GDA0002205658580000111
(3) Assigned to AC 3.
First, comparing with the port MAC addresses of AC1 and AC2, the MAC address of AC3 is found not to be between the areas of AC1 and AC2 and the maximum port MAC address already allocated, so the IRF port MAC address of AC3 needs to start from the MAC address of AC3 plus 1, i.e. 3-3-3-4.
The MAC address of the port allocated for G3/1 of AC3 is the MAC address of AC3 plus 1, namely 3-3-3-4, and is compared with the MAC addresses of AC1, AC2, AC3 and AC4 respectively, and is different from the MAC addresses of two-layer network equipment; then, distributing a port MAC address of G3/2 of AC3 as a port MAC address of G3/1 of AC3, namely 3-3-3-4 plus 1 to obtain 3-3-3-5, comparing the port MAC addresses with MAC addresses of AC1, AC2, AC3 and AC4, wherein the port MAC addresses are different from the MAC addresses of two-layer network equipment; and then allocating the port MAC address of G3/3 of the AC3 as the port MAC address of G3/2 of the AC3, namely 3-3-3-5 plus 1, to be 3-3-3-6, comparing the port MAC addresses with the MAC addresses of AC1, AC2, AC3 and AC4, wherein the port MAC addresses are different from the MAC addresses of the two-layer network equipment. Where the port MAC address assigned to AC3 is shown in table 3.
TABLE 3
Figure GDA0002205658580000121
(4) Assigned to AC 4.
First, comparing with the port MAC addresses of AC1, AC2, AC3, it is found that the MAC address of AC4 is not between the areas of AC1, AC2, AC3 and the maximum port MAC address that has been allocated, so the IRF port MAC address of AC4 needs to start with the MAC address of AC4 plus 1, i.e. 4-4-4-5.
The MAC address of the port allocated for G4/1 of AC4 is the MAC address of AC4 plus 1, namely 4-4-4-5, and is compared with the MAC addresses of AC1, AC2, AC3 and AC4 respectively, and is different from the MAC addresses of two-layer network equipment; then, distributing a port MAC address of G4/2 of the AC4 as a port MAC address of G4/1 of the AC4, namely 4-4-4-5 plus 1, comparing the port MAC addresses with the MAC addresses of AC1, AC2, AC3 and AC4, wherein the port MAC addresses are different from the MAC addresses of two-layer network equipment; and then allocating a port MAC to G4/3 of the AC4 to be a port MAC address 4-4-4-6 plus 1 of G4/2 of the AC4 to be 4-4-4-7, comparing the port MAC addresses with the MAC addresses of AC1, AC2, AC3 and AC4 respectively, wherein the port MAC addresses are different and then comparing the port MAC addresses with the MAC addresses of two-layer network equipment. Where the port MAC address assigned to AC4 is shown in table 4.
TABLE 4
Figure GDA0002205658580000122
Step 320, storing the port MAC address allocated to each IRF physical member port of the AC into the MAC address table, and sending the port MAC address allocated to each IRF physical member port of other ACs in the IRF system to the corresponding AC.
Step 330, if the device role of the AC is the slave device of the IRF system, receiving the different port MACs allocated to each IRF physical member port of the AC sent by the master device of the IRF system, and storing the allocated port MACs in the MAC address table.
It can be seen from the above embodiments that different port MAC addresses are allocated to each IRF physical member port of all ACs in the IRF system, so that a data packet sent by each IRF physical member port has the port MAC address of the IRF physical member port, and thus, a two-layer network device receiving the data packet can select different IRF links according to different port MAC addresses for load sharing, thereby avoiding a situation where some IRF link is congested and other IRF links are idle, and improving packet forwarding efficiency.
Fig. 4 is a flowchart of an embodiment of the message forwarding method of the present application, where the method is applied to a two-layer network device in a star IRF system, and the AC may be the two-layer network device in fig. 1. As shown in fig. 4, the message forwarding method includes the following steps 410 and 430:
step 410, receiving a data message sent by any AC in the IRF system, where a source MAC address of the data message is a port MAC address of an IRF physical member port in the AC for sending the data message.
In this embodiment of the present application, a source MAC address of a data packet is a port MAC address of an IRF physical member port used for sending the data packet in an AC, instead of an MAC address of the AC, so that source MAC addresses of data packets sent by the same AC through different IRF physical member ports are different.
Such as: in the data message sent by the AC1 through G1/1 and received by the layer two network device in fig. 1, the source MAC address is the port MAC address of G1/1, i.e. 1-1-1-4.
Step 420, determining an aggregation member port for forwarding the data packet according to the port MAC address in the data packet.
In the embodiment of the application, the two-layer network device is created with an aggregation port connected with each AC in the star-type IRF system.
In an embodiment, when determining an aggregation member port for forwarding a data packet according to a port MAC address in the data packet, the following method may be adopted:
determining an aggregation port for forwarding the data message according to a destination MAC address of the data message, wherein the aggregation port at least comprises two aggregation member ports;
and selecting one aggregation member port from the aggregation ports, and using the selected aggregation member port as an aggregation member port for forwarding the data message.
Referring to fig. 1, the two-layer network device is created with four aggregation ports B1, B2, B3 and B4, which are connected to AC1, AC2, AC3 and AC4, respectively. The method specifically comprises the following steps: g1, G2 and G3 in B1 are respectively connected with G1/1, G1/2 and G1/3 of AC 1; g4, G5 and G6 in B2 are respectively connected with G1/1, G1/2 and G1/3 of AC 1; g7, G8 and G9 in B3 are respectively connected with G1/1, G1/2 and G1/3 of AC 1; g10, G11 and G12 in B4 are respectively connected with G1/1, G1/2 and G1/3 of AC 1;
if a two-layer network device receives a data message which needs to be sent to an AC2 by an AC1, an aggregation port, that is, B2, connected to the AC2 is determined, and then one aggregation member port, that is, one of G4, G5, and G6, is selected from the B2 and used as an aggregation member port for forwarding the data message.
A default load algorithm (the default algorithm may be hashed according to the source MAC or according to the quintuple) is generally adopted when the aggregation member port is selected, so that all data packets sent by the AC1 are easily and uniformly sent from the G4, the G5, and the G6 to the AC 2.
Such as: in 1200M cross-board traffic from AC1 to AC2, a two-layer network device can load 400M cross-board traffic with a source MAC address of 1-1-1-4 to an IRF link where G4 is located according to a default load algorithm; loading 400M cross-board traffic with a source MAC address of 1-1-1-5 to an IRF link where G5 is located; the 400M cross-board traffic load with the source MAC address of 1-1-1-6 is carried to the IRF link where G6 is located, so that the situation that a certain IRF link is congested and other IRF links are idle is avoided, and the message forwarding efficiency is improved.
Step 430, sending the data message to another AC in the IRF system through the IRF link where the aggregation member port is located.
It can be seen from the above embodiments that different IRF links can be selected for load sharing according to different source MAC addresses, thereby avoiding a situation where a certain IRF link is congested and other IRF links are idle, and improving the message forwarding efficiency.
Corresponding to the embodiment of the message forwarding method, the application also provides an embodiment of a message forwarding device.
The embodiment of the message forwarding device can be applied to any AC in the IRF system. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. The software implementation is taken as an example, and is formed by reading corresponding computer program instructions in the nonvolatile memory into the memory for operation through the processor of the device where the software implementation is located as a logical means. From a hardware level, as shown in fig. 5, the hardware structure diagram of the device where the message forwarding apparatus is located in the present application is shown, except for the processor, the network interface, the memory and the nonvolatile memory shown in fig. 5, the device where the apparatus is located in the embodiment may also include other hardware, such as a forwarding chip responsible for processing a message, and the like; the device may also be a distributed device in terms of hardware structure, and may include multiple interface cards to extend the management of the disk partition table at the hardware level.
Referring to fig. 6, which is a block diagram of an embodiment of a message forwarding apparatus according to the present application, the apparatus may be applied to any AC in an IRF system, where the AC may be any one of AC1, AC2, AC3, and AC4 in fig. 1, and is connected to other ACs through a two-layer network device. The apparatus may include: an IRF physical member port determining unit 61, a finding unit 62, a first replacing unit 63 and a first transmitting unit 64.
An IRF physical member port determining unit 61, configured to determine, when receiving a data packet sent by a local terminal, an IRF physical member port for forwarding the data packet;
a searching unit 62, configured to search for a determined port MAC address of an IRF physical member port from an obtained MAC address table, where the MAC address table includes port MAC addresses of all IRF physical member ports of the AC local area, and the port MAC addresses of all IRF physical member ports are different from each other;
a first replacing unit 63, configured to replace the source MAC address of the data packet with the found port MAC address;
and the first sending unit 64 is configured to send the data packet with the found port MAC address to the two-layer network device through the IRF link where the determined IRF physical member port is located.
It can be seen from the above embodiments that, by replacing the source MAC address of the data packet with the port MAC address of the IRF physical member port for forwarding the data packet, the source MAC addresses of the data packets forwarded by the same AC through different IRF physical member ports are different, so that the two-layer network device receiving the data packet can select different IRF links according to different port MAC addresses for load sharing, thereby avoiding a situation where some IRF link is congested and other IRF links are idle, and improving the packet forwarding efficiency.
In an optional implementation, the apparatus may further include: an allocation unit, a second transmission unit and a reception unit (not shown in fig. 6).
An allocating unit, configured to allocate, if a device role of the AC is a master device of the IRF system, different port MAC addresses to each IRF physical member port of all ACs in the IRF system, where the allocated port MAC addresses are also different from MAC addresses of all ACs in the IRF system and MAC addresses of the two-layer network devices;
a second sending unit, configured to store, in the MAC address table, port MAC addresses allocated to each IRF physical member port of the AC, and send, to the respective corresponding ACs, port MAC addresses allocated to each IRF physical member port of another AC in the IRF system;
a receiving unit, configured to receive, if the device role of the AC is a slave device of the IRF system, different port MACs that are sent by a master device of the IRF system and allocated to each IRF physical member port of the AC, and store the allocated port MACs in the MAC address table.
In an optional implementation manner, the allocation unit may include: an initiation subunit, a first judgment subunit, a first allocation subunit, a second allocation subunit, an increment subunit, a second judgment subunit, a third allocation subunit, a fourth allocation subunit, a third judgment subunit, a fifth allocation subunit, and a sixth allocation subunit (not shown in fig. 6).
The starting subunit is used for taking an AC in the IRF system as a starting AC, and increasing a designated numerical value to the MAC address of the starting AC to obtain a first MAC address;
a first judging subunit, configured to judge whether the first MAC address is different from MAC addresses of other ACs in the IRF system and an address MAC of the layer two network device;
a first allocating subunit, configured to allocate, if the determination result of the first determining subunit is yes, the first MAC address to an IRF physical member port on the initial AC, where the first MAC address is used as a port MAC address of the IRF physical member port;
a second sub-allocating unit, configured to, if the determination result of the first determining sub-unit is negative, increment the specified value on the first MAC address to obtain a second MAC address, use the second MAC address as the first MAC address, return to the first determining sub-unit, and perform a step of determining whether the first MAC address is different from the MAC addresses of other ACs in the IRF system and the address MAC of the layer two network device, until a second MAC address that is different from the MAC addresses of other ACs in the IRF system and the address MAC of the layer two network device is obtained, and allocate the second MAC address to an IRF physical member port on the starting AC, where the second MAC address is used as a port MAC address of the IRF physical member port;
the increment subunit is configured to increment the specified value by the port MAC address of the IRF physical member port to obtain a third MAC address;
a second determining subunit, configured to determine whether the third MAC address is different from MAC addresses of other ACs in the IRF system and an address MAC of the layer two network device;
a third sub-allocating unit, configured to, if the determination result of the second determining sub-unit is yes, allocate the third MAC address to another IRF physical member port on the starting AC, use the another IRF physical member port as the IRF physical member port, return to the incrementing sub-unit, and perform the step of incrementing the port MAC address of the IRF physical member port by the specified value to obtain a third MAC address until all the IRF physical member ports of the starting AC are allocated with port MAC addresses;
a fourth sub-unit, configured to, if the determination result of the second determining sub-unit is negative, increment the specified value for the third MAC address to obtain a fourth MAC address, use the fourth MAC address as the third MAC address, return to the second determining sub-unit to perform the step of determining whether the third MAC address is different from the MAC addresses of other ACs in the IRF system and the address MAC of the layer two network device, until a fourth MAC address that is different from the MAC addresses of other ACs in the IRF system and the address MAC of the layer two network device is obtained and allocated to the IRF physical member port, return to the incrementing sub-unit to perform the step of incrementing the port MAC address of the IRF physical member port by the specified value to obtain a third MAC address;
a third judging subunit, configured to judge whether a MAC address of another AC in the IRF system is located in a MAC address interval formed by a MAC address of an AC to which a port MAC address has been allocated and a MAC address of an allocated port;
a fifth allocating unit, configured to, if a determination result of the third determining subunit is yes, use the another AC as the initial AC, use the maximum MAC address in the MAC address interval as the MAC address of the initial AC, return to the initial subunit, and perform a step of performing incremental value assignment on the MAC address of the initial AC to obtain the first MAC address until all the IRF physical member ports of all the ACs in the IRF system are allocated with port MAC addresses;
and a sixth allocating subunit, configured to, if the determination result of the third determining subunit is negative, use the another AC as the starting AC, and return to the starting subunit to execute a step of incrementing a specified value for the MAC address of the starting AC to obtain the first MAC address.
It can be seen from the above embodiments that different port MAC addresses are allocated to each IRF physical member port of all ACs in the IRF system, so that a data packet sent by each IRF physical member port has the port MAC address of the IRF physical member port, and thus, a two-layer network device receiving the data packet can select different IRF links according to different port MAC addresses for load sharing, thereby avoiding a situation where some IRF link is congested and other IRF links are idle, and improving packet forwarding efficiency.
In an optional implementation, the apparatus may further include: a second replacement unit and a third sending unit (not shown in fig. 6).
The second replacing unit is used for replacing the source MAC address of the heartbeat message with the MAC address of the local AC when the heartbeat message sent by the local terminal is received;
and a third sending unit, configured to send the heartbeat packet with the MAC address of the AC to the layer-two network device.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (8)

1. A message forwarding method is applied to any Access Controller (AC) in an Intelligent Resilient Framework (IRF) system, wherein the AC is connected with other ACs in the IRF system through a two-layer network device in the IRF system, and the method comprises the following steps:
when a data message sent by a local terminal is received, an IRF physical member port for forwarding the data message is determined;
searching the determined port MAC address of the IRF physical member port from an obtained MAC address table, wherein the MAC address table comprises the port MAC addresses of all the IRF physical member ports of the AC local, and the port MAC addresses of all the IRF physical member ports are different from one another;
replacing the source MAC address of the data message with the searched port MAC address;
and sending the data message with the searched port MAC address to the two-layer network equipment through the determined IRF link where the IRF physical member port is located.
2. The method of claim 1, further comprising:
if the device role of the AC is the main device of the IRF system, different port MAC addresses are allocated to all IRF physical member ports of all the ACs in the IRF system, and the allocated port MAC addresses are also different from the MAC addresses of all the ACs in the IRF system and the MAC addresses of the two-layer network devices;
storing port MAC addresses distributed to all IRF physical member ports of the AC into the MAC address table, and sending port MAC addresses distributed to all IRF physical member ports of other ACs in the IRF system to the corresponding ACs;
if the device role of the AC is the slave device of the IRF system, receiving different port MACs which are sent by the master device of the IRF system and allocated to each IRF physical member port of the AC, and storing the allocated port MACs into the MAC address table.
3. The method according to claim 2, wherein said assigning different port MAC addresses to each IRF physical member port of all ACs in the IRF system comprises:
taking an AC in the IRF system as an initial AC, and increasing a designated numerical value for the MAC address of the initial AC to obtain a first MAC address;
judging whether the first MAC address is different from MAC addresses of other ACs in the IRF system and the address MAC of the two-layer network equipment;
if so, allocating the first MAC address to an IRF physical member port on the initial AC as a port MAC address of the IRF physical member port;
otherwise, incrementing the designated value for the first MAC address to obtain a second MAC address, taking the second MAC address as the first MAC address, returning to perform the step of determining whether the first MAC address is different from the MAC addresses of other ACs in the IRF system and the address MAC of the layer two network device, until obtaining the second MAC address which is different from the MAC addresses of other ACs in the IRF system and the address MAC of the layer two network device, and allocating the second MAC address to an IRF physical member port on the starting AC as a port MAC address of the IRF physical member port;
the specified numerical value is increased progressively for the port MAC address of the IRF physical member port to obtain a third MAC address;
judging whether the third MAC address is different from MAC addresses of other ACs in the IRF system and the MAC address of the two-layer network equipment;
if so, allocating the third MAC address to another IRF physical member port on the starting AC, taking the another IRF physical member port as the IRF physical member port, returning to execute the step of increasing the designated numerical value to the port MAC address of the IRF physical member port to obtain the third MAC address until all the port MAC addresses are allocated to all the IRF physical member ports of the starting AC;
otherwise, incrementing the designated value for the third MAC address to obtain a fourth MAC address, taking the fourth MAC address as the third MAC address, returning to perform the step of determining whether the third MAC address is different from the MAC addresses of other ACs in the IRF system and the address MAC of the layer two network device until obtaining the fourth MAC address which is different from the MAC addresses of other ACs in the IRF system and the address MAC of the layer two network device, and allocating the fourth MAC address to the IRF physical member port, and returning to perform the step of incrementing the designated value for the port MAC address of the IRF physical member port to obtain the third MAC address;
judging whether the MAC address of another AC in the IRF system is positioned in a MAC address interval formed by the MAC address of the AC with the allocated port MAC address and the MAC address of the allocated port;
if so, taking the other AC as the initial AC, taking the maximum MAC address in the MAC address interval as the MAC address of the initial AC, returning to execute the step of increasing the designated value of the MAC address of the initial AC to obtain a first MAC address until port MAC addresses are distributed to all IRF physical member ports of all the ACs in the IRF system;
otherwise, taking the other AC as the starting AC, and returning to execute the step of incrementing the MAC address of the starting AC by a specified value to obtain the first MAC address.
4. The method of claim 1, further comprising:
when a heartbeat message sent by a local terminal is received, replacing a source MAC address of the heartbeat message with an MAC address of the local AC;
and sending the heartbeat message with the MAC address of the AC to the two-layer network equipment.
5. A message forwarding device is applied to any Access Controller (AC) in an Intelligent Resilient Framework (IRF) system, wherein the AC is connected with other ACs in the IRF system through a two-layer network device in the IRF system, and the device comprises:
an IRF physical member port determining unit, configured to determine, when receiving a data packet sent by a local terminal, an IRF physical member port for forwarding the data packet;
a searching unit, configured to search for a determined port MAC address of an IRF physical member port from an obtained MAC address table, where the MAC address table includes port MAC addresses of all IRF physical member ports of the AC local area, and the port MAC addresses of all IRF physical member ports are different from each other;
a first replacing unit, configured to replace the source MAC address of the data packet with the found port MAC address;
and the first sending unit is used for sending the data message with the searched port MAC address to the two-layer network equipment through the determined IRF link where the IRF physical member port is located.
6. The apparatus of claim 5, further comprising:
an allocating unit, configured to allocate, if a device role of the AC is a master device of the IRF system, different port MAC addresses to each IRF physical member port of all ACs in the IRF system, where the allocated port MAC addresses are also different from MAC addresses of all ACs in the IRF system and MAC addresses of the two-layer network devices;
a second sending unit, configured to store, in the MAC address table, port MAC addresses allocated to each IRF physical member port of the AC, and send, to the respective corresponding ACs, port MAC addresses allocated to each IRF physical member port of another AC in the IRF system;
a receiving unit, configured to receive, if the device role of the AC is a slave device of the IRF system, different port MACs that are sent by a master device of the IRF system and allocated to each IRF physical member port of the AC, and store the allocated port MACs in the MAC address table.
7. The apparatus of claim 6, wherein the allocation unit comprises:
the starting subunit is used for taking an AC in the IRF system as a starting AC, and increasing a designated numerical value to the MAC address of the starting AC to obtain a first MAC address;
a first judging subunit, configured to judge whether the first MAC address is different from MAC addresses of other ACs in the IRF system and an address MAC of the layer two network device;
a first allocating subunit, configured to allocate, if the determination result of the first determining subunit is yes, the first MAC address to an IRF physical member port on the initial AC, where the first MAC address is used as a port MAC address of the IRF physical member port;
a second sub-allocating unit, configured to, if the determination result of the first determining sub-unit is negative, increment the specified value on the first MAC address to obtain a second MAC address, use the second MAC address as the first MAC address, return to the first determining sub-unit, and perform a step of determining whether the first MAC address is different from the MAC addresses of other ACs in the IRF system and the address MAC of the layer two network device, until a second MAC address that is different from the MAC addresses of other ACs in the IRF system and the address MAC of the layer two network device is obtained, and allocate the second MAC address to an IRF physical member port on the starting AC, where the second MAC address is used as a port MAC address of the IRF physical member port;
the increment subunit is configured to increment the specified value by the port MAC address of the IRF physical member port to obtain a third MAC address;
a second determining subunit, configured to determine whether the third MAC address is different from MAC addresses of other ACs in the IRF system and an address MAC of the layer two network device;
a third sub-allocating unit, configured to, if the determination result of the second determining sub-unit is yes, allocate the third MAC address to another IRF physical member port on the starting AC, use the another IRF physical member port as the IRF physical member port, return to the incrementing sub-unit, and perform the step of incrementing the port MAC address of the IRF physical member port by the specified value to obtain a third MAC address until all the IRF physical member ports of the starting AC are allocated with port MAC addresses;
a fourth sub-unit, configured to, if the determination result of the second determining sub-unit is negative, increment the specified value for the third MAC address to obtain a fourth MAC address, use the fourth MAC address as the third MAC address, return to the second determining sub-unit to perform the step of determining whether the third MAC address is different from the MAC addresses of other ACs in the IRF system and the address MAC of the layer two network device, until a fourth MAC address that is different from the MAC addresses of other ACs in the IRF system and the address MAC of the layer two network device is obtained and allocated to the IRF physical member port, return to the incrementing sub-unit to perform the step of incrementing the port MAC address of the IRF physical member port by the specified value to obtain a third MAC address;
a third judging subunit, configured to judge whether a MAC address of another AC in the IRF system is located in a MAC address interval formed by a MAC address of an AC to which a port MAC address has been allocated and a MAC address of an allocated port;
a fifth allocating unit, configured to, if a determination result of the third determining subunit is yes, use the another AC as the initial AC, use the maximum MAC address in the MAC address interval as the MAC address of the initial AC, return to the initial subunit, and perform a step of performing incremental value assignment on the MAC address of the initial AC to obtain the first MAC address until all the IRF physical member ports of all the ACs in the IRF system are allocated with port MAC addresses;
and a sixth allocating subunit, configured to, if the determination result of the third determining subunit is negative, use the another AC as the starting AC, and return to the starting subunit to execute a step of incrementing a specified value for the MAC address of the starting AC to obtain the first MAC address.
8. The apparatus of claim 5, further comprising:
the second replacing unit is used for replacing the source MAC address of the heartbeat message with the MAC address of the local AC when the heartbeat message sent by the local terminal is received;
and a third sending unit, configured to send the heartbeat packet with the MAC address of the AC to the layer-two network device.
CN201710203800.7A 2017-03-30 2017-03-30 Message forwarding method and device Active CN106982169B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710203800.7A CN106982169B (en) 2017-03-30 2017-03-30 Message forwarding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710203800.7A CN106982169B (en) 2017-03-30 2017-03-30 Message forwarding method and device

Publications (2)

Publication Number Publication Date
CN106982169A CN106982169A (en) 2017-07-25
CN106982169B true CN106982169B (en) 2020-01-03

Family

ID=59339271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710203800.7A Active CN106982169B (en) 2017-03-30 2017-03-30 Message forwarding method and device

Country Status (1)

Country Link
CN (1) CN106982169B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336759B (en) * 2018-12-26 2022-04-26 锐捷网络股份有限公司 RDMA (remote direct memory Access) -based protocol message forwarding method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729424B (en) * 2009-12-16 2012-09-26 杭州华三通信技术有限公司 Flow forwarding method, devices and system
CN102118319B (en) * 2011-04-06 2013-09-18 杭州华三通信技术有限公司 Traffic load balancing method and device
EP2811702A4 (en) * 2012-01-30 2015-08-26 Nec Corp Network system and topology management method
CN104023095B (en) * 2014-06-23 2017-07-14 新华三技术有限公司 A kind of virtual gateway Media Access Controlled address response method and apparatus
CN104092621B (en) * 2014-07-25 2017-11-14 新华三技术有限公司 A kind of load sharing method and device
CN106161272B (en) * 2016-08-31 2019-06-18 迈普通信技术股份有限公司 Realize the method and routing device of VRRP load balancing

Also Published As

Publication number Publication date
CN106982169A (en) 2017-07-25

Similar Documents

Publication Publication Date Title
CN105335229B (en) Scheduling method and device of service resources
CN108768692B (en) Network creation method, related equipment and system
CN107547391B (en) Message transmission method and device
US10979285B2 (en) Service transmission method, device, and system
CN101873269B (en) Data retransmission device and method for distributing buffer to ports
CN112753198B (en) Load balancing and message reordering method and device in network
CN101094185A (en) Method and device for forwarding message based on multilink
CN106533973B (en) Method, equipment and system for distributing service message
CN107113235B (en) Data routing method and device
CN105122747A (en) Control device and control method in software defined network (sdn)
CN107239347B (en) Equipment resource allocation method and device in virtual scene
CN104468568A (en) Virtual machine security isolation method
CN111371694B (en) Shunting method, device and system, processing equipment and storage medium
CN106130920A (en) A kind of message forwarding method and device
CN110768917B (en) Message transmission method and device
WO2018161795A1 (en) Routing priority configuration method, device, and controller
CN105530202A (en) Bandwidth allocation method and server
CN106982169B (en) Message forwarding method and device
CN105939262B (en) Label distribution method and device
CN106209634B (en) Learning method and device of address mapping relation
US10708193B2 (en) State synchronization for global control in a distributed security system
US9846658B2 (en) Dynamic temporary use of packet memory as resource memory
CN105847143A (en) VRRP (virtual router redundancy protocol)-based load balancing method and system
CN107046503B (en) Message transmission method, system and device
CN111600795B (en) Virtual edge device establishing method, controller and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant