CN101710856A - 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
CN101710856A
CN101710856A CN200910222925A CN200910222925A CN101710856A CN 101710856 A CN101710856 A CN 101710856A CN 200910222925 A CN200910222925 A CN 200910222925A CN 200910222925 A CN200910222925 A CN 200910222925A CN 101710856 A CN101710856 A CN 101710856A
Authority
CN
China
Prior art keywords
aggregated links
sign
loopback detection
loop
member port
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
CN200910222925A
Other languages
Chinese (zh)
Other versions
CN101710856B (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

Landscapes

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

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 cause the whole network can't proper communication.And the loopback detection function can be by 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 deficiencies in the prior art are: existing loopback detection function can't realize the loopback detection to aggregated links, more can not determine the member port and the loop type of concrete generation loopback.
Summary of the invention
Technical problem solved by the invention 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 described 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, the described second loopback detection message carry aggregated links sign, send the sign of 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:
Determine 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 determining that according to comparative result aggregated links forms loop, determine whether this member port of this aggregated links forms loop, determine that according to comparative result this member of this aggregated links forms loop after, further be specified to the type of ring; After determining 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 default time, when determining 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 described 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, the described second loopback detection message carry aggregated links sign, send the sign of 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 for comprising words identification in the first loopback detection message, 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 determining that according to comparative result aggregated links forms loop, whether this member port of determining this aggregated links forms loop, after this member who determines this aggregated links forms loop, further be specified to the type of ring, after determining 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 closing the member port that forms loop after confirming to form loop, and sends the loop warning information.
Preferably, further comprise:
Opening module was used for when determining that no longer there is loop in this aggregated links, opening pent member port in the default time.
Beneficial effect of the present invention is as follows:
Because in the technical scheme that the embodiment of the invention provides, by generating the loopback detection message, send from each member port of aggregated links, determine by the loopback detection message of receiving in each port snooping whether aggregated links exists loop at far-end then.
Further, can also determine 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 by 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 by 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 the data communications equipment aggregated links to produce 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 schematic diagram of aggregated links in the embodiment of the invention;
Fig. 2 is an aggregated links schematic diagram in the embodiment of the invention;
Fig. 3 is that the single Member Link of aggregated links forms the loop schematic diagram in the embodiment of the invention;
Fig. 4 is that aggregated links two member's links form the loop schematic diagram in the embodiment of the invention;
Fig. 5 is that the many Member Links of aggregated links form the loop schematic diagram 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 schematic diagram;
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 common loopback detection scheme more fully 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 one member port this message just illustrates that this aggregated links produces loop, the member port that just can determine 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.Below in conjunction with accompanying drawing the specific embodiment of the present invention is described.
Fig. 1 is the loopback detection processing method implementing procedure schematic diagram of aggregated links, as shown in the figure, can comprise the steps: when loopback detection
Step 101, each member port from aggregated links send the first loopback detection message, the sign that the described 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, the described second loopback detection message carry aggregated links sign, send the sign of 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:
Determine 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 convenience, 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 schematic diagram, as shown in Figure 2, and the aggregated links of forming by 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.Promptly, 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 illustrates that this aggregated links has formed loop.
In concrete the enforcement, 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 determining that according to comparative result aggregated links forms loop, whether this member port of determining this aggregated links forms loop, after determining that according to comparative result aggregated links does not form loop, after this member who determines 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 PORTID 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 schematic diagram, if in the setting time limit, have only a port to receive the loopback detection message of this aggregated links, and the PORTID in the message content equates with the PORTID 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 schematic diagram, 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 PORTID 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 schematic diagram, 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 default time, when determining 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 default time, if no longer receive the message of loopback detection, then think not have loopback, just can reopen this pent port, 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.
By 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 schematic diagram, 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, confirm the PORTID of its all member ports, send from all member ports successively and comprised identification code and member port PORT ID loopback detection message according to the aggregated links that has disposed loopback detection.
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 at this member port place is sent, and are to illustrate 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, determine to produce the port of loop;
In this step, the port PO RT ID in the reading of data message, and determine 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 default time, this aggregated links no longer exists loop then to reopen pent port, 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 to 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, 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 described 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, the described second loopback detection message carry aggregated links sign, send the sign of 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 determining that according to comparative result aggregated links forms loop, whether this member port of determining this aggregated links forms loop, after this member who determines this aggregated links forms loop, further be specified to the type of ring, after determining 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 closing the member port that forms loop after confirming to form loop, and sends the loop warning information.
In the enforcement, can further include in the equipment:
Opening module 705 was used for when determining that no longer there is loop in this aggregated links, opening pent member port in the default time.
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 enforcement is of the present invention, can in same or a plurality of softwares or hardware, realize the function of each module or unit.
As seen from the above-described embodiment, in the technical scheme that the embodiment of the invention provides, by generating the loopback detection message, each member port from aggregated links sends one by one, the loopback detection message of receiving in each port snooping determines whether aggregated links exists loop at far-end then, and determines 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.
By can realizing loopback detection with upper type, the loopback link done handled and, thereby when avoiding the data communications equipment aggregated links to produce loop, caused the paralysis of network for the user provides more detailed loop information to aggregated links.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 complete hardware embodiment, complete software implementation example or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form that goes up the computer program of implementing in 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.
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 by 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 energy 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 carrying out on computer or other programmable devices 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 creative notion of cicada, then can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising 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, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (13)

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 described 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, the described second loopback detection message carry aggregated links sign, send the sign of 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.
2. the method for claim 1 is characterized in that, determines 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, comprising:
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.
3. method as claimed in claim 2 is characterized in that, further comprises:
Determine 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.
4. the method for claim 1 is characterized in that, further comprises:
Comprise words identification in the described first loopback detection message.
5. 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 determining that according to comparative result aggregated links forms loop, determine whether this member port of this aggregated links forms loop, after this member who determines this aggregated links forms loop, further be specified to the type of ring; After determining that according to comparative result aggregated links does not form loop, stop to determine whether to form loop.
6. as the arbitrary described method of claim 1 to 5, it is characterized in that, further comprise:
After confirming to form loop, close the member port that forms loop;
Send the loop warning information.
7. method as claimed in claim 6 is characterized in that, further comprises:
In the default time, when determining that no longer there is loop in this aggregated links, open pent member port.
8. 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 described 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, the described second loopback detection message carry aggregated links sign, send the sign of 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.
9. equipment as claimed in claim 8, it is characterized in that, 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.
10. equipment as claimed in claim 9 is characterized in that,
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.
11. equipment as claimed in claim 8 is characterized in that:
Comprise words identification in the described first loopback detection message.
12. equipment as claimed in claim 8 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 determining that according to comparative result aggregated links forms loop, whether this member port of determining this aggregated links forms loop, after this member who determines this aggregated links forms loop, further be specified to the type of ring, after determining that according to comparative result aggregated links does not form loop, stop to determine whether to form loop.
13. as the arbitrary described equipment of claim 8 to 12, it is characterized in that, further comprise:
Alarm module is used for closing the member port that forms loop after confirming to form loop, and sends the loop warning information;
Opening module was used for when determining that no longer there is loop in this aggregated links, opening pent member port in the default time.
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 true CN101710856A (en) 2010-05-19
CN101710856B 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)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917298A (en) * 2010-09-02 2010-12-15 杭州华三通信技术有限公司 VLAN-based loop monitoring method and equipment
CN102332997A (en) * 2011-10-25 2012-01-25 瑞斯康达科技发展股份有限公司 Network equipment and method for adjusting link capacity by using network equipment
CN102420721A (en) * 2011-11-30 2012-04-18 瑞斯康达科技发展股份有限公司 Loop detection message packaging method as well as loop detecting method and device
CN103378998A (en) * 2012-04-27 2013-10-30 中兴通讯股份有限公司 Method and device for Ethernet port loopback detection
WO2014019487A1 (en) * 2012-08-03 2014-02-06 华为技术有限公司 Method, apparatus, and network device for data service experience evaluation
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
CN111371652A (en) * 2020-03-13 2020-07-03 深圳市三旺通信股份有限公司 Aggregation port connection state detection and protection method
CN115412456A (en) * 2022-08-11 2022-11-29 浪潮思科网络科技有限公司 Loopback detection method, equipment and medium in stacking environment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100563180C (en) * 2007-05-30 2009-11-25 杭州华三通信技术有限公司 Link failure detection method and device
CN101056224B (en) * 2007-05-31 2010-09-22 杭州华三通信技术有限公司 A loop detection method and device for the network device

Cited By (16)

* 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
CN101917298A (en) * 2010-09-02 2010-12-15 杭州华三通信技术有限公司 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
CN102332997A (en) * 2011-10-25 2012-01-25 瑞斯康达科技发展股份有限公司 Network equipment and method for adjusting link capacity by using network equipment
CN102420721A (en) * 2011-11-30 2012-04-18 瑞斯康达科技发展股份有限公司 Loop detection message packaging method as well as loop detecting method and device
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
WO2013159450A1 (en) * 2012-04-27 2013-10-31 中兴通讯股份有限公司 Ethernet port loopback detection method and apparatus
WO2014019487A1 (en) * 2012-08-03 2014-02-06 华为技术有限公司 Method, apparatus, and network device for data service experience evaluation
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
CN111371652A (en) * 2020-03-13 2020-07-03 深圳市三旺通信股份有限公司 Aggregation port connection state detection and protection method
CN111371652B (en) * 2020-03-13 2023-01-03 深圳市三旺通信股份有限公司 Aggregation port connection state detection and protection method
CN115412456A (en) * 2022-08-11 2022-11-29 浪潮思科网络科技有限公司 Loopback detection method, equipment and medium in stacking environment
CN115412456B (en) * 2022-08-11 2023-10-27 浪潮思科网络科技有限公司 Loop detection method, device and medium in stacking environment

Also Published As

Publication number Publication date
CN101710856B (en) 2012-10-03

Similar Documents

Publication Publication Date Title
CN101710856B (en) Method and equipment for detection processing of loopback of aggregation link
CN101707601B (en) Invasion defence detection method and device and gateway equipment
CN106878164B (en) Message transmission method and device
CN101420332A (en) Notifying method and network device for member terminal port configuring condition
CN101197648A (en) Self-loop detection method and device used for access network
CN202424770U (en) Safety isolator for network data
US8532331B2 (en) Method for monitoring a picture or multimedia video pictures in a communication system
CN109462515A (en) Loop circuit processing method, the network equipment, MLAG networking and storage medium
CN102957594A (en) Message queue-based message processing method, related device and system
CN107689984A (en) Information push method, device, computer equipment and storage medium
CN110855711A (en) Industrial control network security monitoring method based on white list matrix of SCADA (supervisory control and data acquisition) system
JP2012205303A (en) Power loss packet priority
CN101232508A (en) Equipment and method for speeding up poly spanning tree protocol network topological convergence
CN104270287A (en) Message disorder detecting method and device
CN107483084B (en) Broadband carrier networking method, site and system
CN102769495B (en) A kind of optical fiber access network equipment communication means, Apparatus and system
CN100456747C (en) Method and network equipment for implementing inspection of reversal path of unicast
CN103441931B (en) A kind of file transmitting method and device
CN104618335A (en) Message exchange method and interface processing platform
CN105681229A (en) Method for extending port serial numbers and switch
CN109195160B (en) Tamper-proof storage system of network equipment resource detection information and control method thereof
CN103338438B (en) Method and mobile terminal that a kind of information state is replied
CN102882720A (en) Indicating message sending method, indicating message receiving method, equipment and system
CN100550844C (en) The method of reducing redirected message characteristic information
CN102752189B (en) A kind of method and apparatus processing message

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