CN102263654B - In-maintenance domain multilayer cross-level alarm suppression method, system and device - Google Patents

In-maintenance domain multilayer cross-level alarm suppression method, system and device Download PDF

Info

Publication number
CN102263654B
CN102263654B CN 201010191942 CN201010191942A CN102263654B CN 102263654 B CN102263654 B CN 102263654B CN 201010191942 CN201010191942 CN 201010191942 CN 201010191942 A CN201010191942 A CN 201010191942A CN 102263654 B CN102263654 B CN 102263654B
Authority
CN
China
Prior art keywords
message
level
mac address
cross
cfm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 201010191942
Other languages
Chinese (zh)
Other versions
CN102263654A (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 CN 201010191942 priority Critical patent/CN102263654B/en
Publication of CN102263654A publication Critical patent/CN102263654A/en
Application granted granted Critical
Publication of CN102263654B publication Critical patent/CN102263654B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses an in-maintenance domain (MD) multilayer cross-level alarm suppression method, an in-MD multilayer cross-level alarm suppression system and an in-MD multilayer cross-level alarm suppression device. The method comprises that: a transmitter maintenance association end point (MEP) transmits a cross-level alarm indication signal (AIS) message when detecting a link failure, wherein a multicast medium access control (MAC) address of the cross-level AIS message is the multicast MAC address corresponding to a configuration-level MD, the multicast MAC address corresponding to the configuration-level MD is greater than that corresponding to an MD with the transmitter MEP and a source MAC address of the cross-level AIS message is a specific character used for identifying the cross-level AIS message; and a receiver MEP performs alarm suppression on own detected link failure according to the cross-level AIS message when identifying the cross-level AIS message. By the method, the system and the device, the alarm suppression in the whole connectivity fault management (CFM) networking can be realized on the premise of still keeping communication with the prior art.

Description

Method, system and device for realizing multi-layer cross-level alarm suppression in maintenance domain
Technical Field
The present invention relates to the technical field of Connectivity Fault Management (CFM), and in particular, to a method, a system, and an apparatus for implementing multi-layer cross-level alarm suppression in a maintenance domain.
Background
CFM is an end-to-end operation, Administration and Maintenance (OAM) mechanism based on a VLAN for a two-layer link, and is mainly used to detect link connectivity, confirm a fault, and determine a location where the fault occurs in a two-layer network. In the CFM protocol, contents such as a Maintenance End Point (MEP) and a Maintenance Domain (MD) are defined. The IEEE 802.1ag and ITU-T Y.1731 standards specify this.
The MEP is configured on a port of the device and is identified by an integer, which is called MEP ID. MEPs may determine the extent of the MD.
The MD indicates the network covered by connectivity error detection whose boundaries are determined by a series of MEPs. The MD is identified by a maintenance domain name. In order to accurately locate a fault point causing a communication error, a CFM protocol introduces a hierarchical concept in MD; MD defined in the existing protocol is divided into 8 grades, and is represented by integers of 0-7, wherein the larger the number is, the higher the grade of MD is, and the larger the range of MD is.
Layering of the MD makes fault location more convenient and accurate. As shown in fig. 1, which is a schematic diagram of a CFM networking architecture in the prior art, in fig. 1, the boundaries of the maintenance domain MD _ C are the port G1/2 of the Device _4 and the port G1/4 of the Device _6, the boundaries of the maintenance domain MD _ B are the port G1/2 of the Device _2 and the port G1/4 of the Device _7, and the boundaries of the maintenance domain MD _ a are the port G1/2 of the Device _1, the port G1/1 of the Device _3, the port G1/1 of the Device _8, and the port G1/4 of the Device _ 9. MD _ C is nested in MD _ B, and MD _ B is nested in MD _ A. Levels of MD _ C, MD _ B, MD _ a are 4, 5, 6, respectively. As shown in fig. 1, the maintenance domain MD _ B is nested in the maintenance domain MD _ a, if a link failure is found on the boundary of MD _ B, it indicates that the Device in the domain has a failure, and the failure may be on five devices, i.e. Device _2, Device _4, Device _5, Device _6 and Device _ 7. At this time, if the link failure is found on the boundary of the MD _ C, the fault range is firstly narrowed to three devices, namely Device _4 to Device _ 6; conversely, if all devices in MD _ C are working properly, it can at least indicate that Device _5 is normal.
The CFM protocol defines a Message for connectivity detection, that is, a Connectivity Check Message (CCM), an MEP in the same MD periodically sends a CCM Message to an opposite end, and if the opposite end MEP does not receive a CCM Message sent by an MEP in three consecutive periods, it is considered that a link between the opposite end MEP and the MEP fails, and the opposite end MEP reports an alarm. The CCM is a multicast message.
The MD is designed in a layered mode, and when a link of the MD at the inner layer fails, the link of the MD at the outer layer inevitably fails; if the MEPs of the inner layer and the outer layer report the alarm to the fault, excessive useless alarms can occur. To avoid such alarm flooding situations, the CFM protocol defines an alarm suppression function. The alarm suppression function is used for reducing the reporting number of fault alarms, and comprises the following contents: if the MEP does not receive the CCM message sent by the remote MEP in 3.5 CCM message sending periods, the MEP immediately starts to send Alarm Indication Signal (AIS) messages periodically, and the sending direction of the AIS messages is opposite to that of the CCM messages. After receiving the AIS message, the outer MEP can restrain the fault alarm of the local end. And if the MEP receives the CCM again in the 3.5 CCM message sending periods, stopping sending the AIS message. The AIS message is also a multicast message.
For example, if Device _5 in fig. 1 fails, it is affected by it, and all of port G1/2 of Device _4, port G1/2 of Device _2, and port G1/2 of Device _1 will detect link failure, and it is obviously unnecessary if all three devices report failure alarm. Applying an alarm suppression function, when the Device _4 does not receive the CCM message from the Device _6 in 3.5 CCM message sending periods, the Device _4 reports a fault alarm and sends an AIS message to the Device _ 2; after receiving the AIS message, the Device _2 does not report a fault alarm and sends the AIS message to the Device _ 1; and after the Device _1 receives the AIS message, the fault alarm is not reported.
The CCM message and the AIS message may be collectively referred to as a CFM message, and since the CFM message is a multicast message, the CFM protocol defines a multicast MAC address for each level of MD and CFM messages in order for a device to recognize a CFM message sent to itself. The multicast MAC addresses corresponding to the MD levels 0-7 are 01:80: C2:00:00: 30-01: 80: C2:00:00:37 respectively; and the multicast MAC address of the CFM message applied to the MD of a certain level is the same as the multicast MAC address corresponding to the MD level.
In order to identify the CFM packet, an Access Control List (ACL) filtering rule is set in advance on an MEP of the device, and a matching rule of the ACL filtering rule is a multicast MAC address corresponding to the level of an MD where the MEP is located. When a device receives a CFM message through an MEP, a driver of the device first filters by using an ACL filtering rule, that is: if the multicast MAC address of the CFM message is equal to the multicast MAC address corresponding to the level of the MD where the MEP is located, the CFM message is uploaded to a CPU for processing; if the multicast MAC address of the CFM message is larger than the multicast MAC address corresponding to the level of the MD where the MEP is located, the CFM message is transmitted in a transparent mode; and if the multicast MAC address of the CFM message is smaller than the multicast MAC address corresponding to the level of the MD where the MEP is located, discarding the CFM message. And after receiving the CFM message reported by the driver, the CPU analyzes and processes the CFM. Fig. 2 is a schematic diagram of a process of processing a CFM packet by a device including a receiving end MEP in the prior art.
Because the CFM message is only reported to the CPU for processing in the MD of the corresponding level, the implementation process of alarm suppression is cumbersome. For example, in FIG. 1, levels of MD _ C, MD _ B, MD _ A are 4, 5, and 6, respectively, and multicast MAC addresses are 01:80: C2:00:00:34, 01:80: C2:00:00:35, and 01:80: C2:00: 36, respectively. The Device _6 sends a CCM message with a multicast MAC address of 01:80: C2:00:00:34 to the Device _4, if the Device _4 does not receive the CCM message from the Device _6 in 3.5 CCM message sending periods, the Device _2 sends an AIS message with a multicast MAC address of 01:80: C2:00:00:35, and the Device _2 sends an AIS message with a multicast MAC address of 01:80: C2:00:00:36 to the Device _ 1; therefore, according to the prior art, the multicast MAC address of the AIS message needs to be changed layer by layer, that is, the user needs to configure the AIS alarm level layer by layer outwards, and the alarm inhibiting function of the whole networking can be realized. If multi-layer cross-level alarm suppression configuration is performed, if Device _4 detects a link failure, a cross-level AIS message is sent, and a multicast MAC address of the cross-level AIS message is equal to a multicast MAC address corresponding to an MD (MD _ a in fig. 1) with the highest level in a CFM networking, for a Device (Device _2 in fig. 1) in an intermediate level, the AIS message is directly transmitted through a drive of the Device, so that alarm suppression cannot be realized. Therefore, in the existing implementation technology, to implement layer-by-layer alarm suppression, an alarm suppression level must be configured layer-by-layer, for example, in fig. 1, the alarm suppression level of Device _4 is configured to be 5, and the alarm suppression level of Device _2 is set to be 6, if the alarm suppression level of Device _4 is configured to be 6, Device _2 receives the AIS message sent by Device _4 and will directly perform transparent transmission processing, and no alarm suppression is performed.
Disclosure of Invention
The invention provides a method for realizing multi-layer cross-level alarm suppression in MD, which can realize the alarm suppression in the whole CFM networking on the premise of still keeping the intercommunication with the existing realization.
The invention also provides a system and a device for realizing multi-layer cross-level alarm suppression in the MD, which can realize the alarm suppression in the whole CFM networking on the premise of still keeping the intercommunication with the prior system.
The technical scheme of the invention is realized as follows:
a method for realizing multi-layer cross-level alarm suppression in MD is applied to CFM networking including multi-layer MD, a sending end MEP and a plurality of receiving end MEPs exist in the CFM alarm suppression networking, the sending end MEP is located in an inner layer MD, the plurality of receiving end MEPs are located in different outer layer MD, the level of the inner layer MD is lower than that of the outer layer MD, the method includes:
when a transmitting end MEP detects a link failure, transmitting a cross-level AIS message, wherein a multicast MAC address of the cross-level AIS message is a multicast MAC address corresponding to a configuration level MD, and the multicast MAC address corresponding to the configuration level MD is larger than the multicast MAC address corresponding to the MD where the transmitting end MEP is located; the source MAC address of the cross-level AIS message is a specific character used for identifying the cross-level AIS message;
and when the receiving end MEP identifies the cross-level AIS message, performing alarm suppression on the self-detected link fault according to the cross-level AIS message.
A system for realizing multi-layer cross-level alarm suppression in MD is applied to CFM networking including multi-layer MD, wherein a sending end MEP and a plurality of receiving end MEPs exist in the CFM networking, the sending end MEP is located in an inner layer MD, the plurality of receiving end MEPs are located in different outer layer MD, the level of the inner layer MD is lower than that of the outer layer MD, and the system comprises:
the equipment comprises a sending end MEP (Messaging protocol), and is used for sending a cross-level AIS message when detecting a link fault, wherein the multicast MAC address of the cross-level AIS message is a multicast MAC address corresponding to a configuration level MD, and the multicast MAC address corresponding to the configuration level MD is larger than the multicast MAC address corresponding to the MD where the sending end MEP is located; the source MAC address of the cross-level AIS message is a specific character used for identifying the cross-level AIS message;
and the equipment comprises a receiving end MEP and is used for carrying out alarm suppression on the self-detected link fault according to the cross-level AIS message when identifying the cross-level AIS message.
A device comprising a sending end MEP is applied to the system for realizing multi-layer cross-level alarm suppression in MD, and comprises a detection module and a sending module; wherein,
the detection module is used for detecting whether the link fails or not, and when the link fails, the detection module indicates the sending module to send a cross-level AIS message;
the sending module is configured to send a cross-level AIS message according to the indication of the detection module, where a multicast MAC address of the cross-level AIS message is a multicast MAC address corresponding to a configuration level MD, and the multicast MAC address corresponding to the configuration level MD is greater than a multicast MAC address corresponding to an MD where the sending end MEP is located; and the source MAC address of the cross-level AIS message is a specific character used for identifying the cross-level AIS message.
A equipment including receiving end MEP, apply to the above-mentioned system to realize warning and inhibit while stepping the rank of multilayer in MD, including driving and CPU; wherein,
the driver is used for receiving the CFM message and filtering according to an ACL filtering rule issued in advance, and the filtering mode is as follows: A. if the multicast MAC address of the CFM message is equal to the multicast MAC address corresponding to the MD where the receiving end MEP is located, reporting the CFM message to a CPU; B. if the multicast MAC address of the CFM message is larger than the multicast MAC address corresponding to the MD where the receiving end MEP is located, judging whether the CFM message is a cross-level AIS message or not according to the source MAC address of the CFM message, and if so, reporting the cross-level AIS message to a CPU;
and the CPU is used for carrying out alarm suppression on the link fault detected by the receiving end MEP according to the cross-level AIS message and a preset strategy.
Therefore, the method, the system and the device for realizing multi-layer cross-level alarm suppression in the MD provided by the invention have the advantages that a transmitting end MEP transmits a cross-level AIS message, and the source MAC address of the cross-level AIS message is a specific character for identifying the cross-level AIS message; and when the receiving end MEP receives the cross-level AIS message, performing alarm suppression on the self-detected link fault according to the cross-level AIS message. By the method, the alarm suppression in the whole CFM networking is realized on the premise of still keeping the intercommunication with the existing CFM networking.
Drawings
Fig. 1 is a schematic diagram of a CFM networking architecture in the prior art;
fig. 2 is a schematic diagram of a process of processing a CFM packet by a device including a receiving end MEP in the prior art;
FIG. 3 is a flow chart of a method for implementing multi-layer cross-level alarm suppression in an MD according to the present invention;
fig. 4 is a flowchart of a process of processing a CFM packet by a device including a receiving end MEP in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus including a sending-end MEP according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a device including a receiving end MEP according to an embodiment of the present invention.
Detailed Description
The design idea of the invention is as follows: when the AIS is configured, the inner MEP does not need to pay attention to the network topology, and can be directly configured to the highest level if the AIS is required to be configured; when a transmitting end MEP transmits a cross-level AIS message, a multicast MAC address of the cross-level AIS message is set as a multicast MAC address corresponding to a configuration level MD, and a specific character is adopted to identify the multicast MAC address. When a receiving end MEP receives a CFM message, a lower layer driver of equipment where the receiving end MEP is located filters the message according to a pre-issued ACL, if the multicast MAC address of the CFM message is larger than the multicast MAC address corresponding to the MD where the receiving end MEP is located, whether the CFM message is a cross-level AIS message is identified according to the specific character, and if so, the CFM message is reported to a CPU; and then, the CPU can carry out alarm suppression according to the cross-level AIS message.
The reason why the lower-layer driving identification cross-level AIS message is adopted is as follows: if the CFM message is reported to the CPU, and the CPU recognizes whether the CFM message is a CCM message or an AIS message, an excessive load is imposed on the CPU.
Based on the above thought, the present invention provides a method for implementing multi-layer cross-level alarm suppression in MD, which is applied to a CFM networking including multi-layer MD, where the CFM networking includes a sending end MEP and multiple receiving end MEPs, the sending end MEP is located in an inner layer MD, the multiple receiving end MEPs are located in different outer layer MD, and the level of the inner layer MD is lower than that of the outer layer MD, as shown in fig. 3, which is a flowchart of the method for implementing multi-layer cross-level alarm suppression in MD of the present invention. The method comprises the following steps:
step 301: when a transmitting end MEP detects a link failure, transmitting a cross-level AIS message, wherein a multicast MAC address of the cross-level AIS message is a multicast MAC address corresponding to a configuration level MD, and the multicast MAC address corresponding to the configuration level MD is larger than the multicast MAC address corresponding to the MD where the transmitting end MEP is located; the source MAC address of the cross-level AIS message is a specific character used for identifying the cross-level AIS message;
step 302: and when the receiving end MEP identifies the cross-level AIS message, performing alarm suppression on the self-detected link fault according to the cross-level AIS message.
The device where the receiving end MEP is located includes a lower driver and an upper CPU, and the step 302 may specifically be:
when the driver receives the CFM message, filtering according to an ACL filtering rule issued in advance, wherein the filtering mode is as follows: if the multicast MAC address of the CFM message is equal to the multicast MAC address corresponding to the MD where the receiving end MEP is located, reporting the CFM message to a CPU; if the multicast MAC address of the CFM message is larger than the multicast MAC address corresponding to the MD where the receiving end MEP is located, judging whether the CFM message is a cross-level AIS message or not according to the source MAC address of the CFM message, and if so, reporting the cross-level AIS message to a CPU;
and according to a preset strategy, the CPU performs alarm suppression on the link fault detected by the receiving end MEP according to the cross-level AIS message.
The above filtering means may further include: if the multicast MAC address of the CFM message is smaller than the multicast MAC address corresponding to the MD where the receiving end MEP is located, discarding the CFM message;
and if the multicast MAC address of the CFM message is larger than the multicast MAC address corresponding to the MD where the receiving end MEP is located and the CFM message is not a cross-level AIS message, transparently transmitting the CFM message.
The above-mentioned CPU, according to the cross-level AIS message, performing alarm suppression on the link failure detected by the receiving end MEP may include:
the CPU receives the message reported by the driver, judges whether the message is an AIS message, if so, judges whether the level of the AIS message is greater than or equal to the level of the MD where the receiving end MEP is located, and if so, performs alarm suppression on the link fault detected by the receiving end MEP according to the AIS message; otherwise, discarding the AIS message.
In addition, in step 301, the multicast MAC address corresponding to the MD at the configuration level may be: and the multicast MAC address corresponding to the MD at the highest level in the CFM networking. Moreover, the reason why the source MAC address field in the cross-level AIS message is used by the sending end MEP to carry the specific character for identifying the characteristic thereof is that: for the AIS message, the receiving end MEP only needs to know the level of the message, and does not need to know the source MAC address of the message; therefore, the source MAC address field which does not have practical use originally can be adopted to carry the specific character for identifying the cross-level AIS message, so that the method plays a role in identification and does not need to change the format of the existing AIS message.
The value of the specific identifier is not limited in the invention as long as the cross-level AIS message can be identified. For example, the specific identifier may be equal to the multicast MAC address corresponding to the MD with the lowest level (i.e. 01:80: C2:00:00:30), so as to avoid being mistaken by the driver of the receiving end as a normal unicast message, and the value of the source MAC address field and the value of the multicast MAC address field of the cross-level AIS message may not be the same.
The following embodiments respectively describe the processing procedures of the sending end MEP and the receiving end MEP.
The first embodiment is as follows:
this embodiment is directed to a sender MEP.
Take CFM networking as shown in fig. 1 as an example. When a transmitting end MEP detects a link failure, transmitting a cross-level AIS message, wherein a multicast MAC address of the cross-level AIS message is a multicast MAC address corresponding to an MD of a configuration level, and the multicast MAC address corresponding to the MD of the configuration level can be a multicast MAC address corresponding to an MD of the highest level (namely 6) in a CFM (fiber Carrier frequency management) networking, namely 01:80: C2:00:00: 00: 36; the source MAC address of the cross-level AIS message is a specific character used to identify the cross-level AIS message, and may be 01:80: C2:00:00: 00: 30.
Example two:
the present embodiment is directed to a receiving end MEP.
The equipment where the receiving end MEP is located comprises a driver and a CPU, an ACL filtering rule is sent out in advance under the driver, and the content of the ACL filtering rule is as follows: when a driver receives a CFM message, if the multicast MAC address of the CFM message is equal to the multicast MAC address corresponding to the MD where the receiving end MEP is located, reporting the CFM message to a CPU; if the multicast MAC address of the CFM message is larger than the multicast MAC address corresponding to the MD where the receiving end MEP is located, judging whether the CFM message is a cross-level AIS message or not according to the source MAC address of the CFM message, and if so, reporting the cross-level AIS message to a CPU.
Fig. 4 is a flowchart of a process of a device including a receiving end MEP processing a CFM packet according to an embodiment of the present invention. The driver and the CPU of the device where the receiving end MEP is located respectively execute different processes. The method comprises the following steps:
step 401: when the driver receives the message, the driver analyzes that the message is a CFM message. The method for analyzing the CFM message is the same as the prior art, namely, whether the multicast MAC address of the message is more than or equal to 01:80: C2:00:00:30 and less than or equal to 01:80: C2:00:00:37 is judged, and if yes, the message is judged to be the CFM message.
Step 402: and reporting the CFM message to a CPU (central processing unit) according to a pre-issued ACL filtering rule when judging that the multicast MAC address of the CFM message is equal to the multicast MAC address corresponding to the MD where the receiving end MEP is located, and continuously executing the step 406. The step is the same as the processing mode in the prior art, and the step does not distinguish the CCM message from the AIS message, but reports the CCM message and the AIS message which meet the conditions. And when the multicast MAC address of the CFM message is judged to be smaller than the multicast MAC address corresponding to the MD where the receiving end MEP is located, discarding the CFM message.
Step 403: this step is performed after step 401. The method comprises the following steps: and according to the ACL filtering rule issued in advance, when the multicast MAC address of the CFM packet is judged to be greater than the multicast MAC address corresponding to the MD where the receiving end MEP is located, executing step 404.
Step 404: judging whether the source MAC address of the CFM message is 01:80: C2:00:00:30, if so, indicating that the CFM message is an AIS message, and continuing to execute the step 405; if not, the CFM message is not the AIS message, and the message is transmitted transparently.
Step 405: the driver copies the AIS message and reports the AIS message to the CPU, and simultaneously transmits the message transparently.
The above-described steps 401 to 405 are driving execution processes, and are hereinafter CPU execution processes.
Step 406: the CPU analyzes the received message, determines whether the message is an AIS message, and if so, executes step 407.
Step 407: judging whether the level of the AIS message is greater than or equal to the level of the MD where the MEP of the receiving end is located, if so, executing step 408; if so, discarding the message. Wherein, the AIS message whose AIS message level is equal to the MD level of the receiving end MEP (i.e. AIS message whose multicast MAC address is equal to the multicast MAC address corresponding to the MD of the receiving end MEP) is reported in the step 402, and the CCM message whose multicast MAC address is equal to the multicast MAC address corresponding to the MD of the receiving end MEP is also reported while reporting the AIS message; the AIS message whose level is higher than the MD level of the receiving MEP (i.e. the AIS message whose multicast MAC address is higher than the multicast MAC address corresponding to the MD of the receiving MEP) is reported in step 405.
Step 408: and the CPU performs alarm suppression on the path fault detected by the MEP at the receiving end according to the AIS message. In this step, the processing mode of the CPU is also different from that in the prior art, and the difference between the two modes is that in the prior art, the CPU performs alarm suppression only according to the AIS message whose AIS message level is equal to the MD level at which the receiving end MEP is located; in this embodiment, the CPU performs alarm suppression according to the AIS message whose AIS message level is greater than or equal to the MD level at which the receiving end MEP is located.
By adopting the embodiment, the alarm suppression of the whole CFM networking can be realized. The following describes a process of implementing alarm suppression by using an embodiment of the present invention, taking the CFM networking shown in fig. 1 as an example.
For example: in fig. 1, when Device _4 port G1/2 detects a path failure, it sends a cross-level AIS message with multicast MAC address 01:80: C2:00:00:36 and source MAC address 01:80: C2:00:00: 30.
The Device _2 driver issues an ACL filtering rule in advance, and the content of the ACL filtering rule is as follows: when a port G1/2 receives a CFM message, if the multicast MAC address of the CFM message is equal to 01:80: C2:00:00:35, reporting the CFM message to a CPU; if the multicast MAC address of the CFM message is more than 01:80: C2:00:00:35, judging whether the source MAC address of the CFM message is 01:80: C2:00:00:30, if so, reporting the CFM message to a CPU.
When a port G1/2 of Device _2 receives a CFM message, the driver adopts the ACL filtering rule to filter, and judges that the multicast MAC address of the CFM message is more than 01:80: C2:00:00:35 and the source MAC address is equal to 01:80: C2:00:00:30, so the driver reports the message to a CPU. The CPU can perform alarm suppression according to the message.
The Device _1 is driven to issue an ACL filtering rule in advance, and the content of the ACL filtering rule is as follows: when a port G1/2 receives a CFM message, if the multicast MAC address of the CFM message is equal to 01:80: C2:00:00:36, reporting the CFM message to a CPU; if the multicast MAC address of the CFM message is more than 01:80: C2:00:00:36, judging whether the source MAC address of the CFM message is 01:80: C2:00:00:30, if so, sending the message to a CPU.
When the port G1/2 of Device _1 receives the CFM message, the driver filters by adopting the ACL filtering rule, and judges that the multicast MAC address of the CFM message is equal to 01:80: C2:00:00:36, so the driver reports the message to the CPU. The CPU can perform alarm suppression according to the message.
It can be seen that when the MEP of the inner layer detects a path fault, a cross-level AIS message is sent; the outer MEP can realize alarm suppression according to the cross-level AIS message without configuring AIS alarm suppression levels layer by layer.
The invention also provides a system for realizing multi-layer cross-level alarm suppression in MD, which is applied to CFM networking including multi-layer MD, wherein the CFM networking comprises a sending end MEP and a plurality of receiving end MEPs, the sending end MEP is positioned in the inner layer MD, the plurality of receiving end MEPs are positioned in different outer layer MD, the level of the inner layer MD is lower than that of the outer layer MD, and the system comprises:
the equipment comprises a sending end MEP (Messaging protocol), and is used for sending a cross-level AIS message when detecting a link fault, wherein the multicast MAC address of the cross-level AIS message is a multicast MAC address corresponding to a configuration level MD, and the multicast MAC address corresponding to the configuration level MD is larger than the multicast MAC address corresponding to the MD where the sending end MEP is located; the source MAC address of the cross-level AIS message is a specific character used for identifying the cross-level AIS message;
and the equipment comprises a receiving end MEP and is used for carrying out alarm suppression on the self-detected link fault according to the cross-level AIS message when identifying the cross-level AIS message.
The multicast MAC address corresponding to the MD in the configuration level may be: and the multicast MAC address corresponding to the MD at the highest level in the CFM networking.
The specific character for identifying the cross-level AIS message is equal to the multicast MAC address corresponding to the MD with the lowest level, or may be a dedicated unicast MAC address, and if a unicast MAC address is used, the unicast MAC address may not be used as the device MAC address.
An embodiment of the present invention further provides a device including a sending end MEP, which is applied to the system for implementing multi-layer cross-level alarm suppression in an MD, for example, fig. 5 is a schematic structural diagram of the device including the sending end MEP according to the embodiment of the present invention, where the device includes a detecting module 501 and a sending module 502; wherein,
the detecting module 501 is configured to detect whether a link fails, and when a link failure is detected, instruct the sending module 502 to send a cross-level AIS message;
the sending module 502 is configured to send a cross-level AIS message according to the instruction of the detecting module 501, where a multicast MAC address of the cross-level AIS message is a multicast MAC address corresponding to a configuration level MD, and the multicast MAC address corresponding to the configuration level MD is greater than a multicast MAC address corresponding to an MD where the sending end MEP is located; and the source MAC address of the cross-level AIS message is a specific character used for identifying the cross-level AIS message.
For the above device including the sending end MEP, the multicast MAC address corresponding to the MD at the configuration level may be: and the multicast MAC address corresponding to the MD at the highest level in the CFM networking.
For the above device including the sending end MEP, the specific character for identifying the cross-level AIS packet may be equal to the multicast MAC address corresponding to the MD of the lowest level.
An embodiment of the present invention further provides a device including a receiving end MEP, which is applied to the system for implementing multi-layer cross-level alarm suppression in an MD, as shown in fig. 6, which is a schematic structural diagram of the device including the receiving end MEP according to the embodiment of the present invention, and the device includes a driver 610 and a CPU 620; wherein,
the driver 610 is configured to receive a CFM packet, and filter according to an ACL filtering rule issued in advance, where the filtering method is as follows: if the multicast MAC address of the CFM message is equal to the multicast MAC address corresponding to the MD where the receiving end MEP is located, reporting the CFM message to a CPU 620; if the multicast MAC address of the CFM message is larger than the multicast MAC address corresponding to the MD where the receiving end MEP is located, judging whether the CFM message is a cross-level AIS message or not according to the source MAC address of the CFM message, and if so, reporting the cross-level AIS message to a CPU 620;
the CPU 620 is configured to perform alarm suppression on the link fault detected by the receiving end MEP according to the cross-level AIS message and according to a preset policy.
The driver 610 may include: a receiving module 611, a comparing module 612, a judging module 613 and a reporting module 614; wherein,
the receiving module 611 is configured to receive a CFM packet;
the comparing module 612 is configured to instruct the reporting module 614 to report the CFM packet to the CPU when the multicast MAC address of the CFM packet is compared to be equal to the multicast MAC address corresponding to the MD where the receiving end MEP is located; when the multicast MAC address of the CFM packet is larger than the multicast MAC address corresponding to the MD where the receiving end MEP is located, the determining module 613 is instructed to perform determination;
the judging module 613 is configured to judge whether the CFM message is a cross-level AIS message according to the source MAC address of the CFM message according to the instruction of the comparing module 612, and if so, instruct the reporting module 614 to report the cross-level AIS message to the CPU 620;
the reporting module 614 is configured to report the CFM message to the CPU according to the instruction of the comparing module 612; and is further configured to report the cross-level AIS message to the CPU 620 according to an instruction of the determining module 613.
The driver may further include a discard module 615 and a pass-through module 616;
the comparing module 612 is further configured to instruct the discarding module 615 to discard the CFM packet when the multicast MAC address of the CFM packet is smaller than the multicast MAC address corresponding to the MD where the receiving end MEP is located;
the determining module 613 is further configured to instruct the transparent transmission module 616 to transmit the CFM message when it is determined that the CFM message is not the cross-level AIS message;
the discarding module 615 is configured to discard the CFM packet according to the instruction of the comparing module 612;
the transparent transmission module 616 is configured to transmit the CFM message through according to the instruction of the determination module 613;
the CPU 620 may be configured to receive a message reported by the driver 610, determine whether the message is an AIS message, if so, determine whether the level of the AIS message is greater than or equal to the level of the MD where the receiving end MEP is located, and if so, perform alarm suppression on a link fault detected by the receiving end MEP according to the AIS message; otherwise, discarding the AIS message.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (14)

1. A method for realizing multi-layer cross-level alarm suppression in a maintenance domain MD is applied to a communication error management CFM networking including the multi-layer MD, a sending end maintenance end point MEP and a plurality of receiving end MEPs exist in the CFM networking, the sending end MEP is located in an inner layer MD, the plurality of receiving end MEPs are located in different outer layer MD, the level of the inner layer MD is lower than that of the outer layer MD, and the method is characterized by comprising the following steps:
when a transmitting end MEP detects a link fault, transmitting a cross-level alarm indication signal AIS message, wherein a multicast MAC address of the cross-level AIS message is a multicast MAC address corresponding to a configuration level MD, and the multicast MAC address corresponding to the configuration level MD is larger than the multicast MAC address corresponding to the MD where the transmitting end MEP is located; the source MAC address of the cross-level AIS message is a specific character used for identifying the cross-level AIS message;
when the receiving end MEP identifies the cross-level AIS message, alarm suppression is carried out on the link fault detected by the receiving end MEP according to the cross-level AIS message;
the equipment where the receiving end MEP is located comprises a driver and a CPU; when the receiving end MEP identifies the cross-level AIS message, the method of performing alarm suppression on the link fault detected by the receiving end MEP according to the cross-level AIS message is as follows: when the driver receives the CFM message, filtering according to an Access Control List (ACL) filtering rule issued in advance; the CPU receives the message reported by the driver, judges whether the message is an AIS message, if so, judges whether the level of the AIS message is greater than or equal to the level of the MD where the receiving end MEP is located, if so, alarms and inhibits the link fault detected by the receiving end MEP according to the AIS message, otherwise, the AIS message is discarded.
2. The method according to claim 1, wherein the filtering means is: if the multicast MAC address of the CFM message is equal to the multicast MAC address corresponding to the MD where the receiving end MEP is located, reporting the CFM message to a CPU; if the multicast MAC address of the CFM message is larger than the multicast MAC address corresponding to the MD where the receiving end MEP is located, judging whether the CFM message is a cross-level AIS message or not according to the source MAC address of the CFM message, and if so, reporting the cross-level AIS message to a CPU.
3. The method of claim 2, wherein the filtering means further comprises: if the multicast MAC address of the CFM message is smaller than the multicast MAC address corresponding to the MD where the receiving end MEP is located, discarding the CFM message;
and if the multicast MAC address of the CFM message is larger than the multicast MAC address corresponding to the MD where the receiving end MEP is located and the CFM message is not a cross-level AIS message, transparently transmitting the CFM message.
4. The method according to any of claims 1 to 3, wherein the multicast MAC address corresponding to the MD at the configuration level is: and the multicast MAC address corresponding to the MD at the highest level in the CFM networking.
5. The method according to any of claims 1 to 3, wherein the specific character used to identify the cross-level AIS message is equal to the multicast MAC address corresponding to the lowest level MD.
6. A system for realizing multi-layer cross-level alarm suppression in MD is applied to CFM networking including multi-layer MD, a sending end MEP and a plurality of receiving end MEPs exist in the CFM networking, the sending end MEP is located in an inner layer MD, the plurality of receiving end MEPs are located in different outer layer MD, the level of the inner layer MD is lower than that of the outer layer MD, and the system is characterized by comprising:
the equipment comprises a sending end MEP (Messaging protocol), and is used for sending a cross-level AIS message when detecting a link fault, wherein the multicast MAC address of the cross-level AIS message is a multicast MAC address corresponding to a configuration level MD, and the multicast MAC address corresponding to the configuration level MD is larger than the multicast MAC address corresponding to the MD where the sending end MEP is located; the source MAC address of the cross-level AIS message is a specific character used for identifying the cross-level AIS message;
the equipment comprises a receiving end MEP and is used for carrying out alarm suppression on the link fault detected by the equipment according to the cross-level AIS message when the cross-level AIS message is identified;
the equipment comprising the receiving end MEP comprises a driver and a CPU; when the receiving end MEP identifies the cross-level AIS message, the method of performing alarm suppression on the link fault detected by the receiving end MEP according to the cross-level AIS message is as follows: when the driver receives the CFM message, filtering according to an Access Control List (ACL) filtering rule issued in advance; the CPU receives the message reported by the driver, judges whether the message is an AIS message, if so, judges whether the level of the AIS message is greater than or equal to the level of the MD where the receiving end MEP is located, if so, alarms and inhibits the link fault detected by the receiving end MEP according to the AIS message, otherwise, the AIS message is discarded.
7. The system of claim 6, wherein the multicast MAC address corresponding to the MD at the configuration level is: and the multicast MAC address corresponding to the MD at the highest level in the CFM networking.
8. The system according to claim 6, wherein said specific character identifying the cross-level AIS message is equal to the multicast MAC address corresponding to the lowest level MD.
9. An apparatus comprising a transmitting end MEP, which is applied to the system of any one of claims 6 to 8, and is characterized by comprising a detecting module and a transmitting module; wherein,
the detection module is used for detecting whether the link fails or not, and when the link fails, the detection module indicates the sending module to send a cross-level AIS message;
the sending module is configured to send a cross-level AIS message according to the indication of the detection module, where a multicast MAC address of the cross-level AIS message is a multicast MAC address corresponding to a configuration level MD, and the multicast MAC address corresponding to the configuration level MD is greater than a multicast MAC address corresponding to an MD where the sending end MEP is located; and the source MAC address of the cross-level AIS message is a specific character used for identifying the cross-level AIS message.
10. The apparatus of claim 9, wherein the multicast MAC address corresponding to the MD at the configuration level is: and the multicast MAC address corresponding to the MD at the highest level in the CFM networking.
11. The apparatus of claim 9 wherein the specific character used to identify the cross-level AIS message is equal to the multicast MAC address corresponding to the lowest level MD.
12. An apparatus comprising a receiving end MEP, applied to the system of any one of claims 6 to 8, characterized by comprising a driver and a CPU; wherein,
the driver is used for receiving the CFM message and filtering according to an ACL filtering rule issued in advance, and the filtering mode is as follows: if the multicast MAC address of the CFM message is equal to the multicast MAC address corresponding to the MD where the receiving end MEP is located, reporting the CFM message to a CPU; if the multicast MAC address of the CFM message is larger than the multicast MAC address corresponding to the MD where the receiving end MEP is located, judging whether the CFM message is a cross-level AIS message or not according to the source MAC address of the CFM message, and if so, reporting the cross-level AIS message to a CPU;
and the CPU is used for carrying out alarm suppression on the link fault detected by the receiving end MEP according to the cross-level AIS message and a preset strategy.
13. The apparatus of claim 12, wherein the driving comprises: the device comprises a receiving module, a comparing module, a judging module and a reporting module; wherein,
the receiving module is used for receiving the CFM message;
the comparing module is used for indicating the reporting module to report the CFM message to the CPU when the compared multicast MAC address of the CFM message is equal to the multicast MAC address corresponding to the MD where the receiving end MEP is located; when the multicast MAC address of the CFM message is larger than the multicast MAC address corresponding to the MD where the receiving end MEP is located, the judging module is indicated to judge;
the judging module is used for judging whether the CFM message is a cross-level AIS message or not according to the source MAC address of the CFM message according to the indication of the comparing module, and if so, the reporting module is indicated to report the cross-level AIS message to the CPU;
the reporting module is used for reporting the CFM message to the CPU according to the indication of the comparing module; and the cross-level AIS message is also reported to the CPU according to the indication of the judging module.
14. The apparatus of claim 13, wherein the driver further comprises a discard module and a pass-through module;
the comparing module is further configured to instruct the discarding module to discard the CFM packet when the multicast MAC address of the CFM packet compared is smaller than the multicast MAC address corresponding to the MD where the receiving end MEP is located;
the judging module is also used for indicating the transparent transmission module to transmit the CFM message when the CFM message is judged not to be the cross-level AIS message;
the discarding module is used for discarding the CFM message according to the indication of the comparing module;
the transparent transmission module is used for transmitting the CFM message according to the indication of the judgment module;
the CPU is used for receiving the message reported by the driver, judging whether the message is an AIS message, if so, judging whether the level of the AIS message is greater than or equal to the level of the MD where the receiving end MEP is located, and if so, performing alarm suppression on the link fault detected by the receiving end MEP according to the AIS message; otherwise, discarding the AIS message.
CN 201010191942 2010-05-26 2010-05-26 In-maintenance domain multilayer cross-level alarm suppression method, system and device Expired - Fee Related CN102263654B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010191942 CN102263654B (en) 2010-05-26 2010-05-26 In-maintenance domain multilayer cross-level alarm suppression method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010191942 CN102263654B (en) 2010-05-26 2010-05-26 In-maintenance domain multilayer cross-level alarm suppression method, system and device

Publications (2)

Publication Number Publication Date
CN102263654A CN102263654A (en) 2011-11-30
CN102263654B true CN102263654B (en) 2013-11-06

Family

ID=45010124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010191942 Expired - Fee Related CN102263654B (en) 2010-05-26 2010-05-26 In-maintenance domain multilayer cross-level alarm suppression method, system and device

Country Status (1)

Country Link
CN (1) CN102263654B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707920B (en) * 2012-06-22 2015-05-13 上海埃威航空电子有限公司 Data processing equipment and method for filtering identical AIS messages
CN106209441B (en) * 2016-06-30 2019-04-05 电子科技大学 A kind of trouble-shooter of broadband access network
CN108234156B (en) * 2016-12-13 2021-04-09 北京华为数字技术有限公司 Method and equipment for transmitting message
CN109362110B (en) * 2018-12-17 2021-06-18 锐捷网络股份有限公司 Roaming switching method, equipment, network and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697401A (en) * 2004-05-10 2005-11-16 阿尔卡特公司 Remote access link fault indication mechanism
CN101015157A (en) * 2004-05-10 2007-08-08 阿尔卡特朗讯 Alarm indication and suppression (ais) mechanism in an Ethernet oam network.

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7889754B2 (en) * 2005-07-12 2011-02-15 Cisco Technology, Inc. Address resolution mechanism for ethernet maintenance endpoints

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697401A (en) * 2004-05-10 2005-11-16 阿尔卡特公司 Remote access link fault indication mechanism
CN101015157A (en) * 2004-05-10 2007-08-08 阿尔卡特朗讯 Alarm indication and suppression (ais) mechanism in an Ethernet oam network.

Also Published As

Publication number Publication date
CN102263654A (en) 2011-11-30

Similar Documents

Publication Publication Date Title
US7924725B2 (en) Ethernet OAM performance management
EP2750436B1 (en) Method and system for wireless network management
US20050099949A1 (en) Ethernet OAM domains and ethernet OAM frame format
CN101355466B (en) Method and apparatus for transmitting continuous check information message
EP3926862A1 (en) Connectivity fault management (cfm) in networks with link aggregation group connections
US20050099951A1 (en) Ethernet OAM fault detection and verification
US20050099954A1 (en) Ethernet OAM network topography discovery
CN102263654B (en) In-maintenance domain multilayer cross-level alarm suppression method, system and device
CN103130095A (en) Elevator fault early warning method and relevant server
CN107517117B (en) IP layer OAM (operation administration and maintenance) alarm method and device and network node
CN101471821B (en) Method and apparatus for detecting failure of operator backbone network transmission network
RU2012110583A (en) METHOD OF NOTIFICATION OF INFORMATION ABOUT BANDWIDTH, METHOD OF PROCESSING THE SERVICE, NETWORK NODE AND DATA TRANSMISSION SYSTEM
WO2022089234A1 (en) Fault processing method, server, electronic device, and readable storage medium
CN104601394A (en) Business chain connectivity detection method, device and system
RU2012103480A (en) METHOD FOR LIMITING THE VOLUME OF NETWORK TRAFFIC ACCESSING TO A LOCAL NODE OPERATING ACCORDING TO THE ETHERNET PROTOCOL OF INDUSTRIAL APPLICATION
US20130315071A1 (en) Apparatus and method for controlling a transmission interval of maintenance packets in a communication network
WO2011050631A1 (en) Alarm report method, system and device for cascaded device
US20090003226A1 (en) Network intermediary device with connection test packets
CN101938365B (en) Fault handling method and device for Ethernet
CN101232406A (en) OAM fast detecting method, apparatus and system
CN103036724B (en) State information transmission method, the network equipment and unit equipment
CN101686199B (en) Method, device and system for processing control message in Ethernet protection system
CN101478775B (en) Detection method, system and equipment for multi-neighbor connection state
CN207883111U (en) A kind of explosion-proof wireless detecting system with multipath redundancy networking function
CN102271064B (en) Pseudo wire connectivity failure detection method, device 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.

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: 20131106

Termination date: 20200526