Link aggregation port protection switching method and system
Through the link aggregation port protection switching method between the CE device and the OTN customer side board card, the problem of service protection switching in the Ethernet service aggregation scenario is solved, and business continuity with low cost, simple configuration and convenient maintenance is achieved.
Patent Information
- Application Number
- CN201911063387.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-10-31
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2039-10-31
AI Technical Summary
In the Ethernet service aggregation scenario, it is difficult for the prior art to achieve effective service protection switching, especially in the event of link failure, resulting in service interruption and complex maintenance.
By implementing the protection switching method of link aggregation port between the CE device and the OTN customer side board card, the fault information synchronization and alarm mechanism are used to automatically switch the working port to the backup port to ensure end-to-end protection of services.
It realizes end-to-end protection of services, reduces costs, simplifies configuration and maintenance, and ensures business continuity in the event of link failure.
Smart Images

Figure CN112751607B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of Internet technology, and in particular to a protection switching method and system for a link aggregation port. Background Art
[0002] Ethernet service aggregation is a common requirement in bearer networks, which is to aggregate Ethernet data packets from multiple low-speed ports to a high-speed port for output. Multiple customer edge (CE) devices need to transmit data upstream and aggregate them to the top upstream high-speed Ethernet port. CE devices generally have GE / 10GE or lower-speed Ethernet ports.
[0003] For the above-mentioned service aggregation scenario, if you want to protect the service, there are generally two ways in the existing technology. The first is to use optical transport network OTN equipment without aggregation layer function for transmission and protect it at the optical path layer (ODUk layer). The second is to use OTN equipment with aggregation layer function for transmission and use aggregation plus Ethernet multi-ring protection technology (ERPS) to achieve protection. Summary of the invention
[0004] The embodiments of the present disclosure provide a protection switching method and system for a link aggregation port.
[0005] In a first aspect, an embodiment of the present disclosure provides a protection switching method for a link aggregation port, which is applied to a user edge CE device and a second optical transport network OTN client side card, and interacts with service data through a first OTN client card, the method comprising:
[0006] When a link between the first port of the CE device and the first port of the second OTN client side board fails, the CE device switches its working port from its first port to its second port; the second OTN client side board switches its working port from the first port to its second port.
[0007] Wherein, when there is a fault in the uplink between the first port of the CE device and the first port of the second client-side board, the method specifically includes:
[0008] The second OTN client side board obtains fault information, switches its working port from its first port to its second port, and sends alarm information to the first port of the CE device, so that the CE device switches its working port from its first port to its second port.
[0009] Wherein, when there is a fault in the uplink between the first port of the CE device and the first port of the first OTN client side board, the method specifically includes:
[0010] The first port of the first OTN client side board card obtains fault information, and sets the identification bit OPU-CSF in the ODUk frame sent to the second OTN client side board card through its second port, so that the second OTN client side board switches its working port from its first port to its second port; the first port of the first OTN client side board card turns off the laser in the downstream direction or sends an alarm message to the CE device, so that the first port of the CE device obtains fault information and switches its working port from its first port to its second port.
[0011] Wherein, when there is a fault in the uplink between the second port of the first OTN client side board and the first port of the second OTN client side board, the method specifically includes:
[0012] When the second OTN client side card obtains the fault information, it switches its working port from its first port to its second port, and sends a fault message to the second port of the first OTN client side card, so that the laser in the downstream direction of the first port of the first OTN client side card is turned off or an alarm message is sent, so that the first port of the CE device obtains the fault information and switches its working port from its first port to its second port.
[0013] Wherein, when there is a fault in the downlink between the first port of the CE device and the first port of the second client-side board, the method specifically includes:
[0014] The CE device obtains fault information, switches its working port from its first port to its second port, and sends fault information to the first port of the second OTN client side card, so that the second OTN client side card switches its working port from its first port to its second port.
[0015] Wherein, when both the uplink and the downlink between the first port of the CE device and the first port of the first OTN client side board are faulty, the method specifically includes:
[0016] The first port of the CE device obtains fault information and switches its working port from its first port to its second port; the second port of the first OTN client side board obtains fault information and sets the identification bit OPU-CSF in the ODUk frame sent to the second OTN client side board, so that the second OTN client side board switches its working port from its first port to its second port.
[0017] Wherein, when both the uplink and the downlink between the second port of the first OTN client side board and the first port of the second OTN client side board fail, the method specifically includes:
[0018] The second OTN client side board obtains fault information and switches its working port from its first port to its second port; the second port of the first client side board obtains fault information, controls the first port of the first client side board to turn off the laser in the downstream direction or send alarm information, so that the first port of the CE device obtains fault information and switches its working port from its first port to its second port.
[0019] The method specifically includes:
[0020] The CE device and the second OTN client side card respectively obtain fault information, the CE device switches its working port from its first port to its second port; the second OTN client side card switches its first port to its second port.
[0021] In a second aspect, an embodiment of the present disclosure provides a protection switching system for a link aggregation port, which includes: a CE device, a first OTN client side card, and a second OTN client side card, wherein;
[0022] The CE device and the second OTN client side board card interact with each other through the first OTN client side board card;
[0023] When a link between the first port of the CE device and the first port of the second OTN client side board fails, the CE device switches its working port from its first port to its second port; the second OTN client side board switches its working port from the first port to its second port.
[0024] Among them, when there is a fault in the uplink between the second port of the first OTN client side board card and the first port of the second OTN client side board card, the second OTN client side board card is used to obtain fault information, switch its working port from its first port to its second port, and send alarm information to the first port of the CE device, so that the CE device switches its working port from its first port to its second port.
[0025] Among them, when there is a fault in the uplink between the first port of the CE device and the first port of the first OTN client side card, the first OTN client side card is used to obtain fault information through its first port, and set the identification bit OPU-CSF in the ODUk frame sent to the second OTN client side card through its second port, so that the second OTN client side card switches its working port from its first port to its second port; the first port of the first OTN client side card turns off the laser in the downstream direction or sends an alarm message to the CE device, so that the first port of the CE device obtains fault information and switches its working port from its first port to its second port.
[0026] Among them, when there is a fault in the uplink between the second port of the first OTN client side board card and the first port of the second OTN client side board card, the second OTN client side board card is used to obtain fault information, then switch its working port from its first port to its second port, and send a fault message to the second port of the first OTN client side board card, so that the laser in the downstream direction of the first port of the first OTN client side board card is turned off or an alarm message is sent, so that the first port of the CE device obtains the fault information and switches its working port from its first port to its second port.
[0027] Among them, when there is a fault in the downlink between the first port of the CE device and the first port of the first OTN client side board, the CE device is used to obtain fault information, then switch its working port from its first port to its second port, and send fault information to the first port of the second OTN client side board, so that the second OTN client side board switches its working port from its first port to its second port.
[0028] Among them, when there are faults in both the uplink and the downlink between the first port of the CE device and the first port of the first OTN client side board, the CE device is used to obtain fault information through its first port and switch its working port from its first port to its second port; the second port of the first OTN client side board obtains the fault information and sets the identification bit OPU-CSF in the ODUk frame sent to the second OTN client side board, so that the second OTN client side board switches its working port from its first port to its second port.
[0029] Among them, when there are faults in both the uplink and the downlink between the second port of the first OTN client side board and the first port of the second OTN client side board, the second OTN client side board is used to obtain fault information and switch its working port from its first port to its second port; the second port of the first OTN client side board obtains the fault information, controls the first port of the first OTN client side board to turn off the laser in the downstream direction or send alarm information, so that the first port of the CE device obtains the fault information and switches its working port from its first port to its second port.
[0030] The CE device is used to obtain fault information and switch its working port from its first port to its second port;
[0031] The second OTN client side card is used to obtain fault information and switch its first port to its second port.
[0032] In the protection switching method of the link aggregation port provided by the embodiment of the present disclosure, when a fault occurs in the link between the first port A1 of the CE device and the first port D1 of the second OTN client side board, the CE device switches its working port from its first port A1 to its second port A2; the second OTN client side board switches its working port from the first port D1 to its second port D2. The method can realize end-to-end protection of the aggregation service, and has low cost, simple configuration and convenient maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings are used to provide further understanding of the embodiments of the present disclosure and constitute a part of the specification. They are used to explain the present disclosure together with the embodiments of the present disclosure and do not constitute a limitation of the present disclosure.
[0034] The above and other features and advantages will become more apparent to those skilled in the art by describing in detail example embodiments with reference to the accompanying drawings, in which:
[0035] Figure 1 A schematic diagram of a business scenario of a protection switching method for a link aggregation port provided in an embodiment of the present disclosure;
[0036] Figure 2 A schematic diagram of a unidirectional link failure in a business scenario of a protection switching method for a link aggregation port provided in an embodiment of the present disclosure;
[0037] Figure 3 A first exemplary flow chart of a protection switching method for a link aggregation port provided in an embodiment of the present disclosure;
[0038] Figure 4 A second exemplary flow chart of the protection switching method of the link aggregation port provided in the embodiment of the present disclosure;
[0039] Figure 5 A schematic diagram of a bidirectional link failure in a business scenario of a protection switching method for a link aggregation port provided by an embodiment of the present disclosure;
[0040] Figure 6 A third exemplary flow chart of a protection switching method for a link aggregation port provided in an embodiment of the present disclosure;
[0041] Figure 7 A fourth exemplary flow chart of a protection switching method for a link aggregation port provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0042] In order to enable those skilled in the art to better understand the technical solution of the present invention, the protection switching method and system for link aggregation ports provided by the present invention are described in detail below with reference to the accompanying drawings.
[0043] Example embodiments will be described more fully below with reference to the accompanying drawings, but the example embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. On the contrary, the purpose of providing these embodiments is to make the present disclosure thorough and complete and to enable those skilled in the art to fully understand the scope of the present disclosure.
[0044] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.
[0045] The terms used herein are only used to describe specific embodiments and are not intended to limit the present disclosure. As used herein, the singular forms "a", "an" and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and / or "made of" are used in this specification, the presence of the features, wholes, steps, operations, elements and / or components is specified, but the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof is not excluded.
[0046] The embodiments described herein may be described with reference to plan views and / or cross-sectional views by means of idealized schematic diagrams of the present disclosure. Therefore, the example illustrations may be modified according to manufacturing techniques and / or tolerances. Therefore, the embodiments are not limited to the embodiments shown in the accompanying drawings, but include modifications of the configurations formed based on the manufacturing process. Therefore, the regions illustrated in the accompanying drawings have schematic properties, and the shapes of the regions shown in the figures illustrate the specific shapes of the regions of the elements, but are not intended to be limiting.
[0047] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted as having an idealized or overly formal meaning unless explicitly defined as such herein.
[0048] like Figure 1 As shown, the service scenario applied in the embodiment of the present invention is that the CE device and the second OTN client side board card interact with service data through the first OTN client board card.
[0049] It should be noted that the first OTN client side board and the first OTN line side board in the following embodiments are structures in the first OTN device; the second OTN client side board and the second OTN line side board are structures in the second OTN device. The first OTN client side board and the first OTN line side board can be two independent boards or one integrated board; similarly, the second OTN client side board and the second OTN line side board can be two independent boards or one integrated board. The following describes the CE device, the first OTN device, and the second OTN device respectively.
[0050] Among them, the CE device outputs one or more Ethernet services, and the services are output from the Ethernet port. The port rate is generally low (100M, GE, 10GE, etc.). The CE device can also perform protection switching of uplink services. The CE device in the embodiment of the present disclosure has the IEEE 802.1ax manual link aggregation function. The two Ethernet ports of the CE device can be configured as two aggregation ports, the first port is the main port A1, and the second port is the backup port A2.
[0051] The first OTN device and the CE device are placed together, responsible for accessing customer services and encapsulating them into OTN frames for output from the line side.
[0052] like Figure 1 As shown, the first OTN device consists of a first OTN client side card and a first OTN line side card. The first OTN client side card is responsible for accessing services and encapsulating them into the ODUk (optical data unit) layer for output, and handing them over to the first OTN line side card after being crossed at the ODUk layer. The first OTN line side card encapsulates the ODUk into the OTUk and outputs it from the optical port and transmits it to the convergence layer through the optical fiber. Among them, the first port B of the first OTN client side card is an Ethernet port, and the second port C is an OTN port.
[0053] The second OTN device is composed of a second OTN client side card and a second OTN line side card, which is responsible for receiving OTUk (optical channel frame structure) frames transmitted from multiple first OTN devices, and successively decrypting ODUk and Ethernet services. Then multiple Ethernet services are aggregated to the high-speed Ethernet port for output. It supports both OTN functions and Layer 2 switching functions. The second OTN client side card has a first port D1 and a second port D2, both of which are OTN ports. The second port C of the first OTN client side card and the second OTN client side card D1 are OTN domains, which can realize ODUk transparent transmission.
[0054] Specifically, the first port D1 and the second port D2 of the second OTN client side board are used as an OTN port. After receiving the ODUk, they terminate it and decode the Ethernet packet. Then they act as a layer 2 switching port to forward the Ethernet packet to the high-speed Ethernet port, thereby realizing service aggregation. Regardless of whether the uplink service comes from the first port D1 or the second port D2, it will be aggregated to the high-speed port.
[0055] The second OTN device performs protection switching of downstream services. When the first port D1 and the second port D2 are used as switching ports, the second OTN client-side card supports the IEEE 802.1ax manual link aggregation function. Therefore, as mentioned in the previous CE device, by configuring ports D1 and D2 as an aggregation port, protection switching of downstream services is realized.
[0056] In the first aspect, the embodiment of the present disclosure provides a protection switching method for link aggregation ports, as shown in 1, the CE device configures A1 and A2 ports as manual aggregation ports, and the second client side card configures D1 and D2 ports as manual aggregation ports, both of which are in protection mode. Among them, A1 and D1 are working ports, and A2 and D2 are protection ports. Since the above two groups of aggregation ports are manually aggregated, there is no protocol interaction between them, and only the port is determined to be effective according to the link status detected by each. That is, the aggregation port on the lower CE device determines from which port the upstream data packet is forwarded according to the fault information detected by the two ports A1 and A2; the aggregation port composed of D1 and D2 above determines from which port the downstream data packet is forwarded according to the alarm detected by the two ports D1 and D2. In this mode without protocol interaction, the key to realizing the protection switching of the service is to keep the fault information synchronized between the two aggregation ports to ensure that they always forward data to the same pair of ports. That is: either forward from A1 and D1 ports, or forward from A2 and D2 ports. If the forwarding ports are inconsistent, the service is interrupted.
[0057] The protection switching method of the link aggregation port in the embodiment of the present disclosure includes: when there is a fault in the link between the first port A1 of the CE device and the first port D1 of the second OTN client side board, the CE device switches its working port from its first port A1 to its second port A2; the second OTN client side board switches its working port from the first port D1 to its second port D2.
[0058] It can be seen that the method of the embodiment of the present disclosure can achieve end-to-end protection of converged services with low cost, simple configuration and convenient maintenance.
[0059] In some embodiments, if there is a fault in the uplink between the first port of the CE device and the first port of the second client side card, at this time, the second OTN client side card obtains fault information, switches its working port from its first port to its second port, and sends an alarm message to the first port of the CE device, so that the CE device switches its working port from its first port to its second port.
[0060] In some embodiments, if there is a fault in the downlink between the first port of the CE device and the first port of the second client side board, the CE device obtains fault information, switches its working port from its first port to its second port, and sends fault information to the first port of the second OTN client side board, so that the second OTN client side board switches its working port from its first port to its second port.
[0061] In order to clearly disclose the protection switching method of the link aggregation port in the embodiment, the method in this embodiment is described by using a unidirectional link failure and a bidirectional link failure, wherein a unidirectional link failure refers to a failure in an uplink or downlink service data transmission link; a bidirectional failure refers to a failure in both an uplink and downlink service data transmission link. The following is a description with reference to specific examples.
[0062] The first example, such as Figure 2 As shown in FIG. 1 , a unidirectional link failure occurs at position P1, that is, there is a failure in the uplink between the first port A1 of the CE device and the first port B of the first OTN client-side board. Figure 3 As shown, the protection switching method of the link aggregation port in the embodiment of the present disclosure includes the following steps:
[0063] S11. The first port B of the first OTN client side card obtains fault information, and sets the flag bit OPU-CSF (client side signal disconnection alarm) in the ODUk frame sent to the second OTN client side card through its second port C.
[0064] Specifically, when a fault occurs at position P1, the first port B of the first OTN client side board can directly sense the fault information. Since the first port B and the second port C of the first OTN client side board are bound, the second port C can set the identification bit OPU-CSF in the ODUk frame sent upstream to the second OTN client side board, and transmit it to the first port D1 of the second OTN client side board via the first OTN line side board and the second OTN line side board, so that the second OTN client side board can obtain the fault information when receiving the ODUk frame.
[0065] S12. The first port D1 of the second OTN client side card switches its working port from the first port D1 to the second port D2 according to the received ODUk frame, and sends fault information to the second port C of the first OTN client side card.
[0066] Specifically, after obtaining the fault information, the first port D1 of the second OTN client side card directly switches its working port from the first port D1 to the second port D2. At the same time, it sets the identification bit OPU-CSF in the downstream ODUk frame, which is transparently transmitted to the second port C of the first OTN client side card via the second OTN line side card and the first OTN line side card.
[0067] S13: The first port B of the first OTN client side board obtains fault information, and then shuts down the laser in the downstream direction or sends an alarm message to the CE device.
[0068] Specifically, the first port B of the first OTN client side card can obtain the fault information received by its second port, which will trigger the first OTN client side card to shut down the laser in the downstream direction or insert a local fault (local connection failure alarm message).
[0069] S14. The first port A1 of the CE device obtains fault information and switches its working port from its first port to its second port.
[0070] Specifically, when the first OTN client-side board turns off the laser in the downstream direction or inserts a local fault, the first port A1 of the CE device will automatically obtain fault information, and at this time, the working port will be switched from the first port A1 to the second port A2.
[0071] It should be noted here that in the above method of the embodiment of the present disclosure, when the first port B of the first OTN client side board detects fault information, the laser can be directly turned off in the downstream direction or a local fault can be inserted, so that the first port A1 of the CE device will automatically obtain the fault information, and at this time its working port will be switched from its first port A1 to its second port A2.
[0072] The second example, such as Figure 2 As shown, the unidirectional link at position P2 fails, that is, the uplink between the first line card and the second line card fails. Figure 4 As shown, the protection switching method of the link aggregation port in the embodiment of the present disclosure includes the following steps:
[0073] S21. The first port D1 of the second OTN client side board directly obtains fault information and switches the working port from the first port D1 to the second port D2. At the same time, the fault information is sent to the second port C of the first OTN client side board.
[0074] Specifically, the first port D1 of the second OTN client side card can directly obtain the alarm information (ODU-AIS) of the ODUk layer, triggering the switching of the local aggregation port, that is, switching the first port D1 to the second port D2; at the same time, the first port D1 of the second OTN client side card will reversely insert the ODUk-BDI alarm in the downstream direction upon detecting the alarm information of the ODUk layer, and the ODUk-BDI alarm is transparently transmitted to the second port C of the first OTN client side card through the second OTN line side card and the first OTN line side card.
[0075] S22: After the second port C of the first OTN client side board receives the fault information, the first port B obtains the fault information and shuts off the laser in the downstream direction or sends an alarm message to the CE device.
[0076] Specifically, the first port B of the first OTN client side card can obtain the fault information received by its second port, which will trigger the first OTN client side card to shut down the laser in the downstream direction or insert a local fault (local connection alarm message).
[0077] S23. The first port A1 of the CE device obtains fault information and switches its working port from the first port A1 to the second port A2.
[0078] Specifically, when the first OTN client-side board turns off the laser in the downstream direction or inserts a local fault, the first port A1 of the CE device will automatically obtain fault information, and at this time, the working port will be switched from the first port A1 to the second port A2.
[0079] The third example, such as Figure 5 As shown, the bidirectional link at position P1 fails, that is, both the uplink and downlink between the first port A1 of the CE device and the first port B of the first OTN client side board fail. Figure 6 As shown, the protection switching method of the link aggregation port in the embodiment of the present disclosure may include the following steps:
[0080] S31. The first port A1 of the CE device obtains fault information and switches the working port from the first port A1 to the second port A2. At the same time, the first port B of the first OTN client side card obtains fault information and sets the identification bit OPU-CSF in the ODUk frame sent to the second OTN client side card through its second port C.
[0081] S32. Upon receiving the fault information, the first port D1 of the second OTN client-side board switches the working port from the first port D1 to the second port D2.
[0082] Specifically, when the first port D1 of the second client side card receives the ODUk frame transparently transmitted by the first line side card and the second OTN line side card, it will obtain fault information and consider that there is a fault in the link, thereby triggering the aggregation port switching, that is, switching the working port from the first port D1 to the second port D2. In this way, both the uplink and the downlink are switched to the backup link.
[0083] The fourth example is Figure 5 As shown, the bidirectional link at position P2 fails, that is, both the uplink and downlink between the first OTN line side board and the second OTN line side board fail. Figure 7 As shown, the protection switching method of the link aggregation port in the embodiment of the present disclosure may include the following steps:
[0084] S41, the second port C of the first OTN client side board and the first port D1 of the second OTN client side board both detect fault information, and the second OTN client side board switches the working port from the first port D1 to the second port D2.
[0085] Specifically, the second port C of the first OTN client side card and the first port D1 of the second OTN client side card can directly obtain the alarm information (ODU-AIS) of the ODUk layer, triggering the switching of the local aggregation port, that is, switching the first port D1 to the second port D2.
[0086] S42: After the second port C of the first OTN client side board receives the fault information, the first port B obtains the fault information and shuts off the laser in the downstream direction or sends an alarm message to the CE device.
[0087] Specifically, the first port B of the first OTN client side card can obtain the fault information received by its second port, which will trigger the first OTN client side card to shut down the laser in the downstream direction or insert a local fault (local connection alarm message).
[0088] S43: The first port A1 of the CE device obtains fault information and switches its working port from the first port A1 to the second port A2.
[0089] Specifically, when the first OTN client-side board turns off the laser in the downstream direction or inserts a local fault, the first port A1 of the CE device will automatically obtain fault information, and at this time, the working port will be switched from the first port A1 to the second port A2.
[0090] It should be noted that when there is a unidirectional downlink failure, the method is similar to the above-mentioned method for the unidirectional uplink failure.
[0091] Specifically, if there is a unidirectional downlink fault at the P1 position, that is, there is a fault in the downlink between the first port of the CE device and the first port of the first client side board, the CE device can directly obtain the fault information, and then switch its working port from its first port A1 to its second port A, and transparently transmit the fault information to the first port D1 of the second OTN client side board through the first client side board, so that the second OTN client side board switches its working port from its first port D1 to its second port D2.
[0092] If there is a unidirectional downlink fault at the P2 position, that is, there is a fault in the uplink between the second port C of the first OTN client side board and the first port D1 of the second OTN client side board, the first port D1 of the second OTN client side board can directly obtain the fault information, and then switch its working port from its first port D1 to its second port D2, and send a fault message to the second port C of the first OTN client side board, so that the laser of the first port B of the first OTN client side board is turned off in the downlink direction or a local fault is inserted, so that the first port A1 of the CE device obtains the fault information and switches its working port from its first port A1 to its second port A2. It can be understood that the method in the above embodiment is based on a specific example of manual aggregation. The following embodiment of the present disclosure also provides a protection switching method for link aggregation ports based on dynamic aggregation, which includes: the CE device and the second OTN client side board respectively obtain fault information, and the CE device switches its working port from its first port A1 to its second port A2; the second OTN client side board switches its first port D1 to its second port D2.
[0093] Compared with the above-mentioned manual aggregation embodiment, it is only necessary to configure the manual aggregation as dynamic aggregation. When dynamic aggregation is adopted, there is protocol interaction between the upper and lower pairs of aggregation ports, that is, port A1 and port D1, port A2 and port D2. When the link is interrupted, both ends of the faulty link can sense the fault through the protocol message and directly perform protection switching. Therefore, this method does not require complex alarm transmission as in the previous embodiment.
[0094] In a second aspect, an embodiment of the present disclosure provides a protection switching system for a link aggregation port, which includes: a CE device, a first OTN client side card, and a second OTN client side card, wherein: the CE device and the second OTN client side card interact with service data through the first OTN client side card; when a fault occurs in the link between the first port A1 of the CE device and the first port D1 of the second OTN client side card, the CE device switches its working port from its first port A1 to its second port A2; and the second OTN client side card switches its working port from the first port D1 to its second port D2.
[0095] In some embodiments, when there is a fault in the uplink between the second port C of the first OTN client side card and the first port D1 of the second OTN client side card, the second OTN client side card can directly obtain the fault information, switch its working port from its first port to its second port, and send an alarm message to the first port of the CE device, so that the CE device switches its working port from its first port to its second port.
[0096] In some embodiments, when there is a fault in the uplink between the first port A1 of the CE device and the first port B of the first OTN client side card, the first OTN client side card can obtain fault information through its first port B, and set the identification bit OPU-CSF in the ODUk frame sent to the second OTN client side card through its second port C, so that the second OTN client side card switches its working port from its first port D1 to its second port D2; the first port B of the first OTN client side card turns off the laser in the downstream direction or sends an alarm message to the CE device, so that the first port A1 of the CE device obtains the fault information and switches its working port from its first port A1 to its second port A2.
[0097] In some embodiments, when there is a fault in the uplink between the second port C of the first OTN client side card and the first port D1 of the second OTN client side card, the second OTN client side card can directly obtain the fault information, and then switch its working port from its first port D1 to its second port D2, and send a fault message to the second port C of the first OTN client side card, so that the laser in the downstream direction of the first port B of the first OTN client side card is turned off or an alarm message is sent, so that the first port A1 of the CE device obtains the fault information and switches its working port from its first port A1 to its second port A2.
[0098] In some embodiments, when there is a fault in the downlink between the first port A1 of the CE device and the first port B of the first OTN client side card, the CE device can directly obtain the fault information, and then switch its working port from its first port A1 to its second port A2, and send the fault information to the first port D1 of the second OTN client side card, so that the second OTN client side card switches its working port from its first port D1 to its second port D2.
[0099] In some embodiments, when there are faults in both the uplink and the downlink between the first port A1 of the CE device and the first port B of the first OTN client side board, the CE device can obtain fault information through its first port A1, switch its working port from its first port A1 to its second port A2, and obtain fault information from the second port B of the first OTN client side board, and set the identification bit OPU-CSF in the ODUk frame sent to the second OTN client side board, so that the second OTN client side board switches its working port from its first port D1 to its second port D2.
[0100] In some embodiments, when there are faults in both the uplink and the downlink between the second port C of the first OTN client side board and the first port D1 of the second OTN client side board, the second OTN client side board can obtain fault information and switch its working port from its first port D1 to its second port D2; the second port B of the first OTN client side board obtains fault information, controls the first port B of the first OTN client side board to turn off the laser in the downstream direction or send alarm information, so that the first port A1 of the CE device obtains fault information and switches its working port from its first port A1 to its second port A2.
[0101] In some embodiments, the CE device can obtain fault information and switch its working port from its first port A1 to its second port A2; the second OTN client side card can obtain fault information and switch its first port D1 to its second port D2.
[0102] Compared with the above-mentioned manual aggregation embodiment, it is only necessary to configure the manual aggregation as dynamic aggregation. When dynamic aggregation is adopted, there is protocol interaction between the upper and lower pairs of aggregation ports, that is, port A1 and port D1, port A2 and port D2. When the link is interrupted, both ends of the faulty link can sense the fault through the protocol message and directly perform protection switching. Therefore, this method does not require complex alarm transmission as in the previous embodiment.
[0103] Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for limiting purposes. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly noted, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, those skilled in the art will appreciate that various changes in form and detail may be made without departing from the scope of the present disclosure as set forth in the appended claims.
Claims
1. A protection switching method for a link aggregation port, applied to a user edge CE device and a second OTN client side card, interacting service data through a first OTN client side card, the method comprising: When a link between the first port of the CE device and the first port of the second OTN client side board fails, the CE device switches its working port from its first port to its second port; the second OTN client side board switches its working port from its first port to its second port; Wherein, when there is a fault in the uplink between the first port of the CE device and the first port of the first OTN client side board, the method specifically includes: The first port of the first OTN client side card obtains fault information, and sets the identification bit OPU-CSF in the ODUk frame sent to the second OTN client side card through its second port, so that the second OTN client side card switches its working port from its first port to its second port; the first port of the first OTN client side card turns off the laser in the downstream direction or sends an alarm message to the CE device, so that the first port of the CE device obtains fault information and switches its working port from its first port to its second port.
2. The method according to claim 1, wherein: When there is a fault in the uplink between the first port of the CE device and the first port of the second OTN client side board, the method specifically includes: The second OTN client side board obtains fault information, switches its working port from its first port to its second port, and sends alarm information to the first port of the CE device, so that the CE device switches its working port from its first port to its second port.
3. The method according to claim 1, wherein: When there is a fault in the uplink between the second port of the first OTN client side board and the first port of the second OTN client side board, the method specifically includes: When the second OTN client side board obtains the fault information, it switches its working port from its first port to its second port, and sends a fault message to the second port of the first OTN client side board, so that the laser in the downstream direction of the first port of the first OTN client side board is turned off or an alarm message is sent, so that the first port of the CE device obtains the fault information and switches its working port from its first port to its second port.
4. The method according to claim 1, wherein: When a downlink between the first port of the CE device and the first port of the second OTN client side board fails, the method specifically includes: When the CE device obtains the fault information, it switches its working port from the first port to the second port, and sends the fault information to the first port of the second OTN client side board so that the second OTN client side board switches its working port from the first port to the second port.
5. The method according to claim 1, wherein: When both the uplink and the downlink between the first port of the CE device and the first port of the first OTN client side board are faulty, the method specifically includes: The first port of the CE device obtains fault information and switches its working port from its first port to its second port; the second port of the first OTN client side card obtains fault information and sets the identification bit OPU-CSF in the ODUk frame sent to the second OTN client side card, so that the second OTN client side card switches its working port from its first port to its second port.
6. The method according to claim 1, wherein: When both the uplink and the downlink between the second port of the first OTN client side board and the first port of the second OTN client side board fail, the method specifically includes: The second OTN client side board obtains fault information and switches its working port from its first port to its second port; the second port of the first OTN client side board obtains fault information, controls the first port of the first OTN client side board to turn off the laser in the downstream direction or send alarm information, so that the first port of the CE device obtains fault information and switches its working port from its first port to its second port.
7. The method according to claim 1, wherein: The method specifically comprises: The CE device and the second OTN client side card respectively obtain fault information, the CE device switches its working port from its first port to its second port; the second OTN client side card switches its first port to its second port.
8. A protection switching system for a link aggregation port, comprising: CE equipment, a first OTN client side board card, and a second OTN client side board card, wherein; The CE device and the second OTN client side board card interact with each other through the first OTN client side board card; When a link between the first port of the CE device and the first port of the second OTN client side board fails, the CE device switches its working port from its first port to its second port; the second OTN client side board switches its working port from its first port to its second port; Among them, when there is a fault in the uplink between the first port of the CE device and the first port of the first OTN client side card, the first OTN client side card is used to obtain fault information through its first port, and set the identification bit OPU-CSF in the ODUk frame sent to the second OTN client side card through its second port, so that the second OTN client side card switches its working port from its first port to its second port; the first port of the first OTN client side card turns off the laser in the downstream direction or sends an alarm message to the CE device, so that the first port of the CE device obtains fault information and switches its working port from its first port to its second port.
9. The system according to claim 8, wherein: When there is a fault in the uplink between the second port of the first OTN client side board and the first port of the second OTN client side board, the second OTN client side board is used to obtain fault information, switch its working port from its first port to its second port, and send alarm information to the first port of the CE device, so that the CE device switches its working port from its first port to its second port.
10. The system according to claim 8, wherein: When there is a fault in the uplink between the second port of the first OTN client side board and the first port of the second OTN client side board, the second OTN client side board is used to obtain fault information, switch its working port from its first port to its second port, and send a fault message to the second port of the first OTN client side board, so that the laser in the downstream direction of the first port of the first OTN client side board is turned off or an alarm message is sent, so that the first port of the CE device obtains the fault information and switches its working port from its first port to its second port.
11. The system according to claim 8, wherein: When there is a fault in the downlink between the first port of the CE device and the first port of the first OTN client side board, the CE device is used to obtain fault information, switch its working port from its first port to its second port, and send fault information to the first port of the second OTN client side board, so that the second OTN client side board switches its working port from its first port to its second port.
12. The system according to claim 8, wherein: When both the uplink and the downlink between the first port of the CE device and the first port of the first OTN client side card are faulty, the CE device is used to obtain fault information through its first port and switch its working port from its first port to its second port; the second port of the first OTN client side card obtains the fault information and sets the identification bit OPU-CSF in the ODUk frame sent to the second OTN client side card, so that the second OTN client side card switches its working port from its first port to its second port.
13. The system according to claim 8, wherein: When both the uplink and the downlink between the second port of the first OTN client side board and the first port of the second OTN client side board are faulty, the second OTN client side board is used to obtain fault information and switch its working port from its first port to its second port; the second port of the first OTN client side board obtains the fault information, controls the first port of the first OTN client side board to turn off the laser in the downstream direction or send alarm information, so that the first port of the CE device obtains the fault information and switches its working port from its first port to its second port.
14. The system according to claim 8, wherein: The CE device is used to obtain fault information and switch its working port from its first port to its second port; The second OTN client side card is used to obtain fault information and switch its first port to its second port.
