[go: up one dir, main page]

CN109088819A - A kind of message forwarding method, interchanger and computer readable storage medium - Google Patents

A kind of message forwarding method, interchanger and computer readable storage medium Download PDF

Info

Publication number
CN109088819A
CN109088819A CN201810851651.XA CN201810851651A CN109088819A CN 109088819 A CN109088819 A CN 109088819A CN 201810851651 A CN201810851651 A CN 201810851651A CN 109088819 A CN109088819 A CN 109088819A
Authority
CN
China
Prior art keywords
network equipment
message
port
forwarded
equipment
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.)
Pending
Application number
CN201810851651.XA
Other languages
Chinese (zh)
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 Hefei Branch
Original Assignee
New H3C Technologies Co Ltd Hefei Branch
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 Hefei Branch filed Critical New H3C Technologies Co Ltd Hefei Branch
Priority to CN201810851651.XA priority Critical patent/CN109088819A/en
Publication of CN109088819A publication Critical patent/CN109088819A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/245Link aggregation, e.g. trunking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the present disclosure proposes a kind of message forwarding method, interchanger and computer readable storage medium, it is related to field of communication technology, when the distributed aggregation port of the first network equipment breaks down, by the way that the IPL corresponding to the IPP of the distributed aggregation port is added by the message transmissions to be forwarded to second network equipment, remain the corresponding MAC address entries of destination network device IP address and ARP entry that DR equipment A and DR equipment B learnt, it does not need to receive message again, relearn the corresponding forwarding-table item of Internet protocol address of destination network device, so that greatly improving the switch speed of DR system message forwarding, the case where decreasing packet loss.

Description

A kind of message forwarding method, interchanger and computer readable storage medium
Technical field
This disclosure relates to field of communication technology, it can in particular to a kind of message forwarding method, interchanger and computer Read storage medium.
Background technique
Striding equipment link aggregation technology (Multi-chassis link aggregation groups, referred to as: MLAG) is Striding equipment link aggregation is realized by the way that two physical equipments are invented an equipment in polymerization level, to provide device level Redundancy protecting and flow load sharing, and distributed elastic network interconnection (Distributed Resilient Network Interconnect, referred to as: DRNI) be exactly MLAG thought a kind of specific implementation.
In the prior art, in the network for using the progress networking of distributed aggregated link technology, if had between equipment The port trunking of striding equipment then forms a distributed relay (Distributed Relay, referred to as: DR) between these equipment System, these DR equipment in DR system neighbours each other, the equipment of neighbours is by internal control link (Intra- each other Portal Link, referred to as: IPL), such as: DR equipment A and DR equipment B etc., if the local distributed aggregation port event of DR equipment A Barrier, the flow from outer net side can be sent to by IPL an other DR equipment (such as: DR equipment B), all flows are by DR Equipment B forwarding.
But after the local distributed aggregation port failure of DR equipment A, two laminar flow amounts is caused to become wide from known unicast Broadcast, can just become known unicast after needing to have relearned forwarding-table item, three laminar flow amounts due to there is no forwarding-table item to lead to packet loss, It could be forwarded successfully after above relearning forwarding-table item, and forwarding-table item learning time is longer, causes performance of handoffs poor, It is not able to satisfy the convergent requirement of certain clients.
Summary of the invention
The embodiment of the present disclosure is designed to provide a kind of message forwarding method, interchanger and computer-readable storage medium Matter when solving the locally aggregated port whole failure of DR equipment in DR system, causes message in DR system to forward switch speed Slowly, the problem of being easy packet loss.
To achieve the goals above, the embodiment of the present disclosure the technical solution adopted is as follows:
In a first aspect, the embodiment of the present disclosure proposes a kind of message forwarding method, it is applied to first network equipment, described first The network equipment includes the internal control Port IP P being connect with second network equipment by internal control link IPL, and with it is described Second network equipment forms the distributed aggregation port of distributed paradigmatic system, which comprises
Receive the message to be forwarded for carrying destination network device internet protocol address;
When the distributed aggregation port of the first network equipment breaks down, by the way that the distributed aggregation port is added The IPL corresponding to IPP gives the message transmissions to be forwarded to second network equipment, is pressed by second network equipment Message to be forwarded is sent to destination network device according to the corresponding forwarding-table item of the message to be forwarded.
As described above, the method for determining that the distributed aggregation port of the first network equipment breaks down includes:
The working condition that each port in the distributed aggregation port is detected according to preset protocol, when each end When mouth reports DOWN, it is determined that the distributed aggregation port of the first network equipment breaks down.
As described above, the method is also wrapped after the distributed aggregation port failure of the first network equipment It includes:
When any port working state is UP by DOWN report, the distributed aggregation port of the first network equipment is extensive Multiple normal, message to be forwarded is sent to destination network device by the port by being restored to distributed aggregation port.
As described above, during the distributed aggregation port of the first network equipment breaks down or restores normal, Message to be forwarded can be sent to the corresponding destination network device of the forwarding-table item according to the forwarding-table item learnt.
As described above, the IPL corresponding to the IPP by the way that the distributed aggregation port is added is by the report to be forwarded Text was transferred to before the step of second network equipment, the method also includes:
Increase the field containing effective port mark on second network equipment in the message to be forwarded, when described When second network equipment receives the message to be forwarded, corresponding effective port is found by the mark.
Second aspect, the embodiment of the present disclosure also propose a kind of interchanger, comprising: first network equipment,
The first network equipment includes the internal control end being connect with second network equipment by internal control link IPL Mouth IPP, and the distributed aggregation port with the distributed paradigmatic system of second network equipment composition, the first network equipment Further include: receiving module and processing module;
The receiving module is for receiving the message to be forwarded for carrying destination network device internet ip protocol address;
The processing module is used for when the distributed aggregation port of the first network equipment breaks down, and target network is set The IPL corresponding to the standby IPP by the way that the distributed aggregation port is added is by the message transmissions to be forwarded to described second Message to be forwarded is sent to by second network equipment according to the corresponding forwarding-table item of the message to be forwarded by the network equipment Destination network device.
It is wrapped as described above, the processing module is used to determine that the distributed aggregation port of the first network equipment to break down It includes:
The processing module is used to detect the work shape of each port in the distributed aggregation port according to preset protocol State, when DOWN is reported in each described port, it is determined that the distributed aggregation port failure mesh of the first network equipment Mark the network equipment.
As described above, after the distributed aggregation port failure of the first network equipment, the processing module It is also used to when any port working state is UP by DOWN report, the distributed aggregation port of the first network equipment restores Normally, message to be forwarded is sent to destination network device by being restored to the port of distributed aggregation port.
As described above, during the distributed aggregation port of the first network equipment breaks down or restores normal, Message to be forwarded can be sent to the corresponding destination network device of the forwarding-table item according to the forwarding-table item learnt.
As described above, further include message editing module, the institute corresponding to the IPP by the way that the distributed aggregation port is added State IPL by the message transmissions to be forwarded to second network equipment the step of before, the message editing module is used for Increase the field containing effective port mark on second network equipment in the message to be forwarded, when second network is set For when receiving the message to be forwarded, corresponding effective port is found by the mark.
The third aspect, the embodiment of the present disclosure also propose a kind of computer readable storage medium, are stored thereon with computer journey Sequence when the computer program is read out by the processor and runs, realizes method described in any one of above-mentioned first aspect.
Compared with the prior art, the embodiment of the present disclosure has the advantages that
In the present embodiment, when the distributed aggregation port of the first network equipment breaks down, by first net The distributed aggregation port is added in the IPP of network equipment, retains corresponding turn of Internet protocol address of the destination network device Forwarding list item does not need to receive message again, relearns the corresponding forwarding-table item of Internet protocol address of destination network device, So that the case where greatly improving the switch speed of DR system message forwarding, decreasing packet loss, and work as first net When the distributed aggregation port failure vanishes of network equipment, corresponding turn of Internet protocol address of the destination network device is not updated Forwarding list item deletes the IPP of the first network equipment from the distributed aggregation port, the port of recovery is added distributed poly- Heal up, so as to quickly from IPP detour message introduce restore distributed aggregation port, thus avoid flow for a long time around Row improves forward efficiency.
Other feature and advantage of the disclosure will be illustrated in subsequent specification, also, partly be become from specification It is clear that by implementing embodiment of the present disclosure understanding.The purpose of the disclosure and other advantages can be by written theorys Specifically noted structure is achieved and obtained in bright book, claims and attached drawing.
Detailed description of the invention
It, below will be to needed in the embodiment attached in order to illustrate more clearly of the technical solution of the embodiment of the present disclosure Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the disclosure, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows DRNI network model schematic diagram in the prior art;
Fig. 2 shows failure handling mechanisms schematic diagrames in the prior art;
Fig. 3 shows the functional block diagram of first network equipment in interchanger provided by the embodiment of the present disclosure;
Fig. 4 shows the flow diagram of message forwarding method provided by the embodiment of the present disclosure.
Icon: DR equipment A- first network equipment;DR equipment second network equipment of B-;100- distribution aggregation port;200- Internal control Port IP P;10- receiving module;20- processing module;30- message editing module.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present disclosure, the technical solution in the embodiment of the present disclosure is carried out clear, complete Ground description, it is clear that described embodiment is only disclosure a part of the embodiment, instead of all the embodiments.Usually exist The component of the embodiment of the present disclosure described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, is not intended to limit the model of the claimed disclosure to the detailed description of the embodiment of the present disclosure provided in the accompanying drawings below It encloses, but is merely representative of the selected embodiment of the disclosure.Based on embodiment of the disclosure, those skilled in the art are not being made Every other embodiment obtained under the premise of creative work belongs to the range of disclosure protection.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile in the disclosure In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
The following each embodiments of the disclosure can be applied in interactive environment as shown in Figure 1, as shown in Figure 1, in DRNI, By more between distributed relay DR equipment A (hereinafter referred to as DR equipment A) and distributed relay DR equipment B (abbreviation DR equipment B) Ethernet link, which bundles, is formed by an Ethernet logical links (Bridge Aggregation Group, letter Claim: BAGG) connection.Each DR equipment includes that (Distributed Relay interface, DR connect distributed aggregation port Mouthful) and internal control link port (Intra-Portal Port, IPP), divide when needing to constitute between DR equipment A and DR equipment B When cloth polymerize (Distributed-Relay System, DR) system, at this point, DR system external is rendered as a forwarded Equipment, DR internal system DR equipment A and DR equipment B form load balancing, and DR equipment A and DR equipment B passes through equipment A respectively and sets The interface of DR interface and target device on standby B is formed by BAGG1 and BAGG2 and carries out message forwarding jointly, DR equipment A's Between the port IPP and the port IPP of DR equipment B BAGG3 link as internal control link (Intra-Portal Link, IPL), for transmitting DRNI protocol massages, while DR equipment A and DR equipment B can be mutually synchronized MAC address entries and ARP message, so that Both ends MAC address entries are consistent with ARP entry.It should be noted that the DR interface in same equipment is by equipment A or equipment B One or more port composition, the port can be two layers or three layers of polymer interfaces, the end on DR equipment A and DR equipment B When mouth connects the identical port on the same destination network device, then it is assumed that the port on DR equipment A and DR equipment B is added one point Cloth aggregation group, while also creating corresponding distributed aggregation port i.e. DR mouthful, DR number of devices in same DR system and often The quantity for the DR mouth that can be configured in platform DR equipment and without limitation.
Referring to fig. 2, in the prior art, in DRNI, DR equipment A and DR equipment B adjacent each other DR equipment, equipment C is Destination network device, if certain DR interface fault, i.e., the distributed aggregation port communicated with outer net side is faulty, at this point, from outer The flow of net side can be sent to an other DR equipment by internal control link (Intra-Portal Link, referred to as: IPL), All flows are by an other DR device forwards, and detailed process is as follows:
(1) certain DR interface fault of DR equipment A, outer net side do not perceive, and flow can still be sent to all DR equipment.
(2) the identical DR interface of DR equipment B is normal, then after DR equipment A receives the flow of outer net side access equipment C, passes through IPL is transmitted to equipment C after giving flow to DR equipment A.
(3) after fault recovery, the DR interface up of DR equipment A, flow is normally forwarded.
It is above-mentioned it is found that in the prior art if when the local distributed aggregation port of DR equipment B breaks down, distribution polymerization The forwarding-table item that mouth learnt all is deleted, and needs internal control port (Intra-Portal Port, the letter of DR equipment B Claim: IPP) again complete forwarding-table item study, can just continue to complete the forwarding of message, cause in this way DR system message forward Switching time it is long, also be easy packet loss, be unable to satisfy the convergent requirement of certain clients.
When the distributed aggregation port of DR equipment all breaks down, in order to promote the switching speed of DR system message forwarding Degree, present embodiments provides a kind of message forwarding method, in embodiments of the present invention, for convenience of explanation, to include the first net It is described for network equipment and the DR system of second network equipment.It should be noted that first network equipment and the second network Can be between equipment it is opposite, for example, then DR equipment B is then when the DR equipment A in Fig. 1 is as first network equipment Two network equipments;When the DR equipment B in Fig. 1 is as first network equipment, then DR equipment A is then second network equipment.
Referring to fig. 4, the first network equipment includes in being connect with second network equipment by internal control link IPL Portion control port IPP200, and the distributed aggregation port 100 with the distributed paradigmatic system of second network equipment composition, should Method the following steps are included:
S101, reception carry the message to be forwarded of destination network device internet protocol address.
Specifically, when the message to be forwarded that outside net is sent, which can be using broadcast or unknown unicast or unknown group It broadcasts (Broadcast/Unknownunicast/Unknown Multicast, BUM) form and gives DR equipment A and DR equipment B, at this In embodiment, DR equipment A can be received by distributed aggregation port 100 and be carried destination network device internet protocol address Message to be forwarded, and corresponding forwarding-table item is learnt according to the IP address of destination network device, which has media interviews Control (Media Access Control, referred to as: MAC) list item, address resolution protocol (Address Resolution Protocol, referred to as: ARP) list item, destination network device is specifically obtained by ARP according to the IP address of destination network device MAC Address.
S102, when the distributed aggregation port of the first network equipment breaks down, it is described distributed poly- by being added The IPL corresponding to the IPP to heal up gives the message transmissions to be forwarded to second network equipment, by second network Message to be forwarded is sent to destination network device according to the corresponding forwarding-table item of the message to be forwarded by equipment.
Specifically, in the normal working mechanism of DRNI, after DR system starts, meeting between DR equipment A and DR equipment B Real-time synchronization information, such as: it can be synchronous MAC address entries and ARP entry etc., when the distributed aggregation port of the DR equipment A goes out When existing failure, i.e. when port in DR equipment A in the distributed aggregation port of composition is broken down, first net can be enabled immediately Message to be forwarded is given the IPP of second network equipment by IPP in network equipment by IPL link transmission, message to be forwarded from IPL It is introduced into DR equipment B, by the way that distributed aggregation port is added in the IPP of first network equipment, to set when the first network When standby distributed aggregation port breaks down, it is corresponding to retain the destination network device IP address that DR equipment A and DR equipment B learnt MAC address entries and ARP entry, still message to be forwarded can be issued into destination network device, so that any one network Equipment fault all will not influence the forwarding of flow, and destination network device does not also perceive, and guarantee that normal business will not interrupt.
In the present embodiment, when the distributed aggregation port of the first network equipment breaks down, by by the first net Distributed aggregation port is added in the IPP of network equipment, remains the destination network device IP address that DR equipment A and DR equipment B learnt Corresponding MAC address entries and ARP entry do not need to receive message again, with relearning the Internet protocol of destination network device The corresponding forwarding-table item in location decreases the feelings of packet loss so that greatly improving the switch speed of DR system message forwarding Condition.
Further, determine the first network equipment distributed aggregation port break down method include:
The working condition that each port in the distributed aggregation port is detected according to preset protocol, when each end When mouth reports DOWN, it is determined that the distributed aggregation port of the first network equipment breaks down.
In the present embodiment, in the normal working mechanism of DRNI, after DR system starts, DR equipment A and DR equipment B It will do it identical system configuration, and determine the master slave mode of equipment A and equipment B, wherein DR equipment A and DR equipment B passes through The state of Keepalive message protocol detection neighbours is sent to Keepalive isl cycle, i.e. detection DR equipment A and DR is set For the working condition of each port in aggregation port distributed in B, only when whole ends in the distributed aggregation port of DR equipment A Mouth is when running the operating status of abnormal DOWN, it is determined that the distributed aggregation port failure of DR equipment A, but at this point, such as Having port in the distributed aggregation port of fruit DR equipment B is the state of normal operation UP, then DR system then can be to destination network device It is always maintained at the state of normal operation UP, accordingly even when the distributed aggregation port of DR equipment A breaks down, but on DR equipment B There is available distributed aggregation port, so appearing to be UP global for destination network device, in such DR equipment A originally The MAC table and ARP table of the local distributed aggregation port learnt would not be also deleted, two layers, three layers of the network equipment It is forwarded with the forwarding-table item for inquiring original.
Further, after the distributed aggregation port failure of the first network equipment, the method is also wrapped It includes:
When any port working state is UP by DOWN report, the distributed aggregation port of the first network equipment is extensive Multiple normal, message to be forwarded is sent to destination network device by the port by being restored to distributed aggregation port.
Specifically, DR equipment A and DR equipment B sends Keepalive message protocol by Keepalive isl cycle The state of neighbours is detected, that is, detects the working condition of each port in distributed aggregation port in DR equipment A and DR equipment B, when The working condition of the either port in the distributed aggregation port of DR equipment A is reported to become normal operation UP from running abnormal DOWN When, it is determined that the distributed aggregation port of DR equipment A can restore normally, at this point, DR equipment A distribution aggregation port can be again When work, restore the normal working mechanism of DR system, then leads back the message for the IPL that needs to detour before again local distributed poly- It heals up, is transmitted to destination network device to realize from DR equipment A.
It is extensive in first time hair existing port when multiple ports in the distributed aggregation port on DR equipment A need to restore When multiple, IPP will be exited to distributed aggregation port, distributed aggregation port is added in the port for restoring normal operating condition, in this way MAC address entries and ARP entry are that message to be forwarded is forwarded to target by distributed aggregation port always there is no being refreshed again The network equipment, so flow can immediately enter DR equipment A and locally forward, detour the time forwarded to reduce flow, Improve forward efficiency.
Optionally, it in above-mentioned steps, breaks down or restores just in the distributed aggregation port of the first network equipment In normal process, message to be forwarded can be sent to the corresponding target network of the forwarding-table item according to the forwarding-table item learnt Network equipment.
No matter specifically, the distributed aggregation port in DR equipment A or DR equipment B breaks down or restores normal In the process, if the connection operating status of the port of the port and destination network device that are distributed in formula aggregation port be it is normal, Then message to be forwarded can be sent to the corresponding destination network device of the forwarding-table item according to the forwarding-table item learnt, no The operation that can be deleted forwarding-table item, be updated detours the time forwarded to reduce flow, improves forward efficiency.
In addition, in the present embodiment, when multiple ports in aggregation port distributed in DR equipment A are broken down simultaneously, IPP member will be added to the distribution aggregation port, therefore, the flow ingredient gone out from IPP is more complex, existing IPP's itself It E-Packets, and is distributed multiple ports in formula aggregation port and is introduced through the message come, do not needed in the present embodiment to these messages Increase special field to be distinguish, after these flows enter opposite end DR equipment B, the IPP mouth being still considered in DR equipment B is connect It receives, rather than which port is received in distributed aggregation port in DR equipment A, directly searches common forwarding table and is forwarded , do not need to be concerned about be which port is introduced through the message come in which distributed aggregation port.
In the present embodiment, the behavior for receiving message for IPP mouthfuls is not make any changes, and it is simple that comparison is achieved It is single.
Further, the IPL corresponding to the IPP by the way that the distributed aggregation port is added is by the report to be forwarded Text was transferred to before the step of second network equipment, the method also includes:
Increase the field containing effective port mark on second network equipment in the message to be forwarded, when described When second network equipment receives the message to be forwarded, corresponding effective port is found by the mark.
Specifically, DR equipment A by the IPL by the message transmissions to be forwarded to DR equipment B the step of before, can To increase classification TAG label in the message to be forwarded, effective port mark in distributed aggregation port is contained in DR equipment B in the inside Field, such as the ID of effective port, so that message, which has arrived on the DR equipment B of opposite end, can directly find distribution by the ID of port The message to be forwarded is forwarded by the port in formula aggregation port after then peeling increased TAG off, can not have to rely on so general Logical forwarding-table item.
Further, in the present embodiment, cannot occur the addition in first network equipment in distributed aggregation port simultaneously The port of distributed aggregation group and IPP, are only capable of alternative.
In the present embodiment, when the distributed aggregation port of the first network equipment breaks down, by first net The distributed aggregation port is added in the IPP of network equipment, retains corresponding turn of Internet protocol address of the destination network device Forwarding list item does not need to receive message again, relearns the corresponding forwarding-table item of Internet protocol address of destination network device, So that the case where greatly improving the switch speed of DR system message forwarding, decreasing packet loss, and work as first net When the distributed aggregation port failure vanishes of network equipment, corresponding turn of Internet protocol address of the destination network device is not updated Forwarding list item deletes the IPP of the first network equipment from the distributed aggregation port, the port of recovery is added distributed poly- Heal up, so as to quickly from IPP detour message introduce restore distributed aggregation port, thus avoid flow for a long time around Row improves forward efficiency.
It referring to figure 3., is the functional block diagram of first network equipment provided by the embodiment of the present disclosure.It needs to illustrate , first network equipment provided by the present embodiment, the technical effect of basic principle and generation and aforementioned corresponding method Embodiment is identical, to briefly describe, does not refer to part in the present embodiment, can refer to the corresponding contents in embodiment of the method.This One network equipment can be the network equipments such as computer, notebook, server, router, be mainly used for promotion DR system report The switch speed of text forwarding.In the present embodiment, by taking interchanger as an example, which includes that (referred to as: DR is set first network equipment Standby A) and second network equipment (referred to as: DR equipment B), the first network equipment A includes passing through inside with second network equipment The internal control Port IP P200 of link IPL connection is controlled, and is formed with second network equipment (referred to as: DR equipment B) The distributed aggregation port 100 of distributed paradigmatic system, the first network equipment further include receiving module 10 and processing module 20;
The receiving module 10 is for receiving the message to be forwarded for carrying destination network device internet ip protocol address;
The processing module 20 is used for when the distributed aggregation port of the first network equipment breaks down, target network Equipment by be added the IPL corresponding to the IPP of the distributed aggregation port will the message transmissions to be forwarded to described the Two network equipments are sent message to be forwarded according to the corresponding forwarding-table item of the message to be forwarded by second network equipment To destination network device.
It is appreciated that first network equipment A can execute above-mentioned steps S101, step S102.
Further, the processing module 20 is used to determine that the distributed aggregation port of the first network equipment to break down Include:
The processing module 20 is used to detect the work of each port in the distributed aggregation port according to preset protocol State, when DOWN is reported in each described port, it is determined that the distributed aggregation port of the first network equipment breaks down Destination network device.
It is appreciated that first network equipment A can execute above content.
Further, when the first network equipment distributed aggregation port failure after, the processing module 20 are also used to when any port working state is UP by DOWN report, and the distributed aggregation port of the first network equipment is extensive Multiple normal, message to be forwarded is sent to destination network device by the port by being restored to distributed aggregation port.
It is appreciated that first network equipment A can execute above content.
Optionally, during the distributed aggregation port of the first network equipment breaks down or restores normal, Message to be forwarded can be sent to the corresponding destination network device of the forwarding-table item according to the forwarding-table item learnt.
It is appreciated that first network equipment A can execute above content.
Further, which further includes message editing module 30, in the IPP by the way that the distributed aggregation port is added Before the step of corresponding IPL gives the message transmissions to be forwarded to second network equipment, the message editing Module 30 works as institute for increasing the field containing effective port mark on second network equipment in the message to be forwarded When stating second network equipment and receiving the message to be forwarded, corresponding effective port is found by the mark.
It is appreciated that first network equipment A can execute above content.
The embodiment of the present disclosure provides a kind of computer readable storage medium, is stored thereon with computer program, the calculating When machine program is read out by the processor and runs, corresponding step in above method embodiment is realized.
Therefore, interchanger and computer readable storage medium provided by the disclosure can be set when the first network When standby distributed aggregation port breaks down, the distributed aggregation port is added in the IPP of the first network equipment, retains institute The corresponding forwarding-table item of Internet protocol address for stating destination network device, does not need to receive message again, relearns target The corresponding forwarding-table item of the Internet protocol address of the network equipment, so that greatly improving the switching of DR system message forwarding Speed, the case where decreasing packet loss, and when the distributed aggregation port failure vanishes of the first network equipment, institute is not updated The corresponding forwarding-table item of Internet protocol address for stating destination network device deletes described first from the distributed aggregation port Distributed aggregation port is added in the port of recovery by the IPP of the network equipment, and the message so as to quickly detour from IPP introduces extensive Multiple distributed aggregation port improves forward efficiency so that flow be avoided to detour for a long time.
It should be noted that, in this document, the relational terms of such as " first " and " second " or the like are used merely to one A entity or operation with another entity or operate distinguish, without necessarily requiring or implying these entities or operation it Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to Cover non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or setting Standby intrinsic element.In the absence of more restrictions, the element limited by sentence " including one ", it is not excluded that wrapping Include in the process, method, article or equipment of the element that there is also other identical elements.
The foregoing is merely preferred embodiment of the present disclosure, are not limited to the disclosure, for the skill of this field For art personnel, the disclosure can have various modifications and variations.It is all within the spirit and principle of the disclosure, it is made any to repair Change, equivalent replacement, improvement etc., should be included within the protection scope of the disclosure.It should also be noted that similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and explained.

Claims (11)

1. a kind of message forwarding method, it is applied to first network equipment, which is characterized in that the first network equipment includes and the Two network equipments pass through the internal control Port IP P of internal control link IPL connection, and form with second network equipment The distributed aggregation port of distributed paradigmatic system, which comprises
Receive the message to be forwarded for carrying destination network device internet protocol address;
When the distributed aggregation port of the first network equipment breaks down, by the IPP that the distributed aggregation port is added The corresponding IPL by the message transmissions to be forwarded give second network equipment, by second network equipment according to Message to be forwarded is sent to destination network device by the corresponding forwarding-table item of the message to be forwarded.
2. message forwarding method according to claim 1, which is characterized in that determine the distribution of the first network equipment Aggregation port break down method include:
The working condition that each port in the distributed aggregation port is detected according to preset protocol, when each described port is equal When reporting DOWN, it is determined that the distributed aggregation port of the first network equipment breaks down.
3. message forwarding method according to claim 2, which is characterized in that in the distribution for working as the first network equipment After aggregation port breaks down, the method also includes:
When any port working state is UP by DOWN report, the distributed aggregation port of the first network equipment restores just Often, message to be forwarded is sent to destination network device by being restored to the port of distributed aggregation port.
4. message forwarding method according to claim 2 or 3, which is characterized in that in the distribution of the first network equipment During formula aggregation port breaks down or restores normal, message to be forwarded can be sent to according to the forwarding-table item learnt The corresponding destination network device of the forwarding-table item.
5. message forwarding method according to claim 1, which is characterized in that by the way that the distributed aggregation port is added Before the step of IPL corresponding to IPP gives the message transmissions to be forwarded to second network equipment, the method is also Include:
Increase the field containing effective port mark on second network equipment in the message to be forwarded, when described second When the network equipment receives the message to be forwarded, corresponding effective port is found by the mark.
6. a kind of interchanger, comprising: first network equipment, which is characterized in that the first network equipment includes and the second network Equipment passes through the internal control Port IP P of internal control link IPL connection, and forms distribution with second network equipment The distributed aggregation port of paradigmatic system, the first network equipment further include: receiving module and processing module;
The receiving module is for receiving the message to be forwarded for carrying destination network device internet ip protocol address;
The processing module is used for when the distributed aggregation port of the first network equipment breaks down, and destination network device is logical It crosses and the IPL corresponding to the IPP of the distributed aggregation port is added by the message transmissions to be forwarded to second network Message to be forwarded is sent to target according to the corresponding forwarding-table item of the message to be forwarded by second network equipment by equipment The network equipment.
7. interchanger according to claim 6, which is characterized in that the processing module is for determining that the first network is set Standby distributed aggregation port breaks down
The processing module is used to detect the working condition of each port in the distributed aggregation port according to preset protocol, when When DOWN is reported in each described port, it is determined that the distributed aggregation port failure target network of the first network equipment Equipment.
8. interchanger according to claim 6, which is characterized in that in the distributed aggregation port for working as the first network equipment After failure, the processing module is also used to when any port working state is UP by DOWN report, and described first The distributed aggregation port of the network equipment restores normal, and message to be forwarded is sent to by the port by being restored to distributed aggregation port Destination network device.
9. interchanger according to claim 7 or 8, which is characterized in that in the distribution polymerization of the first network equipment During mouth breaks down or restores normal, message to be forwarded can be sent to described turn according to the forwarding-table item learnt The corresponding destination network device of forwarding list item.
10. interchanger according to claim 7, which is characterized in that further include: message editing module;
The IPL corresponding to the IPP by the way that the distributed aggregation port is added is by the message transmissions to be forwarded to described Before the step of second network equipment, the message editing module, which is used to increase in the message to be forwarded, contains described second The field that effective port identifies on the network equipment passes through institute when second network equipment receives the message to be forwarded It states mark and finds corresponding effective port.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program When being read out by the processor and running, the method according to claim 1 to 5 is realized.
CN201810851651.XA 2018-07-25 2018-07-25 A kind of message forwarding method, interchanger and computer readable storage medium Pending CN109088819A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810851651.XA CN109088819A (en) 2018-07-25 2018-07-25 A kind of message forwarding method, interchanger and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810851651.XA CN109088819A (en) 2018-07-25 2018-07-25 A kind of message forwarding method, interchanger and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109088819A true CN109088819A (en) 2018-12-25

Family

ID=64833344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810851651.XA Pending CN109088819A (en) 2018-07-25 2018-07-25 A kind of message forwarding method, interchanger and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109088819A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111953598A (en) * 2020-06-29 2020-11-17 联想(北京)有限公司 Distributed traffic forwarding method, device and system
CN113037565A (en) * 2021-03-29 2021-06-25 新华三信息安全技术有限公司 Message processing method and device
CN113259235A (en) * 2021-06-22 2021-08-13 浪潮思科网络科技有限公司 IPv 6-based dual-active route redundancy method and system
CN113992582A (en) * 2021-09-17 2022-01-28 新华三信息安全技术有限公司 Message forwarding method and device
WO2022077972A1 (en) * 2020-10-12 2022-04-21 华为技术有限公司 Mlag link failure switching method and apparatus
CN115190100A (en) * 2022-07-04 2022-10-14 中国联合网络通信集团有限公司 Data forwarding method, VTEP gateway, electronic device and readable storage medium
WO2022267937A1 (en) * 2021-06-21 2022-12-29 中兴通讯股份有限公司 Protocol calculation method, switch, cross-device link aggregation system, and storage medium
CN119210996A (en) * 2024-09-29 2024-12-27 新华三技术有限公司 A message forwarding method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731286A (en) * 2012-10-12 2014-04-16 中兴通讯股份有限公司 Method and device for distributing aggregation port IDs
CN105141521A (en) * 2015-09-21 2015-12-09 盛科网络(苏州)有限公司 Device and method of using protection switching mechanism to realize multi-system link aggregation
CN106330704A (en) * 2015-06-26 2017-01-11 杭州华三通信技术有限公司 Message forwarding method and apparatus
US20170142003A1 (en) * 2013-04-23 2017-05-18 Telefonaktiebolaget Lm Ericsson (Publ) Method and system of updating conversation allocation in link aggregation
CN107547370A (en) * 2017-09-25 2018-01-05 新华三技术有限公司 Flow forwarding method, apparatus and system
CN107547243A (en) * 2017-05-24 2018-01-05 新华三技术有限公司 A kind of message forwarding method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731286A (en) * 2012-10-12 2014-04-16 中兴通讯股份有限公司 Method and device for distributing aggregation port IDs
US20170142003A1 (en) * 2013-04-23 2017-05-18 Telefonaktiebolaget Lm Ericsson (Publ) Method and system of updating conversation allocation in link aggregation
CN106330704A (en) * 2015-06-26 2017-01-11 杭州华三通信技术有限公司 Message forwarding method and apparatus
CN105141521A (en) * 2015-09-21 2015-12-09 盛科网络(苏州)有限公司 Device and method of using protection switching mechanism to realize multi-system link aggregation
CN107547243A (en) * 2017-05-24 2018-01-05 新华三技术有限公司 A kind of message forwarding method and device
CN107547370A (en) * 2017-09-25 2018-01-05 新华三技术有限公司 Flow forwarding method, apparatus and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
THE INTERWORKING TASK GROUP OF IEEE 802.1: ""P802.1AX-REV/D4.3, July 2014 - IEEE Draft Standard for Local and Metropolitan Area Networks--Link Aggregation"", 《IEEE》 *
刘航: ""基于分布式聚合的角色分配与切换的算法研究"", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
魏月华,等: ""分布式链路聚合技术及其应用"", 《中兴通讯技术》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111953598A (en) * 2020-06-29 2020-11-17 联想(北京)有限公司 Distributed traffic forwarding method, device and system
CN111953598B (en) * 2020-06-29 2022-05-31 联想(北京)有限公司 Distributed traffic forwarding method, device and system
WO2022077972A1 (en) * 2020-10-12 2022-04-21 华为技术有限公司 Mlag link failure switching method and apparatus
CN113037565A (en) * 2021-03-29 2021-06-25 新华三信息安全技术有限公司 Message processing method and device
CN113037565B (en) * 2021-03-29 2022-04-01 新华三信息安全技术有限公司 Message processing method and device
WO2022267937A1 (en) * 2021-06-21 2022-12-29 中兴通讯股份有限公司 Protocol calculation method, switch, cross-device link aggregation system, and storage medium
CN113259235A (en) * 2021-06-22 2021-08-13 浪潮思科网络科技有限公司 IPv 6-based dual-active route redundancy method and system
CN113992582A (en) * 2021-09-17 2022-01-28 新华三信息安全技术有限公司 Message forwarding method and device
CN115190100A (en) * 2022-07-04 2022-10-14 中国联合网络通信集团有限公司 Data forwarding method, VTEP gateway, electronic device and readable storage medium
CN119210996A (en) * 2024-09-29 2024-12-27 新华三技术有限公司 A message forwarding method and device
CN119210996B (en) * 2024-09-29 2025-11-07 新华三技术有限公司 Message forwarding method and device

Similar Documents

Publication Publication Date Title
CN109088819A (en) A kind of message forwarding method, interchanger and computer readable storage medium
CN103338161B (en) A kind of method and apparatus realizing cross-equipment aggregation
US9608841B2 (en) Method for real-time synchronization of ARP record in RSMLT cluster
CN108306777B (en) SDN controller-based virtual gateway active/standby switching method and device
US9385944B2 (en) Communication system, path switching method and communication device
US20140301401A1 (en) Providing aggregation link groups in logical network device
CN103825766B (en) Device and method for detecting BFD links
US9692686B2 (en) Method and system for implementing a multi-chassis link aggregation group in a network
EP2356775A1 (en) Central controller for coordinating multicast message transmissions in distributed virtual network switch environment
CN105656645A (en) Decision making method and device for fault processing of stacking system
CN104486124A (en) Device and method for realizing multi-system link aggregation using logical ports
US8861334B2 (en) Method and apparatus for lossless link recovery between two devices interconnected via multi link trunk/link aggregation group (MLT/LAG)
US11050655B2 (en) Route information distribution through cloud controller
CN105656715A (en) Method and device for monitoring state of network device under cloud computing environment
JP4724763B2 (en) Packet processing apparatus and interface unit
CN106330783B (en) A method and device for reporting OpenFlow switch capability
CN111884922B (en) Local forwarding method for cross-device link aggregation
CN105281929B (en) A kind of service network interface state-detection and fault-tolerant devices and methods therefor
CN101170432A (en) A method for realizing multicast service protection switching and load balancing
CN101330404A (en) Method, system and device for managing network device port status
JP2013026928A (en) Failure management system and failure management method
US9634927B1 (en) Post-routed VLAN flooding
US9264303B2 (en) Protection switching method and system provision by a distributed protection group
US10797991B2 (en) Setting link aggregation group
CN103825767A (en) Method for achieving quality of service, terminal station and network bridge

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181225

RJ01 Rejection of invention patent application after publication