CN101908986A - Method and equipment for detecting link fault - Google Patents

Method and equipment for detecting link fault Download PDF

Info

Publication number
CN101908986A
CN101908986A CN 201010250925 CN201010250925A CN101908986A CN 101908986 A CN101908986 A CN 101908986A CN 201010250925 CN201010250925 CN 201010250925 CN 201010250925 A CN201010250925 A CN 201010250925A CN 101908986 A CN101908986 A CN 101908986A
Authority
CN
China
Prior art keywords
ethernet port
link
port
probe messages
terminal equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 201010250925
Other languages
Chinese (zh)
Other versions
CN101908986B (en
Inventor
徐鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2010102509253A priority Critical patent/CN101908986B/en
Publication of CN101908986A publication Critical patent/CN101908986A/en
Application granted granted Critical
Publication of CN101908986B publication Critical patent/CN101908986B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and equipment for detecting link fault. The method comprises the following steps that: opposite-terminal equipment receives first detection message from home-terminal equipment, and switches a second Ethernet port to an on state according to the first detection message; the opposite-terminal equipment sends second detection message to the home-terminal equipment, and judges whether the first detection message from the home-terminal equipment can be received in the preset time; if so, the opposite-terminal equipment determines that the link between a first Ethernet port and the second Ethernet port has no fault; otherwise, the opposite-terminal equipment determines that the link between the first Ethernet port and the second Ethernet port has fault. The method and the equipment can accurately detect whether the link has fault.

Description

A kind of detection method of link failure and equipment
Technical field
The present invention relates to communication technical field, particularly relate to a kind of detection method and equipment of link failure.
Background technology
Ethernet technology is from being born, and is simple and easy to the dominant technology that usefulness, lower-price characteristic progressively become local area network (LAN) with it.In recent years, along with the sequential use of gigabit Ethernet, ten thousand mbit ethernet technology, ethernet technology is expanded to metropolitan area network and wide area network direction.
Because ethernet technology is mainly used in local area network (LAN) at first, and local area network (LAN) is lower to the requirement of reliability and stability.Therefore, Ethernet OAM (Operation, Administration and Maintenance, Operations, Administration and Maintenance) can effectively improve the ability that administers and maintains of Ethernet, and ensures the stable operation of network.Wherein, the major function of OAM comprises:
(1) link performance monitoring function: the various performances to link are monitored (for example, can monitor packet drop, time delay situation, jitter conditions etc.), and all kinds of flows are added up.
(2) detecting fault and alarm function: by sending the connectedness that probe messages is come detecting link, and when link breaks down timely informing network keeper.
(3) go-and-return test function: the situation of returning by the monitoring message that sends detects link-quality and location link failure.
It should be noted that in actual networking, a kind of special phenomena one way link (being single-pass) can occur.Wherein, one way link is meant that local terminal equipment can receive the message that opposite equip. sends by link layer, but opposite equip. can not receive the message of local terminal equipment.In when, in the actual networking one way link taking place when, will cause a series of problem, for example, there are problems such as loop in the tree topology of generation.Therefore, in actual applications, need avoid the generation of one way link.
Be connected to example with optical fiber, one way link can be divided into two types: a kind of is that the optical fiber intersection links to each other, and another kind is that an optical fiber does not connect or an optical fiber opens circuit.Shown in Figure 1A-1C, be the optical fiber connection diagram.Wherein, Figure 1A is correct optical fiber connection diagram, and Figure 1B is that optical fiber intersects to link to each other and causes occurring the schematic diagram of one way link, and Fig. 1 C is that optical fiber does not connect or optical fiber opens circuit and causes occurring the schematic diagram of one way link.
Generation for fear of one way link, need the equipment of link both sides be detected, and detection mode is to keep and overtime testing mechanism by the health status of appointed interval, under normal circumstances promptly, the equipment of link both sides is sent out the health status probe messages mutually, connects and can reach if can receive response then think, behind the continuous else if several times interval, still can't receive response, then think the connection fault.
But, in actual applications, can not guarantee the equal open detection agreement of equipment of link both sides, suppose to have only a side open detection agreement and opposite side does not have the open detection agreement, then for the equipment of open detection agreement, still can't receive the situation of response behind the continuous several times of the meeting appearance interval, at this moment, the equipment of open detection agreement can be thought the connection fault, and being opposite side equipment, actual conditions do not have the open detection agreement, connect not fault, thereby cause detecting the generation of wrong report link failure.
Summary of the invention
The invention provides a kind of detection method and equipment of link failure, whether break down accurately to detect link, and avoid reporting by mistake the situation of link failure.
In order to achieve the above object, the present invention proposes a kind of detection method of link failure, be applied to comprise in the system of local terminal equipment and opposite equip., described local terminal equipment is connected with second ethernet port of described opposite equip. by first ethernet port, the described second ethernet port initial condition is the self adaptation state, and this method may further comprise the steps:
When first ethernet port of described local terminal equipment started link detecting, described opposite equip. received first probe messages from described local terminal equipment; And described second ethernet port is switched to opening from described self adaptation state according to described first probe messages;
Described opposite equip. sends second probe messages to described local terminal equipment, and judges first probe messages that whether can receive in the Preset Time from described local terminal equipment;
If described opposite equip. determines that the link between described first ethernet port and described second ethernet port does not break down; Otherwise described opposite equip. determines that the link between described first ethernet port and described second ethernet port breaks down.
Described opposite equip. determines that the link between described first ethernet port and described second ethernet port breaks down, and also comprises afterwards:
Described opposite equip. reports the information that link breaks down.
According to described first probe messages described second ethernet port is switched to opening from described self adaptation state, also comprises afterwards:
Described opposite equip. is kept described second ethernet port and is in opening, and when described second ethernet port is unusual, described second ethernet port is switched to the self adaptation state from opening.
Described second ethernet port is specially unusually: described second ethernet port is closed, deletes, extracts or described opposite equip. is restarted.
The ethernet port that is in the self adaptation state does not initiatively send probe messages, and when receiving probe messages, the ethernet port that is in the self adaptation state can automatically switch into opening.
A kind of opposite equip. of link failure, be applied to comprise in the system of opposite equip. and local terminal equipment, described local terminal equipment is connected with second ethernet port of described opposite equip. by first ethernet port, described checkout equipment is the self adaptation state as described opposite equip. and the described second ethernet port initial condition, and this equipment comprises:
Receiver module is used for receiving first probe messages from described local terminal equipment when first ethernet port of described local terminal equipment starts link detecting;
Handover module is connected with described receiver module, is used for according to described first probe messages described second ethernet port being switched to opening from described self adaptation state;
Sending module is connected with described handover module, is used for sending second probe messages to described local terminal equipment;
Judge module is connected with described receiver module, is used to judge first probe messages that whether can receive in the Preset Time from described local terminal equipment;
Determination module is connected with described judge module, be used for when the judged result of described judge module when being, determine that the link between described first ethernet port and described second ethernet port does not break down; Otherwise, determine that the link between described first ethernet port and described second ethernet port breaks down.
Also comprise:
Reporting module is connected with described determination module, is used for the information that link breaks down is reported.
Described handover module also is used to keep described second ethernet port and is in opening, and when described second ethernet port is unusual, described second ethernet port is switched to the self adaptation state from opening.
Described second ethernet port is specially unusually: described second ethernet port is closed, deletes, extracts or described opposite equip. is restarted.
The ethernet port that is in the self adaptation state does not initiatively send probe messages, and when receiving probe messages, the ethernet port that is in the self adaptation state can automatically switch into opening.
Compared with prior art, the present invention has the following advantages:
Can accurately detect link and whether break down, and avoid reporting by mistake the situation of link failure, thus the ease for use and the reliability of lifting detection protocol.
Description of drawings
Figure 1A-1C is an optical fiber connection diagram in the prior art;
Fig. 2 is the detection method flow chart of a kind of link failure of the present invention's proposition;
Fig. 3 switches schematic diagram for the state machine of the port of self adaptation state among the present invention;
Fig. 4 is application scenarios schematic diagram among the present invention;
Fig. 5 is the detection method flow chart of the following a kind of link failure that is proposed of a kind of application scenarios of the present invention;
Fig. 6 is the assay device structures figure of a kind of link failure of the present invention's proposition.
Embodiment
For fear of the generation of one way link, need the equipment of link both sides be detected, wherein, detection protocol includes but not limited to: OAM, DLDP (Device Link Detection Protocol, device link detection protocol).
Concrete, DLDP can monitor the Link State of optical fiber or copper twisted pair, exists if find one way link, and then DLDP can dispose according to the user, closes automatically or notifies the user to close related port by hand, to prevent the generation of network problem.
In addition, DLDP is a link layer protocol, can come the Link State of watch-dog with the physical layer protocol collaborative work.Wherein, the Automatic Negotiation Mechanism of physical layer can be carried out the detection of physical signalling and fault, DLDP can carry out opposite equip. identification, one way link identification and close work such as unreachable port.The two is by collaborative work, can detect and close physics and the unidirectional of logic is connected, if both link ends can both independent operate as normal in physical layer, then DLDP can detect whether these links correctly connect, whether two ends can be correct mutual message etc. at link layer.
OAM detection mode and DLDP detection mode are Link State detection protocol commonly used in the Ethernet, be used to detect the accessibility of connection, in testing process, the equipment that requires the link both sides start the Link State detection protocol on the overall situation and/or the port simultaneously and connect after can detect.Suppose that a side starts the Link State detection protocol, opposite side is not activated the Link State detection protocol, then can cause detecting the generation of wrong report link failure.
At the problems referred to above, a kind of detection method and equipment of link failure are provided among the present invention, by the self adaptation state is set, start the Link State detection protocol in a side, opposite side is not activated under the situation of Link State detection protocol, also can accurately detect link and whether break down, and avoid reporting by mistake the situation of link failure.
As shown in Figure 2, a kind of detection method of link failure is provided among the present invention, be applied to comprise in the system of local terminal equipment and opposite equip., described local terminal equipment is connected with second ethernet port of described opposite equip. by first ethernet port, the described second ethernet port initial condition is the self adaptation state, and this method may further comprise the steps:
Step 201, when first ethernet port of described local terminal equipment started link detecting, described opposite equip. received first probe messages from described local terminal equipment.
Step 202, described opposite equip. switches to opening with described second ethernet port from described self adaptation state according to described first probe messages.
Step 203, described opposite equip. sends second probe messages to described local terminal equipment, and judges first probe messages that whether can receive in the Preset Time from described local terminal equipment.If forward step 204 to; Otherwise, forward step 205 to.
Step 204, described opposite equip. determine that the link between described first ethernet port and described second ethernet port does not break down.
Step 205, described opposite equip. determine that the link between described first ethernet port and described second ethernet port breaks down.
In order more clearly to set forth technical scheme provided by the invention, describe the present invention below in conjunction with a kind of concrete application scenarios.
Should be with under the scene, need the default switch state of the agreement of Equipment Inspection earlier to be set to: global default is opened, the default self adaptation of port; And the detection protocol default setting of port is set to: the self adaptation state.
Concrete, after the setting that global default is opened is to guarantee that all probe messages can arrive this equipment, is delivered to detection module (for example, CPU etc.) on correct and handled.When the detection protocol of port is the self adaptation state, this port does not initiatively send probe messages, but when receiving probe messages, this port can automatically switch into opening, connect with opposite equip. and carry out the transmission and the reception of probe messages, keep health status.
In addition, in setting up procedure, when the port of self adaptation state owing to receiving after probe messages switches to opening, the state of this port will maintain opening, until port is closed, deletes, extracts or equipment situation such as is restarted and taken place.
It should be noted that when the port of self adaptation state owing to receiving after probe messages switches to opening, the message of port transmission that the message that the port of this self adaptation state sends and user are configured to opening is identical.The port that is the self adaptation state is owing to receiving after probe messages switches to opening, and what the port of this self adaptation state will be with the port that is configured to opening is identical.For example, after the port of self adaptation state switches to opening, the port of self adaptation state also can send probe messages to opposite equip., if opposite equip. is in the self adaptation state, then can make opposite equip. according to this probe messages the self adaptation state be switched to opening.Again for example, after the port of self adaptation state switches to opening, if can't receive back message using after surpassing designated time intervals, then with the reporting links fault.
As shown in Figure 3, for the state machine of the port of self adaptation state switches schematic diagram, initialization (START) afterwards, port will be in self adaptation state (AUTO), by intercepting the information of (listen) opposite equip., when the probe messages that receives from opposite equip., port switches to opening (ON), under opening, if port is closed, deletes, extracts or equipment is restarted etc., then port switches to the self adaptation state.
Application scenarios schematic diagram of the present invention as shown in Figure 4, detecting with the Link State of switch A and switch b is that example describes, and is example (mode that detects by DLDP is similar, repeats no more among the present invention) to detect by OAM.Wherein, switch A is a local terminal equipment, and port (first ethernet port) is G1/0/1, and switch b is an opposite equip., and port (second ethernet port) is G2/0/1, and switch A and switch b are direct-connected by two Ethernet interfaces.
Should be with under the scene, the detection protocol default setting of the port G2/0/1 of switch b is the self adaptation state, the detection protocol default setting of the port G1/0/1 of switch A can be the self adaptation state, also can be closed condition, be that the self adaptation state is that example describes with the detection protocol default setting of the port G2/0/1 of the port G1/0/1 of switch A and switch b.Under initial condition, switch A and switch b are not opened the OAM agreement, are operated in the self adaptation state.
As shown in Figure 5, the detection method of link failure provided by the invention may further comprise the steps:
Step 501 is opened the OAM protocol function on the port G1/0/1 of switch A, make port G1/0/1 be in opening.
Concrete, need be concerned about the connection status of port G1/0/1 respective links when switch A, and when carrying out relevant treatment according to this connection status, then the webmaster personnel can open the OAM protocol function by configuration tool on the port G1/0/1 of switch A, make port G1/0/1 be in opening.
Step 502, switch A outwards sends OAM by port G1/0/1 and finds message.
Concrete, switch A can outwards send OAM discovery message according to preset period or the port G1/0/1 that passes through regularly, whether there to be OAM equipment in the detection network, owing to should be corresponding OAM equipment with switch b under the scene, then switch b can return corresponding results to switch A, and switch A finds that switch b is an OAM equipment.
Step 503, switch A sends probe messages to switch b.
Wherein, this probe messages is the probe messages based on the OAM agreement.For convenience of description, this probe messages is an example with first probe messages.
Concrete, after finding switch b, because port G1/0/1 has started OAM link detecting function, if whether switch A needs the link between detection port G1/0/1 and the port G2/0/1 normal, then switch A need send first probe messages to the port G2/0/1 of switch b by port G1/0/1.
Step 504, after receiving first probe messages, switch b switches to opening with port G2/0/1 from the self adaptation state.
Because when port is the self adaptation state, this port does not initiatively send probe messages, but when receiving probe messages, this port can automatically switch into opening, and connect with opposite equip. and carry out the transmission and the reception of probe messages, keep health status.
Therefore, after receiving first probe messages, switch b need switch to opening from the self adaptation state with the OAM(Operation Administration Maintenance) setting of port G2/0/1.In addition, after receiving first probe messages, switch b can also send response message to switch A by port G2/0/1.
Step 505, the port G2/0/1 of switch b normally sets up OAM with the port G1/0/1 of switch A and is connected, and the beginning connection status detects.
Step 506, switch b sends second probe messages to switch A.Wherein, this second probe messages is the probe messages based on the OAM agreement.
Concrete, switch b need send second probe messages to the port G1/0/1 of switch A by port G2/0/1.
Step 507, switch b are judged first probe messages that whether receives switch A in the Preset Time.If forward step 508 to; Otherwise, forward step 509 to.
Concrete, after switch b and switch A are all opened the OAM protocol function, switch b and switch A all need to send probe messages according to preset period to the opposite end, be that switch A sends first probe messages according to preset period (cycle 1) to switch b, switch b sends second probe messages according to preset period (cycle 2) to switch A, wherein, the cycle 1 can be identical with the cycle 2, also can be different.
In this step, this Preset Time can be selected according to actual needs, for example, switch A according to the cycle 1 when switch b sends first probe messages, this Preset Time can be cycle 1 time corresponding of preset times.
It should be noted that switch A also can judge second probe messages that whether receives switch b in the Preset Time, and handle accordingly that the processing procedure of this processing procedure and switch b is similar, should repeat no more with under the scene according to judged result.
In addition, switch b can also be judged the response message that whether receives switch A in the Preset Time, if forward step 508 to; Otherwise, forward step 509 to.Wherein, in actual applications, after second probe messages that receives from switch b, this switch A can also if receive this response message in the switch b Preset Time, forward step 508 to the response message of switch b transmission at second probe messages, otherwise, forward step 509 to.
Step 508, switch b determine that the link between port G2/0/1 and the port G1/0/1 does not break down.
When the link between port G2/0/1 and the port G1/0/1 did not break down, switch b was kept port G2/0/1 and is in opening, connected with opposite equip. and carried out the transmission and the reception of probe messages, kept health status etc.
Step 509, switch b determine that the link between port G2/0/1 and the port G1/0/1 breaks down.
Step 510, switch b reports the information that link breaks down.
Concrete, if the link between port G2/0/1 and the port G1/0/1 breaks down, then switch b need report OAM link failure incident to port G2/0/1, the OAM protocol status of keeping port G2/0/1 simultaneously is an opening, and waits for that Link State recovers.
It should be noted that, switch A is after switch b sends first probe messages, switch A also needs to judge second probe messages that whether receives in the Preset Time from switch b, and determine according to judged result whether the link between port G2/0/1 and the port G1/0/1 breaks down, the processing procedure type of this process and switch b should repeat no more with under the scene.
Step 511, after Link State recovered, switch b sent second probe messages by port G2/0/1 to switch A.
Concrete, after Link State recovers, no matter the OAM protocol status of the port G1/0/1 of switch A is opening or self adaptation state, switch b all can send second probe messages to switch A by port G2/0/1, with the Link State between detection port G1/0/1 and the port G2/0/1, if port G1/0/1 is in opening, then direct and port G2/0/1 connects and enters testing process; If port G1/0/1 is in the self adaptation state, then switch A need switch to opening from the self adaptation state with port G1/0/1, and the subsequent treatment mode of this switch A and the processing mode of switch b are similar, should be with giving unnecessary details no longer in detail under the scene.
It should be noted that after port G2/0/1 is in opening switch b need be kept port G2/0/1 and be in opening, and occur port G2/0/1 being switched to the self adaptation state from opening when unusual at port G2/0/1.Wherein, the unusual situation of port G2/0/1 appearance includes but not limited to: port G2/0/1 is closed, port G2/0/1 is deleted, port G2/0/1 is pulled out or the switch b of port G2/0/1 correspondence is restarted.
Further, when the OAM of port G2/0/1 protocol status reverts to the self adaptation state, if the OAM protocol status of port G1/0/1 still is in opening, then switch A can send probe messages (first probe messages) to switch b by port G1/0/1, by switch b port G2/0/1 is switched to opening from the self adaptation state.If the OAM protocol status of port G1/0/1 is in closed condition or self adaptation state, then switch b need be kept port G2/0/1 at the self adaptation state.
Based on the inventive concept same with said method, the invention allows for a kind of checkout equipment of link failure, be applied to comprise in the system of described opposite equip. and local terminal equipment, described local terminal equipment is connected with second ethernet port of described opposite equip. by first ethernet port, described checkout equipment is the self adaptation state as described opposite equip. and the described second ethernet port initial condition, wherein, the ethernet port that is in the self adaptation state does not initiatively send probe messages, when receiving probe messages, the ethernet port that is in the self adaptation state can automatically switch into opening.As shown in Figure 6, this equipment comprises:
Receiver module 61 is used for receiving first probe messages from described local terminal equipment when first ethernet port of described local terminal equipment starts link detecting.
Handover module 62 is connected with described receiver module 61, is used for according to described first probe messages described second ethernet port being switched to opening from described self adaptation state.
Described handover module 62 also is used to keep described second ethernet port and is in opening, and when described second ethernet port is unusual, described second ethernet port is switched to the self adaptation state from opening; Wherein, described second ethernet port is specially unusually: described second ethernet port is closed, deletes, extracts or described opposite equip. is restarted.
Sending module 63 is connected with described handover module 62, is used for sending second probe messages to described local terminal equipment.
Judge module 64 is connected with described receiver module 61, is used to judge first probe messages that whether can receive in the Preset Time from described local terminal equipment.
Determination module 65 is connected with described judge module 64, be used for when the judged result of described judge module 64 when being, determine that the link between described first ethernet port and described second ethernet port does not break down; Otherwise, determine that the link between described first ethernet port and described second ethernet port breaks down.
Reporting module 66 is connected with described determination module 65, is used for the information that link breaks down is reported.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (10)

1. the detection method of a link failure, be applied to comprise in the system of local terminal equipment and opposite equip., described local terminal equipment is connected with second ethernet port of described opposite equip. by first ethernet port, it is characterized in that, the described second ethernet port initial condition is the self adaptation state, and this method may further comprise the steps:
When first ethernet port of described local terminal equipment started link detecting, described opposite equip. received first probe messages from described local terminal equipment; And described second ethernet port is switched to opening from described self adaptation state according to described first probe messages;
Described opposite equip. sends second probe messages to described local terminal equipment, and judges first probe messages that whether can receive in the Preset Time from described local terminal equipment;
If described opposite equip. determines that the link between described first ethernet port and described second ethernet port does not break down; Otherwise described opposite equip. determines that the link between described first ethernet port and described second ethernet port breaks down.
2. the method for claim 1 is characterized in that, described opposite equip. determines that the link between described first ethernet port and described second ethernet port breaks down, and also comprises afterwards:
Described opposite equip. reports the information that link breaks down.
3. the method for claim 1 is characterized in that, according to described first probe messages described second ethernet port is switched to opening from described self adaptation state, also comprises afterwards:
Described opposite equip. is kept described second ethernet port and is in opening, and when described second ethernet port is unusual, described second ethernet port is switched to the self adaptation state from opening.
4. method as claimed in claim 3 is characterized in that, described second ethernet port is specially unusually: described second ethernet port is closed, deletes, extracts or described opposite equip. is restarted.
5. as each described method of claim 1-4, it is characterized in that the ethernet port that is in the self adaptation state does not initiatively send probe messages, when receiving probe messages, the ethernet port that is in the self adaptation state can automatically switch into opening.
6. the checkout equipment of a link failure, be applied to comprise in the system of opposite equip. and local terminal equipment, described local terminal equipment is connected with second ethernet port of described opposite equip. by first ethernet port, it is characterized in that, described checkout equipment is the self adaptation state as described opposite equip. and the described second ethernet port initial condition, and this equipment comprises:
Receiver module is used for receiving first probe messages from described local terminal equipment when first ethernet port of described local terminal equipment starts link detecting;
Handover module is connected with described receiver module, is used for according to described first probe messages described second ethernet port being switched to opening from described self adaptation state;
Sending module is connected with described handover module, is used for sending second probe messages to described local terminal equipment;
Judge module is connected with described receiver module, is used to judge first probe messages that whether can receive in the Preset Time from described local terminal equipment;
Determination module is connected with described judge module, be used for when the judged result of described judge module when being, determine that the link between described first ethernet port and described second ethernet port does not break down; Otherwise, determine that the link between described first ethernet port and described second ethernet port breaks down.
7. equipment as claimed in claim 6 is characterized in that, also comprises:
Reporting module is connected with described determination module, is used for the information that link breaks down is reported.
8. equipment as claimed in claim 6 is characterized in that,
Described handover module also is used to keep described second ethernet port and is in opening, and when described second ethernet port is unusual, described second ethernet port is switched to the self adaptation state from opening.
9. equipment as claimed in claim 8 is characterized in that, described second ethernet port is specially unusually: described second ethernet port is closed, deletes, extracts or described opposite equip. is restarted.
10. as each described equipment of claim 6-9, it is characterized in that the ethernet port that is in the self adaptation state does not initiatively send probe messages, when receiving probe messages, the ethernet port that is in the self adaptation state can automatically switch into opening.
CN2010102509253A 2010-08-12 2010-08-12 Method and equipment for detecting link fault Active CN101908986B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102509253A CN101908986B (en) 2010-08-12 2010-08-12 Method and equipment for detecting link fault

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102509253A CN101908986B (en) 2010-08-12 2010-08-12 Method and equipment for detecting link fault

Publications (2)

Publication Number Publication Date
CN101908986A true CN101908986A (en) 2010-12-08
CN101908986B CN101908986B (en) 2012-07-04

Family

ID=43264311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102509253A Active CN101908986B (en) 2010-08-12 2010-08-12 Method and equipment for detecting link fault

Country Status (1)

Country Link
CN (1) CN101908986B (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333011A (en) * 2011-10-17 2012-01-25 中兴通讯股份有限公司 Unidirection link detection (UDLD) method and UDLD device
CN102420828A (en) * 2011-12-15 2012-04-18 华为技术有限公司 Method, device and system for setting protocol management status
CN102571589A (en) * 2012-01-17 2012-07-11 华为技术有限公司 Network communications method, equipment and system
CN102711163A (en) * 2012-07-11 2012-10-03 烽火通信科技股份有限公司 Method for rapidly detecting alarm link failure in IP (internal protocol)-RAN (random access network) equipment
CN104348676A (en) * 2013-08-02 2015-02-11 华为技术有限公司 Link detection method and device based on operation administration and maintenance
CN104394012A (en) * 2014-11-12 2015-03-04 北京华为数字技术有限公司 Cluster router, MPU (microprocessor unit), determining method for faults of MPU and sensing controller
CN105281831A (en) * 2015-12-04 2016-01-27 上海斐讯数据通信技术有限公司 Optical network loop detection method and system and optical network equipment
CN105306289A (en) * 2014-06-27 2016-02-03 中兴通讯股份有限公司 Method and device for improving reliability of multi-module devices, and client terminal device
CN105592060A (en) * 2015-10-26 2016-05-18 杭州华三通信技术有限公司 Password generation method and device
CN106375110A (en) * 2016-08-23 2017-02-01 杭州华三通信技术有限公司 Port training method and device
CN109617717A (en) * 2018-11-30 2019-04-12 锐捷网络股份有限公司 The detection method and device of IPSec SA
CN110602339A (en) * 2019-08-29 2019-12-20 深圳震有科技股份有限公司 Fault detection method, system and storage medium based on voice gateway
CN110838994A (en) * 2019-11-14 2020-02-25 天津津航计算技术研究所 Redundant Ethernet link state monitoring system based on broadcast protocol
CN110868407A (en) * 2019-11-06 2020-03-06 成都卫士通信息产业股份有限公司 Ethernet link detection method, device, electronic equipment and computer medium
CN111431652A (en) * 2020-03-24 2020-07-17 浙江中控研究院有限公司 Self-adaptive main clock competition method and system for multi-stage clock synchronization network
CN112073270A (en) * 2020-09-15 2020-12-11 新华三信息安全技术有限公司 Link fault detection method and device
CN112953789A (en) * 2021-01-22 2021-06-11 新华三大数据技术有限公司 Link detection method and device
CN114978868A (en) * 2022-07-01 2022-08-30 杭州迪普科技股份有限公司 Method and device for accelerating chip function abnormity based on OAM loop self-checking network message
CN115865742A (en) * 2022-11-16 2023-03-28 天翼云科技有限公司 Method and system for detecting unidirectional link fault of white box switch

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072155A (en) * 2007-03-02 2007-11-14 中兴通讯股份有限公司 Single optical fiber fault processing method for Ethernet antomatic protection system
US20080089249A1 (en) * 2006-10-13 2008-04-17 Kevin Young Automated correction of duplex mismatches
CN101350823A (en) * 2008-08-21 2009-01-21 中兴通讯股份有限公司 Negotiation method and apparatus for connecting Ethernet port link

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080089249A1 (en) * 2006-10-13 2008-04-17 Kevin Young Automated correction of duplex mismatches
CN101072155A (en) * 2007-03-02 2007-11-14 中兴通讯股份有限公司 Single optical fiber fault processing method for Ethernet antomatic protection system
CN101350823A (en) * 2008-08-21 2009-01-21 中兴通讯股份有限公司 Negotiation method and apparatus for connecting Ethernet port link

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333011B (en) * 2011-10-17 2017-11-03 中兴通讯股份有限公司 One way link detection method and device
CN102333011A (en) * 2011-10-17 2012-01-25 中兴通讯股份有限公司 Unidirection link detection (UDLD) method and UDLD device
CN102420828A (en) * 2011-12-15 2012-04-18 华为技术有限公司 Method, device and system for setting protocol management status
CN102571589A (en) * 2012-01-17 2012-07-11 华为技术有限公司 Network communications method, equipment and system
CN102571589B (en) * 2012-01-17 2015-01-21 华为技术有限公司 Network communications method, equipment and system
CN102711163A (en) * 2012-07-11 2012-10-03 烽火通信科技股份有限公司 Method for rapidly detecting alarm link failure in IP (internal protocol)-RAN (random access network) equipment
CN102711163B (en) * 2012-07-11 2015-08-19 烽火通信科技股份有限公司 A kind of method of IP-RAN equipment fast detecting alarm link failure
CN104348676A (en) * 2013-08-02 2015-02-11 华为技术有限公司 Link detection method and device based on operation administration and maintenance
CN104348676B (en) * 2013-08-02 2018-02-13 华为技术有限公司 A kind of chain circuit detecting method and equipment based on operation management maintainance OAM
CN105306289A (en) * 2014-06-27 2016-02-03 中兴通讯股份有限公司 Method and device for improving reliability of multi-module devices, and client terminal device
CN104394012B (en) * 2014-11-12 2018-06-26 北京华为数字技术有限公司 Cluster routers, MPU and its failure determination method, sensing controller
CN104394012A (en) * 2014-11-12 2015-03-04 北京华为数字技术有限公司 Cluster router, MPU (microprocessor unit), determining method for faults of MPU and sensing controller
CN105592060A (en) * 2015-10-26 2016-05-18 杭州华三通信技术有限公司 Password generation method and device
CN105592060B (en) * 2015-10-26 2018-11-09 新华三技术有限公司 A kind of method for generating cipher code and equipment
CN105281831A (en) * 2015-12-04 2016-01-27 上海斐讯数据通信技术有限公司 Optical network loop detection method and system and optical network equipment
CN106375110A (en) * 2016-08-23 2017-02-01 杭州华三通信技术有限公司 Port training method and device
CN109617717A (en) * 2018-11-30 2019-04-12 锐捷网络股份有限公司 The detection method and device of IPSec SA
CN110602339A (en) * 2019-08-29 2019-12-20 深圳震有科技股份有限公司 Fault detection method, system and storage medium based on voice gateway
CN110602339B (en) * 2019-08-29 2021-04-20 深圳震有科技股份有限公司 Fault detection method, system and storage medium based on voice gateway
CN110868407A (en) * 2019-11-06 2020-03-06 成都卫士通信息产业股份有限公司 Ethernet link detection method, device, electronic equipment and computer medium
CN110868407B (en) * 2019-11-06 2022-05-17 成都卫士通信息产业股份有限公司 Ethernet link detection method, device, electronic equipment and computer medium
CN110838994A (en) * 2019-11-14 2020-02-25 天津津航计算技术研究所 Redundant Ethernet link state monitoring system based on broadcast protocol
CN111431652A (en) * 2020-03-24 2020-07-17 浙江中控研究院有限公司 Self-adaptive main clock competition method and system for multi-stage clock synchronization network
CN112073270A (en) * 2020-09-15 2020-12-11 新华三信息安全技术有限公司 Link fault detection method and device
CN112953789A (en) * 2021-01-22 2021-06-11 新华三大数据技术有限公司 Link detection method and device
CN112953789B (en) * 2021-01-22 2022-04-01 新华三大数据技术有限公司 Link detection method and device
CN114978868A (en) * 2022-07-01 2022-08-30 杭州迪普科技股份有限公司 Method and device for accelerating chip function abnormity based on OAM loop self-checking network message
CN114978868B (en) * 2022-07-01 2023-04-25 杭州迪普科技股份有限公司 Method and device for accelerating chip function abnormality based on OAM loop self-checking network message
CN115865742A (en) * 2022-11-16 2023-03-28 天翼云科技有限公司 Method and system for detecting unidirectional link fault of white box switch

Also Published As

Publication number Publication date
CN101908986B (en) 2012-07-04

Similar Documents

Publication Publication Date Title
CN101908986B (en) Method and equipment for detecting link fault
US9237092B2 (en) Method, apparatus, and system for updating ring network topology information
EP2798782B1 (en) Technique for handling a status change in an interconnect node
EP2243255B1 (en) Method and system for dynamic link failover management
EP2045965B1 (en) Resource state monitoring method, device and communication network
EP2352253A1 (en) Method and apparatus for protecting link aggregation group of ethernet ring
CN101188527B (en) A heartbeat detection method and device
JP2006229477A (en) Failure detector
US8804491B2 (en) Recovery method for ring-based network
EP2207307A1 (en) Method for processing failure of slave port of master node in ethernet ring network system
CN108804260B (en) SRIO system switching method and device
CN101222402B (en) Ethernet ring protection method, system and device
CN101436975A (en) Method, apparatus and system for implementing rapid convergence in looped network
JPH0799504A (en) Token-ring local-area-network testing apparatus inserted and attached at active t-shaped apparatus constitution
CN102238067B (en) Switching method and device on Rapid Ring Protection Protocol (RRPP) ring
CN101771705B (en) Processing method based on RRPP and device
CN106487696B (en) Link failure detection method and device
CN101232406A (en) OAM fast detecting method, apparatus and system
CN101478775B (en) Detection method, system and equipment for multi-neighbor connection state
CN103746912A (en) Data message transmission method and equipment based on subring link
CN107302484A (en) A kind of method and apparatus of looped network self-healing
CN103414591A (en) Method and system for fast converging when port failure is recovered
JP4074996B2 (en) Transmission control system and fault occurrence detection control method
CN116137603A (en) Link fault detection method and device, storage medium and electronic device
CN107005440A (en) A kind of method of link failure positioning, apparatus and system

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.