CN100505641C - Method and device for quickly fault detection from point-to-point - Google Patents

Method and device for quickly fault detection from point-to-point Download PDF

Info

Publication number
CN100505641C
CN100505641C CNB2006101099096A CN200610109909A CN100505641C CN 100505641 C CN100505641 C CN 100505641C CN B2006101099096 A CNB2006101099096 A CN B2006101099096A CN 200610109909 A CN200610109909 A CN 200610109909A CN 100505641 C CN100505641 C CN 100505641C
Authority
CN
China
Prior art keywords
end points
point
peer
message
information
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.)
Active
Application number
CNB2006101099096A
Other languages
Chinese (zh)
Other versions
CN1913453A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2006101099096A priority Critical patent/CN100505641C/en
Publication of CN1913453A publication Critical patent/CN1913453A/en
Application granted granted Critical
Publication of CN100505641C publication Critical patent/CN100505641C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention provides a quick fault testing method of point to point and a device, in which, the method includes: after terminal points of both ends of the point-to point protocol link finish a discovery process, they send and receive test messages mutually in terms of the time interval designed by a user, the end point tests fault of the opposite end point based on the reception of the test message. The device includes: end points of a point to point protocol link used in mutually transmitting and receiving test messages in terms of selected time interval and testing faults of the opposite point based on the reception of the tested message so as to find out faults of link end points of the point to point protocol quickly.

Description

Realize the method and apparatus of the quick fault testing of point-to-point
Technical field
The present invention relates to network communication protocol, relate in particular to a kind of method and apparatus of realizing the quick fault testing of point-to-point.
Background technology
Ethernet technology owing to have is simple and easy to can improve constantly with, cheap and bandwidth, and therefore, Ethernet has obtained extensive use as a kind of business or network configuration in enterprise network, metropolitan area network, wide area network scope.But traditional ethernet also has the characteristics that can safeguard, can run ability, and the scope of promoting along with Ethernet enlarges gradually, and is also more and more stronger to the demand of Ethernet OAM (Operations, Administration and Maintenance) function.
Ethernet OAM function can be divided into the two large divisions: fault management and performance management.Wherein how in fault the back taking place and find fault fast, realize safeguard measure as soon as possible, to reduce the service disconnection loss, is the crucial factor that all operators and Network Provider improve service quality.
The scheme that a lot of Ethernet fault managements have been arranged at present; realize the detection of connectivity of network end-to-end as the 802.1ag agreement; 802.3ah the fault of agreement realization point-to-point is notified, RRPP (ethernet ring network is protected agreement fast) agreement realizes fault management of ethernet ring network or the like.
But, above-mentioned 802.1ag protocol configuration complexity, and dispose the link of the very difficult whole C E of covering (customer edge) to CE.Above-mentioned 802.3ah agreement, RRPP agreement belong to slow protocol, can't satisfy whole user link is carried out quick malfunction monitoring, the telecommunications requirements that protection is in time switched.
802.3ah agreement is link layer Ethernet OAM(Operation Administration Maintenance) and realizes agreement, is positioned at the link layer of protocol stack.The OAM layer belongs to data link layer in OSI (Open System Interconnection) model, be positioned in the Ethernet model between MAC (medium access control) sublayer and LLC (logic link control) sublayer, realizes the management to different 802.3 physical layers.802.3ah agreement is a kind of OAM of point-to-point, its major function comprises: OAM ability discovery, OAM link monitoring, far-end signalling trouble, OAM remote loopback, far-end MIB obtain (inband network management) etc.
The OAM ability discovery is meant to be found to support the equipment of OAM and detect it to the OAM tenability, can finish by sending out message mutually.The message of sending out can comprise mutually: OAM configuration information, OAM pattern information and OAMPDU (protocol Data Unit) information.
The OAM configuration information is an OAM correlation energy force information, as whether responding the request of MIB (management information bank) variable, whether supports information such as loop fuction.
The OAM pattern information is meant the pattern of 802.3ah protocol entity, and the pattern of 802.3ah protocol entity is divided into aggressive mode or Passive Mode, and the message of different mode reception/transmission is different, and the OAM capability discovery process is generally initiated by aggressive mode one side.
The OAMPDU information spinner will comprise the maximum OAMPDU length of equipment reception/transmission, adopts minimum length before consulting; Platform ID, it can be used for doing priority ratio, comprise a unique OUI (Organization Unique Identifier, organize unique identification) and the self-defined information of a 32bit, IEEE (Electrical and Electronic engineering association) distributes the value of OUI, and the value of OUI can also be first three byte of MAC Address.
The OAM link monitoring is meant that by sending event notification message to the opposite end notify the fault of finding under the various situations in opposite end, the failure notification event of standard comprises: rub-out signal cycle, erroneous frame, cycle mistake frame number and erroneous frame number second.
When the far-end signalling trouble is meant device fails, sends unidirectional OAM message to the opposite end and notify the opposite end, the fault type of the said equipment comprises: link failure, critical failure, emergency.Specific implementation should send a notification message to the opposite end by the flag territory among the OAMPDU for when owing to equipment fault or unavailable when causing flow interrupt.
The OAM remote loopback is to point to opposite end transmission message informing far-end to enter wrapped state, with the loopback test link.Be specially local OAM entity and make it enter wrapped state to far-end transmission loopback message, other message all will be returned by opposite end OAM layer former state except that the OAMPDU message this moment.
Far-end MIB obtain function be meant by with the opposite equip. interactive information, directly obtain the mib information of opposite equip..
The method of the fault detect of a kind of 802.3ah agreement of prior art is: the Information message that the both link ends end points of 802.3ah agreement carries the OAM configuration information by mutual transmission is realized the discovery process, finishes negotiation.Then, the two ends end points regularly sends jnformation OAMPDU message mutually, information OAMPDU content of message mainly comprises both sides' OAM version, state, OAM and OAM configuration informations such as OAMPDU configuration, OUI and supplier information except general OAMPDU structure.
Regulation according to the 802.3ah agreement, the fixed time interval that sends information OAMPDU message is 1 second, if an end end points was not received the effective informationOAMPDU message from the opposite end end points in 5 seconds, think that then the opposite end end points breaks down or link failure, to initiate the discovery process again, and attempt setting up the OAM testing mechanism with the opposite end end points once more.
In order to prevent the situation of link single-pass, in the information OAMPDU message flag territory is arranged, this territory has a bit (bit) to be used for identifying the information OAMPDU message whether a port can receive effective and local terminal configurations match from the opposite end.Under the situation of single-pass, receive that the port of the information OAMPDU message that has this sign also needs to withdraw from detected state, initiate the discovery process again.
Above-mentioned Information message and information OAMPDU message all send and receive by software.
The shortcoming of the method for above-mentioned prior art is:
1, breaks down from end points and cause can not receive Information OAMPDU message, thereby the fault of detecting, and the time interval of restarting between the discovery process reached for 5 seconds, for the Operation Network that requires high reliability, second the level service disconnection be very big accident.If 802.3ah and 802.1ag carry out the binding of alarm function, the switching reliability and will be confined to the 802.3ah agreement of whole net.
2, the both link ends end points of 802.3ah agreement is at first realized the discovery process by the Information message that OAM information is carried in transmission, finish negotiation, in case consult to pass through, these OAM information should not can before restarting the discovery process change, and arbitrary end OAM information changes all can impel 802.3ah to carry out the discovery process again.Therefore, in this method, the both sides' that carry in the Information OAMPDU message of negotiation by the back timed sending OAM information is redundant information, increased the length of Information OAMPDU message, thereby increased the difficulty that hardware sends Information OAMPDU message fast, influenced network bandwidth efficient.
3, the 802.3ah agreement can only be monitored link by the Information OAMPDU message of regularly shaking hands; owing to can't distinguish is that configuration change causes (enabling as cancellation 802.3ah agreement) link failure; or true link failure; just all get back to the discovery stage, can not take the corresponding protection action according to different situations.
Summary of the invention
In view of above-mentioned existing in prior technology problem, the purpose of this invention is to provide a kind of method and apparatus of realizing the quick fault testing of point-to-point, thereby can find the fault of the link end points of peer-peer protocol (such as the 802.3ah agreement) apace.
The objective of the invention is to be achieved through the following technical solutions:
A kind of method that realizes the quick fault testing of point-to-point comprises step:
The two ends end points of A, peer-peer protocol link is after finishing discovery procedure, according to the mutual information OAM Protocol Data Unit information OAMPDU message that sends and receive the Operations, Administration and Maintenance OAM configuration information that does not carry both sides' end points of the time interval of user's setting;
The end points of B, described peer-peer protocol link is not received the described information OAMPDU message that the opposite end end points sends in the time of setting, determine that then fault has taken place described opposite end end points.
Described steps A specifically comprises:
The two ends end points of peer-peer protocol link sends and receives described informationOAMPDU message mutually by hardware.
The time interval that described user sets comprises: 10ms or 100ms or 1s.
Described step B also comprises:
The end points of described peer-peer protocol link sends the fixed format message that sets in advance to the opposite end end points after its OAM configuration information changes, notice opposite end end points restarts to carry out discovery procedure; And the two ends end points stops to send described information OAMPDU message.
Described peer-peer protocol comprises: the 802.3ah agreement.
A kind of device of realizing the quick fault testing of point-to-point comprises:
The peer-peer protocol link end points: be used for after finishing discovery procedure, according to the user set the time interval send mutually and the information OAMPDU message of OAM configuration information is not carried in reception; The end points of described peer-peer protocol link is not received the described information OAMPDU message that the opposite end end points sends in the time of setting, determine that then fault has taken place described opposite end end points.
Described peer-peer protocol link end points specifically comprises:
The time interval is selected module: be used to select to send and receive the time interval of information OAMPDU message, and the time interval of selecting is passed to detection messages transmission and receiver module;
Detection messages sends and receiver module: be used for the time interval information of selecting module to pass over according to the time interval, send and receive information OAMPDU message by hardware to the opposite end end points;
Fault detection module: be used in the time of setting, not receiving the described information OAMPDU message that the opposite end end points sends, determine that then fault has taken place described opposite end end points.
Described peer-peer protocol link end points also comprises:
The fixed format message sending module: be used for after the OAM of described peer-peer protocol link end points configuration information changes, send the fixed format message that sets in advance to the opposite end end points, notice opposite end end points restarts to carry out discovery procedure; And the two ends end points stops to send described information OAMPDU message.
As seen from the above technical solution provided by the invention, the present invention reduces the timed sending interval of detection messages by shortening the length of detection messages, sends and receive this detection messages by hardware.Thereby can find the fault of the link end points of peer-peer protocol (such as the 802.3ah agreement) apace, the time of finding the end points fault was reduced within the 50ms from original 5 seconds.The present invention can improve network performance, and conserve bandwidth reduces difficulty and the cost realized.
The present invention is one type OAMPDU message by increasing newly also, when at one end carrying out the change of any OAM relevant configuration, can notify the opposite end by this message, makes both link ends reenter the discovery stage.
Description of drawings
Fig. 1 is the concrete process chart of the embodiment of the method for the invention;
Fig. 2 is the existing OAMPDU message format of a 802.3ah agreement schematic diagram;
Fig. 3 is the concrete structure figure of embodiment of device of the quick fault testing of realization point-to-point of the present invention.
Embodiment
The invention provides a kind of method and apparatus of realizing the quick fault testing of point-to-point, core of the present invention is: shorten the length of detection messages, reduce the timed sending interval of detection messages, send and receive this detection messages by hardware.
Describe the present invention in detail below in conjunction with accompanying drawing, the method for the invention is applicable to the detection protocol of point-to-point, is example with the 802.3ah agreement, and the concrete handling process of the embodiment of the method for the invention comprises the steps: as shown in Figure 1
The both link ends end points of step 1-1,802.3ah agreement is finished the discovery process by software.
The both link ends end points of operation 802.3ah agreement is at first finished at a slow speed discovery process by CPU software.In this discovery process, the Information message that the both link ends end points carries the OAM configuration information by mutual transmission is held consultation, in case after consulting to pass through, the both link ends end points has just been finished the discovery process.And the OAM configuration information of above-mentioned both link ends end points can not change before restarting the discovery process.
The both link ends end points of step 1-2,802.3ah agreement has mutually sent the timing detection messages of length brief by hardware, comes the test side point failure.
802.3ah the both link ends end points of agreement is through after consulting to have finished the discovery process, the both link ends end points has just regularly sent the detection messages of length mutually brief by hardware, comes the test side point failure.Above-mentioned detection messages is generally Information OAMPDU message.
The present invention need improve the 802.3ah agreement, is set the timed sending time interval of InformationOAMPDU message by the user.
The present invention has shortened the transmission time interval of Information OAMPDU message, consider that general operator requires to realize in the 50ms switching, and mate with the 802.1ag agreement, the transmission time interval of InformationOAMPDU message is traditionally arranged to be 10ms, after an end of link is not received the Information OAMPDU message of opposite end transmission 3.5 cycles, think that then the opposite end breaks down, so, by the flag field notice opposite end in the Information OAMPDU message.Then, both link ends is return the discovery state, carries out the discovery process again.
In the present invention, no longer carry both sides' redundant informations such as OAM configuration information in the above-mentioned Information OAMPDU message, thereby the brief length of Information OAMPDU message can make the both link ends end points send and receive above-mentioned Information OAMPDU message by hardware.Do not rely on the application state of the main frame of two ends end points.
The present invention is set to 10ms by the transmission time interval of OAMPDU message, can make to detect link end points and the time restriction of fault has taken place in 50ms.In actual applications, the transmission time interval of InformationOAMPDU message can also be 100ms and 1s etc., both can compatible primary standard agreement, can select to carry out fault discovery fast again.
802.3ah the existing OAMPDU message format of agreement schematic diagram as shown in Figure 2.For realizing the fast detecting fault, the present invention has also increased by one type OAMPDU type of message (05 type), and the form of the OAMPDU type of message of this increase is shown in following table 1.
Table 1: the form signal table of one type the OAMPDU message that the present invention increases
05 Rediscovery Notification Notify?partner?to?re-enter discovery OAM?client
One type the OAMPDU message that the invention described above increases is specifically designed to the occasion that requires to restart to carry out the discovery process after link one end end points has been revised the OAM parameter.During link detecting, if an end end points has been changed the OAM configuration, as cancel OAM(Operation Administration Maintenance), change and to shake hands the cycle etc., the host software of this end points will initiatively be constructed the Rediscovery Notification OAMPDU of above-mentioned 05 type, send to the opposite end end points continuously, impel the two ends end points to return to the discovery stage simultaneously.Simultaneously, the hardware of two ends end points stops to send and receiving the Information OAMPDU message that above-mentioned timing detects usefulness.
802.3ah agreement after the improvement of the present invention can be mated with the 802.1ag agreement.Operation 802.3ah agreement between uncontrollable CE equipment of operator and PE (operator edge) equipment; operation 802.1ag agreement between PE and the far-end PE; 802.3ah agreement and 802.1ag agreement are carried out the binding of alarm function; just can realize the fault discovery and the announcement of service link apace, thereby switch with the professional protection of prestissimo realization.
The concrete structure of the embodiment of the device of the quick fault testing of realization point-to-point of the present invention comprises as shown in Figure 3:
Peer-peer protocol link end points: be used for after finishing discovery procedure, according to mutual the transmission and the reception detection messages of the time interval of selecting; And detect the fault of opposite end end points according to the reception condition of described detection messages.
Described peer-peer protocol link end points specifically comprises:
The time interval is selected module: be used to select to send and receive the time interval of detection messages, and the time interval of selecting is passed to detection messages transmission and receiver module;
Detection messages sends and receiver module; Be used for the time interval information of selecting module to pass over according to the time interval, send and receive detection messages to the opposite end end points by hardware;
Fault detection module: be used for sending and the reception condition of the described detection messages that receiver module receives, detect the fault of opposite end end points according to detection messages.
The fixed format message sending module: be used for after the OAM of described peer-peer protocol link end points configuration information changes, send the fixed format message that sets in advance to the opposite end end points, notice opposite end end points restarts to carry out discovery procedure; And the two ends end points stops to send described detection messages.
Peer-peer protocol in the device of the quick fault testing of the described realization point-to-point of the invention described above comprises: the 802.3ah agreement.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (8)

1, a kind of method that realizes the quick fault testing of point-to-point is characterized in that, comprises step:
The two ends end points of A, peer-peer protocol link is after finishing discovery procedure, according to the mutual information OAM Protocol Data Unit information OAMPDU message that sends and receive the Operations, Administration and Maintenance OAM configuration information that does not carry both sides' end points of the time interval of user's setting;
The end points of B, described peer-peer protocol link is not received the described information OAMPDU message that the opposite end end points sends in the time of setting, determine that then fault has taken place described opposite end end points.
2, method according to claim 1 is characterized in that, described steps A specifically comprises:
The two ends end points of peer-peer protocol link sends and receives described informationOAMPDU message mutually by hardware.
3, method according to claim 1 is characterized in that, the time interval that described user sets comprises: 10ms or 100ms or 1s.
4, according to claim 1 or 2 or 3 described methods, it is characterized in that described step B also comprises:
The end points of described peer-peer protocol link sends the fixed format message that sets in advance to the opposite end end points after its OAM configuration information changes, notice opposite end end points restarts to carry out discovery procedure; And the two ends end points stops to send described information OAMPDU message.
5, method according to claim 1 is characterized in that, described peer-peer protocol comprises: the 802.3ah agreement.
6, a kind of device of realizing the quick fault testing of point-to-point is characterized in that, comprising:
The peer-peer protocol link end points: be used for after finishing discovery procedure, according to the user set the time interval send mutually and the information OAMPDU message of OAM configuration information is not carried in reception; The end points of described peer-peer protocol link is not received the described information OAMPDU message that the opposite end end points sends in the time of setting, determine that then fault has taken place described opposite end end points.
7, the device of the quick fault testing of realization point-to-point according to claim 6 is characterized in that, described peer-peer protocol link end points specifically comprises:
The time interval is selected module: be used to select to send and receive the time interval of information OAMPDU message, and the time interval of selecting is passed to detection messages transmission and receiver module;
Detection messages sends and receiver module; Be used for the time interval information of selecting module to pass over according to the time interval, send and receive information OAMPDU message to the opposite end end points by hardware;
Fault detection module: be used in the time of setting, not receiving the described information OAMPDU message that the opposite end end points sends, determine that then fault has taken place described opposite end end points.
8, the device of the quick fault testing of realization point-to-point according to claim 7 is characterized in that, described peer-peer protocol link end points also comprises:
The fixed format message sending module: be used for after the OAM of described peer-peer protocol link end points configuration information changes, send the fixed format message that sets in advance to the opposite end end points, notice opposite end end points restarts to carry out discovery procedure; And the two ends end points stops to send described information OAMPDU message.
CNB2006101099096A 2006-08-22 2006-08-22 Method and device for quickly fault detection from point-to-point Active CN100505641C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101099096A CN100505641C (en) 2006-08-22 2006-08-22 Method and device for quickly fault detection from point-to-point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101099096A CN100505641C (en) 2006-08-22 2006-08-22 Method and device for quickly fault detection from point-to-point

Publications (2)

Publication Number Publication Date
CN1913453A CN1913453A (en) 2007-02-14
CN100505641C true CN100505641C (en) 2009-06-24

Family

ID=37722232

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101099096A Active CN100505641C (en) 2006-08-22 2006-08-22 Method and device for quickly fault detection from point-to-point

Country Status (1)

Country Link
CN (1) CN100505641C (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272310B (en) * 2007-03-22 2013-02-13 华为技术有限公司 Ethernet looped network automatic protection rotation method and device
CN101094121B (en) * 2007-07-23 2010-11-24 华为技术有限公司 Method, system and device for detecting Ethernet links among not direct connected devices
CN101355450B (en) * 2008-09-10 2011-11-30 中兴通讯股份有限公司 Method for preventing link from switching frequently
CN101707536B (en) * 2009-11-25 2011-09-07 成都市华为赛门铁克科技有限公司 Fault detection method, line card and main control card
CN102547489B (en) * 2010-12-13 2014-11-26 上海中兴软件有限责任公司 Method and system used for identifying and processing abnormal frame
CN102355335A (en) * 2011-09-13 2012-02-15 中兴通讯股份有限公司 Unidirectional link detection result notification method and device
CN106130819B (en) * 2016-07-04 2019-10-25 锐捷网络股份有限公司 The detection method and device of VTEP exception
CN115118398B (en) * 2022-07-27 2022-11-22 武汉思普崚技术有限公司 Protocol fault tolerance testing method and system of PPP client based on Ethernet

Also Published As

Publication number Publication date
CN1913453A (en) 2007-02-14

Similar Documents

Publication Publication Date Title
CN100505641C (en) Method and device for quickly fault detection from point-to-point
CN101267363A (en) Loop testing method, system and device
CN102315975B (en) Fault processing method based on intelligent resilient framework (IRF) system and equipment thereof
CN101931982A (en) Network failure positioning method and device
CN100403698C (en) Method and apparatus for testing ethernet connection damage
CN103430483A (en) Technique for determining correlated events in a communication system
US20210105179A1 (en) Fault management method and related apparatus
CN103023702A (en) Method for processing batched management information bases (MIB)
CN102651883A (en) Method and apparatus for detecting connection loss of terminal
EP2925011B1 (en) Apparatus and method for managing inner-network element transmission resources
CN102387524B (en) Indoor distributed monitoring system for WLAN (Wireless Local Area Network)
CN102307194B (en) Graceful restarting method and device for universal protocol process
AU2010256133B2 (en) Method and apparatus for detecting ethernet operation, administration and maintenance (OAM)
CN101202656B (en) Method and apparatus for resource supervising
WO2020063833A1 (en) Network device detachment reporting method, device and system
CN101212346B (en) Software version management method and device for network element management system
CN106059787A (en) State obtaining method and device of miniature machine servers
CN101232406A (en) OAM fast detecting method, apparatus and system
CN110018677A (en) A kind of internet of things equipment management system and method
CN107426755B (en) Base station problem troubleshooting method and device, computer readable storage medium and computer equipment
CN102882887A (en) Smooth software updating method and equipment
CN113810238A (en) Network monitoring method, electronic device and storage medium
CN103178997B (en) Detection method that a kind of MAC Address based on LLDP agreement is identical and equipment
CN207135281U (en) One kind production real-time information management system
CN109286537A (en) A kind of board management system and management method for frame multi-service board

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