An implementation method and system of OAM LB automatic reply

By generating LBM packets in MPLS-TP OAM and creating ACLs at the destination station to extract LBM packets, and then generating LBR packets to return to the source station, the problem of complex operation of MPLS-TP OAM LB function is solved, and simple and efficient automatic response and large-scale LB testing are realized.

CN116633750BActive Publication Date: 2026-03-31FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-20
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

In the existing technology, the LB function implementation process of MPLS-TP OAM is complex and has a high resource consumption rate, while the FPGA reply message operation is complex and the device size is small.

Method used

By generating a loopback message (LBM) at the origin station and sending it to the destination station, if the destination station does not have an LB configured as needed after receiving the LBM message, it creates an access control list (ACL), extracts the LBM message, generates a loopback reply (LBR) message, and returns it to the origin station, adding the OAM ID to the private header to achieve automatic reply.

Benefits of technology

Automatic LBM message reply can be achieved without issuing LB configuration on demand at the host station. The operation is simple, which increases the specification and practicality of simultaneous LB testing of the equipment and supports large-scale LB testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116633750B_ABST
    Figure CN116633750B_ABST
Patent Text Reader

Abstract

The application discloses an OAM LB automatic reply implementation method and system, and relates to the technical field of communication.The OAM LB automatic reply implementation method comprises the following steps: creating an MPLS-TP service, and issuing an operation management and maintenance (OAM) active configuration to a source station and a sink station; generating a loopback message (LBM) packet at the source station according to the MPLS-TP service and sending the LBM packet to the sink station; when the sink station receives the LBM packet, if the sink station does not receive a loopback (LB) on-demand configuration, creating an access control list (ACL) according to the received OAM active configuration, extracting the LBM packet according to the ACL, generating a loopback reply (LBR) packet according to the LBM packet, and returning the LBR packet to the source station.The OAM LB automatic reply implementation method and system do not need to issue an LB on-demand configuration to the sink station, can realize automatic reply of the LBM packet, and the implementation process is simple.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, specifically to a method and system for implementing automatic OAM LB response. Background Technology

[0002] Currently, the OAM (Operation Administration and Maintenance) protocols mainly include ITU-T Y.1731 and IEEE 802.1ag, which are responsible for network operation, maintenance, and management functions. ITU-T Y.1731 and IEEE 802.1ag only define Ethernet loopback (LB), and do not provide detailed requirements for the implementation of the LB function in MPLS-TP (Multi-Protocol Label Switching Transport Profile) OAM.

[0003] In related technologies, there are two methods for implementing the LB function of MPLS-TP OAM. One method is to implement it with a CPU (Central Processing Unit). However, this method has obvious defects. When the number of services that need to be replied to increases, the CPU utilization rate will increase significantly, and a large number of equipment resources will be occupied. The other method is to implement the reply message with an FPGA (Field-Programmable Gate Array). However, when the FPGA replies the message, the corresponding configuration needs to be issued at the destination station. This method is not only complicated to operate, but also has a small specification for the equipment to perform LB testing. Summary of the Invention

[0004] To address one of the shortcomings of existing technologies, the purpose of this application is to provide a method and system for implementing automatic OAM LB response, so as to solve the problem of complex operation in the implementation process of MPLS-TP OAM LB function in related technologies.

[0005] The first aspect of this application provides a method for implementing automatic OAM LB response, which includes the following steps:

[0006] Create MPLS-TP services and issue Operation, Management and Maintenance (OAM) proactive configurations to the source and destination stations;

[0007] Based on the above MPLS-TP service, a loopback message (LBM) is generated at the source station and sent to the destination station;

[0008] When the destination station receives the above LBM message, if the destination station has not received the loopback LB on-demand configuration, it creates an access control list (ACL) based on the received OAM proactive configuration, extracts the LBM message based on the ACL, generates a loopback reply (LBR) message based on the above LBM message, and returns it to the source station.

[0009] In some embodiments, when extracting LBM packets based on ACLs, the following steps are also included:

[0010] Obtain MPLS-TP service label information, and add the OAM ID to the private header of the LBM message based on the MPLS-TP service label information.

[0011] In some embodiments, generating an LBR message based on the above-mentioned LBM message specifically includes:

[0012] The OAM entry is located based on the OAM ID in the private header of the LBM message, and the OAM entry is added to the private destination MAC address of the LBM message.

[0013] The LBM message is replied to based on the OAM entry in the private destination MAC address, and the LBR message is generated.

[0014] In some embodiments, if the destination station receives the LB on-demand configuration, it creates an OAM MP extraction table based on the LB on-demand configuration. When the destination station receives the LBM message, it extracts the LBM message based on the OAM MP extraction table, generates an LBR message based on the LBM message, and returns it to the source station.

[0015] A second aspect of this application provides a system for implementing automatic OAM LB responses, comprising:

[0016] The module is used to create MPLS-TP services and issue OAM proactive configurations to the source and destination stations.

[0017] The message generation module is used to generate LBM messages at the source station and send them to the destination station based on the above MPLS-TP services.

[0018] The message processing module is used to create an ACL based on the received OAM active configuration when the destination station receives the above LBM message. If the destination station has not received the LB on-demand configuration, it will extract the LBM message based on the ACL, generate an LBR message based on the above LBM message, and return it to the source station.

[0019] In some embodiments, the above-mentioned message processing module includes:

[0020] The ACL module, located within the line board, is used to create the aforementioned ACL based on the received OAM active configuration, extract LBM packets based on the ACL, obtain MPLS-TP service label information, and add the OAMID to the private header of the aforementioned LBM packets based on the MPLS-TP service label information.

[0021] In some embodiments, the above-mentioned message processing module further includes:

[0022] The first OAM adaptation module, which is located in the tributary board, is used to find the OAM entry based on the OAMID in the private header of the LBM message, add the OAM entry to the private destination MAC address of the LBM message, and then send it to the OAMLB reflection module.

[0023] The aforementioned OAM LB reflection module is located in the tributary board and is used to reply to the aforementioned LBM message based on the OAM entry in the aforementioned private destination MAC address, generate the aforementioned LBR message, and return the aforementioned LBR message to the source station through the aforementioned first OAM adaptation module and ACL module.

[0024] In some embodiments, the above-mentioned message processing module further includes:

[0025] The first port is used to connect the aforementioned ACL module and the first OAM adapter module.

[0026] In some embodiments, the above-mentioned message processing module further includes:

[0027] The OAM MP module is located inside the line panel and is used to create an OAM MP extraction table according to the LB configuration as needed. When the destination station receives the above LBM message, it extracts the LBM message according to the above OAM MP extraction table and sends it to the second OAM adapter module.

[0028] The second OAM adaptation module is located in the tributary board and is used to obtain MPLS-TP service label information, find OAM entries based on MPLS-TP service label information, add the OAM entries to the private destination MAC address of the LBM message, and send them to the OAM LB function module.

[0029] The aforementioned OAM LB function module is used to reply to the aforementioned LBM message based on the OAM entry in the aforementioned private destination MAC address, generate an LBR message, and return the aforementioned LBR message to the source station through the aforementioned second OAM adaptation module and OAM MP module.

[0030] In some embodiments, the above-mentioned message processing module further includes:

[0031] The second port is used to connect the aforementioned OAM MP module to the second OAM adapter module.

[0032] The beneficial effects of the technical solution provided in this application include:

[0033] The OAM LB automatic reply implementation method and system of this application involves creating an MPLS-TP service and issuing OAM proactive configuration to the source and destination stations for operation, management, and maintenance. Then, based on the MPLS-TP service, a loopback message (LBM) is generated at the source station and sent to the destination station. When the destination station receives the LBM message, if it has not received the loopback LB on-demand configuration, it creates an Access Control List (ACL) based on the received OAM proactive configuration, extracts the LBM message from the ACL, generates a loopback reply (LBR) message based on the LBM message, and returns it to the source station. This application achieves automatic LBM message reply without issuing LB on-demand configuration at the destination station, and the implementation process is simple. Attached Figure Description

[0034] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0035] Figure 1 This is a flowchart of the first implementation method of OAM LB automatic reply in the embodiments of this application;

[0036] Figure 2 This is a block diagram illustrating the implementation of the LB function of MPLS-TP OAM in this application embodiment;

[0037] Figure 3 This is a network topology diagram illustrating the cross-disk scenario in this application embodiment;

[0038] Figure 4 This is a schematic diagram of the message processing module in an embodiment of this application.

[0039] Figure 5 This is a second flowchart illustrating the implementation method of OAM LB automatic reply in the embodiments of this application. Detailed Implementation

[0040] To make the objectives, technical solutions, and advantages of this application clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. Furthermore, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0041] like Figure 1 As shown in the figure, this application provides a method for implementing automatic OAM LB response, which includes the following steps:

[0042] S1. Create MPLS-TP service and issue Operation Management and Maintenance (OAM) proactive configuration to the source and destination stations.

[0043] S2. Generate an LBM (Loopback Message) message at the source station based on the MPLS-TP service and send it to the destination station.

[0044] S3. When the destination station receives the above LBM message, if the destination station has not received the loopback LB on-demand configuration, it creates an ACL (Access Control List) for extracting the LBM message based on the received OAM active configuration, extracts the LBM message based on the ACL, generates an LBR (Loopback Reply) message based on the above LBM message, and returns it to the source station.

[0045] The implementation method of this embodiment involves creating a TP service and issuing Operation Management and Maintenance (OAM) proactive configuration to the source and destination stations. Then, based on the TP service, a loopback message (LBM) is generated at the source station and sent to the destination station. When the destination station receives the LBM message, if it has not received the loopback LB on-demand configuration, it creates an Access Control List (ACL) based on the received OAM proactive configuration, extracts the LBM message from the ACL, generates a loopback reply (LBR) message based on the LBM message, and returns it to the source station. This application achieves automatic LBM message reply without issuing LB on-demand configuration at the destination station, simplifying the process and increasing the practicality of the scenario.

[0046] Based on the previous embodiment, in this embodiment, when extracting LBM packets according to ACL in step S3 above, the following steps are also included:

[0047] Obtain the TP service label information and add the OAM ID to the private header of the LBM message based on the TP service label information.

[0048] Furthermore, in step S3 above, generating an LBR message based on the LBM message specifically includes the following steps:

[0049] First, the OAM entry is located based on the OAM ID in the private header of the LBM message, and then the OAM entry is added to the private destination MAC address of the LBM message.

[0050] Then, based on the OAM entry in the aforementioned private destination MAC address, the aforementioned LBM message is replied to, and the aforementioned LBR message is generated.

[0051] In this embodiment, an OAM entry refers to a unique index value assigned by the OAM adapter module. This index value is used as an index for using FPGA entry resources, and it is also used by the driver chip when creating an OAM MP extraction table or ACL.

[0052] In this embodiment, the number of automatically replied entries is the same as the number of actively configured entries, far exceeding the number of on-demand test entries. The number of actively configured entries is several thousand, but the number of on-demand configured entries is only a few dozen. Therefore, through automatic replies, the number of specifications that the device can perform LB tests simultaneously can be greatly increased, from the original dozens of specifications to several thousand, thereby enhancing the number of connectivity tests that the device can perform simultaneously and thus enhancing the device's functionality.

[0053] Based on the above embodiments, in this embodiment, if the destination station receives the LB on-demand configuration, it creates an OAM MP extraction table according to the LB on-demand configuration. When the destination station receives the LBM message, it extracts the LBM message according to the OAM MP extraction table, generates an LBR message according to the LBM message, and returns it to the source station.

[0054] Specifically, when the destination station receives an LBM message, it extracts the LBM message according to the aforementioned OAM MP extraction table; then, it obtains the MPLS-TP service label information, and searches for the OAM entry based on the MPLS-TP service label information. Subsequently, it adds the OAM entry to the private destination MAC address of the LBM message, replies to the aforementioned LBM message based on the OAM entry in the private destination MAC address of the LBM message, and generates an LBR message.

[0055] The implementation method of this embodiment is compatible with both OAM LB automatic reply and on-demand reply.

[0056] This application also provides an embodiment of an OAM LB automatic reply implementation system, wherein the implementation system includes a creation module, a message generation module, and a message processing module.

[0057] The above creation module is used to create TP services and issue OAM proactive configurations to the source and destination stations.

[0058] The aforementioned message generation module is used to generate LBM messages at the source station and send the LBM messages to the destination station based on the aforementioned TP services.

[0059] The aforementioned message processing module is used to create an ACL based on the received OAM active configuration when the destination station receives the aforementioned LBM message. If the destination station has not received the LB on-demand configuration, it will extract the LBM message based on the ACL, generate an LBR message based on the aforementioned LBM message, and return it to the source station.

[0060] Based on the above embodiments, in this embodiment, the message processing module includes an ACL module. This ACL module is located within the line board and is used to create the ACL based on the received OAM active configuration, extract LBM messages based on the ACL, obtain TP service tag information, and add the OAM ID to the private header of the LBM messages based on the TP service tag information.

[0061] Furthermore, the aforementioned message processing module also includes a first OAM adaptation module and an OAM LB reflection module.

[0062] The first OAM adaptation module is located in the tributary board. The first OAM adaptation module is used to find the OAM entry based on the OAM ID in the private header of the LBM message, add the OAM entry to the private destination MAC address of the LBM message, and then send it to the OAM LB reflection module.

[0063] The aforementioned OAM LB reflection module is installed in the tributary board. The OAM LB reflection module is used to reply to the aforementioned LBM message according to the OAM entry in the aforementioned private destination MAC address, generate the aforementioned LBR message, and return the aforementioned LBR message to the source station through the aforementioned first OAM adaptation module and ACL module.

[0064] In this embodiment, the first OAM adaptation module is further configured to send the LBR message to the ACL module; the ACL module is further configured to return the LBR message to the source station.

[0065] In this embodiment, the ACL module is located in the line board driver chip of the destination station, and the first OAM adapter module and the OAM LB reflection module are located in the branch board FPGA of the destination station, so as to realize the function of receiving and replying to LBM messages at the destination station.

[0066] Furthermore, the aforementioned message processing module also includes a first port, which is used to connect the ACL module and the first OAM adapter module, i.e., the port connecting the line board driver chip and the branch board FPGA. In this embodiment, the first port is used to send the LBM message extracted by the ACL to the first OAM adapter module, and to send the LBR message returned by the first OAM adapter module to the ACL module.

[0067] Based on the above embodiments, in this embodiment, the message processing module further includes an OAM MP module, a second OAM adaptation module, and an OAM LB function module. The maintenance point MP is either a MEP (Maintenance association Endpoint) or a MIP (Maintenance Domain Intermediate Point).

[0068] The aforementioned OAM MP module is located inside the line panel. This OAM MP module is used to create an OAM MP extraction table according to the LB configuration as needed, and when the destination station receives an LBM message, it extracts the LBM message according to the aforementioned OAM MP extraction table and sends it to the second OAM adapter module.

[0069] In this embodiment, when the destination station is a MEP, the OAM MP module is used to create an OAM MP extraction table in the MEP; when the destination station is a MIP, the OAM MP module is used to create an OAM MP extraction table in the MIP.

[0070] The aforementioned second OAM adaptation module is located within the tributary board. This second OAM adaptation module is used to obtain MPLS-TP service label information, find OAM entries based on MPLS-TP service label information, add the OAM entry to the private destination MAC address of the LBM message, and then send it to the OAM LB function module.

[0071] The aforementioned OAM LB function module is used to reply to the aforementioned LBM message based on the OAM entry in the private destination MAC address of the LBM message, generate an LBR message, and return the aforementioned LBR message to the source station through the aforementioned second OAM adaptation module and OAM MP module.

[0072] In this embodiment, the second OAM adaptation module is further configured to send the LBR message to the OAM MP module; the OAM MP module is further configured to return the LBR message to the source station.

[0073] In this embodiment, the OAM MP module is located in the line board driver chip of the destination station, and the second OAM adapter module and the OAM LB function module are located in the branch board FPGA of the destination station, so as to realize the function of receiving and replying to LBM messages at the destination station.

[0074] Furthermore, the above-mentioned message processing module also includes a second port, which is used to connect the above-mentioned OAMMP module and the second OAM adapter module, that is, the port where the line board driver chip and the branch board FPGA are connected.

[0075] In this embodiment, by adding a first port, the bandwidth of the second port is not occupied, and the original CV (Connectivity Verification) specifications are not affected.

[0076] In this embodiment, the MPLS-TP OAM functionality is implemented through a tributary FPGA and a line drive chip. Pseudo-Wire (PW) layer OAM is generated and terminated on the tributary FPGA, while the line drive chip is used for forwarding and extracting OAM messages. When the OAM message generated by the FPGA is sent to the drive chip, it must include a private protocol header for forwarding to the corresponding egress point. The egress information in the private protocol header is written to the FPGA by the application layer. The drive chip extracts the OAM message, which is uniformly completed on the line drive. The PW layer OAM message, along with the private protocol header, is forwarded along with the service to the interconnection port between the drive chip and the FPGA on the service egress board. The egress information in the private protocol header is determined by the line drive chip.

[0077] The load balancer (LB) function of MPLS-TP OAM is used to verify the connectivity between maintenance nodes, including bidirectional connectivity between a MEP and a MIP, or between a pair of peer MEPs. It performs bidirectional diagnostic tests during service or service interruptions, including bandwidth throughput verification and bit error rate detection. For example... Figure 2 As shown, on-demand OAM involves initiating a unicast request message (LBM) from the FPGA of the MEP (Maintenance Point) to the specified maintenance point (MP) (MEP or MIP), expecting to receive a response message (LBR) from the destination MP. If a response message is received, it proves that the service between the two MPs is connected; otherwise, it is considered disconnected. LBMs can also be continuously sent, and the received LBR responses can be used to understand network packet loss. In some architectures, the LB module of the tributary FPGA is only responsible for implementing the LB function, including sending LBMs, responding to LBRs, verifying bandwidth throughput, and detecting bit error rate.

[0078] Ethernet OAM load balancing tests can use MAC addresses as keywords for matching entries. However, MPLS-TP OAM packets have their MAC addresses stripped during driver chip processing. By the time the packet reaches the tributary FPGA, the actual MAC address is no longer available, requiring other characteristic values ​​as keywords. The TP service tag can be chosen as the keyword for TP OAM matching entries. Therefore, when performing on-demand load balancing tests for MPLS-TP OAM, the MPLS-TP service tag information needs to be sent to the destination station.

[0079] The OAM LB reflection module in this embodiment not only has the function of LB, but can also obtain the current OAM entry number based on the content of the LBM private header.

[0080] like Figure 3 and Figure 4 As shown, since PW OAM is cross-disk, i.e., tributary disk and line disk, the OAM IDs are the same, but the OAM entries on the two disks (OAM entry 1 is the driver extraction entry, and OAM entry 2 is the FPGA entry) are different. The line disk LBM extracts the entries from the watchband via OAMMP, but cannot match the correct entries on the tributary disk. The LBM at the destination station uses ACL packet extraction to directly access the 165 port connected to the driver chip and FPGA. The 165 port is directly connected to the first OAM adapter module and the OAM LB reflection module.

[0081] When OAM is actively configured, the service tag information is sent to the driver chip. Then, the driver chip extracts packets through the resource ACL and puts the OAM ID, which is a global resource and unique to the entire frame, into the private header. The FPGA uses the OAM ID as the key and searches for the OAM entry through a binary tree. The OAM entry is then placed in the first byte of the destination MAC address. The LBM message is then sent to the OAM LB reflection module. Finally, the OAM LB reflection module completes the LBM message reply and replies with a corresponding LBR message.

[0082] In this embodiment, OAM LB automatic reply is implemented on the branch board and can also support protection overlay scenarios, such as PW overlay LSP (Label Switched Path) 1:1, which can also support automatic reply function.

[0083] The automatic reply function in this embodiment can also be expanded. That is, when an LBM message is sent at the source station, all devices on the service can reply with an LBR message. By initiating tests to the downstream devices one by one, and then viewing the information at the source station and summarizing the reply information, it is possible to more quickly determine which device is malfunctioning. For engineering and maintenance personnel, this increases the means of location and improves the efficiency of locating problems.

[0084] Taking the proactive CCM (Continuity Check Message) function for creating OAM as an example, the proactive OAM configuration in this embodiment is a proactive CCM configuration. CCM, as a proactive OAM, is used to detect the loss of continuity between any pair of MEPs in a MEG. It is generally enabled by default. During the CCM proactive configuration deployment process, the service's tag is obtained as a keyword.

[0085] like Figure 5 As shown, the implementation method of this embodiment specifically includes:

[0086] A1. Create MPLS-TP service and issue OAM proactive configuration to the source and destination stations;

[0087] A2. Generate LBM messages at the source station and send them to the destination station based on MPLS-TP services;

[0088] A3. The host station determines whether it has received the LB on-demand configuration. If so, it proceeds to A4; otherwise, it proceeds to A7.

[0089] A4. The driver chip extracts LBM messages through the OAM MP extraction table to the second port, i.e., port 164, and sends them to the second OAM adapter module through the second port.

[0090] A5. The second OAM adaptation module finds the OAM entry based on the MPLS-TP service label information, adds the OAM entry to the private destination MAC address of the LBM message, and then sends it to the OAM LB function module;

[0091] The A6.OAM LB function module replies with an LBM message based on the OAM entry in the private destination MAC address and generates an LBR message to return to the source station.

[0092] A7. The driver chip creates an ACL and extracts LBM packets through the ACL. At the same time, according to the MPLS-TP service tag information, it adds the OAM ID to the private header of the LBM packet and sends it to the first OAM adapter module through the first port, i.e., port 165.

[0093] A8. The first OAM adaptation module finds the OAM entry based on the private header of the LBM message, adds the OAM entry to the private destination MAC address of the LBM message, and then sends it to the OAM LB reflection module.

[0094] The A9.OAM LB reflection module replies to the LBM message based on the OAM entry in the private destination MAC address and generates an LBR message to return to the source station.

[0095] The implementation system of this embodiment is applicable to the above-mentioned OAM LB automatic reply implementation methods. OAM LB automatic reply and on-demand reply can be compatible at the same time. In commercial and external testing, if the business tag information is known, the LBM message will be automatically replied to realize the automatic reply function without the need to issue LB on-demand configuration, which effectively improves the convenience of operation. It can also be applied to the scenario of automatic reply across disks of large devices, expanding the scope of LB testing and reducing testing limitations.

[0096] In the description of this application, it should be noted that the terms "upper," "lower," etc., indicating the orientation or positional relationship are based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application. Unless otherwise expressly specified and limited, the terms "installed," "connected," and "linked" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication between two elements. For those skilled in the art, the specific meaning of the above terms in this application can be understood according to the specific circumstances.

[0097] It should be noted that in this application, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.

[0098] The above are merely specific embodiments of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for implementing OAM LB automatic reply, characterized in that, It comprises steps of: creating an MPLS-TP service and issuing an OAM active configuration to a source station and a sink station; generating a loopback message LBM packet at the source station according to the MPLS-TP service and sending the LBM packet to the sink station; when the sink station receives the LBM packet, if the sink station does not receive a loopback LB on-demand configuration, creating an access control list ACL according to the received OAM active configuration, extracting the LBM packet according to the ACL, generating a loopback reply LBR packet according to the LBM packet, and returning to the source station; when the LBM packet is extracted according to the ACL, further comprising: obtaining MPLS-TP service label information, and adding an OAM ID to a private header of the LBM packet according to the MPLS-TP service label information; generating the LBR packet according to the LBM packet, specifically comprising: looking up an OAM entry according to the OAM ID in the private header of the LBM packet, and adding the OAM entry to a private destination MAC address of the LBM packet; replying to the LBM packet according to the OAM entry in the private destination MAC address to generate the LBR packet; if the sink station receives the LB on-demand configuration, creating an OAM MP extraction table according to the LB on-demand configuration, and when the sink station receives the LBM packet, extracting the LBM packet according to the OAM MP extraction table, generating the LBR packet according to the LBM packet, and returning to the source station.

2. A system for implementing the OAM LB automatic reply of claim 1, characterized by, It comprises: a creating module for creating an MPLS-TP service and issuing an OAM active configuration to a source station and a sink station; a packet generating module for generating a LBM packet at the source station according to the MPLS-TP service and sending the LBM packet to the sink station; a packet processing module for, when the sink station receives the LBM packet, if the sink station does not receive a LB on-demand configuration, creating an ACL according to the received OAM active configuration, extracting the LBM packet according to the ACL, generating a LBR packet according to the LBM packet, and returning to the source station.

3. The system for implementing OAM LB auto-reply according to claim 2, wherein, The packet processing module comprises: an ACL module arranged in a line card, for creating the ACL according to the received OAM active configuration, extracting the LBM packet according to the ACL, obtaining MPLS-TP service label information, and adding an OAM ID to a private header of the LBM packet according to the MPLS-TP service label information.

4. The system for implementing OAM LB auto-reply according to claim 3, wherein, The packet processing module further comprises: a first OAM adaptation module arranged in a branch card, for looking up an OAM entry according to the OAM ID in the private header of the LBM packet, adding the OAM entry to a private destination MAC address of the LBM packet, and sending to an OAM LB reflection module; the OAM LB reflection module arranged in the branch card, for replying to the LBM packet according to the OAM entry in the private destination MAC address to generate the LBR packet, and returning the LBR packet to the source station through the first OAM adaptation module and the ACL module.

5. The system for implementing OAM LB auto-reply according to claim 4, wherein, The packet processing module further comprises: A first port for connecting the ACL module with a first OAM adaptation module.

6. The system for implementation of OAM LB auto-reply according to claim 2, wherein, The packet processing module further comprises: An OAM MP module arranged in a line board, configured to create an OAM MP extraction table according to LB on-demand configuration, and extract the LBM packet according to the OAM MP extraction table and send to a second OAM adaptation module when the sink station receives the LBM packet; The second OAM adaptation module is arranged in a branch board, configured to obtain MPLS-TP service label information, and find an OAM entry according to the MPLS-TP service label information, and send the LBM packet to the OAM LB function module after adding the OAM entry to a private destination MAC address of the LBM packet; The OAM LB function module is configured to reply the LBM packet according to the OAM entry in the private destination MAC address, and generate an LBR packet, and return the LBR packet to the source station through the second OAM adaptation module and the OAM MP module.

7. The system for implementing OAM LB auto-reply according to claim 6, wherein, The packet processing module further comprises: A second port for connecting the OAM MP module with the second OAM adaptation module.

Citation Information

Patent Citations

  • Processing method and system of operation, administration and maintenance OAM message

    CN108551407A