CN113645312B - Sub-ring network link protection method and device based on ERPS protocol - Google Patents

Sub-ring network link protection method and device based on ERPS protocol Download PDF

Info

Publication number
CN113645312B
CN113645312B CN202110979052.8A CN202110979052A CN113645312B CN 113645312 B CN113645312 B CN 113645312B CN 202110979052 A CN202110979052 A CN 202110979052A CN 113645312 B CN113645312 B CN 113645312B
Authority
CN
China
Prior art keywords
port
switching
rpl
equipment
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110979052.8A
Other languages
Chinese (zh)
Other versions
CN113645312A (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202110979052.8A priority Critical patent/CN113645312B/en
Publication of CN113645312A publication Critical patent/CN113645312A/en
Application granted granted Critical
Publication of CN113645312B publication Critical patent/CN113645312B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a sub-ring network link protection method and a device based on an ERPS protocol, which generate an SF fault message when detecting that a link where a port X is located is faulty, and judge whether a switching device where the port X belongs is RPL equipment or not; if the switching equipment is not RPL equipment, the SF fault message is directly sent to the adjacent switching equipment through the other port Y of the switching equipment; if the switching equipment is RPL equipment and the other port Y is the RPL link main port, after the two port states and the ERPS protocol state of the switching equipment are switched, the SF fault message is sent to the adjacent switching equipment through the port Y. Through the scheme, the ERPS protocol can be normally operated on the sub-ring network link, so that the ERPS protocol plays a complete service protection role on the sub-ring network link; and meanwhile, the operation and maintenance cost is reduced.

Description

Sub-ring network link protection method and device based on ERPS protocol
Technical Field
The invention belongs to the technical field of link protection, and particularly relates to an ERPS protocol-based sub-ring network link protection method and device.
Background
The ERPS (Ethernet Ring Protection Switching, i.e. ethernet ring protection switching) is an ethernet ring link layer technology with high reliability and stability. Through the ERPS protocol, when the Ethernet ring network has link failure, the communication paths among all nodes on the ring network can be quickly recovered, and the Ethernet ring network has higher convergence rate.
The looped network ERPS protocol processing refers to controlling a protocol state machine by receiving and transmitting ERPS protocol messages, and controlling a port forwarding state by the protocol state machine, thereby realizing the link service protection function. However, in some existing network services, in order to reduce the load of some switching devices, such as CPU, the switching devices in the loop may not participate in the processing of the ERPS protocol, and at this time, other switching devices in the loop form a sub-loop link, and the ERPS protocol needs to be run by the switching devices on the sub-loop link to complete the protection of the sub-loop link service.
In the above scenario of the sub-ring network link, because the ERPS protocol packet can only run on the sub-ring network link, but cannot pass through the entire ring network link, when a link failure or failure recovery occurs, there is necessarily a problem that some switching devices cannot receive the ERPS protocol packet, so that the protocol state machine cannot perform port forwarding state control according to the received and received ERPS protocol packet, that is, the ERPS protocol cannot complete link switching by receiving the ERPS protocol packet, so that the ERPS protocol cannot play a complete role in service protection on the sub-ring link.
In view of this, overcoming the defects in the prior art is a problem to be solved in the art.
Disclosure of Invention
Aiming at the defects or improvement demands of the prior art, the invention provides an ERPS protocol-based sub-ring network link protection method and device, which aim to process messages according to the roles of equipment on the sub-ring network link and complete link protection switching, thereby solving the technical problem that the ERPS protocol cannot be normally operated on the sub-ring network link in the traditional scheme.
In order to achieve the above object, according to one aspect of the present invention, there is provided a method for protecting a sub-ring network link based on an ERPS protocol, the sub-ring network link including a plurality of switching devices, and one of the switching devices being an RPL device; each switching device is provided with two ports, one of the ports of the RPL device is an RPL link main port and is in a blocking state in an initial state, and the other ports are in a forwarding state in the initial state; the method for protecting the sub-ring network link specifically comprises the following steps when the ERPS protocol is operated on the sub-ring network link:
when detecting that a link where a port X is located fails, generating an SF failure message, and judging whether switching equipment to which the port X belongs is RPL equipment or not;
if the switching equipment is not RPL equipment, the SF fault message is directly sent to the adjacent switching equipment through the other port Y of the switching equipment;
If the switching device is an RPL device and the other port Y of the switching device is an RPL link main port, after the two port state and the ERPS protocol state of the switching device are switched, the SF fault message is sent to the adjacent switching device through the port Y.
Preferably, when detecting that the link where the port X is located fails, an SF failure message is generated, and whether the switching device to which the port X belongs is an RPL device is determined, which specifically is:
when the bottom layer driver detects that the link where the port X is located fails, notifying an ERPS protocol module of the switching equipment where the port X belongs, generating the SF failure message by a protocol state machine processing module in the ERPS protocol module, and judging whether the switching equipment is RPL equipment or not.
Preferably, after the ERPS protocol state in the initial state of the RPL device is an idle state, the switching between the two port state and the ERPS protocol state of the switching device is performed, the SF fault message is sent to the adjacent switching device through the port Y, which specifically includes:
switching the port X from an initial forwarding state to a blocking state, and switching the port Y from the initial blocking state to the forwarding state;
Clearing the mac address forwarding table cached by the port X, and relearning the mac address forwarding table by the port Y according to the service flow direction;
switching the ERPS protocol state of the switching device from an initial idle state to a protection state;
and switching the service flow from the original port X to the port Y according to the mac address forwarding table so as to send the SF fault message to the adjacent switching equipment through the port Y.
Preferably, the method for protecting the sub-ring network link further comprises the following steps:
when the current switching equipment receives the SF fault message, acquiring a source mac address and a message receiving port number by carrying out content analysis on the SF fault message;
checking whether the source mac address is consistent with the mac address of the current switching equipment, if so, directly discarding the received SF fault message, and if not, continuously judging whether the current switching equipment is RPL equipment;
if the current switching equipment is not RPL equipment, forwarding the SF fault message through the other port of the current switching equipment according to the analyzed received message port number;
if the current switching equipment is RPL equipment, after the two port states of the current switching equipment and the ERPS protocol state are switched, forwarding the SF fault message through the other port of the current switching equipment.
Preferably, the method for protecting the sub-ring network link further comprises the following steps:
when the link fault recovery of the port X is detected, the switching equipment to which the port X belongs simultaneously sends the NR fault recovery message to the port X and the port Y, and judges whether the switching equipment is RPL equipment or not;
if the switching equipment is not RPL equipment, continuously sending the NR fault recovery message;
if the switching equipment is RPL equipment, starting an RPL self-switching timing task to judge whether the current link is a sub-ring network link or not;
and stopping the RPL self-switching timing task if the link is not a sub-ring network link, and performing RPL self-switching if the link is a sub-ring network link so as to switch the two port states and the ERPS protocol state of the switching equipment back to the initial state, and simultaneously transmitting an NR-RB message through the port X and the port Y.
Preferably, when the link failure recovery where the port X is detected, the switching device to which the port X belongs sends the NR failure recovery message to the port X and the port Y at the same time, and determines whether the switching device is an RPL device, specifically:
when the bottom layer drive detects the fault recovery of the link where the port X is located, notifying an ERPS protocol module of the switching equipment to which the port X belongs, simultaneously sending the NR fault recovery message to the port X and the port Y by a protocol state machine processing module in the ERPS protocol module, and judging whether the switching equipment is RPL equipment or not.
Preferably, the step of starting the RPL self-switching timing task to determine whether the current link is a sub-ring network link specifically includes:
starting the RPL self-switching timing task to check whether the switching equipment receives the NR fault recovery message sent by the switching equipment in self-switching timing time;
if the switching equipment receives the NR fault recovery message sent by the switching equipment in the self-switching timing time, proving that the current link is not a sub-ring network link;
and if the switching equipment does not receive the NR fault recovery message sent by the switching equipment in the self-switching timing time, proving that the current link is a sub-ring network link.
Preferably, in the self-switching timing time, if the switching device receives an NR fault recovery message or an SF fault message sent by the other switching devices, stopping the RPL self-switching timing task, and performing corresponding processing according to the received ERPS protocol message type.
Preferably, the performing RPL self-switching is performed so as to switch the two port states and the ERPS protocol state of the switching device back to the initial state, and simultaneously send an NR-RB message through the port X and the port Y, specifically:
starting a WTR timer to perform RPL self-switching so as to restore the port X from a blocking state to an initial forwarding state and restore the port Y from the forwarding state to the initial blocking state;
Simultaneously sending NR-RB messages to two ends through the port X and the port Y so as to inform other switching equipment on the sub-ring network link that the RPL link main port is restored to be blocked;
and restoring the ERPS protocol state of the switching equipment from the protection state to the initial idle state to complete fault recovery processing.
According to another aspect of the present invention, there is provided an ERPS protocol-based sub-ring network link protection apparatus, configured to complete the above-mentioned method for protecting a sub-ring network link according to the first aspect, where the ERPS protocol module includes a protocol state machine processing module and a protocol packet receiving and transmitting processing module, where the protocol state machine processing module is configured to control a port state of each switching device in a sub-ring network link, and the protocol packet receiving and transmitting processing module is configured to implement packet interaction between each switching device in the sub-ring network link;
the protocol state machine processing module and the protocol receiving and transmitting packet processing module are respectively connected with a bottom layer driver; when the bottom layer driver detects that a link where a port X is located fails, notifying a protocol state machine processing module corresponding to switching equipment where the port X is located, generating an SF failure message by the protocol state machine processing module, and judging whether the switching equipment is RPL equipment or not;
If the switching equipment is not RPL equipment, the protocol receiving and transmitting packet processing module sends the SF fault message to the adjacent switching equipment through the other port Y of the switching equipment; and if the switching equipment is RPL equipment, the protocol state machine processing module switches the two port states of the switching equipment and the ERPS protocol state, and then the protocol receiving and transmitting packet processing module sends the SF fault message to the adjacent switching equipment through the port Y.
In general, compared with the prior art, the above technical solution conceived by the present invention has the following beneficial effects: in the method for protecting the sub-ring network link, when the link where a certain port is located fails, the method can process according to the role of the current switching equipment configured by the networking, if the current switching equipment is not RPL equipment, an SF failure message is directly sent through another port, if the current switching equipment is RPL equipment, the two port state and the ERPS protocol state of the current switching equipment are switched, and then the SF failure message is sent through another port, so that the link protection switching is completed. Through the scheme, the ERPS protocol can be normally operated on the sub-ring network link, so that the ERPS protocol plays a complete service protection role on the sub-ring network link; meanwhile, on the premise of no need of newly adding configuration commands and function switches, the method is compatible with the prior network environment deployment, and reduces operation and maintenance cost.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings that are required to be used in the embodiments of the present invention will be briefly described below. It is evident that the drawings described below are only some embodiments of the present invention and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is a flow chart of a protocol state machine process when a link failure occurs according to an embodiment of the present invention;
fig. 2 is a link networking diagram of a sub-ring network based on an ERPS protocol according to an embodiment of the present invention;
fig. 3 is a flow chart of a protocol transceiver message processing procedure when a link failure occurs according to an embodiment of the present invention;
fig. 4 is a process flow diagram of an RPL device at the time of link failure recovery according to an embodiment of the present invention;
fig. 5 is a diagram of a sub-ring network link protection device based on an ERPS protocol according to an embodiment of the present invention;
fig. 6 is a process flow diagram of a link protection device based on a sub-ring network when a link failure occurs according to an embodiment of the present invention;
fig. 7 is a process flow diagram of a link protection device based on a sub-ring network when a link failure occurs according to an embodiment of the present invention;
Fig. 8 is a process flow diagram of a link protection device based on a sub-ring network during link failure recovery according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In addition, the technical features of the embodiments of the present invention described below may be combined with each other as long as they do not collide with each other. The invention will be described in detail below with reference to the drawings and examples.
Example 1
In order to solve the technical problem that the ERPS protocol cannot be normally operated on the sub-ring network link, the embodiment of the invention provides a sub-ring network link protection method based on the ERPS protocol, which mainly comprises two scenes: the first is that when the link fails, the link protection switching is needed; the second is that when the link fails to recover, the link needs to be restored to the original state. When the link fails, the SF failure message can be sent after the port state is processed according to the equipment role configured by networking, so that the link protection switching is completed; when the link fault is recovered, a self-switching processing mechanism is added to restore the port state, and the recovery switching of the link is completed by combining the protocol state machine processing.
The sub-ring network link generally includes a plurality of switching devices connected to each other, each switching device has two ports, and the state of each port is divided into a blocking state (i.e. block) and a forwarding state (i.e. unblock), and the ERPS protocol is a protection protocol applied to the link layer of the ethernet ring network. The invention relates to a method for normally operating an ERPS protocol in a sub-ring network link, which comprises the steps of dividing the equipment type for operating the ERPS protocol into RPL (Ring Protection Link, namely, a ring protection link) equipment and non-RPL equipment, dividing the port type of a switching equipment into an RPL link main port (namely, an RPL owner port) and a common port (namely, a common port), configuring one of the switching equipment as the RPL equipment, configuring one of the ports of the RPL equipment as the RPL link main port, and configuring the other ports as the common port, namely, only one RPL link main port in the whole loop, so that the subsequent ERPS protocol can take the RPL link main port as a standby port to realize service protection switching.
Each switching device in the sub-ring network link performs communication interaction through an ERPS protocol message, wherein the ERPS protocol message is divided into SF (Signal Fail), NR (No Request ) fault recovery message, NR-RB (No Request-RPL Block, no Request-ring protection link blocking) message and other types; the SF fault message indicates that the network has faults, the NR fault recovery message indicates that the network is in a normal state, and the NR-RB message indicates that the main port of the RPL link is in a blocking state. In an initial state, namely an initial stage of the steady operation of the ERPS, the ERPS protocol state of the RPL device is an IDLE state (namely an IDLE state), the main port of the RPL link is a blocking state, and the other ports are all forwarding states.
Based on the above configuration, the embodiment of the present invention mainly extends around the first application scenario (i.e. link failure), and when the ERPS protocol is operated on the sub-ring network link, the sub-ring network link protection method is specifically shown in fig. 1, and mainly includes the following steps:
and step 101, when detecting that the link where the port X is located fails, generating an SF failure message, and judging whether the switching equipment where the port X is located is RPL equipment or not.
When a link where a certain port X on a sub-ring network link is located fails, a corresponding failure can be detected through a bottom layer driver and the switching equipment to which the port X belongs is informed, and an SF failure message is generated by the switching equipment and sent to adjacent switching equipment. Because the current sub-ring network link is the ERPS protocol message which cannot fully pass through the whole ring link, before the switching equipment sends the SF fault message, a protocol state machine needs to check and judge whether the switching equipment is RPL equipment or not so as to carry out corresponding processing according to the equipment role. Wherein step 103 is performed if it is an RPL device, and step 102 is performed if it is not an RPL device (i.e., is a non-RPL device), as described in detail later.
And 102, if the switching equipment is not RPL equipment, the SF fault message is directly sent to the adjacent switching equipment through the other port Y of the switching equipment.
For convenience of description, two ports of the switching device are referred to herein as port X and port Y, respectively. Therefore, when the link where the port X is located fails, if the switching equipment is not RPL equipment, the link protection switching cannot be performed, and at this time, the switching equipment directly sends the SF failure message to the adjacent switching equipment through the configured port Y, so that the adjacent equipment in the link is ensured to receive the SF failure message.
Step 103, if the switching device is an RPL device and the other port Y of the switching device is an RPL link main port, after the two port state and the ERPS protocol state of the switching device are switched, the SF fault message is sent to the adjacent switching device through the port Y.
If the switching device is an RPL device and the port Y of the switching device is the primary port of the RPL link configured in the foregoing, the SF fault message needs to be sent after the link protection switching by means of the RPL device, which specifically includes the following steps:
switching the port X from an initial forwarding state to a blocking state, and switching the port Y from the initial blocking state to the forwarding state; clearing the mac address forwarding table cached by the port X, and relearning the mac address forwarding table by the port Y according to the service flow direction; switching the ERPS protocol state of the switching device from an initial idle state to a protection state; if a WTR (Wait To Restore) timer is started, stopping the WTR timer, and simultaneously sending the SF fault message To the adjacent switching equipment through the port Y; and finally, switching the service flow from the original port X to the port Y according to the mac address forwarding table to prevent the loss of the service flow data, thereby playing a role in protecting the link. The map relation between the source mac address and the port of the actual service is stored in the mac address forwarding table, and the map relation can be used for determining the corresponding port number during forwarding of the service flow, so that the corresponding port is found.
In a specific embodiment, as shown in fig. 2, the switch and three OLT (Optical Line Terminal, i.e. optical line terminal) devices form a ring network link, but in the whole ring network link, the switch does not configure related ports of the ERPS protocol, and does not participate in related processing of the ERPS protocol packet, and three devices of OLT1, OLT2 and OLT3 form a sub-ring network link, where the ERPS protocol runs. The OLT1 is provided with a P1 port and a P2 port, the OLT2 is provided with a P3 port and a P4 port, and the OLT3 is provided with a P5 port and a P6 port; the OLT1 is configured as RPL equipment, and the OLT2 and the OLT3 are non-RPL equipment; the P1 port is the main port of the RPL link, and the other ports are all common ports. The OLT1 is used as the RPL equipment, the ERPS protocol state in the initial state is an idle state, the P1 port is used as the main port of the RPL link, the initial state is a blocking state, and the other ports are all forwarding states. Based on the configuration, by running the ERPS protocol on the sub-ring network link, when the sub-ring network link fails, the service protection function on the sub-ring network link can be realized. The method comprises the following steps:
assuming that the link where the P2 port is located in fig. 2 fails, when the bottom layer driver detects that the link where the P2 port is located fails, the OLT1 device is notified, an SF failure message is generated by the OLT1, and the protocol state machine determines whether the current OLT1 is an RPL device. If the equipment is non-RPL equipment, the SF fault message is directly sent through the P1 port; if the equipment is RPL equipment, the SF fault message is sent through the P1 port after the link protection switching is needed. According to the networking scenario in fig. 2, the OLT1 device to which the P2 port belongs is an RPL device, so when the link where the P2 port is located fails, the following link protection switching operation is performed: switching the P2 port from the forwarding state to the blocking state, and switching the P1 port from the blocking state to the forwarding state; clearing a mac address forwarding table cached by the P2 port, and relearning the mac address forwarding table by the P1 port according to the service flow direction; if the WTR timer is started, the WTR timer needs to be stopped; and finally, the service flow is switched to the P1 port according to the mac address forwarding table, and an SF fault message is sent to the OLT3 equipment through the P1 port, so that the service protection switching of the link is completed.
According to the method for protecting the sub-ring network link, when a link where one port in the sub-ring network link is located is failed, the processing can be performed according to the role of the current switching equipment configured by networking, if the current switching equipment is not RPL equipment, an SF failure message is directly sent through the other port, if the current switching equipment is RPL equipment, the states of the two ports of the current switching equipment and the ERPS protocol state are switched, and then the SF failure message is sent through the other port, so that the link protection switching is completed. Therefore, the ERPS protocol can be normally operated on the sub-ring network link, so that the ERPS protocol plays a complete role in service protection on the sub-ring network link; meanwhile, on the premise of no need of newly adding configuration commands and function switches, the method is compatible with the prior network environment deployment, and reduces operation and maintenance cost.
Example 2
In the above embodiment 1, when the bottom layer driver detects a link failure, the corresponding switching device generates an SF failure message and sends the SF failure message to the adjacent switching device; on the basis, in the link fault scene as well, the embodiment of the invention further uses the switching equipment which receives the SF fault message as the current switching equipment, and the operation process of the current switching equipment after receiving the SF fault message is developed and introduced.
With reference to fig. 3, on the basis of the foregoing embodiment 1, the method for protecting a link of a sub-ring network further includes:
step 201, when the current switching device receives the SF fault message, obtaining a source mac address and a received message port number by performing content analysis on the SF fault message. And determining which port of the current switching equipment receives the SF fault message after passing through the message receiving port.
Step 202, checking whether the source mac address is consistent with the mac address of the current switching device, if so, directly discarding the received SF fault message, and if not, continuing to judge whether the current switching device is an RPL device;
after the message is analyzed to obtain the source mac address and the message receiving port number, the current switching device checks whether the source mac address is consistent with the mac address of the current switching device. If the source mac address is consistent with the mac address of the current switching equipment, indicating that the current equipment sends an SF fault message, directly discarding the received SF fault message; because the current link is a sub-ring network link, the receiving of the SF fault message sent by the user cannot occur when the ERPS protocol is operated, and the situation is mainly used in the full-ring network link scenario and will not be described herein. If the source mac address is inconsistent with the mac address of the current switching device, it indicates that the current device receives SF fault messages sent by other switching devices on the sub-ring network link, and at this time, the protocol state machine needs to further determine whether the current switching device is an RPL device, so as to perform corresponding processing according to the role of the device. Wherein, if it is an RPL device, step 204 is performed, and if it is not an RPL device, step 203 is performed, as described in detail later.
Step 203, if the current switching device is not an RPL device, forwarding the SF fault message through another port of the current switching device according to the parsed received message port number.
For example, assuming that the two ports of the current switching device are respectively denoted as a port X 'and a port Y', and the parsed received message port number is X ', when the current switching device is not an RPL device, the SF fault message is forwarded to the adjacent switching device directly through the port Y', so that it is ensured that other switching devices on the sub-ring network link can receive the SF fault message.
Step 204, if the current switching device is an RPL device, after switching the two port state and the ERPS protocol state of the current switching device, forwarding the SF fault message through another port of the current switching device.
If the current switching device is an RPL device and the other port Y' is the RPL link master port configured in the foregoing, the SF fault message needs to be forwarded after the link protection switching by means of the RPL device, and the process is similar to that in embodiment 1, and specifically follows: switching the port X 'from an initial forwarding state to a blocking state, and switching the port Y' from the initial blocking state to the forwarding state; clearing the mac address forwarding table cached by the port X ', and relearning the mac address forwarding table by the port Y' according to the service flow direction; switching the ERPS protocol state of the current switching equipment from an initial idle state to a protection state; and finally, switching the service flow from the original port X ' to the port Y ' according to a new mac address forwarding table, and forwarding the SF fault message to the adjacent switching equipment through the port Y ', so that the link protection function can be achieved.
Continuing taking the networking scenario shown in fig. 2 as an example, when the link where the P2 port is located fails, the SF failure message is sent out from the P1 port, and the P5 port of the OLT3 receives the SF failure message; the OLT3 obtains a source mac address and a received message port number P5 by analyzing the message content, compares the analyzed source mac address with the mac address of the OLT3, and further judges whether the OLT3 is an RPL device or not if the source mac address is inconsistent with the mac address of the OLT3, and forwards the SF fault message directly through a P6 port because the OLT3 is a non-RPL device so as to inform adjacent switching devices of the OLT 3; similarly, if the neighboring switching device runs the ERPS protocol, the processing needs to be performed in the same manner, and if the ERPS protocol is not run, the message processing is terminated.
According to the method for protecting the sub-ring network link, when a certain switching device in the sub-ring network link receives an SF fault message, the SF fault message can be processed according to the role of the current switching device configured by networking, if the SF fault message is not RPL equipment, the SF fault message is directly forwarded through another port, if the SF fault message is not RPL equipment, the states of two ports of the current switching device and the ERPS protocol state are switched, and then the SF fault message is sent through another port, so that the link protection switching is completed. Therefore, the ERPS protocol can be normally operated on the sub-ring network link, so that the ERPS protocol plays a complete role in service protection on the sub-ring network link.
Example 3
Based on the foregoing embodiment 1 and embodiment 2, the embodiment of the present invention further extends around the second application scenario (i.e. link failure recovery), where both the failed port and the RPL primary link port need to be recovered to the initial state, and the ERPS protocol state of the RPL device needs to be recovered to the initial state. Based on the above principle, when the ERPS protocol is run on the sub-ring network link, the sub-ring network link protection method provided by the embodiment of the present invention is specifically shown in fig. 4, and mainly includes the following steps:
step 301, when it is detected that the link failure where the port X is located is recovered, the switching device to which the port X belongs sends the NR failure recovery packet to the port X and the port Y at the same time, and determines whether the switching device is an RPL device.
When the link fault of the port X on the sub-ring network link is recovered, the corresponding fault recovery can be detected through the bottom layer drive and the switching equipment to which the port X belongs is informed, and an NR fault recovery message is generated by the switching equipment and is sent to two ports of the switching equipment simultaneously. Because the link is currently a sub-ring network link, the protocol state machine needs to check and judge whether the switching device is an RPL device or not at first so as to perform corresponding processing according to the role of the device. Wherein step 303 is performed if it is an RPL device, and step 302 is performed if it is not an RPL device, as described in detail below.
And step 302, if the switching equipment is not RPL equipment, continuously sending the NR fault recovery message, and not performing other processing.
In step 303, if the switching device is an RPL device, an RPL self-switching timing task is started to determine whether the current link is a sub-ring network link. The method comprises the following steps:
and starting the RPL self-switching timing task, wherein the RPL self-switching timing task is mainly used for checking the ERPS protocol message received by the switching equipment in the preset self-switching timing time, and mainly checking whether the switching equipment receives the NR fault recovery message sent by the switching equipment in the self-switching timing time. And if the switching equipment receives the NR fault recovery message sent by the switching equipment in the self-switching timing time, proving that the current link is not a sub-ring network link but a full-ring network link. And if the switching equipment does not receive the NR fault recovery message sent by the switching equipment in the self-switching timing time, proving that the current link is a sub-ring network link. The total duration of the NR fault recovery packet passing through the full ring network link generally does not exceed 1 second, so in a specific embodiment, the self-switching timing time may be set to about 3 seconds.
And 304, stopping the RPL self-switching timing task if the link is not a sub-ring network link, and performing RPL self-switching if the link is a sub-ring network link so as to switch the two port states and the ERPS protocol state of the switching equipment back to the initial state, and simultaneously transmitting an NR-RB message through the port X and the port Y.
And in the self-switching timing time, if the switching equipment receives the NR fault recovery message sent by the switching equipment, proving that the current link is not a sub-ring network link but a full-ring network link, stopping the RPL self-switching timing task at the moment, and processing according to the message receiving processing flow of the full-ring network link, which is not repeated herein. Further, in the self-switching timing time, if the switching device receives an NR fault recovery message or an SF fault message sent by the other switching devices, the RPL self-switching timing task needs to be stopped, and corresponding processing is performed according to the received ERPS protocol message type. Wherein, if an SF failure message is received, the specific processing procedure may refer to embodiment 1; for a specific process, reference is made to embodiment 2 if an NR failure recovery message is received.
In the self-switching timing time, if the switching device does not receive the NR fault recovery message sent by the switching device, and the current link is proved to be a sub-ring network link, the situation that the RPL device cannot receive the NR fault recovery message also exists, so that the ERPS protocol state of the RPL device is always in a protection state after fault recovery, and the port X of fault recovery is always in a blocking state. Therefore, in the embodiment of the invention, an RPL self-switching mechanism is newly added to the sub-ring network link, namely, the port state, the ERPS protocol state and the like are restored to the initial state after the link is restored, and the specific process is as follows:
When the self-switching timing time expires, starting a WTR timer to perform RPL self-switching so as to restore the port X from a blocking state to an initial forwarding state and restore the port Y from the forwarding state to the initial blocking state; then, simultaneously sending NR-RB messages to two ends through the port X and the port Y so as to inform other switching equipment on the sub-ring network link that the RPL link main port is restored to be blocked; and restoring the ERPS protocol state of the switching equipment from the protection state to the initial idle state to complete fault recovery processing.
Taking the networking scenario shown in fig. 2 as an example, when the bottom layer driver detects that the link where the P2 port is located is recovered, the OLT1 device is notified, and the OLT1 device generates an NR fault recovery message and sends the NR fault recovery message to the P1 port and the P2 port simultaneously, where the protocol state opportunity determines whether the OLT1 device is an RPL device. If the message is not the RPL equipment, continuously sending an NR fault recovery message, and not performing other processing; if the device is an RPL device, the fault recovery processing is needed. Because the OLT1 device is an RPL device here, the OLT1 device needs to start an RPL self-switching timing task while sending an NR failure recovery message, and determines whether the current link is a sub-ring network link. Because the current link is a sub-ring network link, when the self-switching task timer expires, a WTR timer needs to be started to perform RPL self-switching processing, the P2 port is restored to an initial forwarding state, and the P1 port is restored to an initial blocking state; then, simultaneously sending NR-RB messages to two ends through a P1 port and a P2 port, and informing other switching equipment on the sub-ring network link that the RPL link main port is restored to be blocked; and restoring the ERPS protocol state of the OLT1 equipment to an initial idle state, thereby completing fault recovery processing.
According to the method for protecting the sub-ring network link, when the link in the sub-ring network link is recovered, processing can be performed according to the role of the current switching equipment configured by networking, if the link is not the RPL equipment, an NR fault recovery message is continuously sent, if the link is the RPL equipment and the current link is the sub-ring network link, an RPL self-switching mechanism is introduced, the state of two ports of the current switching equipment and the state of an ERPS protocol are restored to an initial state, and the NR-RB message is simultaneously sent through the two ports, so that fault recovery processing is completed. Therefore, the ERPS protocol can be normally operated on the sub-ring network link, so that the ERPS protocol plays a complete role in service protection on the sub-ring network link; meanwhile, on the premise of no need of newly adding configuration commands and function switches, the method is compatible with the prior network environment deployment, and reduces operation and maintenance cost.
Example 4
On the basis of the above embodiments 1-3, the embodiment of the present invention further provides an ERPS protocol-based sub-ring network link protection device, which may be used to implement the sub-ring network link protection methods in embodiments 1-3.
Referring to fig. 5, the sub-ring network link protection device includes an ERPS protocol module respectively set corresponding to each switching device, where the ERPS protocol module mainly includes a protocol state machine processing module and a protocol packet receiving and transmitting processing module, and the protocol state machine processing module and the protocol packet receiving and transmitting processing module are respectively connected with a bottom layer driver. The protocol state machine processing module is a core of a protocol state machine and is mainly used for controlling port states of all switching devices in a sub-ring network link; the protocol receiving and transmitting packet processing module is mainly used for receiving and transmitting ERPS protocol messages so as to realize message interaction among all switching devices in the sub-ring network link; and the service protection switching function of the sub-ring network link can be realized by combining the protocol state machine processing module and the protocol receiving and transmitting packet processing module.
The interaction content between the protocol state machine processing module and the bottom layer driver mainly comprises: notifying the protocol state machine processing module by the bottom layer driver when the link fails or recovers, wherein the protocol state machine processing module sets the forwarding or blocking state of the port through the bottom layer driver; the interaction content between the protocol state machine processing module and the protocol transceiver processing module mainly comprises: the packet sending processing and packet receiving analysis notify the protocol state machine change when the protocol state machine changes; the interaction content between the protocol receiving and transmitting packet processing module and the bottom layer driver is mainly as follows: and the receiving and sending of the ERPS protocol message are required to be processed through the bottom layer driving.
Based on the above-mentioned sub-ring network link protection device, the sub-ring network link protection method in embodiments 1 to 3 of the present invention is further described.
Referring to fig. 6, in the link failure scenario corresponding to embodiment 1, it is assumed that a link where a certain port X on the sub-ring network link is located fails, and the sub-ring network link protection method specifically includes the following steps:
step 401, when the bottom layer driver detects that the link where the port X is located fails, notifying an ERPS protocol module corresponding to the switching device where the port X is located.
Step 402, the corresponding protocol state machine processing module generates an SF fault message, and determines whether the switching device is an RPL device. If the switching device is not an RPL device, then step 403 is executed; if the switching device is an RPL device, steps 404 and 405 are performed.
Step 403, the protocol state machine processing module notifies the protocol transceiver packet processing module, and the protocol transceiver packet processing module sends the SF fault message to the adjacent switching device through another port Y of the switching device.
Step 404, the protocol state machine processing module switches the two port states of the switching device and the ERPS protocol state, that is, performs link protection switching, specifically: and switching the port X to a blocking state, switching the port Y to a forwarding state, clearing a mac address forwarding table cached by the port X, relearning the mac address forwarding table by the port Y according to the traffic flow direction, and switching the ERPS protocol state of the switching equipment to a protection state.
And step 405, after the link protection switching is completed, the protocol receiving and transmitting packet processing module sends the SF fault message to the adjacent switching equipment through the other port Y.
Referring to fig. 7, in the link failure scenario corresponding to embodiment 2, the method for protecting the link of the sub-ring network is specifically as follows:
Step 501, when the protocol transceiver packet processing module of the current switching device receives the SF fault message, the source mac address and the receiving port number are obtained by analyzing the message content, and sent to the protocol state machine processing module of the current switching device.
Step 502, the protocol state machine processing module checks whether the source mac address is consistent with the mac address of the current switching device; if so, executing step 503; if not, step 504 is performed.
In step 503, the protocol transceiver packet processing module directly discards the SF fault message without forwarding the message.
And step 504, the protocol state machine processing module continues to judge whether the current switching device is an RPL device. If the device is the RPL device, step 505 is executed and then step 506 is executed; if not an RPL device, step 506 is performed directly.
Step 505, the protocol state machine processing module performs link protection switching processing, specifically: and switching the port X 'of the received SF fault message into a blocking state, switching the other port Y' into a forwarding state, clearing a mac address forwarding table cached by the port X ', relearning the mac address forwarding table by the port Y' according to the service flow direction, and switching the ERPS protocol state of the current switching equipment into a protection state.
Step 506, the protocol transceiver packet processing module forwards the SF fault message through another port of the current switching device according to the parsed received message port number.
Referring to fig. 8, in the link failure recovery scenario corresponding to embodiment 3, it is assumed that the link failure where a certain port X on the sub-ring network link is located is recovered, and the sub-ring network link protection method is specifically as follows:
in step 601, when the bottom layer driver detects that the failure of the link where the port X is located is recovered, the lower layer driver notifies the ers protocol module of the switching device where the port X is located.
Step 602, the corresponding protocol state machine processing module sends the NR fault recovery message to the port X and the port Y at the same time.
In step 603, the protocol state machine processing module determines whether the switching device is an RPL device. If the switching device is not an RPL device, then step 604 is performed; if the switching device is an RPL device, step 605 is executed.
Step 604, the processing module of the protocol state machine continuously sends the NR fault recovery message, and does not perform other processing.
In step 605, the protocol state machine processing module starts an RPL self-switching timing task, and determines whether the current link is a sub-ring network link. If the protocol transceiver packet processing module receives the NR failure recovery message sent by the self-equipment within the self-switching timing time, and the current link is proved not to be a sub-ring network link, executing step 606; if the protocol transceiver packet processing module does not receive the NR failure recovery message sent by the self device within the self-switching timing time, it proves that the current link is a sub-ring network link, then step 607 is executed.
In step 606, the protocol state machine processing module stops the RPL self-switching timing task and processes according to the NR failure recovery message flow.
Step 607, when the self-switching task timer expires, the protocol state machine processing module starts a WTR timer to perform RPL self-switching, so as to restore the port X to an initial forwarding state, restore the port Y to an initial blocking state, and send NR-RB messages to both ends simultaneously through the port X and the port Y, so as to inform other switching devices on the sub-ring network link that the RPL link main port has recovered to be blocked; and restoring the ERPS protocol state of the switching equipment to an initial idle state to finish fault recovery processing.
According to the sub-ring network link protection device provided by the embodiment of the invention, when a link where a certain port in a sub-ring network link is located fails, a protocol state machine processing module can process according to the role of the current switching equipment configured by networking, and if the current switching equipment is RPL equipment, the protocol state machine processing module switches the two port states of the current switching equipment and the ERPS protocol state to complete link protection switching; when the link fault in the sub-ring network link is recovered, the protocol state machine processing module can also process according to the role of the current switching equipment configured by networking, if the current link is the RPL equipment and the current link is the sub-ring network link, an RPL self-switching mechanism is introduced, the protocol state machine processing module restores the two port states of the current switching equipment and the ERPS protocol state to an initial state, and NR-RB messages are simultaneously sent through the two ports, so that the fault recovery processing is completed. Therefore, the ERPS protocol can be normally operated on the sub-ring network link, so that the ERPS protocol plays a complete role in service protection on the sub-ring network link; meanwhile, on the premise of no need of newly adding configuration commands and function switches, the method is compatible with the prior network environment deployment, and reduces operation and maintenance cost.
It will be readily appreciated by those skilled in the art that the foregoing description is merely a preferred embodiment of the invention and is not intended to limit the invention, but any modifications, equivalents, improvements or alternatives falling within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (9)

1. A sub-ring network link protection method based on ERPS protocol is characterized in that the sub-ring network link comprises a plurality of switching devices, and one switching device is RPL device; each switching device is provided with two ports, one of the ports of the RPL device is an RPL link main port and is in a blocking state in an initial state, and the other ports are in a forwarding state in the initial state; the method for protecting the sub-ring network link specifically comprises the following steps when the ERPS protocol is operated on the sub-ring network link:
when detecting that a link where a port X is located fails, generating an SF failure message, and judging whether switching equipment to which the port X belongs is RPL equipment or not; the method comprises the following steps: when the bottom layer driver detects that the link where the port X is located fails, notifying an ERPS protocol module of switching equipment to which the port X belongs, generating the SF failure message by a protocol state machine processing module in the ERPS protocol module, and judging whether the switching equipment is RPL equipment or not;
If the switching equipment is not RPL equipment, the SF fault message is directly sent to the adjacent switching equipment through the other port Y of the switching equipment;
if the switching device is an RPL device and the other port Y of the switching device is an RPL link main port, after the two port state and the ERPS protocol state of the switching device are switched, the SF fault message is sent to the adjacent switching device through the port Y.
2. The method for protecting a sub-ring network link based on the ERPS protocol according to claim 1, wherein the step of switching the two port states of the switching device and the ERPS protocol state after the ERPS protocol state in the initial state of the RPL device is in an idle state, sending the SF fault message to the adjacent switching device through the port Y is specifically:
switching the port X from an initial forwarding state to a blocking state, and switching the port Y from the initial blocking state to the forwarding state;
clearing the mac address forwarding table cached by the port X, and relearning the mac address forwarding table by the port Y according to the service flow direction;
switching the ERPS protocol state of the switching device from an initial idle state to a protection state;
And switching the service flow from the original port X to the port Y according to the mac address forwarding table so as to send the SF fault message to the adjacent switching equipment through the port Y.
3. The method for protecting a sub-ring network link based on the ERPS protocol according to claim 1, wherein the method for protecting a sub-ring network link further comprises:
when the current switching equipment receives the SF fault message, acquiring a source mac address and a message receiving port number by carrying out content analysis on the SF fault message;
checking whether the source mac address is consistent with the mac address of the current switching equipment, if so, directly discarding the received SF fault message, and if not, continuously judging whether the current switching equipment is RPL equipment;
if the current switching equipment is not RPL equipment, forwarding the SF fault message through the other port of the current switching equipment according to the analyzed received message port number;
if the current switching equipment is RPL equipment, after the two port states of the current switching equipment and the ERPS protocol state are switched, forwarding the SF fault message through the other port of the current switching equipment.
4. The method for protecting a sub-ring network link based on the ERPS protocol according to claim 1, wherein the method for protecting a sub-ring network link further comprises:
when detecting that the link fault where the port X is located is recovered, the switching equipment to which the port X belongs simultaneously sends NR fault recovery messages to the port X and the port Y, and judges whether the switching equipment is RPL equipment or not;
if the switching equipment is not RPL equipment, continuously sending the NR fault recovery message;
if the switching equipment is RPL equipment, starting an RPL self-switching timing task to judge whether the current link is a sub-ring network link or not;
and stopping the RPL self-switching timing task if the link is not a sub-ring network link, and performing RPL self-switching if the link is a sub-ring network link so as to switch the two port states and the ERPS protocol state of the switching equipment back to the initial state, and simultaneously transmitting an NR-RB message through the port X and the port Y.
5. The method for protecting a sub-ring network link based on the ERPS protocol as set forth in claim 4, wherein when the link failure recovery of the port X is detected, the switching device to which the port X belongs simultaneously sends the NR failure recovery message to the port X and the port Y, and determines whether the switching device is an RPL device, specifically:
When the bottom layer drive detects the fault recovery of the link where the port X is located, notifying an ERPS protocol module of the switching equipment to which the port X belongs, simultaneously sending the NR fault recovery message to the port X and the port Y by a protocol state machine processing module in the ERPS protocol module, and judging whether the switching equipment is RPL equipment or not.
6. The method for protecting a sub-ring network link based on the ERPS protocol as set forth in claim 4, wherein the step of starting the RPL self-switching timing task to determine whether the current link is the sub-ring network link specifically includes:
starting the RPL self-switching timing task to check whether the switching equipment receives the NR fault recovery message sent by the switching equipment in self-switching timing time;
if the switching equipment receives the NR fault recovery message sent by the switching equipment in the self-switching timing time, proving that the current link is not a sub-ring network link;
and if the switching equipment does not receive the NR fault recovery message sent by the switching equipment in the self-switching timing time, proving that the current link is a sub-ring network link.
7. The method for protecting a sub-ring network link based on an ERPS protocol according to claim 6, wherein in the self-switching timing time, if the switching device receives an NR failure recovery message or an SF failure message sent by the other switching devices, stopping the RPL self-switching timing task, and performing corresponding processing according to the received ERPS protocol message type.
8. The method for protecting a sub-ring network link based on the ERPS protocol according to claim 4, wherein the performing the RPL self-switching to switch the two port states of the switching device and the ERPS protocol state back to the initial state and simultaneously transmitting the NR-RB message through the port X and the port Y is specifically as follows:
starting a WTR timer to perform RPL self-switching so as to restore the port X from a blocking state to an initial forwarding state and restore the port Y from the forwarding state to the initial blocking state;
simultaneously sending NR-RB messages to two ends through the port X and the port Y so as to inform other switching equipment on the sub-ring network link that the RPL link main port is restored to be blocked;
and restoring the ERPS protocol state of the switching equipment from the protection state to the initial idle state to complete fault recovery processing.
9. The sub-ring network link protection device based on the ERPS protocol is characterized by comprising an ERPS protocol module which is respectively arranged corresponding to each switching device, wherein the ERPS protocol module comprises a protocol state machine processing module and a protocol receiving and transmitting packet processing module, the protocol state machine processing module is used for controlling the port states of the switching devices in the sub-ring network link, and the protocol receiving and transmitting packet processing module is used for realizing message interaction among the switching devices in the sub-ring network link;
The protocol state machine processing module and the protocol receiving and transmitting packet processing module are respectively connected with a bottom layer driver; when the bottom layer driver detects that a link where a port X is located fails, notifying a protocol state machine processing module corresponding to switching equipment where the port X is located, generating an SF failure message by the protocol state machine processing module, and judging whether the switching equipment is RPL equipment or not;
if the switching equipment is not RPL equipment, the protocol receiving and transmitting packet processing module sends the SF fault message to the adjacent switching equipment through the other port Y of the switching equipment; and if the switching equipment is RPL equipment, the protocol state machine processing module switches the two port states of the switching equipment and the ERPS protocol state, and then the protocol receiving and transmitting packet processing module sends the SF fault message to the adjacent switching equipment through the port Y.
CN202110979052.8A 2021-08-25 2021-08-25 Sub-ring network link protection method and device based on ERPS protocol Active CN113645312B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110979052.8A CN113645312B (en) 2021-08-25 2021-08-25 Sub-ring network link protection method and device based on ERPS protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110979052.8A CN113645312B (en) 2021-08-25 2021-08-25 Sub-ring network link protection method and device based on ERPS protocol

Publications (2)

Publication Number Publication Date
CN113645312A CN113645312A (en) 2021-11-12
CN113645312B true CN113645312B (en) 2023-07-18

Family

ID=78423786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110979052.8A Active CN113645312B (en) 2021-08-25 2021-08-25 Sub-ring network link protection method and device based on ERPS protocol

Country Status (1)

Country Link
CN (1) CN113645312B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115412395A (en) * 2022-07-16 2022-11-29 奥特酷智能科技(南京)有限公司 ERPS-based vehicle-mounted Ethernet ring network link switching method
CN115714698B (en) * 2022-09-26 2024-04-16 重庆长安汽车股份有限公司 Looped network communication method and device of vehicle-mounted Ethernet, vehicle and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008031347A1 (en) * 2006-09-07 2008-03-20 Huawei Technologies Co., Ltd. Method and apparatus for realizing protection switching in the ring ethernet
WO2012120528A1 (en) * 2011-03-07 2012-09-13 Tejas Networks Ltd Ethernet chain protection switching
CN104065546A (en) * 2014-07-04 2014-09-24 引通通讯科技(上海)有限公司 Ethernet protection switching method
WO2015117465A1 (en) * 2014-08-22 2015-08-13 中兴通讯股份有限公司 Fdb updating method, device, node, and system in ring network
WO2017148093A1 (en) * 2016-03-03 2017-09-08 中兴通讯股份有限公司 Node device and ring network switching method
CN111555916A (en) * 2020-04-26 2020-08-18 杭州迪普科技股份有限公司 Method, device, storage medium and equipment for deploying looped network

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100454880C (en) * 2006-11-01 2009-01-21 华为技术有限公司 Method and system of realizing rig network protection
CN101001192B (en) * 2007-01-17 2010-04-21 华为技术有限公司 Method, system and equipment for protecting ring network link
CN101621443B (en) * 2008-07-01 2011-11-30 中兴通讯股份有限公司 Failure recovery method of Ethernet ring protection system
CN102244600A (en) * 2011-08-12 2011-11-16 华为技术有限公司 Method and device for detecting and processing link failure in RRPP (Rapid Ring Protect Protocol) ring network
US9258190B2 (en) * 2014-02-10 2016-02-09 Ciena Corporation Systems and methods for managing excess optical capacity and margin in optical networks
CN106161078B (en) * 2015-04-27 2019-06-21 华为技术有限公司 A kind of Ethernet ring protection switching reverse method and node
EP3534571B1 (en) * 2016-11-15 2021-03-03 Huawei Technologies Co., Ltd. Service packet transmission method, and node apparatus
WO2018120228A1 (en) * 2016-12-30 2018-07-05 华为技术有限公司 Method and device for recovering from ring circuit fault, and node apparatus
WO2020016901A1 (en) * 2018-07-18 2020-01-23 Telefonaktiebolaget Lm Ericsson (Publ) A method in an ethernet ring protection switching (erps) network of handling a sub-ring link failure
EP3915231A4 (en) * 2019-01-25 2022-01-19 Telefonaktiebolaget LM Ericsson (publ) Method and system to selectively flush filtering databases in a major ring of an ethernet ring protection switching network
CN112118493B (en) * 2020-08-24 2022-02-18 烽火通信科技股份有限公司 Method and system for realizing multicast protocol in ERPS looped network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008031347A1 (en) * 2006-09-07 2008-03-20 Huawei Technologies Co., Ltd. Method and apparatus for realizing protection switching in the ring ethernet
WO2012120528A1 (en) * 2011-03-07 2012-09-13 Tejas Networks Ltd Ethernet chain protection switching
CN104065546A (en) * 2014-07-04 2014-09-24 引通通讯科技(上海)有限公司 Ethernet protection switching method
WO2015117465A1 (en) * 2014-08-22 2015-08-13 中兴通讯股份有限公司 Fdb updating method, device, node, and system in ring network
WO2017148093A1 (en) * 2016-03-03 2017-09-08 中兴通讯股份有限公司 Node device and ring network switching method
CN111555916A (en) * 2020-04-26 2020-08-18 杭州迪普科技股份有限公司 Method, device, storage medium and equipment for deploying looped network

Also Published As

Publication number Publication date
CN113645312A (en) 2021-11-12

Similar Documents

Publication Publication Date Title
US7924702B2 (en) Method for reconfiguring a communication network
US7355965B2 (en) Apparatus and method for rapid detection of unidirectional breaks in a network ring
CA2566005C (en) Protected switching ring
US8462795B2 (en) Method and device for transmitting control message based on multi-ring ethernet
CN102014019B (en) Aggregated link switching method and device
CN113645312B (en) Sub-ring network link protection method and device based on ERPS protocol
US9237092B2 (en) Method, apparatus, and system for updating ring network topology information
US8117337B2 (en) Method and device for implementing link pass through in point-to-multipoint network
EP2352253A1 (en) Method and apparatus for protecting link aggregation group of ethernet ring
EP2911341A1 (en) Method and device for dynamically switching gateway of distributed resilient network interconnect
CN100512128C (en) Method and system for protecting multicast repeat path and service router
GB2444170A (en) Ethernet protection using a redundant link, with link up of a remote port being triggered using a "link status control mechanism".
CN114978987B (en) Server Redundancy Backup Method
CN102355363A (en) Method and apparatus for automatic protection switching
CN111654435B (en) Link protection fault processing system and method based on LACP
WO2012037754A1 (en) Method and node device for realizing bidirectional linear protection switching for multiplex section
CN113794632B (en) Network protection method and device
US9270476B2 (en) Methods and apparatus for network protection
CN112714060B (en) Link detection method and device
CN115102897B (en) Stacking splitting protection method based on link aggregation
CN111510315A (en) Ring network redundancy protocol based on proprietary switching chip network pipe type industrial switch
WO2007006175A1 (en) Method for implementing channel shared ring protection supported easy failure prevention
JP2003304270A (en) Switching hub
WO2011147176A1 (en) Method and device for processing no request protocol frame of ethernet ring network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant