CN100438454C - Method for detecting continuity of ethernet network operation and maintenance - Google Patents
Method for detecting continuity of ethernet network operation and maintenance Download PDFInfo
- Publication number
- CN100438454C CN100438454C CNB2006100333344A CN200610033334A CN100438454C CN 100438454 C CN100438454 C CN 100438454C CN B2006100333344 A CNB2006100333344 A CN B2006100333344A CN 200610033334 A CN200610033334 A CN 200610033334A CN 100438454 C CN100438454 C CN 100438454C
- Authority
- CN
- China
- Prior art keywords
- maintenance
- maintenance association
- path
- detection method
- alarm
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
Description
技术领域 technical field
本发明涉及以太网操作与维护连续性检测机制,更具体地说,涉及一种新的以太网操作与维护连续性检测方法。The invention relates to an Ethernet operation and maintenance continuity detection mechanism, and more specifically relates to a new Ethernet operation and maintenance continuity detection method.
背景技术 Background technique
现有的以太网操作与维护连续性检测机制主要是通过源端维护关联端点定时发送无响应的连续性检测报文,宿端维护关联端点定时检测是否接收到源端的连续性检测报文,来判断整个路径是否存在故障。如果连续三个时间周期内宿端都没有收到连续性检测报文,则宿端向网管上报告警。标准规定,源端发送连续性检测的时间间隔从1毫秒到60秒可供选择。The existing Ethernet operation and maintenance continuity detection mechanism is mainly to regularly send unresponsive continuity detection packets through the source end maintenance associated endpoint, and the sink end maintenance associated endpoint regularly detects whether the source end continuity detection packet is received. Determine whether the entire path is faulty. If the sink end does not receive the continuity detection message within three consecutive time periods, the sink end reports an alarm to the network management system. The standard stipulates that the time interval for the source to send a continuity check can be selected from 1 millisecond to 60 seconds.
图1是连续性检测的原理图。如图1所示,当链路出现故障时,宿端维护关联端点将收不到连续性检测报文,从而引发报警。Figure 1 is a schematic diagram of continuity detection. As shown in Figure 1, when a link fails, the sink-side maintenance association endpoint will not receive the continuity detection message, thus triggering an alarm.
图2是现有方法的缺陷图。如图2所示,存在四个维护关联端点,发送连续性检测的时间间隔假定大于500毫秒。假定根据生成树算法,链路AB和EF的管理状态是开的,链路CD的管理状态是关的。那么正常情况下,MEP1到MEP2的路径是H——I——K——J——A——B——M——N。Figure 2 is a defect map of the existing method. As shown in Figure 2, there are four maintenance association endpoints, and the time interval for sending continuity detection is assumed to be greater than 500 milliseconds. Assume that according to the spanning tree algorithm, the management status of links AB and EF is on, and the management status of link CD is off. Then under normal circumstances, the path from MEP1 to MEP2 is H—I—K—J—A—B—M—N.
考虑MEP1为源端,MEP2为宿端。如果链路AB发生故障,MEP2并不会向网管上报告警。原因是,快速生成树算法在秒级内,就会置CD的管理状态是开的,因此MEP1发出的报文在规定时间内通过路径H——I——K——J——C——D——F——E——M——N到达MEP2,当然,可能会丢失一、两个连续性检测报文。Consider MEP1 as the source end and MEP2 as the sink end. If link AB fails, MEP2 will not report an alarm to the NMS. The reason is that the rapid spanning tree algorithm will set the management state of CD to open within seconds, so the message sent by MEP1 will pass the path H——I——K——J——C—— within the specified time D—F—E—M—N arrives at MEP2, of course, one or two continuity detection packets may be lost.
上述的“源、宿维护关联端点之间路径已经更新,但宿端并没有报告警”问题的出现是比较严重的。一方面,对于MEP1、MEP2、MEP3和MEP4而言,AB路径是优选的,当AB路径出现故障时,连续性检测机制却不会向网管上报告警。另一方面,即使由其它机制向网管上报告警,如链路、生成树等;也无法准确获知受影响的维护关联端点,例如上面的例子中MEP1、MEP2和MEP3之间就没有受影响。The occurrence of the above-mentioned problem of "the path between the source and sink maintenance associated endpoints has been updated, but the sink has not reported an alarm" is relatively serious. On the one hand, for MEP1, MEP2, MEP3, and MEP4, the AB path is preferred. When the AB path fails, the continuity detection mechanism will not report an alarm to the network management system. On the other hand, even if an alarm is reported to the network management by other mechanisms, such as links, spanning trees, etc., it is impossible to accurately know the affected maintenance association endpoints. For example, in the above example, there is no impact between MEP1, MEP2, and MEP3.
在电气和电子工程师协会最新的标准草稿中并没有提及上述问题的处理,这应该是一个比较大的缺陷。The Institute of Electrical and Electronics Engineers' latest draft standard does not mention the handling of the above issues, which should be a relatively large defect.
发明内容 Contents of the invention
本发明要解决的技术问题在于,针对现有方法的上述“源、宿维护关联端点之间路径已经更新,但宿端并没有报告警”的缺陷,提供一种新的以太网操作与维护连续性检测方法。The technical problem to be solved by the present invention is to provide a new Ethernet operation and maintenance continuous sexual detection method.
本发明解决其技术问题所采用的技术方案是:一种以太网操作与维护连续性检测方法,其特征在于,包括以下步骤:The technical solution adopted by the present invention to solve the technical problems is: a method for detecting continuity of Ethernet operation and maintenance, characterized in that, comprising the following steps:
S1)宿端对收到的连续性检测报文,将其包含的维护关联中间点信息与检测标准进行比较,从而检测出源、宿维护关联端点之间有无路径变化;S1) The sink compares the maintenance association intermediate point information contained in the received continuity detection message with the detection standard, so as to detect whether there is a path change between the source and sink maintenance association endpoints;
S2)如果连续收到的第一数量个连续性检测报文包含的维护关联中间点信息均不同于所述检测标准,表明源、宿维护关联端点之间有路径变化,则宿端向网管上报“路径变化”告警,否则,返回步骤S1)直到检测报文结束;S2) If the maintenance association intermediate point information contained in the first number of continuity detection messages received continuously is different from the detection standard, indicating that there is a path change between the source and sink maintenance association endpoints, then the sink end reports to the network management "Path change" alarm, otherwise, return to step S1) until the end of the detection message;
S3)如果宿端已经向网管上报“路径变化”告警,宿端检测源、宿维护关联端点之间路径是否恢复;S3) If the sink end has reported the "path change" alarm to the network management, the sink end detects whether the path between the source and sink maintenance associated endpoints is restored;
S4)如果宿端检测到源、宿维护关联端点之间路径已经恢复则向网管上报“路径变化”告警恢复。S4) If the sink detects that the path between the source and sink maintenance associated endpoints has been restored, it will report the "path change" alarm to the network management and recover.
在本发明所述的以太网操作与维护连续性检测方法中,所述S3)包括以下步骤:宿端在向网管上报“路径变化”告警后,如果连续检测收到第一数量个包含的上述维护关联节点信息与上述检测标准一样的连续性检测报文,则表示上述的检测到源、宿维护关联端点之间路径恢复。In the Ethernet operation and maintenance continuity detection method of the present invention, said S3) includes the following steps: after the sink reports the "path change" alarm to the network management, if the continuous detection receives the first number of the above-mentioned The continuity detection message whose information of the maintenance association node is the same as the above detection standard indicates that the path recovery between the source and sink maintenance association endpoints is detected.
在本发明所述的以太网操作与维护连续性检测方法中,还包括用于形成所述检测标准的如下步骤:In the Ethernet operation and maintenance continuity detection method of the present invention, the following steps for forming the detection standard are also included:
S51)宿端维护关联端点在收到特定维护相关端点的第一个连续性检测报文开始,将沿途记录的维护关联中间点的地址信息、端口号信息存入上述宿端维护关联端点的数据库,S51) After receiving the first continuity detection message of a specific maintenance-related endpoint, the sink-side maintenance-related endpoint stores the address information and port number information of the maintenance-related intermediate points recorded along the way into the database of the above-mentioned sink-side maintenance-related endpoint ,
S52)如果上述数据库里的连续第一数量个连续性检测报文记录的维护相关中间点对应信息都相同,则记录这些相同的信息为检测标准。S52) If the corresponding information of the maintenance-related intermediate points recorded in the first number of consecutive continuity detection messages in the above database is all the same, record the same information as the detection standard.
在本发明所述的以太网操作与维护连续性检测方法中,上述地址信息是访问控制地址或者维护关联点标志符。In the Ethernet operation and maintenance continuity detection method of the present invention, the above address information is an access control address or a maintenance associated point identifier.
在本发明所述的以太网操作与维护连续性检测方法中,所述第一数量是3。In the Ethernet operation and maintenance continuity detection method according to the present invention, the first number is three.
在本发明所述的以太网操作与维护连续性检测方法中,还包括以下步骤:处于源、宿维护关联端点之间的维护关联中间点,在向下游传送上述连续性检测报文时,附加本维护关联中间点对应的地址信息及端口号组成的类型长度值。In the Ethernet operation and maintenance continuity detection method described in the present invention, the following steps are also included: at the maintenance association intermediate point between the source and sink maintenance association endpoints, when transmitting the above-mentioned continuity detection message to the downstream, an additional This maintenance association intermediate point corresponds to the address information and the type length value composed of the port number.
在本发明所述的以太网操作与维护连续性检测方法中,上述的类型长度值数目超过一定值时,则丢弃收到的连续性检测报文,不再往下游传送连续性检测报文。In the Ethernet operation and maintenance continuity detection method of the present invention, when the above-mentioned type length value exceeds a certain value, the received continuity detection message is discarded, and the continuity detection message is not sent downstream.
在本发明所述的以太网操作与维护连续性检测方法中,还包括为沿途维护相关中间点配置对应信息接口的步骤。In the Ethernet operation and maintenance continuity detection method of the present invention, it also includes the step of configuring corresponding information interfaces for the maintenance-related intermediate points along the way.
在本发明所述的以太网操作与维护连续性检测方法中,所述地址信息是访问控制地址或者维护关联点标志符。In the Ethernet operation and maintenance continuity detection method of the present invention, the address information is an access control address or a maintenance associated point identifier.
实施本发明的以太网操作与维护连续性检测方法,具有以下有益效果:解决了“源、宿维护关联端点之间路径已经更新,但宿端并没有报告警”的问题。The implementation of the Ethernet operation and maintenance continuity detection method of the present invention has the following beneficial effects: the problem of "the path between the source and sink maintenance associated endpoints has been updated, but the sink has not reported an alarm" is solved.
附图说明 Description of drawings
下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below in conjunction with accompanying drawing and embodiment, in the accompanying drawing:
图1是连续性检测的原理图;Fig. 1 is the schematic diagram of continuity detection;
图2是现有方法的缺陷图;Fig. 2 is the defect map of existing method;
图3是本发明以太网操作与维护连续性检测方法的状态转换图;Fig. 3 is a state transition diagram of the Ethernet operation and maintenance continuity detection method of the present invention;
图4是维护关联端点数据库,和提供配置当前最新接收的沿途维护关联中间点信息为检测标准的图;Fig. 4 is a database of maintenance associated endpoints, and a diagram providing a detection standard for configuring the latest received along-way maintenance associated intermediate point information;
图5是本发明的连续性检测报文的视图;Fig. 5 is the view of the continuity detection message of the present invention;
具体实施方式 Detailed ways
图3是本发明以太网操作与维护连续性检测方法的状态转换图,S表示收一个包含的维护关联中间点的信息和检测标准相同的连续性检测报文;D表示收到一个包含的维护关联中间点的信息和检测标准不同的连续性检测报文。如图3所示,首先处于报警恢复状态301,宿端收到一个连续性检测报文,就将其包含的维护关联中间点信息和维护关联端点数据库记录进行比较,如果维护关联中间点信息和维护关联端点数据库记录不相同,则进入中间状态302;如果相同维持告警恢复状态。如果处于中间状态302,宿端再收到一个连续性检测报文,就将其包含的维护关联中间点信息和维护关联端点数据库记录进行比较,如果维护关联中间点信息和维护关联端点数据库记录不相同,则进入中间状态303;如果相同则回到告警恢复状态。如果处于中间状态303,宿端再收到一个连续性检测报文,就将其包含的维护关联中间点信息和维护关联端点数据库记录进行比较,如果维护关联中间点信息和维护关联端点数据库记录不相同,则进入“路径变化”告警状态304;如果相同则回到告警恢复状态。Fig. 3 is the state transition diagram of Ethernet operation and maintenance continuity detection method of the present invention, and S represents to receive the continuity detection message that contains the information of the maintenance correlation intermediate point and detection standard identical; D represents to receive the maintenance that contains The information of the associated intermediate point and the continuity detection message with different detection standards. As shown in Figure 3, first in the
如果处于“路径变化”告警状态304,宿端再收到一个连续性检测报文,就将其包含的维护关联中间点信息和维护关联端点数据库记录进行比较,如果维护关联中间点信息和维护关联端点数据库记录相同,则进入中间状态305;如果不相同则维持“路径变化”告警状态。如果处于中间状态305,宿端再收到一个连续性检测报文,就将其包含的维护关联中间点信息和维护关联端点数据库记录进行比较,如果维护关联中间点信息和维护关联端点数据库记录相同,则进入中间状态306;如果不相同则回到“路径变化”告警状态。如果处于中间状态305,宿端再收到一个连续性检测报文,就将其包含的维护关联中间点信息和维护关联端点数据库记录进行比较,如果维护关联中间点信息和维护关联端点数据库记录相同,则进入告警恢复状态;如果不相同则回到“路径变化”告警状态。If it is in the "route change" alarm state 304, the sink receives another continuity detection message, and compares the maintenance association intermediate point information contained in it with the maintenance association end point database record. If the maintenance association intermediate point information and the maintenance association If the endpoint database records are the same, enter the intermediate state 305; if not, maintain the "route change" alarm state. If it is in the intermediate state 305, the sink receives another continuity detection message, and compares the maintenance association intermediate point information contained in it with the maintenance association end point database record, if the maintenance association intermediate point information and the maintenance association end point database record are the same , then enter the intermediate state 306; if not the same, return to the "route change" alarm state. If it is in the intermediate state 305, the sink receives another continuity detection message, and compares the maintenance association intermediate point information contained in it with the maintenance association end point database record, if the maintenance association intermediate point information and the maintenance association end point database record are the same , then enter the alarm recovery state; if not, return to the "route change" alarm state.
图4是维护关联端点数据库,和提供配置当前最新接收的沿途维护关联中间点信息为检测标准的图。如图4所示,宿端维护关联端点从接收到特定维护关联端点标志符的第一个连续性检测报文开始,需要将沿途记录的维护关联中间点的地址信息加上端口号信息存入维护关联端点数据库401,如果连续三个连续性检测报文的沿途记录的维护关联中间点对应信息都一样,则记录这些维护关联中间点对应信息,作为后续检测标准402。上述地址信息是介质访问控制地址或者维护关联点标志符。Fig. 4 is a maintenance correlation end point database and a diagram providing a detection standard for configuring the latest received along-way maintenance correlation intermediate point information. As shown in Figure 4, starting from receiving the first continuity detection message of a specific maintenance association endpoint identifier, the sink maintenance association endpoint needs to store the address information of the maintenance association intermediate point plus the port number information recorded along the way into the In the maintenance
由于各种原因,沿途的维护关联中间点可能会变化,针对这种情况,提供配置沿途维护关联中间点信息的接口。Due to various reasons, the intermediate points of the maintenance association along the route may change. In this case, an interface for configuring the information of the intermediate points of the maintenance association along the route is provided.
图5是本发明的连续性检测报文的视图。如图5所示,维护关联中间点在往下游传送上述连续性检测报文时,添加本维护关联中间点的介质访问控制地址加上端口号所形成的类型长度值501;继续往下游传送继续添加类型长度值502,类型长度值503,类型长度值504,类型长度值505。维护关联中间点需要对收到的连续性检测报文进行检测,如果类型长度值的数量超过一定值,则丢弃收到的连续性检测报文,不再往下游传送该连续性检测报文。Fig. 5 is a view of the continuity detection message of the present invention. As shown in Figure 5, when the maintenance association intermediate point transmits the above-mentioned continuity detection message downstream, it adds the type length value 501 formed by the media access control address of the maintenance association intermediate point plus the port number; continue to transmit downstream Add Type Length Value 502, Type Length Value 503, Type Length Value 504, Type Length Value 505. Maintaining the association intermediate point needs to detect the received continuity detection message. If the number of type and length values exceeds a certain value, the received continuity detection message will be discarded and the continuity detection message will not be sent downstream.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100333344A CN100438454C (en) | 2006-01-23 | 2006-01-23 | Method for detecting continuity of ethernet network operation and maintenance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100333344A CN100438454C (en) | 2006-01-23 | 2006-01-23 | Method for detecting continuity of ethernet network operation and maintenance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1852181A CN1852181A (en) | 2006-10-25 |
CN100438454C true CN100438454C (en) | 2008-11-26 |
Family
ID=37133651
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100333344A Expired - Fee Related CN100438454C (en) | 2006-01-23 | 2006-01-23 | Method for detecting continuity of ethernet network operation and maintenance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100438454C (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1334666A (en) * | 2001-08-17 | 2002-02-06 | 北京佳讯飞鸿网络技术有限公司 | Method and device for maintaining routing list |
CN1361612A (en) * | 2000-12-29 | 2002-07-31 | 北京邮电大学 | Simple adaptive fast convergence mark exchange path loop preventing technique |
US6493344B1 (en) * | 1997-02-21 | 2002-12-10 | Nortel Networks Limited | Telecommunications system |
CN1492623A (en) * | 2002-10-22 | 2004-04-28 | 华为技术有限公司 | A Method for Realizing Link State Breakthrough in Network |
CN1601966A (en) * | 2003-09-28 | 2005-03-30 | 华为技术有限公司 | A Routing Path Selection Method |
-
2006
- 2006-01-23 CN CNB2006100333344A patent/CN100438454C/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6493344B1 (en) * | 1997-02-21 | 2002-12-10 | Nortel Networks Limited | Telecommunications system |
CN1361612A (en) * | 2000-12-29 | 2002-07-31 | 北京邮电大学 | Simple adaptive fast convergence mark exchange path loop preventing technique |
CN1334666A (en) * | 2001-08-17 | 2002-02-06 | 北京佳讯飞鸿网络技术有限公司 | Method and device for maintaining routing list |
CN1492623A (en) * | 2002-10-22 | 2004-04-28 | 华为技术有限公司 | A Method for Realizing Link State Breakthrough in Network |
CN1601966A (en) * | 2003-09-28 | 2005-03-30 | 华为技术有限公司 | A Routing Path Selection Method |
Also Published As
Publication number | Publication date |
---|---|
CN1852181A (en) | 2006-10-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2051447B1 (en) | Method, device and system for ring protection | |
CN103843293B (en) | The non-emporary computer-readable medium of communication system, transmitting device, communicator, failure notification method and storage program | |
US10582027B2 (en) | In-band metadata export and removal at intermediate nodes | |
CN100450008C (en) | Communication network alarm processing method and correlation analysis manager | |
CN101193052B (en) | Method and system for realizing subnet connection protection in multi-protocol label switching | |
CN106230650A (en) | SDN Overlay network fault positioning system and method | |
CN101989934B (en) | A kind of data ring network fault detect and the method and system of positioning | |
CN105281931A (en) | Error code detection method, device and system of POTN | |
JP2011517209A (en) | Reduction of traffic loss in EAPS system | |
JP2007259406A5 (en) | ||
CN101102236A (en) | Method and device for detecting loop | |
CN102394796A (en) | Link time delay detection method, source terminal, destination terminal and system | |
CN104283790B (en) | The topology discovery method and equipment of RPR in SDN | |
CN101141333A (en) | Ethernet system host node slave port fault processing method | |
CN104869014A (en) | Ethernet fault positioning and detection method | |
US20090238211A1 (en) | Method, system and computer program product involving congestion detection in ethernet | |
US20070230364A1 (en) | Signal degrade detecting method, signal restoration detecting method, devices for those methods, and traffic transmission system | |
CN111585842B (en) | Network quality monitoring and diagnosing method and system | |
CN110012490A (en) | Alarm method, device, operation and maintenance center and computer readable storage medium | |
CN114205263B (en) | Communication method, system and storage medium for Ether CAT network | |
WO2016033870A1 (en) | Tunnel signal degradation notifying and switching method and apparatus, and computer storage medium | |
CN100438454C (en) | Method for detecting continuity of ethernet network operation and maintenance | |
JP4169725B2 (en) | Packet discard location search method and apparatus | |
US20090238068A1 (en) | Method, system and computer program product involving congestion and fault notification in ethernet | |
CN107124316B (en) | Hardware based quick switching action implementation method in a kind of data communications equipment |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20081126 Termination date: 20180123 |