CN101710856B - Method and equipment for detection processing of loopback of aggregation link - Google Patents

Method and equipment for detection processing of loopback of aggregation link Download PDF

Info

Publication number
CN101710856B
CN101710856B CN200910222925A CN200910222925A CN101710856B CN 101710856 B CN101710856 B CN 101710856B CN 200910222925 A CN200910222925 A CN 200910222925A CN 200910222925 A CN200910222925 A CN 200910222925A CN 101710856 B CN101710856 B CN 101710856B
Authority
CN
China
Prior art keywords
aggregated links
sign
member port
loop
loopback detection
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.)
Expired - Fee Related
Application number
CN200910222925A
Other languages
Chinese (zh)
Other versions
CN101710856A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200910222925A priority Critical patent/CN101710856B/en
Publication of CN101710856A publication Critical patent/CN101710856A/en
Application granted granted Critical
Publication of CN101710856B publication Critical patent/CN101710856B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and equipment for detection processing of loopback of an aggregation link. The method comprises the following steps: sending a identifier carrying the aggregation link from each member port in the aggregation link and a first loopback detection message of the identifier of the member port for sending the first loopback detection message; receiving the identifier carrying the aggregation link at the each member port in the aggregation link and a second loopback detection message of the identifier of the member port for sending the second loopback detection message; and determining whether to form a loop or not according to the identifiers of the aggregation links in the first loopback detection message and the second loopback detection message. The method and the equipment can timely process the loopback detection processing problem in the data communication equipment.

Description

A kind of loopback detection processing method and equipment of aggregated links
Technical field
The present invention relates to data communication technology, particularly a kind of loopback detection processing method and equipment of aggregated links.
Background technology
Along with the growth of data business volume, high availability becomes one of high performance network most important characteristic day by day.And realize that at link level in the high availability technology, the application of link aggregation is very extensive at present.It condenses together a plurality of physical ports; Become a logic port; To realize out/load sharing of inbound traffics in each member port which member port switch sends from according to port load sharing strategy decision message, thereby increases link bandwidth.When switch detects the link occurs fault of one of them member port; Will in remaining Member Link, recomputate the port that message sends according to the load sharing strategy; Non-working port recomputates the message source mouth after recovering once more, thereby realizes the redundancy backup of link transmission.
On data communications equipment; If make physical link produce loop owing to fortuitous event appears in design, configuration, construction etc.; Will cause equipment MAC (Medium Access Control; The medium access control) address learning mistake may produce " broadcast storm ", even causes the whole network can't proper communication.And the loopback detection function can be through sending the loopback detection message at certain port; Judge whether the port can receive the situation that distal loop appears in physical link that detects once more within a certain period of time; Thereby in time remind the user to handle and carry out certain operations, avoid the collapse of data communications equipment.
Because current loopback detection function is to be used to detect single link, and, if the loopback detection message that sends from a certain member port of aggregated links receive from other member port of this aggregated links again, do not think that then this link produces loopback.
Therefore the deficiency of prior art is: existing loopback detection function can't realize the loopback detection to aggregated links, more is not sure of the member port and the loop type of concrete generation loopback.
Summary of the invention
The technical problem that the present invention solved is: loopback detection processing method and equipment that a kind of aggregated links is provided.
A kind of loopback detection processing method of aggregated links is provided in the embodiment of the invention, has comprised the steps:
Each member port from aggregated links sends the first loopback detection message, the sign that the said first loopback detection message carries the sign of this aggregated links and sends the member port of the first loopback detection message;
Each member port in aggregated links receives the second loopback detection message, and the said second loopback detection message carries the sign of aggregated links, the sign of sending the member port of the second loopback detection message;
Determine whether to form loop according to the sign of the aggregated links in the first loopback detection message and the second loopback detection message and the sign of member port.
Preferably, determine whether to form loop, comprising according to the sign of the aggregated links in the first loopback detection message and the second loopback detection message and the sign of member port:
If identical then this aggregated links of the sign of aggregated links forms loop; Otherwise this aggregated links does not form loop; If this member port of identical then this aggregated links of sign of the sign of aggregated links and member port forms loop, otherwise this member port of this aggregated links does not form loop.
Preferably, further comprise:
Confirm the number and the sign thereof of the member port of the reception second loopback detection message;
If this member port forms loop, the type that is specified to ring according to the number and the sign thereof of the sign of the member port of the transmission second loopback detection message that carries in the second loopback detection message and the member port that receives the second loopback detection message.
Preferably, further comprise:
In the first loopback detection message, comprise words identification, in order to prevent malicious attack.
Preferably, the sign of aggregated links comprises: the sign of this aggregated links corresponding device, the identification code of this aggregated links;
When determining whether to form loop, comprising according to the sign of the sign of the aggregated links in the first loopback detection message and the second loopback detection message and member port:
Whether the sign identification code whether identical, aggregated links that compares the aggregated links corresponding device successively is identical, whether the sign of the member port of aggregated links is identical;
After confirming that according to comparative result aggregated links forms loop, confirm whether this member port of this aggregated links forms loop, confirm that according to comparative result this member of this aggregated links forms loop after, further be specified to the type of ring; After confirming that according to comparative result aggregated links does not form loop, stop to determine whether to form loop.
Preferably, further comprise:
After confirming to form loop, close the member port that forms loop;
Send the loop warning information.
Preferably, further comprise:
In the preset time, when confirming that no longer there is loop in this aggregated links, open pent member port.
A kind of loopback detection treatment facility of aggregated links is provided in the embodiment of the invention, has comprised:
The message sending module is used for sending the first loopback detection message from each member port of aggregated links, the sign that the said first loopback detection message carries the sign of this aggregated links and sends the member port of the first loopback detection message;
The message receiver module is used for receiving the second loopback detection message at each member port of aggregated links, and the said second loopback detection message carries the sign of aggregated links, the sign of sending the member port of the second loopback detection message;
The loop judge module is used for determining whether to form loop according to the sign of the aggregated links of the first loopback detection message and the second loopback detection message and the sign of member port.
Preferably; The loop judge module is further used for when the sign according to the sign of the aggregated links in the first loopback detection message and the second loopback detection message and member port determines whether to form loop; If identical then this aggregated links of the sign of aggregated links forms loop; Otherwise this aggregated links does not form loop, if this member port of identical then this aggregated links of sign of the sign of aggregated links and member port forms loop, otherwise this member port of this aggregated links does not form loop.
Preferably, the message receiver module is further used for receiving the number and the sign thereof of the member port of the second loopback detection message;
The loop judge module is further used for if this member port forms loop, the type that is specified to ring according to the number and the sign thereof of the sign of the member port of the transmission second loopback detection message that carries in the second loopback detection message and the member port that receives the second loopback detection message.
Preferably, the message sending module is further used in the first loopback detection message, comprising words identification, in order to prevent malicious attack.
Preferably, the sign of aggregated links comprises: the sign of this aggregated links corresponding device, the identification code of this aggregated links;
The loop judge module comprises:
Comparing unit, whether the sign identification code whether identical, aggregated links that is used for successively aggregated links corresponding device relatively is identical, whether the sign of the member port of aggregated links is identical;
The loop processed unit; After being used for confirming that according to comparative result aggregated links forms loop; Whether this member port of confirming this aggregated links forms loop, after this member who confirms this aggregated links forms loop, further is specified to the type of ring; After confirming that according to comparative result aggregated links does not form loop, stop to determine whether to form loop.
Preferably, further comprise:
Alarm module is used for after confirming to form loop, closing the member port that forms loop, and sends the loop warning information.
Preferably, further comprise:
Opening module is used in the preset time, when confirming that no longer there is loop in this aggregated links, opening pent member port.
Beneficial effect of the present invention is following:
Because in the technical scheme that the embodiment of the invention provides, through generating the loopback detection message, send from each member port of aggregated links, confirm through the loopback detection message of receiving in each port snooping whether aggregated links exists loop at far-end then.
Further, can also confirm specifically to produce the port and the type that becomes ring of link.
Further, can also tell the user with the type that becomes ring through warning information with the port that produces link.And can also open or close the port that forms loop according to the state of loop.
Therefore, the technical scheme that provides through the embodiment of the invention, in time the loopback link in the handle data communication equipment and notify the user to become the ring situation in detail makes it can locate and handle the problem that aggregated links produces loop fast.
Further, also the loopback link has been done and handled and, thereby when avoiding data communications equipment aggregated links generation loop, caused the paralysis of network for the user provides more detailed loop information.
Description of drawings
Fig. 1 is the loopback detection processing method implementing procedure sketch map of aggregated links in the embodiment of the invention;
Fig. 2 is an aggregated links sketch map in the embodiment of the invention;
Fig. 3 is that the single Member Link of aggregated links forms the loop sketch map in the embodiment of the invention;
Fig. 4 is that aggregated links two member's links form the loop sketch map in the embodiment of the invention;
Fig. 5 is that the many Member Links of aggregated links form the loop sketch map in the embodiment of the invention;
Fig. 6 is that the loopback detection of aggregated links in the embodiment of the invention is handled the implementing procedure sketch map;
Fig. 7 is the loopback detection treatment facility structural representation of aggregated links in the embodiment of the invention.
Embodiment
In order to carry out effective loopback detection, will provide a kind of in the technical scheme that the embodiment of the invention provides than the more comprehensive scheme of common loopback detection to aggregated links.In the scheme; When the loopback detection of aggregated links begins; Can generate a kind of loopback detection message of unique this aggregated links of expression; Each member port from aggregated links sends successively; In message, insert the PORT ID (port-mark) of corresponding port during transmission, if receive that at any member port this message just explains that this aggregated links produces loop, the member port that just can confirm the formation loop that aggregated links is concrete according to the port PO RT ID of the PORT ID of the port in the message content and reception message with become the lopps type.Describe below in conjunction with the accompanying drawing specific embodiments of the invention.
Fig. 1 is the loopback detection processing method implementing procedure sketch map of aggregated links, and is as shown in the figure, when loopback detection, can comprise the steps:
Step 101, each member port from aggregated links send the first loopback detection message, the sign that the said first loopback detection message carries the sign of this aggregated links and sends the member port of the first loopback detection message;
Step 102, each member port in aggregated links receive the second loopback detection message, and the said second loopback detection message carries the sign of aggregated links, the sign of sending the member port of the second loopback detection message;
Step 103, determine whether to form loop according to the sign of the aggregated links in the first loopback detection message and the second loopback detection message and the sign of member port.
During this step is implemented; When the sign according to the sign of the aggregated links in the first loopback detection message and the second loopback detection message and member port determines whether to form loop; Can comprise: if identical then this aggregated links of the sign of aggregated links forms loop; Otherwise this aggregated links does not form loop, if this member port of identical then this aggregated links of sign of the sign of aggregated links and member port forms loop, otherwise this member port of this aggregated links does not form loop.
Further, can also comprise in force:
Confirm the number and the sign thereof of the member port of the reception second loopback detection message;
If this member port forms loop, the type that is specified to ring according to the number and the sign thereof of the sign of the member port of the transmission second loopback detection message that carries in the second loopback detection message and the member port that receives the second loopback detection message.
In step 101 is implemented; Can carry out the setting of loopback detection earlier to concrete aggregated links; Generate a kind of identification code of unique this aggregated links of expression, this identification code comprises the TRUNK ID of aggregated links in the sequence number of unique this data equipment of expression, user-defined words identification and this data equipment of unique expression.The sequence number of data equipment can be obtained by device hardware; The user can import one section self-defined words identification, can prevent the malicious attack to data equipment to a certain extent; TRUNK ID will generate having disposed aggregated links.
In the enforcement, the purpose of selecting the sign of this aggregated links corresponding device for use is for ease, also is convenient to identify this aggregated links simultaneously and belongs to which equipment.In fact,, adopt other identification means also can implement, behind the identification code that generates this unique this aggregated links of expression, just can in the first loopback detection message, carry this identification code as long as identification code can guarantee that only table illustrates an aggregated links.
Confirm the PORT ID of its all member ports according to the aggregated links that has disposed loopback detection, Fig. 2 is the aggregated links sketch map, and is as shown in Figure 2, the aggregated links of being made up of five member ports; Successively identification code is added the loopback detection message content of the PORT ID of member port as each member port.Each member port has just generated loopback detection message separately like this, can send from port separately.
In step 102,103 enforcement, on all member ports, intercept the data message that receives, if in the time limit of setting, receive data message, just need the analytic message content to come to compare with the loopback detection message that sends.That is, the first loopback detection message and the second loopback detection message are compared, confirm at first whether destination address is identical with the message that sends out with source address; If it is identical; Just with the sequence number of data equipment, user-defined sign and TRUNK ID compare, no matter message from which member port is received; If below all identically just think that this message is the loopback detection message that this aggregated links sends, and explains that this aggregated links has formed loop.
In the practical implementation, when the sign according to the sign of the aggregated links in the first loopback detection message and the second loopback detection message and member port determines whether to form loop, can comprise:
Whether the sign identification code whether identical, aggregated links that compares the aggregated links corresponding device successively is identical, whether the sign of the member port of aggregated links is identical;
After confirming that according to comparative result aggregated links forms loop; Whether this member port of confirming this aggregated links forms loop; After confirming that according to comparative result aggregated links does not form loop, after this member who confirms this aggregated links forms loop, further be specified to the type of ring; Stop to determine whether to form loop.
Below carry out more in order, have different item just to think that aggregated links does not form loop, its role is to reduce the utilization rate of CPU as long as find.
In the enforcement; If confirm to have formed loop; Just read the PORT ID in the data message that listens to, and compare, so just can confirm the member port of concrete formation loop and the loop type of formation with the PORT ID of the port that receives this loopback detection message.Be exemplified below:
(1), Fig. 3 is that the single Member Link of aggregated links forms the loop sketch map; If in the setting time limit, have only a port to receive the loopback detection message of this aggregated links; And the PORT ID in the message content equates with the PORT ID of the port that receives this message; Then form single Member Link loop, as shown in the figure, expression member port one receives that the loopback detection message that oneself sends forms single Member Link loop.
(2), Fig. 4 is that aggregated links two member's links form the loop sketch map; If in the setting time limit, have only a port to receive the loopback detection message of this aggregated links; But the PORT ID in the message content is unequal with the PORT ID of the port that receives this message, then forms two member's link loops; As shown in the figure, expression member port 4 receives that the loopback detection message that port one sends forms two member's link loops.
(3), Fig. 5 is that the many Member Links of aggregated links form the loop sketch map, if having a plurality of ports to receive the loopback detection message of this aggregated links setting in the time limit, then forms many Member Links loop; As shown in the figure, represent that a plurality of member ports (can be in all member ports a plurality of arbitrarily) receive that the loopback detection message that port one sends forms many Member Links loop.
PORT ID in the data message that listens to is carried out one by one the processing of above (1), (2), (3).
After confirming to form loop, just need handle loop.Therefore can further include:
After confirming to form loop, close the member port that forms loop;
Send the loop warning information.
In the enforcement, can close the member port that forms loop, and send the loop warning information, can show aggregated links that forms loop and the member port that forms loop thereof in the warning information and become the lopps type to the user.Because the redundancy backup function of aggregated links can not cause the business datum communication interruption of this aggregated links, but need notify the user to handle as early as possible.
Can further include in the enforcement:
In the preset time, when confirming that no longer there is loop in this aggregated links, open pent member port.
In the enforcement, for the aggregated links at the member port place that has caused closing for producing loop, if in the preset time; If no longer receive the message of loopback detection, then think not have loopback, just can open this pent port again; Proceed the flow process of the loopback detection of aggregated links; See whether loop is eliminated,, send and tell the user if eliminate; If not elimination continues to carry out and closes the member port that forms loop, send processing operations such as loop warning information.
Through above-mentioned enforcement, just can realize loopback detection to aggregated links, still can also handle, and for the user provides more detailed loop information, thereby when avoiding the data communications equipment aggregated links to produce loop, cause the paralysis of network the loopback link.
Describe with instantiation below.
Fig. 6 is that the loopback detection of aggregated links is handled the implementing procedure sketch map, and is as shown in the figure, can comprise the steps:
Step 601, beginning loopback detection;
The loopback detection message of step 602, generation aggregated links;
In this step, at first, produce a kind of identification code of unique this aggregated links of expression, thereby can add into loopback detection message according to the aggregated links that will carry out loopback detection.
Port id territory in step 603, the filling detection messages, and send at corresponding member port successively;
In this step, the PORTID according to its all member ports of aggregated links affirmation that disposed loopback detection has comprised identification code and member port PORT ID loopback detection message from all member port transmissions successively.
Step 604, detect each member port and whether receive detection messages, be then to change step 605 over to, otherwise change step 603 over to;
In this step, detect each member port and setting in the time limit whether receive the loopback detection message that sends.If do not receive, carry out the loopback detection of next round within a certain period of time.
Whether step 605, detection messages are that the aggregated links that this member port belongs to is sent, and are to explain that then this aggregated links has formed loop, change step 606 over to, otherwise change step 603 over to;
Step 606, read the port id territory in the message, confirm to produce the port of loop;
In this step, the port PO RT ID in the reading of data message, and confirm to receive the port PO RT ID of loopback detection message, and two PORT ID are compared, confirm the member port of concrete formation loop and the loop type of formation.
Step 607, the member port of closing this generation loop and generation alarm;
Close the member port that forms loop, and send the loop alarm to the user and show the member port that forms loop and become the lopps type.
Step 608, judge whether this port also has loop in the certain hour, is then to change step 603 over to, otherwise changes step 609 over to;
Step 609, open pent member port again.
In step 608,609, in the preset time, this aggregated links no longer exists loop then to open pent port again, proceeds the flow process of the loopback detection of aggregated links.
Based on same inventive concept; A kind of loopback detection treatment facility of aggregated links also is provided in the embodiment of the invention; Because the principle that this equipment is dealt with problems is similar with a kind of loopback detection processing method of aggregated links; Therefore the enforcement of this equipment can repeat part and repeat no more referring to the enforcement of method.
Fig. 7 is the loopback detection treatment facility structural representation of aggregated links, and is as shown in the figure, can comprise in the equipment:
Message sending module 701 is used for sending the first loopback detection message from each member port of aggregated links, the sign that the said first loopback detection message carries the sign of this aggregated links and sends the member port of the first loopback detection message;
Message receiver module 702 is used for receiving the second loopback detection message at each member port of aggregated links, and the said second loopback detection message carries the sign of aggregated links, the sign of sending the member port of the second loopback detection message;
Loop judge module 703 is used for determining whether to form loop according to the sign of the aggregated links of the first loopback detection message and the second loopback detection message and the sign of member port.
In the enforcement; The loop judge module can also be further used for when the sign according to the sign of the aggregated links in the first loopback detection message and the second loopback detection message and member port determines whether to form loop; If identical then this aggregated links of the sign of aggregated links forms loop; Otherwise this aggregated links does not form loop; If this member port of identical then this aggregated links of sign of the sign of aggregated links and member port forms loop, otherwise this member port of this aggregated links does not form loop.
In the enforcement, the message receiver module can also be further used for receiving the number and the sign thereof of the member port of the second loopback detection message;
The loop judge module can also be further used for if this member port forms loop, the type that is specified to ring according to the number and the sign thereof of the sign of the member port of the transmission second loopback detection message that carries in the second loopback detection message and the member port that receives the second loopback detection message.
In the enforcement, the message sending module can also be further used for carrying words identification at the first loopback detection message, in order to prevent malicious attack.
In the enforcement, the sign of aggregated links can comprise: the sign of this aggregated links corresponding device, the identification code of this aggregated links;
Then the loop judge module can also comprise:
Comparing unit, whether the sign identification code whether identical, aggregated links that is used for successively aggregated links corresponding device relatively is identical, whether the sign of the member port of aggregated links is identical;
The loop processed unit; After being used for confirming that according to comparative result aggregated links forms loop; Whether this member port of confirming this aggregated links forms loop, after this member who confirms this aggregated links forms loop, further is specified to the type of ring; After confirming that according to comparative result aggregated links does not form loop, stop to determine whether to form loop.
In the enforcement, can further include in the equipment:
Alarm module 704 is used for after confirming to form loop, closing the member port that forms loop, and sends the loop warning information.
In the enforcement, can further include in the equipment:
Opening module 705 is used in the preset time, when confirming that no longer there is loop in this aggregated links, opening pent member port.
For the convenience of describing, the each several part of the above device is divided into various modules with function or the unit is described respectively.Certainly, when embodiment of the present invention, can in same or a plurality of softwares or hardware, realize the function of each module or unit.
Visible by the foregoing description; In the technical scheme that the embodiment of the invention provides; Through generating the loopback detection message; Each member port from aggregated links sends one by one, and the loopback detection message of receiving in each port snooping then confirms whether aggregated links exists loop at far-end, and confirms the concrete port and the characteristic that becomes ring that produces link.Thereby in time the loopback link in the handle data communication equipment and notify the user to become the ring situation in detail makes it can locate and handle the problem that aggregated links produces loop fast.
Through can realizing loopback detection, the loopback link done handled and, thereby when avoiding data communications equipment aggregated links generation loop, caused the paralysis of network for the user provides more detailed loop information to aggregated links with upper type.Can avoid MAC address learning mistake, problems such as " broadcast storms " because of existing loop to cause under the aggregated links.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of the embodiment of complete hardware embodiment, complete software implementation example or combination software and hardware aspect.And the present invention can be employed in the form that one or more computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code go up the computer program of implementing.
The present invention is that reference is described according to the flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out through the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in ability vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work; Make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device; Make on computer or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of on computer or other programmable devices, carrying out is provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Although described the preferred embodiments of the present invention, in a single day those skilled in the art get the basic inventive concept could of cicada, then can make other change and modification to these embodiment.So accompanying claims is intended to be interpreted as all changes and the modification that comprises preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (9)

1. the loopback detection processing method of an aggregated links is characterized in that, comprises the steps:
Each member port from aggregated links sends the first loopback detection message, the sign that the said first loopback detection message carries the sign of this aggregated links and sends the member port of the first loopback detection message;
Each member port in aggregated links receives the second loopback detection message, and the said second loopback detection message carries the sign of aggregated links, the sign of sending the member port of the second loopback detection message;
If identical then this aggregated links formation loop of the sign of the aggregated links in the first loopback detection message and the second loopback detection message; Otherwise this aggregated links does not form loop; If this member port formation loop of the sign of the aggregated links in the first loopback detection message and the second loopback detection message and identical then this aggregated links of sign of member port, otherwise this member port of this aggregated links does not form loop;
Confirm the number and the sign thereof of the member port of the reception second loopback detection message; If this member port forms loop, the type that is specified to ring according to the number and the sign thereof of the sign of the member port of the transmission second loopback detection message that carries in the second loopback detection message and the member port that receives the second loopback detection message.
2. the method for claim 1 is characterized in that, further comprises:
Comprise words identification in the said first loopback detection message.
3. the method for claim 1 is characterized in that:
The sign of aggregated links comprises: the sign of this aggregated links corresponding device, the identification code of this aggregated links;
When determining whether to form loop, comprising according to the sign of the sign of the aggregated links in the first loopback detection message and the second loopback detection message and member port:
Whether the sign identification code whether identical, aggregated links that compares the aggregated links corresponding device successively is identical, whether the sign of the member port of aggregated links is identical;
After confirming that according to comparative result aggregated links forms loop, confirm whether the member port of this aggregated links forms loop, after the member port of confirming this aggregated links forms loop, further be specified to the type of ring; After confirming that according to comparative result aggregated links does not form loop, stop to determine whether to form loop.
4. like the arbitrary described method of claim 1 to 3, it is characterized in that, further comprise:
After confirming to form loop, close the member port that forms loop;
Send the loop warning information.
5. method as claimed in claim 4 is characterized in that, further comprises:
In the preset time, when confirming that no longer there is loop in this aggregated links, open pent member port.
6. the loopback detection treatment facility of an aggregated links is characterized in that, comprising:
The message sending module is used for sending the first loopback detection message from each member port of aggregated links, the sign that the said first loopback detection message carries the sign of this aggregated links and sends the member port of the first loopback detection message;
The message receiver module is used for receiving the second loopback detection message at each member port of aggregated links, and the said second loopback detection message carries the sign of aggregated links, the sign of sending the member port of the second loopback detection message;
The loop judge module; Be used for when the sign according to the sign of the aggregated links of the first loopback detection message and the second loopback detection message and member port determines whether to form loop; If identical then this aggregated links of the sign of aggregated links forms loop; Otherwise this aggregated links does not form loop, if this member port of identical then this aggregated links of sign of the sign of aggregated links and member port forms loop, otherwise this member port of this aggregated links does not form loop;
The message receiver module is further used for definite number and sign thereof that receives the member port of the second loopback detection message;
The loop judge module is further used for if this member port forms loop, the type that is specified to ring according to the number and the sign thereof of the sign of the member port of the transmission second loopback detection message that carries in the second loopback detection message and the member port that receives the second loopback detection message.
7. equipment as claimed in claim 6 is characterized in that:
Comprise words identification in the said first loopback detection message.
8. equipment as claimed in claim 6 is characterized in that, the sign of aggregated links comprises: the sign of this aggregated links corresponding device, the identification code of this aggregated links;
The loop judge module comprises:
Comparing unit, whether the sign identification code whether identical, aggregated links that is used for successively aggregated links corresponding device relatively is identical, whether the sign of the member port of aggregated links is identical;
The loop processed unit; After being used for confirming that according to comparative result aggregated links forms loop; Whether the member port of confirming this aggregated links forms loop, after the member port of confirming this aggregated links forms loop, further is specified to the type of ring; After confirming that according to comparative result aggregated links does not form loop, stop to determine whether to form loop.
9. like the arbitrary described equipment of claim 6 to 8, it is characterized in that, further comprise:
Alarm module is used for after confirming to form loop, closing the member port that forms loop, and sends the loop warning information;
Opening module is used in the preset time, when confirming that no longer there is loop in this aggregated links, opening pent member port.
CN200910222925A 2009-11-13 2009-11-13 Method and equipment for detection processing of loopback of aggregation link Expired - Fee Related CN101710856B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910222925A CN101710856B (en) 2009-11-13 2009-11-13 Method and equipment for detection processing of loopback of aggregation link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910222925A CN101710856B (en) 2009-11-13 2009-11-13 Method and equipment for detection processing of loopback of aggregation link

Publications (2)

Publication Number Publication Date
CN101710856A CN101710856A (en) 2010-05-19
CN101710856B true CN101710856B (en) 2012-10-03

Family

ID=42403617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910222925A Expired - Fee Related CN101710856B (en) 2009-11-13 2009-11-13 Method and equipment for detection processing of loopback of aggregation link

Country Status (1)

Country Link
CN (1) CN101710856B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917298B (en) * 2010-09-02 2012-10-17 杭州华三通信技术有限公司 VLAN-based loop monitoring method and equipment
CN102332997B (en) * 2011-10-25 2014-06-25 瑞斯康达科技发展股份有限公司 Network equipment and method for adjusting link capacity by using network equipment
CN102420721B (en) * 2011-11-30 2015-04-22 瑞斯康达科技发展股份有限公司 Loop detection method and loop detecting device
CN103378998A (en) * 2012-04-27 2013-10-30 中兴通讯股份有限公司 Method and device for Ethernet port loopback detection
CN103581142A (en) * 2012-08-03 2014-02-12 华为技术有限公司 Data service experience assessment method and device and network equipment
CN106452862A (en) * 2016-09-29 2017-02-22 北京东土科技股份有限公司 Method and device for determining loop network
CN107612785A (en) * 2017-10-31 2018-01-19 郑州云海信息技术有限公司 A kind of cloud platform management method and its device
CN111010328A (en) * 2019-11-08 2020-04-14 苏州浪潮智能科技有限公司 Method and equipment for preventing white board switch from being looped
CN111371652B (en) * 2020-03-13 2023-01-03 深圳市三旺通信股份有限公司 Aggregation port connection state detection and protection method
CN115412456B (en) * 2022-08-11 2023-10-27 浪潮思科网络科技有限公司 Loop detection method, device and medium in stacking environment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056223A (en) * 2007-05-30 2007-10-17 杭州华三通信技术有限公司 Link failure detection method and device
CN101056224A (en) * 2007-05-31 2007-10-17 杭州华三通信技术有限公司 A loop detection method and device for the network device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056223A (en) * 2007-05-30 2007-10-17 杭州华三通信技术有限公司 Link failure detection method and device
CN101056224A (en) * 2007-05-31 2007-10-17 杭州华三通信技术有限公司 A loop detection method and device for the network device

Also Published As

Publication number Publication date
CN101710856A (en) 2010-05-19

Similar Documents

Publication Publication Date Title
CN101710856B (en) Method and equipment for detection processing of loopback of aggregation link
CN107959636B (en) Method and device for sending BGP (Border gateway protocol) message
CN109936640A (en) From the address distribution method and device of node device
CN101197648B (en) Self-loop detection method and device used for access network
CN110351229A (en) A kind of terminal UE management-control method and device
CN101420332A (en) Notifying method and network device for member terminal port configuring condition
CN202424770U (en) Safety isolator for network data
CN106878164A (en) A kind of message transmitting method and device
CN109462515A (en) Loop circuit processing method, the network equipment, MLAG networking and storage medium
CN102546424A (en) Message order-preserving method and device adopting same
CN107623731A (en) A kind of method for scheduling task, client, service cluster and system
CN102957594A (en) Message queue-based message processing method, related device and system
CN103929377A (en) Wired network and wireless network combined dispatching method and system and related devices
CN115174490A (en) Data transmission method and network application terminal
CN107547301A (en) A kind of master/slave device switching method and device
CN107968848B (en) A kind of method, terminal device and storage medium obtaining IP address
Zhao et al. An efficient patch dissemination strategy for mobile networks
CN115914164A (en) Tunnel connection method and device, electronic equipment and storage medium
CN104618335A (en) Message exchange method and interface processing platform
CN102769495B (en) A kind of optical fiber access network equipment communication means, Apparatus and system
CN103441931B (en) A kind of file transmitting method and device
CN103338438B (en) Method and mobile terminal that a kind of information state is replied
CN107547412B (en) STP calculation method and device
CN102752189B (en) A kind of method and apparatus processing message
CN107689984A (en) Information push method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121003

Termination date: 20171113

CF01 Termination of patent right due to non-payment of annual fee