CN107547398A - Message forwarding method, device and equipment - Google Patents

Message forwarding method, device and equipment Download PDF

Info

Publication number
CN107547398A
CN107547398A CN201710370094.5A CN201710370094A CN107547398A CN 107547398 A CN107547398 A CN 107547398A CN 201710370094 A CN201710370094 A CN 201710370094A CN 107547398 A CN107547398 A CN 107547398A
Authority
CN
China
Prior art keywords
equipment
ipl
broadcasting packet
identification information
forwarding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710370094.5A
Other languages
Chinese (zh)
Other versions
CN107547398B (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 Information 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 CN201710370094.5A priority Critical patent/CN107547398B/en
Publication of CN107547398A publication Critical patent/CN107547398A/en
Application granted granted Critical
Publication of CN107547398B publication Critical patent/CN107547398B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This application discloses a kind of message forwarding method, device and equipment.The distributed relay DR equipment at same interior chain link IPL both ends is the first DR equipment and the 2nd DR equipment respectively, and methods described is included in the following steps performed in the first DR equipment:Determine that the IPL in the first DR equipment forwards broadcasting packet set according to preset strategy;When the first DR equipment receives broadcasting packet, judge that the identification information of the broadcasting packet whether there is in the IPL forwarding broadcasting packet set in the first DR equipment;If it is present the broadcasting packet is forwarded on the IPL, otherwise it is not forwarded on the IPL.The technical scheme of the application, it can avoid sending meaningless broadcasting packet, save bandwidth resources.

Description

Message forwarding method, device and equipment
Technical field
The application is related to network communication technology field, more particularly to message forwarding method, device and equipment.
Background technology
The distributed elastic network interconnection (DRNI, Distributed Resilient Network Interconnect) is A kind of striding equipment link aggregation technology, it can realize that two physical equipments join together to invent one by distributed aggregated link Platform logical device.Link aggregation technology provides the redundancy scheme inside transmission line, and link aggregation member is relatively redundancy And dynamic backup.Specifically several physical links " combination " of two equipment rooms are claimed into a data path in logic For an aggregated links.The link of General polymeric is merely able in an equipment, and the distributed aggregated link in IRF technologies DLA technologies use the striding equipment port trunking between publicly-owned two equipment of protocol realization.It is from upstream device aggregated links Link in ether equipment, the device transparency for supporting General polymeric.The link level failure provided relative to General polymeric is protected Shield, distributed aggregated link technology provide device level redundancy protecting.
The content of the invention
This application provides a kind of message forwarding method, device and equipment, to solve the above problems at least in part.
On the one hand, this application provides a kind of message forwarding method, the distributed relay at same interior chain link IPL both ends DR equipment is the first DR equipment and the 2nd DR equipment respectively, and methods described is included in the following steps performed in the first DR equipment:
Determine that the IPL in the first DR equipment forwards broadcasting packet set according to preset strategy;
When the first DR equipment receives broadcasting packet, judge that the identification information of the broadcasting packet whether there is in described first In IPL forwarding broadcasting packet set in DR equipment;
If it is present the broadcasting packet is forwarded on the IPL, otherwise it is not forwarded on the IPL.
On the other hand, this application provides a kind of apparatus for forwarding message, the DR equipment point at same interior chain link IPL both ends It is not the first DR equipment and the 2nd DR equipment, the apparatus for forwarding message is located in the first DR equipment, including:
Broadcast traffic management module, for determining that the IPL in the first DR equipment forwards broadcasting packet collection according to preset strategy Close;
Broadcast traffic forwarding module, for when the first DR equipment receives broadcasting packet, judging the mark of the broadcasting packet Information whether there is in the IPL forwarding broadcasting packet set in the first DR equipment;If it is present by the broadcasting packet It is forwarded on the IPL, otherwise is not forwarded on the IPL.
Present invention also provides the DR equipment in a kind of distributed aggregated link networking, the DR equipment includes as described above Apparatus for forwarding message.
The beneficial effect of the embodiment of the present application is:According to the scheme of the application, the IPL forwarding broadcast in DR equipment is first determined Message set, when DR equipment receives broadcasting packet, judge that the identification information of the broadcasting packet whether there is in the DR equipment IPL forwarding broadcasting packet set in, if it is present the broadcasting packet is forwarded on the IPL, otherwise be not forwarded on institute State on IPL, so as to avoid meaningless broadcasting packet is sent on IPL (i.e. DR equipment in opposite end will not carry out any forwarding again Broadcasting packet), save bandwidth resources.
Brief description of the drawings
Fig. 1 is a kind of flow chart of message forwarding method in the embodiment of the present application;
Fig. 2 is the configuration diagram for realizing such scheme in the embodiment of the present application;
Fig. 3 is in a kind of schematic diagram of distributed aggregated link networking in the embodiment of the present application;
Fig. 4 is a kind of structure chart of apparatus for forwarding message in the embodiment of the present application;
Fig. 5 is the structural representation of the DR equipment in a kind of distributed aggregated link networking in the embodiment of the present application;
Fig. 6 is a kind of structural representation of DR equipment of the application another embodiment offer.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the application.
It is only merely for the purpose of description specific embodiment in term used in this application, and is not intended to be limiting the application. " one kind " of singulative used in the application and appended claims, " described " and "the" are also intended to including majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wrapped Containing the associated list items purpose of one or more, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, do not departing from In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
In the network for employing the progress networking of distributed aggregated link technology, if having striding equipment between two equipment Port trunking, then this two equipment form distributed relay (DR, a Distributed Relay) systems, this two equipment Between be connected by General polymeric link, the link is referred to as interior chain link (IPL, Intra- in distributed aggregated link networking Portal Link).For convenience of description, in this manual, the DR equipment at same IPL both ends is referred to as the first DR Equipment and the 2nd DR equipment.One of ordinary skill in the art is it will be understood that the two titles can exchange.First DR Equipment is received by DR ports and is forwarded to second up to IPL opposite ends by IPL after the broadcasting packet of the equipment from DR links opposite end DR equipment, the 2nd DR equipment can not forward from DR ports again, and otherwise the equipment of DR links opposite end will receive oneself transmission Message, cause broadcast loops.In order to avoid this problem, an isolation group is established in the overall situation, by IPP mouths (ports at IPL both ends) With all DR port isolations, ensure that the broadcast traffic that DR equipment receives from IPP mouths will not forward from DR ports.This feelings Under condition, by broadcasting packet by IPL be sent to IPL opposite ends neighbours DR equipment can only allow some invalid flows on link it is white White occupied bandwidth, waste bandwidth resource.
The core concept of the application is:First determine to need the broadcasting packet set forwarded on IPL, then receiving broadcast During message, judge whether the broadcasting packet belongs to the set, belong to, be forwarded on IPL, be not belonging to, be not forwarded on IPL On, so as to reach the purpose for saving bandwidth resources.
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with accompanying drawing to the application embodiment party Formula is described in further detail.
Fig. 1 is a kind of flow chart of message forwarding method in the embodiment of the present application.Wrapped in distributed aggregated link networking Multiple distributed relay DR equipment and multiple interior chain link IPL are included, wherein the DR equipment point at same interior chain link IPL both ends It is not the first DR equipment and the 2nd DR equipment, this method is included in the following steps performed in the first DR equipment:
Step S110, determine that the IPL in the first DR equipment forwards broadcasting packet set according to preset strategy.
Step S120, when the first DR equipment receives broadcasting packet, judge that the identification information of the broadcasting packet whether there is In the IPL forwarding broadcasting packet set in the first DR equipment;It is then to perform step S130;It is no, then perform step S140。
Step S130, the broadcasting packet is forwarded on the IPL.
Step S140, the broadcasting packet is not forwarded on the IPL.
In the embodiment of the present application, broadcasting packet refers to that needs broadcast the message of processing, including broadcast in the narrow sense Message (message that i.e. target MAC (Media Access Control) address is full F), in addition to:Unknown unicast message, unknown multicast packets, in addition to specific association View needs to broadcast message of processing etc..
The IPL forwarding broadcasting packet set in DR equipment is determined first, when DR equipment receives broadcasting packet, judges that this is wide The identification information for reporting text whether there is in the IPL forwarding broadcasting packet set in the DR equipment, if it is present this is wide Report text to be forwarded on the IPL, otherwise be not forwarded on the IPL, meaningless broadcast report is sent on IPL so as to avoid Literary (i.e. DR equipment in opposite end will not carry out the broadcasting packet of any forwarding again), saves bandwidth resources.
In embodiments herein, determine that the IPL in the first DR equipment is forwarded extensively according to preset strategy in step S110 Reporting collected works and closing includes following three kinds of schemes:
Scheme 1:Determined to need the mark to the IPL broadcasting packets forwarded according to the local decision-making strategy of the first DR equipment Know information aggregate, referred to as the first message identification information aggregate, set the first message identification information aggregate as the first DR Standby upper IPL forwarding broadcasting packet set.
Scheme 2:Receive the second message identification information aggregate of the 2nd DR equipment transmission, the second message identification information aggregate It is the identification information collection according to the needs that the local decision-making strategy of the 2nd DR equipment determines to the IPL broadcasting packets forwarded Close, broadcasting packet set is forwarded using the second message identification information aggregate as the IPL in the first DR equipment.
Scheme 3:The union of the first message identification information aggregate and the second message identification information aggregate is taken, as IPL forwarding broadcasting packet set in the first DR equipment.
, each other can be by wide between the first DR equipment and the 2nd DR equipment of neighbours in one embodiment of the application Broadcast forwarding notice message and inform identification information of the other side according to the needs that local decision-making strategy determines to the IPL broadcasting packets forwarded Set.
In one embodiment of the application, if using foregoing scheme 3, the method shown in Fig. 1 further comprises: First DR equipment sends the first described message identification information aggregate to the 2nd DR equipment.So, the 2nd DR equipment also can be by According to the method shown in Fig. 1 and foregoing scheme 3, the broadcast for needing to forward determined by body and the first DR equipment to IPL is derived from The union of message, just transferred it to for the broadcasting packet for belonging to the union on IPL, the broadcast report for being not belonging to the union Text is not transferred it on IPL, so as to save bandwidth resources.
In embodiments herein, a DR equipment, such as by taking the first DR equipment as an example, when the first DR equipment locally has not The distribution added on the service link of distributed aggregated links, or the first DR equipment or the 2nd DR equipment of IPL opposite ends is gathered When closing link failure, it is determined that needing to forward broadcasting packet to the IPL.
Wherein, perceiving the failure of the first DR equipment or the distributed aggregated links in the 2nd DR equipment can be included as next Kind is a variety of:
(1) failure (DWON) of physical link and the state by fault recovery (UP) are detected;
(2) the distributed aggregated link failures notice of DR ports opposite equip. is received;
(3) link failure is detected by detection protocol.Such as pass through link detecting protocol detection link failure, including ether Net OAM (Operations, Administration and Maintenance, Operations, Administration and Maintenance), BFD (Bidirectional Forwarding Detection) detection interface etc.;For another example application protocol oneself detects failure, Such as Ping/Tracert, NQA (Network Quality Analyzer, Network Quality Analysis) linkage VLAN/VXLAN etc..
It is described to determine to need to the IPL according to the local decision-making strategy of the first DR equipment in embodiments herein The step of identification information set of the broadcasting packet of forwarding, includes:Distributed aggregated links is not added when the first DR equipment locally has Service link, or, during distributed aggregated link failures in the first DR equipment or the 2nd DR equipment, it is determined that needing to described IPL forwards broadcasting packet, and further determines that the identification information set needed to the IPL broadcasting packets forwarded.
In embodiments herein, the identification information of broadcasting packet can be specifically the mark of the business belonging to broadcasting packet Know information, or can also be other can characterize such broadcasting packet other attributes information.
In one embodiment of the application, according to Link State (the first DR equipment locally have does not add it is distributed poly- The service link of link is closed, or, the distributed aggregated link failures in the first DR equipment or the 2nd DR equipment) determine the first DR Equipment is needed after being E-Packeted to IPP mouths, further considers subscriber policy.I.e. user may decide that it is currently detected need it is past The broadcasting packet that IPP mouths are sent is accurate broadcast (only sending the message that must be broadcasted) or all broadcast.Therefore one is entered described in Step determines to specifically include the step of needing the identification information set to the IPL broadcasting packets forwarded:Check that subscriber policy is matched somebody with somebody Confidence breath is all broadcast or accurate broadcast;If all broadcast, it is determined that need to forward all business to the IPL Broadcasting packet;If accurate broadcast, it is determined that need the broadcasting packet to IPL forwarding part specified services;Record is true The fixed identification information set needed to the IPL broadcasting packets forwarded.Wherein, the part specified services include:Pass through The business of one DR device forwards, and non-DR interfaces or failure DR be present in the interface of the forwarding business in the first DR equipment and connect Mouthful.
Further explain, it is described if accurate broadcast, then determine to need to the IPL in the first DR equipment The broadcasting packet of forwarding specifically includes:Traversal through the business of the first DR device forwards, for passing through the first DR device forwards One business, if non-DR interfaces or failure DR interfaces be present in the interface of the forwarding business in the first DR equipment, it is determined that Need to forward the broadcasting packet of the business to the IPL.
If subscriber policy all to broadcast, after above-mentioned steps decision-making goes out to need to send broadcasting packet to IPL, owns Broadcast traffic is all sent to IPP mouths.If subscriber policy is accurate broadcast, the only broadcast traffic of specified services is just sent toward IPP mouths. So that main business is VLAN (Virtual LAN) and VXLAN (Virtual Extensible LAN) business as an example, in DR equipment The port that each business uses is recorded, whether for each business, distinguishing has DR ports in the port that it is used, if there is DR ports, Then after this DR port failure, record and identified corresponding to the business;If there are non-DR ports in the port that the business uses, herein Record after port working and identified corresponding to the business.The business is recorded when i.e. business has DR port failures or available non-DR ports Mark.When DR ports are available without DR port failures and nothing but for business, the mark of the business is deleted.The service identification that will be recorded Forwarding plane is issued to, the service identification progress after forwarding plane receives the broadcasting packet of some business with being recorded Match somebody with somebody, if including the mark of the business in the service identification recorded, the broadcasting packet of the business is forwarded to IPP.
Fig. 2 is the configuration diagram for realizing the above method in the embodiment of the present application.Port status includes physical port Recover (UP) and failure (DOWN), the logic fault status information of port of detection protocol discovery etc..If subscriber policy is accurate Broadcast, the needs in recording different types business forward the mark of the business of broadcasting packet to IPP.Here using type of service as Exemplified by VLAN and VXLAN, port status corresponding to its business is as shown in Table 1 and Table 2.
VLAN is identified DR ports and state Non- DR ports and state
2 Port 1 (OK), port 2 (fail) Port 3 (OK)
Table 1
VXLAN DR ports and state Non- DR ports and state
1 Port 2 (OK) Port 3 (OK)
3 Port 2 (OK)
Table 2
When topology status corresponding to port changes, Tables 1 and 2 updates therewith.According to foregoing decision strategy, due to The faulty DR ports in VLAN2 and VXLAN1,3 or available non-DR ports, therefore its broadcasting packet is required to be forwarded to IPP Mouthful.Therefore record the mark of these business and be issued to forwarding plane, forwarding plane maintenance service type and service identification, such as table Shown in 3:
Type of service Service identification
VLAN 2
VXLAN 1,3
Table 3
According to table 3, if receiving VLAN broadcast traffics, and belong to VLAN2, be then broadcast to IPP mouths;If receive VXLAN broadcast traffics, and VXLAN is identified as 1 or 3, then is broadcast to IPP mouths;If receive VLAN2, VXLAN1 and VXLAN3 Broadcast traffic in addition, then the IPP mouths do not broadcasted, to save bandwidth.
In one embodiment of the application, the method shown in Fig. 1 further comprises:When a DR equipment pass through it is described When IPL receives the broadcasting packet that opposite end DR equipment is sent, to the business for belonging to the broadcasting packet in this DR equipment and do not exist Port in isolation group forwards the broadcasting packet.
In order that the technical scheme for obtaining the application is clearer, opened up below with the distributed aggregated link networking shown in Fig. 3 Exemplified by flutterring, the technical scheme of the application is illustrated.Referring specifically to Fig. 3.
Fig. 3 is in a kind of schematic diagram of distributed aggregated link networking in the embodiment of the present application.Here distributed link Polymerization networking refers to the network for employing the progress networking of distributed aggregated link technology, that is, includes the net of distributed aggregated links Network.Referring to Fig. 3, in this distributed link aggregation group net, SW1, SW2, SW3 and SW4 can be two-layer switching equipments, also may be used To be three-layer switching equipment, you can be that interchanger can also be router.SW1 and SW2 forms a DR system, SW3 and SW4 A DR system is formed, in the industry in order to mutually be distinguished with General polymeric system, DR systems are also typically referred to as distributed paradigmatic system. Four link groups between SW1, SW2 and SW3, SW4 are referred to as DR links into distributed aggregated links, and SW1, SW2, SW3, SW4 are equal Referred to as DR equipment.So, the port 1 on SW1 and port 2 and port 7 on equipment SW2 and port 8 condense together composition One aggregation port in logic, referred to herein as DR ports;The He of port 5 on port 3 and port 4 and equipment SW4 on SW3 Port 6, which condenses together, forms a DR port.Pass through General polymeric link phase between the SW3 and SW4 of one DR system of composition Even, the link is referred to as the interior chain link IPL in distributed aggregated link networking.The port at the IPL both ends is referred to as distributed link The interior chain port (IPP, Intra-Portal Port) polymerizeing in networking, the DR equipment at IPL both ends neighbours DR equipment each other.
Referring to Fig. 3, SW3 and SW4, neighbours DR equipment, user 1,2,3 are connected to SW3 and SW4 by DR ports each other.This In by user 1,2,3 by VXLAN1 and VXLAN3 access exemplified by.The link of SW3 connections user 1 is link 1, SW3 connection users 3 link is link 2, and the link of SW4 connections user 3 is link 4.
In figure 3 using the scheme of the application after, in the state of all topological normal works, SW3 and SW4 all without to IPP mouths send broadcasting packet, because DR equipment all detects topological normal and available non-DR ports are not present, in the absence of triggering The condition of broadcast transmission.Now the business on SW3 and corresponding ports state are as shown in table 4:
VXLAN is identified DR ports and state Non- DR ports and state
1 Port 9 (OK), port 10 (OK) -
3 Port 9 (OK), port 10 (OK) -
Table 4
Here so that subscriber policy is accurate broadcast as an example, after 2 failure of link between SW3 and user 3, SW3 and SW4 are It can detect, and then trigger broadcast transmission.After SW3 detects the failure of link 2 (i.e. the failure of port 10), business on SW3 and right Answer port status change as shown in table 5:
VXLAN is identified DR ports and state Non- DR ports and state
1 Port 9 (OK), port 10 (fail) -
3 Port 9 (OK), port 10 (fail) -
Table 5
Therefore service identification VXLAN1 and VXLAN3 are sent to forwarding plane.The service class specifically issued to forwarding plane Type is as shown in table 6 with service identification:
Type of service Service identification
VXLAN 1,3
Table 6
Now, if the broadcasting packet for belonging to VXLAN1 or 3 that user 1 sends reaches SW3, SW3, which is identified, to be belonged to VXLAN1 or 3, when carrying out related service processing (here comprising the link broadcast between SW3 and user 2 to user 2), detection Whether need to send the broadcasting packet toward IPP mouths, according to table 6, it is determined that need to be sent to IPP mouths, then carry upper VXLAN1 or 3 Mark sent from IPP mouths.
Meanwhile SW3 sends the broadcast forwarding notice message of the identification information comprising VXLAN1 and VXLAN3 to SW4.SW4 connects The broadcast forwarding notice message of SW3 transmissions is received, and is merged with local decision-making result, still with table 6 after merging.SW4 can pass through The SW4 oneself only of DR systems connection user 3 where aggregation protocol detects itself, and connected by port 11.SW4 is detected To after being connected to link (i.e. port 11) failure of user 3, due to supporting isolation group, therefore port 11 is moved from isolation group Remove.For SW4 after IPP mouths receive broadcasting packet, discovery business is VXLAN1 or 3, then binds and do not isolating to VXLAN1 or 3 Port broadcasting packet in group, will be to the broadcasting packet of port 11.But not to the link broadcast message between SW4 and user 2, because SW3 have sent this message to user 2 before.
In the scheme of the application, if subscriber policy is not limited by type of service, is applicable to any all to broadcast The business of type.
If subscriber policy is accurate broadcast, the scheme of the application can be used for the access of multilayer VLAN tag, if access Packet include more than one layer of label, only take outermost VLAN tag to turn as access VLAN tag to look into be issued to The record sheet (such as table 3, table 6) of hair aspect, then stamp the outside VLAN label found in outer layer again.Have as internal layer several layers of Label, processing is not influenceed.
When subscriber policy is accurately broadcasts, the application extends also to multi-level QinQ VPN accesses, and port is Logic port, can be the port or a virtual port being physically present.In QinQ networks the VLAN of outer layer with There is corresponding relation in VPN, VLAN tag+port numbers can be accessed by configuration querying and find VPN marks, then pass through VPN It is the same that mark, which obtains outside VLAN its effect,.VLAN tag is a characteristic of packet, and the most frequently used characteristic, The label of outside VLAN can also be determined by other characteristics of packet, such as the characteristic such as address field, protocol type.Also may be used Outer layer is determined with the type and port of other characterize data stream features such as the address according to packet, protocol type, IP subnets VLAN is identified, and realizes more flexible access.Identified according to obtained outermost layer VLAN and be issued to the record of forwarding plane to look into Table (such as table 3, table 6).
Following products scheme is provided based on above-described embodiment.
Fig. 4 is a kind of structure chart of apparatus for forwarding message in the embodiment of the present application.Wrapped in distributed aggregated link networking Multiple distributed relay DR equipment and multiple interior chain link IPL are included, wherein the DR equipment point at same interior chain link IPL both ends It is not the first DR equipment and the 2nd DR equipment, the apparatus for forwarding message is located in the first DR equipment, then as shown in figure 4, should Apparatus for forwarding message 400 includes:
Broadcast traffic management module 401, for determining that the IPL in the first DR equipment forwards broadcasting packet according to preset strategy Set;
Broadcast traffic forwarding module 402, for when the first DR equipment receives broadcasting packet, judging the mark of the broadcasting packet Know information to whether there is in the IPL forwarding broadcasting packet set in the first DR equipment;If it is present the broadcast is reported Text is forwarded on the IPL, otherwise is not forwarded on the IPL.
In one embodiment of the application, the broadcast traffic management module 401, for the sheet according to the first DR equipment Ground decision strategy determines to need the identification information set to the IPL broadcasting packets forwarded, referred to as the first message identification information Set, broadcasting packet set is forwarded using the first message identification information aggregate as the IPL in the first DR equipment;Or The the second message identification information aggregate sent for receiving the 2nd DR equipment, the second message identification information aggregate is according to second Identification information set of the needs that the local decision-making strategy of DR equipment determines to the IPL broadcasting packets forwarded, by this second Message identification information aggregate forwards broadcasting packet set as the IPL in the first DR equipment;Or take first message Identification information set and the union of the second message identification information aggregate are wide as the IPL forwardings in the first DR equipment Collected works are reported to close.
In one embodiment of the application, the broadcast traffic management module 401, for locally having when the first DR equipment The service link of distributed aggregated links is not added, or, the distributed aggregated links in the first DR equipment or the 2nd DR equipment During failure, it is determined that needing to forward broadcasting packet to the IPL, and the broadcasting packet for needing to forward to the IPL is further determined that Identification information set.
In one embodiment of the application, the broadcast traffic management module 401, for according to one kind in following or Various ways perceive the failure of the distributed aggregated links in the first DR equipment or the 2nd DR equipment:
Detect the failure of physical link and the state by fault recovery;
Receive the distributed aggregated link failures notice of DR ports opposite equip.;
Link failure is detected by detection protocol.
In one embodiment of the application, the device 400 also includes:Business record module 403;
The broadcast traffic management module 401, for it is determined that needing to after IPL forwarding broadcasting packets, further It is all broadcast or accurate broadcast to check subscriber policy configuration information;If all broadcast, it is determined that need to the IPL Forward the broadcasting packet of all business;If accurate broadcast, it is determined that need to the wide of IPL forwarding part specified services Report text;
The business record module 403, determine to need the identification information to the IPL broadcasting packets forwarded for recording Set.
In one embodiment of the application, the business record module 403, in accurate broadcast, traversal through The business of first DR device forwards, for a business by the first DR device forwards, if the forwarding in the first DR equipment Non- DR interfaces or failure DR interfaces in the interface of the business be present, it is determined that the business belongs to described part specified services.
In one embodiment of the application, broadcast traffic forwarding module 402, it is further used for connect by the IPL When receiving the broadcasting packet of the 2nd DR equipment transmission, to the business for belonging to the broadcasting packet in the first DR equipment and do not isolating Port in group forwards the broadcasting packet.
For the embodiment of apparatus for forwarding message, due to corresponding essentially to embodiment of the method, so related part is joined See the part explanation of embodiment of the method.Apparatus for forwarding message embodiment described above is only schematical, wherein The unit illustrated as separating component or module can be or may not be physically separate, you can with positioned at one Individual place, or can also be distributed on multiple NEs.Part therein or complete can be selected according to the actual needs Portion's module realizes the purpose of this embodiment scheme.Those of ordinary skill in the art without creative efforts, It can understand and implement.
Fig. 5 is the structural representation of the DR equipment in a kind of distributed aggregated link networking in the embodiment of the present application.Such as Shown in Fig. 5, the DR equipment 500 includes foregoing apparatus for forwarding message 400.The DR equipment 400 is interchanger or router.
Fig. 6 is a kind of structural representation of DR equipment of the application another embodiment offer.As shown in fig. 6, the DR is set Standby 600 include:
Memory 620:For store instruction code.In one embodiment of the application, what memory 620 stored is report Text forwarding instruction.
Processor 610:For with memory communication, read and perform the instruction code that stores in memory, realize Broadcasting packet forwarding operation disclosed in the application above-mentioned example.
Here, memory 620 can be any electronics, magnetic, optics or other physical storage devices, can include or deposit Information is stored up, such as executable instruction, data, etc..For example, machinable medium can be:RAM(Radom Access Memory, random access memory), volatile memory, nonvolatile memory, flash memory, memory driver (such as hard drive Device), solid state hard disc, any kind of storage dish (such as CD, dvd), either similar storage medium or their group Close.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation In any this actual relation or order.Term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or equipment including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or equipment institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including institute State in process, method, article or the equipment of key element and other identical element also be present.
In summary, in the technical scheme of the application, it is first determined the IPL forwarding broadcasting packet set in DR equipment, When DR equipment receives broadcasting packet, judge that the identification information of the broadcasting packet whether there is in the IPL forwardings in the DR equipment In broadcasting packet set, if it is present the broadcasting packet is forwarded on the IPL, otherwise it is not forwarded on the IPL, So as to avoid meaningless broadcasting packet is sent on IPL (i.e. DR equipment in opposite end will not carry out the broadcast report of any forwarding again Text), save bandwidth resources.
In one embodiment, the DR equipment at same IPL both ends determines to need to IPL according to the decision strategy of local respectively Notified after the broadcasting packet of forwarding to other side, then each DR equipment be derived from determined by body and opposite end neighbours' DR equipment need to The union of the broadcasting packet of IPL forwardings, is just transferred it on IPL for the broadcasting packet for belonging to the union, for being not belonging to The message of the union is then not forwarded on IPL, and meaningless broadcasting packet is sent on IPL so as to avoid, and saves bandwidth money Source.
The preferred embodiment of the application is the foregoing is only, is not intended to limit the protection domain of the application.It is all Any modification, equivalent substitution and improvements made within spirit herein and principle etc., it is all contained in the protection domain of the application It is interior.

Claims (13)

  1. A kind of 1. message forwarding method, it is characterised in that the distributed relay DR equipment difference at same interior chain link IPL both ends It is the first DR equipment and the 2nd DR equipment, methods described is included in the following steps performed in the first DR equipment:
    Determine that the IPL in the first DR equipment forwards broadcasting packet set according to preset strategy;When the first DR equipment receives broadcast report Wen Shi, judge that the identification information of the broadcasting packet whether there is and forward broadcasting packet set in the IPL in the first DR equipment In;
    If it is present the broadcasting packet is forwarded on the IPL, conversely, being not forwarded on the IPL.
  2. 2. the method as described in claim 1, it is characterised in that the IPL determined according to preset strategy in the first DR equipment Forwarding broadcasting packet set includes:
    Determined to need the identification information collection to the IPL broadcasting packets forwarded according to the local decision-making strategy of the first DR equipment Close, referred to as the first message identification information aggregate, using the first message identification information aggregate as the IPL in the first DR equipment Forward broadcasting packet set;
    Or
    The second message identification information aggregate of the 2nd DR equipment transmission is received, the second message identification information aggregate is according to second Identification information set of the needs that the local decision-making strategy of DR equipment determines to the IPL broadcasting packets forwarded, by this second Message identification information aggregate forwards broadcasting packet set as the IPL in the first DR equipment;
    Or
    The union of the first message identification information aggregate and the second message identification information aggregate is taken, as the first DR IPL forwarding broadcasting packet set in equipment.
  3. 3. method as claimed in claim 2, it is characterised in that the local decision-making strategy according to the first DR equipment determines need To include to the step of identification information set of the IPL broadcasting packets forwarded:
    When the first DR equipment locally has the service link for not adding distributed aggregated links, or, the first DR equipment or the 2nd DR During distributed aggregated link failures in equipment, it is determined that need to forward broadcasting packet to the IPL, and further determine that need to The identification information set of the broadcasting packet of the IPL forwardings.
  4. 4. method as claimed in claim 3, it is characterised in that perceive the first DR according to one or more modes in following The failure of equipment or the distributed aggregated links in the 2nd DR equipment:
    Detect the failure of physical link and the state by fault recovery;
    Receive the distributed aggregated link failures notice of DR ports opposite equip.;
    Link failure is detected by detection protocol.
  5. 5. method as claimed in claim 3, it is characterised in that described to further determine that the broadcast for needing to forward to the IPL The step of identification information set of message, includes:
    It is all broadcast or accurate broadcast to check subscriber policy configuration information;
    If all broadcast, it is determined that need to forward the broadcasting packet of all business to the IPL;If accurate broadcast, Then determine to need the broadcasting packet for forwarding specified services to the IPL;
    Record determines to need the identification information set to the IPL broadcasting packets forwarded.
  6. 6. method as claimed in claim 5, it is characterised in that the specified services include:
    Exist by the business of the first DR device forwards, and in the interface of the forwarding business in the first DR equipment non-DR interfaces or Failure DR interfaces.
  7. 7. a kind of apparatus for forwarding message, it is characterised in that the DR equipment at same interior chain link IPL both ends is that the first DR is set respectively Standby and the 2nd DR equipment, the apparatus for forwarding message are located in the first DR equipment, including:
    Broadcast traffic management module, for determining that the IPL in the first DR equipment forwards broadcasting packet set according to preset strategy;
    Broadcast traffic forwarding module, for when the first DR equipment receives broadcasting packet, judging the identification information of the broadcasting packet With the presence or absence of in the IPL forwarding broadcasting packet set in the first DR equipment;If it is present the broadcasting packet is forwarded Onto the IPL, otherwise it is not forwarded on the IPL.
  8. 8. device as claimed in claim 7, it is characterised in that
    The broadcast traffic management module, for determining to need to turn to the IPL according to the local decision-making strategy of the first DR equipment The identification information set of the broadcasting packet of hair, referred to as the first message identification information aggregate, by the first message identification information aggregate Broadcasting packet set is forwarded as the IPL in the first DR equipment;Or the second report sent for receiving the 2nd DR equipment Literary identification information set, the second message identification information aggregate are the needs determined according to the local decision-making strategy of the 2nd DR equipment The identification information set of the broadcasting packet forwarded to the IPL, using the second message identification information aggregate as the first DR IPL forwarding broadcasting packet set in equipment;Or take the first message identification information aggregate and second message identification The union of information aggregate, broadcasting packet set is forwarded as the IPL in the first DR equipment.
  9. 9. device as claimed in claim 8, it is characterised in that
    The broadcast traffic management module, for locally having the business chain for not adding distributed aggregated links when the first DR equipment Road, or, during distributed aggregated link failures in the first DR equipment or the 2nd DR equipment, it is determined that needing to forward to the IPL Broadcasting packet, and further determine that the identification information set needed to the IPL broadcasting packets forwarded.
  10. 10. device as claimed in claim 9, it is characterised in that
    The broadcast traffic management module, for perceiving the first DR equipment or second according to one or more modes in following The failure of distributed aggregated links in DR equipment:
    Detect the failure of physical link and the state by fault recovery;
    Receive the distributed aggregated link failures notice of DR ports opposite equip.;
    Link failure is detected by detection protocol.
  11. 11. device as claimed in claim 9, it is characterised in that the device also includes:Business record module;
    The broadcast traffic management module, for after it is determined that needing to forward broadcasting packet to the IPL, further checking user Tactful configuration information is all broadcast or accurate broadcast;If all broadcast, it is determined that need all to IPL forwardings The broadcasting packet of business;If accurate broadcast, it is determined that need the broadcasting packet to IPL forwarding part specified services;
    The business record module, determine to need the identification information set to the IPL broadcasting packets forwarded for recording.
  12. 12. device as claimed in claim 11, it is characterised in that
    The business record module, in accurate broadcast, traversal through the business of the first DR device forwards, for passing through the One business of one DR device forwards, if non-DR interfaces or failure be present in the interface of the forwarding business in the first DR equipment DR interfaces, it is determined that the business belongs to described part specified services.
  13. 13. the DR equipment in a kind of distributed aggregated link networking, it is characterised in that the DR equipment includes such as claim 7-12 Apparatus for forwarding message described in any one.
CN201710370094.5A 2017-05-23 2017-05-23 Message forwarding method, device and equipment Active CN107547398B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710370094.5A CN107547398B (en) 2017-05-23 2017-05-23 Message forwarding method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710370094.5A CN107547398B (en) 2017-05-23 2017-05-23 Message forwarding method, device and equipment

Publications (2)

Publication Number Publication Date
CN107547398A true CN107547398A (en) 2018-01-05
CN107547398B CN107547398B (en) 2020-04-17

Family

ID=60966279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710370094.5A Active CN107547398B (en) 2017-05-23 2017-05-23 Message forwarding method, device and equipment

Country Status (1)

Country Link
CN (1) CN107547398B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108306806A (en) * 2018-02-06 2018-07-20 新华三技术有限公司 A kind of message forwarding method and device
CN108322338A (en) * 2018-01-23 2018-07-24 新华三技术有限公司 A kind of broadcast suppressing method and VTEP equipment
CN109039888A (en) * 2018-08-10 2018-12-18 新华三技术有限公司合肥分公司 Message loop removing method and distributed elastic DR equipment
CN109617818A (en) * 2019-01-31 2019-04-12 新华三技术有限公司 A kind of message forwarding method and device
CN110708275A (en) * 2018-12-18 2020-01-17 新华三技术有限公司 Protocol message processing method and device
CN111654406A (en) * 2020-02-29 2020-09-11 新华三信息安全技术有限公司 Bidirectional forwarding detection method and device
CN111865780A (en) * 2020-07-13 2020-10-30 中国联合网络通信集团有限公司 Synchronization method and device
CN111953591A (en) * 2020-07-17 2020-11-17 新华三技术有限公司 Fault processing method and device
CN113037565A (en) * 2021-03-29 2021-06-25 新华三信息安全技术有限公司 Message processing method and device
CN113852572A (en) * 2021-09-30 2021-12-28 新华三信息安全技术有限公司 Message processing method and device
CN114465955A (en) * 2022-01-06 2022-05-10 新华三技术有限公司 Multicast message processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120084817A1 (en) * 2000-06-29 2012-04-05 Wounder GmbH, LLC Recommending broadcast transmissions of interest to a viewer
CN103200100A (en) * 2013-03-12 2013-07-10 杭州华三通信技术有限公司 Method and device for packet transmitting
CN103780484A (en) * 2014-01-26 2014-05-07 杭州华三通信技术有限公司 Message transmitting method and device
CN104125088A (en) * 2013-04-28 2014-10-29 中兴通讯股份有限公司 Method of interaction information between systems in same terminal of DRNI and system thereof
CN104243324A (en) * 2013-06-07 2014-12-24 杭州华三通信技术有限公司 Message forwarding method and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120084817A1 (en) * 2000-06-29 2012-04-05 Wounder GmbH, LLC Recommending broadcast transmissions of interest to a viewer
CN103200100A (en) * 2013-03-12 2013-07-10 杭州华三通信技术有限公司 Method and device for packet transmitting
CN104125088A (en) * 2013-04-28 2014-10-29 中兴通讯股份有限公司 Method of interaction information between systems in same terminal of DRNI and system thereof
CN104243324A (en) * 2013-06-07 2014-12-24 杭州华三通信技术有限公司 Message forwarding method and equipment
CN103780484A (en) * 2014-01-26 2014-05-07 杭州华三通信技术有限公司 Message transmitting method and device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322338A (en) * 2018-01-23 2018-07-24 新华三技术有限公司 A kind of broadcast suppressing method and VTEP equipment
CN108306806A (en) * 2018-02-06 2018-07-20 新华三技术有限公司 A kind of message forwarding method and device
CN109039888A (en) * 2018-08-10 2018-12-18 新华三技术有限公司合肥分公司 Message loop removing method and distributed elastic DR equipment
CN110708275B (en) * 2018-12-18 2020-11-06 新华三技术有限公司 Protocol message processing method and device
US11936762B2 (en) 2018-12-18 2024-03-19 New H3C Technologies Co., Ltd. Processing protocol packet
WO2020125624A1 (en) * 2018-12-18 2020-06-25 新华三技术有限公司 Processing protocol packet
CN110708275A (en) * 2018-12-18 2020-01-17 新华三技术有限公司 Protocol message processing method and device
CN109617818A (en) * 2019-01-31 2019-04-12 新华三技术有限公司 A kind of message forwarding method and device
CN111654406A (en) * 2020-02-29 2020-09-11 新华三信息安全技术有限公司 Bidirectional forwarding detection method and device
CN111865780A (en) * 2020-07-13 2020-10-30 中国联合网络通信集团有限公司 Synchronization method and device
CN111953591A (en) * 2020-07-17 2020-11-17 新华三技术有限公司 Fault processing method and device
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
CN113852572B (en) * 2021-09-30 2024-01-23 新华三信息安全技术有限公司 Message processing method and device
CN113852572A (en) * 2021-09-30 2021-12-28 新华三信息安全技术有限公司 Message processing method and device
CN114465955A (en) * 2022-01-06 2022-05-10 新华三技术有限公司 Multicast message processing method and device
CN114465955B (en) * 2022-01-06 2023-09-15 新华三技术有限公司 Multicast message processing method and device

Also Published As

Publication number Publication date
CN107547398B (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN107547398A (en) Message forwarding method, device and equipment
US8107382B2 (en) Loop detection in a communications network
CN1716912B (en) Method and apparatus providing rapid end-to-end failover in a packet switched communications network
JP4429065B2 (en) Method and apparatus for determining a shared broadcast domain for network switches, ports and interfaces
CN103329469B (en) Method of shrinking a data loss window in a packet network device
US7593400B2 (en) MAC address learning in a distributed bridge
CN101815107B (en) Method, system and equipment for managing address in Ethernet ring
EP2129049B1 (en) A protecting method and device for ethernet tree service
US6785286B1 (en) Port mirroring across a trunked stack of multi-port communication devices
CN100454853C (en) Method for service channel detection and system for providing the same
US8208369B2 (en) Ethernet ring system and a master node and an initialization method thereof
US20070268817A1 (en) Method and system for protecting a sub-domain within a broadcast domain
US20060133286A1 (en) System and method for detecting loops in a customer-provider bridge domain
US20050180440A1 (en) Method of transporting a multipoint stream in a local area network and device for connection implementing the method
CN107547366A (en) A kind of message forwarding method and device
CN101272310B (en) Ethernet looped network automatic protection rotation method and device
US20070081535A1 (en) Method and system for implementing virtual router redundacy protocol on a resilient packet ring
CN101155109A (en) Ethernet switching system and equipment
JP2012532530A (en) Inter-node link aggregation system and method
JP2011517209A (en) Reduction of traffic loss in EAPS system
CN102316014B (en) Load sharing method and router under hierarchical virtual dedicated local area network service environment
JP5862445B2 (en) Communication device
CN107968753A (en) The method and apparatus for changing Media Access Control Address forwarding table
CN107547373A (en) A kind of message forwarding method, device, equipment and machinable medium
CN103200107B (en) Message transmitting method and message transmitting equipment

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
TR01 Transfer of patent right

Effective date of registration: 20230615

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right