CN102244600A - Method and device for detecting and processing link failure in RRPP (Rapid Ring Protect Protocol) ring network - Google Patents

Method and device for detecting and processing link failure in RRPP (Rapid Ring Protect Protocol) ring network Download PDF

Info

Publication number
CN102244600A
CN102244600A CN2011102315407A CN201110231540A CN102244600A CN 102244600 A CN102244600 A CN 102244600A CN 2011102315407 A CN2011102315407 A CN 2011102315407A CN 201110231540 A CN201110231540 A CN 201110231540A CN 102244600 A CN102244600 A CN 102244600A
Authority
CN
China
Prior art keywords
port
host node
message
pass
rrpp
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.)
Pending
Application number
CN2011102315407A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2011102315407A priority Critical patent/CN102244600A/en
Publication of CN102244600A publication Critical patent/CN102244600A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration

Abstract

The invention provides a method for detecting and processing a link failure in a RRPP (Rapid Ring Protect Protocol) ring network. The method comprises the following steps: if a slave port of a main node does not receive a ring-circuit state detection message within timing time of an invalidation timer, the main node transmits a single-pass ring circuit detection message through the slave port and starts the invalidation timer of a main port; if the main port of the main node receives the single-pass ring circuit detection message within the timing time of the invalidation timer of the main port, the main node maintains the block state of the slave port and reports single-pass ring circuit warning information; and if the main port of the main node does not receive the single-pass ring circuit detection message, the main node removes the block state of the slave port and transmits a data message through the slave port. The embodiment of the invention also provides the main node in the RRPP ring network. According to the method provided by the invention, the slave port is continuously blocked when the link failure is discovered to be a unidirectional failure, so that the storm of the data message, generated in a reverse ring circuit, is avoided, the warning information is timely reported and the stability of a ring circuit service is increased.

Description

Link failure detection and processing method, device in a kind of RRPP ring net
Technical field
The embodiment of the invention relates to network communications technology field, relates in particular to link failure detection and processing method in a kind of RRPP (Rapid Ring Protect Protocol, rapid ring protection protocol) looped network, device.
Background technology
In the RRPP ring net, host node periodically sends the loop circuit state detection messages by its master port, if this host node receive the loop circuit state detection messages from port, expression RRPP ring net is complete, host node block above-mentioned from port to prevent to produce data loopback.Data message in the RRPP ring net is transmitted on the link that the master port of host node and transmission node constitute.
When above-mentioned link occurs fault, host node in the timing time of fail timer, do not receive the loop circuit state detection messages from port, then host node can be opened from port, and the redundancy backup link of enabling by host node that constitutes from port and transmission node carries out data message forwarding.
The inventor finds that there are the following problems at least in the prior art in realizing process of the present invention:
When link failure was unidirectional fault, that opens host node can produce reverse loop from port, and the data message in the loop can produce storm, causes the loop service exception.
Summary of the invention
For addressing the above problem, embodiments of the invention provide link failure detection and processing method in a kind of RRPP ring net, device, thereby when avoiding the link unidirectional fault, produce reverse loop.
The objective of the invention is to be achieved through the following technical solutions:
Link failure detection and processing method in a kind of RRPP ring net comprise:
If host node in the timing time of inefficacy timer, do not receive the loop circuit state detection messages that the master port of described host node sends from port, then described host node sends the single-pass loop detection message by described from port, and starts the inefficacy timer of master port;
If in the timing time of the inefficacy timer of described master port, the master port of described host node receives described single-pass loop detection message, then described host node keeps described blocked state from port, and reports single-pass loop warning information;
If in the timing time of the inefficacy timer of described master port, the master port of described host node does not receive described single-pass loop detection message, then described host node is removed described blocked state from port, transmits data message by described from port.
Host node in a kind of looped network comprises: master port, be used to send the loop circuit state detection messages, from port, be used to receive the loop circuit state detection messages that described master port sends, described host node also comprises:
From port inefficacy timer, be used for the packet receiving out-of-service time from port of described host node is carried out timing;
Master port inefficacy timer is used for the packet receiving out-of-service time of the master port of described host node is carried out timing;
Fault detect and processing module, whether what be used to judge described host node receives the loop circuit state detection messages described from port in the timing time of port inefficacy timer, if do not have, then send the single-pass loop detection message from port, and trigger described master port inefficacy timer and pick up counting by described;
Described fault detect and processing module also are used for, and judge whether described master port in the timing time of described master port inefficacy timer, receives described single-pass loop detection message; If receive, then keep described blocked state, and report single-pass loop warning information from port; If do not receive, then remove described blocked state from port, transmit data message by described from port.
The technical scheme that is provided by the embodiment of the invention described above as can be seen, in the embodiment of the invention, because when finding that link failure is unidirectional fault, continue to block from port, thereby avoided data message in reverse loop, to produce storm, and timely report and alarm information, improved the stability of loop business.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The method flow diagram that Fig. 1 provides for the embodiment of the invention;
The RRPP ring web frame schematic diagram that Fig. 2 provides for the embodiment of the invention;
Schematic diagram when unidirectional fault appears in the RRPP ring net that Fig. 3 provides for the embodiment of the invention;
Schematic diagram when bi-directional failure appears in the RRPP ring net that Fig. 4 provides for the embodiment of the invention;
The host node structural representation that Fig. 5 provides for the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The embodiment of the invention provides link failure detection and processing method in a kind of RRPP ring net, and as shown in Figure 1, this method specifically comprises following operation:
If the S101 host node in the timing time of inefficacy timer, do not receive the loop circuit state detection messages that the master port of this host node sends from port, then described host node sends the single-pass loop detection message by described from port, and starts the inefficacy timer of master port;
In the embodiment of the invention, can realize above-mentioned single-pass loop detection message by the RRPP message of newly-increased type.
If S102 is in the timing time of the inefficacy timer of described master port, the master port of described host node receives described single-pass loop detection message, and then described host node keeps described blocked state from port, and reports single-pass loop warning information;
Wherein, the blocked state of port is meant, stops this port to transmit data message and receiving data packets;
Carry the ring ID and the territory ID of described RRPP ring net in the single-pass loop warning information, be used to inform Network Management Equipment, in described RRPP ring net, produce the reverse loop of single-pass.
If S103 is in the timing time of the inefficacy timer of described master port, the master port of described host node does not receive described single-pass loop detection message, then described host node is removed described blocked state from port, transmits data message by described from port.
Wherein, if above-mentioned master port receives above-mentioned single-pass loop detection message in timing time, show that link failure belongs to unidirectional fault, if remove the obstruction from port this moment, then can form single-pass reverse loop (the reverse loop of single-pass be meant by host node from port->transmission node->unilaterally connected reverse loop that the master port of host node constitutes).And in the method that the embodiment of the invention provides, when link failure is unidirectional fault, continue to block from port, thereby avoided data message in reverse loop, to produce storm, and timely report and alarm information, so that fix a breakdown as early as possible, improved the stability of loop business.
To be described in detail the specific implementation of the embodiment of the invention in actual application below.
In RRPP ring net shown in Figure 2, Ethernet switch SW1 is a host node, and its system bridge MAC (Media Access Control, medium access control) address is: AAAA-AAAA-AAAA; SW2~SW4 is a transmission node; The territory ID of looped network is 1, and the territory ID of looped network is used for identifying the affiliated territory of RRPP ring net; The ring ID of looped network is 1, and the ring ID of looped network is used for identifying the RRPP ring net, comes so that change difference with other RRPP.Under the normal condition, host node block its from port preventing to produce reverse loop, data message is transmitting from the link that port and transmission node constitute by host node.
Host node SW1 periodically sends the loop circuit state detection messages, when the transmission cycle of each loop circuit state detection messages begins, host node SW1 starts the inefficacy timer from port, if host node SW1 is not receiving above-mentioned loop circuit state detection messages from port in the timing time of the inefficacy timer of port, then host node SW1 passes through to send the single-pass loop detection message from port, and starts the inefficacy timer of master port; If the master port of host node SW1 receives above-mentioned single-pass loop detection message in the timing time of the inefficacy timer of master port, show that then link failure belongs to unidirectional fault shown in Figure 3, host node SW1 continues to block from port, and report single-pass loop warning information to webmaster, so that webmaster or operating personnel get rid of the unidirectional fault of this RRPP ring net after receiving single-pass loop warning information; If the master port of host node SW1 does not receive above-mentioned single-pass loop detection message in the inefficacy timer timing time of master port, show that then link failure belongs to bi-directional failure shown in Figure 4, host node SW1 removes the blocked state from port, by transmitting data message from port.
Wherein, the RRPP message that above-mentioned single-pass loop detection message is a kind of newly-increased type is its message protocol type assignment, is used for carrying out the detection of the reverse loop of single-pass to show this RRPP message.The RRPP message content of newly-increased type mainly comprises: the system bridge MAC of protocol type, territory ID, ring ID and host node, and for example and without limitation, the structure of this RRPP message is as follows:
Field Value
Protocol type 9
Territory ID 1
Ring ID 1
The system bridge MAC Address AAAA-AAAA-AAAA
Wherein, for the protocol type assignment is " 9 ", represent that this RRPP message is the single-pass loop detection message.
The all or part of step of realization said method embodiment can be finished by the relevant hardware of program command, and aforesaid program can be stored in the computer read/write memory medium, and this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The embodiment of the invention also provides the host node in a kind of RRPP ring net, and its structure specifically comprises as shown in Figure 5:
Master port 501 is used to send the loop circuit state detection messages;
From port 502, be used to receive the loop circuit state detection messages that described master port 501 sends;
From port inefficacy timer 503, be used for the packet receiving out-of-service time from port 502 of described host node is carried out timing;
Master port inefficacy timer 504 is used for the packet receiving out-of-service time of the master port 501 of described host node is carried out timing;
The above-mentioned packet receiving out-of-service time is the time period of predesignating, if master port or do not receive the message of appointment from port in this time period shows that then there is fault in link.
Fault detect and processing module 505, whether what be used to judge described host node receives the loop circuit state detection messages that master port 501 sends described from port 502 in the timing time of port inefficacy timer 503, if do not have, then send the single-pass loop detection messages from port 502, and trigger described master port inefficacy timer 504 and pick up counting by described;
Wherein, the single-pass loop detection message is the RRPP message of newly-increased type, and the RRPP message that the protocol type of the RRPP message of described newly-increased type has identified described newly-increased type is used for carrying out the detection of the reverse loop of single-pass.
Fault detect and processing module 503 also are used for, and judge whether described master port 501 in the timing time of described master port inefficacy timer 504, receives described single-pass loop detection message; If receive, then keep described blocked state, and report single-pass loop warning information from port 502; If do not receive, then remove described blocked state from port 502, transmit data message by described from port 502.
Carry the ring ID and the territory ID of described RRPP ring net in the single-pass loop warning information, be used to inform Network Management Equipment, in described RRPP ring net, produce the reverse loop of single-pass.
Wherein,, show that link failure belongs to unidirectional fault,, then can form the reverse loop of single-pass if remove the resistance from port this moment if above-mentioned master port 501 receives above-mentioned single-pass loop detection message in timing time.And the host node that the embodiment of the invention provides, when link failure is unidirectional fault, fault detect and processing module continue to block from port, thereby avoided data message in reverse loop, to produce storm, and timely report and alarm information, so that fix a breakdown as early as possible, improved the stability of loop business.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (6)

1. link failure detection and processing method in the RRPP ring net is characterized in that, comprising:
If host node in the timing time of inefficacy timer, do not receive the loop circuit state detection messages that the master port of described host node sends from port, then described host node sends the single-pass loop detection message by described from port, and starts the inefficacy timer of master port;
If in the timing time of the inefficacy timer of described master port, the master port of described host node receives described single-pass loop detection message, then described host node keeps described blocked state from port, and reports single-pass loop warning information;
If in the timing time of the inefficacy timer of described master port, the master port of described host node does not receive described single-pass loop detection message, then described host node is removed described blocked state from port, transmits data message by described from port.
2. method according to claim 1, it is characterized in that, described single-pass loop detection message is the RRPP message of newly-increased type, and the RRPP message that the protocol type of the RRPP message of described newly-increased type has identified described newly-increased type is used for carrying out the detection of the reverse loop of single-pass.
3. method according to claim 1 and 2 is characterized in that, carries the ring ID and the territory ID of described RRPP ring net in the described single-pass loop warning information, is used to inform Network Management Equipment, produces the reverse loop of single-pass in described RRPP ring net.
4. the host node in the looped network comprises: master port, be used to send the loop circuit state detection messages,
From port, be used to receive the loop circuit state detection messages that described master port sends, it is characterized in that described host node also comprises:
From port inefficacy timer, be used for the packet receiving out-of-service time from port of described host node is carried out timing;
Master port inefficacy timer is used for the packet receiving out-of-service time of the master port of described host node is carried out timing;
Fault detect and processing module, whether what be used to judge described host node receives the loop circuit state detection messages described from port in the timing time of port inefficacy timer, if do not have, then send the single-pass loop detection message from port, and trigger described master port inefficacy timer and pick up counting by described;
Described fault detect and processing module also are used for, and judge whether described master port in the timing time of described master port inefficacy timer, receives described single-pass loop detection message; If receive, then keep described blocked state, and report single-pass loop warning information from port; If do not receive, then remove described blocked state from port, transmit data message by described from port.
5. host node according to claim 4, it is characterized in that, described single-pass loop detection message is the RRPP message of newly-increased type, and the RRPP message that the protocol type of the RRPP message of described newly-increased type has identified described newly-increased type is used for carrying out the detection of the reverse loop of single-pass.
6. according to claim 4 or 5 described host nodes, it is characterized in that, carry the ring ID and the territory ID of described RRPP ring net in the single-pass loop warning information, be used to inform Network Management Equipment, in described RRPP ring net, produce the reverse loop of single-pass.
CN2011102315407A 2011-08-12 2011-08-12 Method and device for detecting and processing link failure in RRPP (Rapid Ring Protect Protocol) ring network Pending CN102244600A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102315407A CN102244600A (en) 2011-08-12 2011-08-12 Method and device for detecting and processing link failure in RRPP (Rapid Ring Protect Protocol) ring network

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011102315407A CN102244600A (en) 2011-08-12 2011-08-12 Method and device for detecting and processing link failure in RRPP (Rapid Ring Protect Protocol) ring network
PCT/CN2012/073657 WO2012149856A1 (en) 2011-08-12 2012-04-09 Method and device for detecting and handling link failure in rrpp ring network

Publications (1)

Publication Number Publication Date
CN102244600A true CN102244600A (en) 2011-11-16

Family

ID=44962452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102315407A Pending CN102244600A (en) 2011-08-12 2011-08-12 Method and device for detecting and processing link failure in RRPP (Rapid Ring Protect Protocol) ring network

Country Status (2)

Country Link
CN (1) CN102244600A (en)
WO (1) WO2012149856A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739445A (en) * 2012-06-18 2012-10-17 中兴通讯股份有限公司 Method and system for rapidly positioning faults of looped network
WO2012149856A1 (en) * 2011-08-12 2012-11-08 华为技术有限公司 Method and device for detecting and handling link failure in rrpp ring network
CN102882725A (en) * 2012-09-29 2013-01-16 北京东土科技股份有限公司 Method and system for implementation of network management of CPU (central processing unit)-free equipment networking
CN112367196A (en) * 2020-10-30 2021-02-12 锐捷网络股份有限公司 Method and device for detecting network communication fault and electronic equipment
CN114500117A (en) * 2022-04-15 2022-05-13 北京全路通信信号研究设计院集团有限公司 Looped network Master configuration error judgment method and device based on looped network storm flow characteristics

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107846520B (en) * 2017-10-26 2020-02-11 科大讯飞股份有限公司 Single-pass detection method and device
CN108833247B (en) * 2018-05-18 2021-02-09 新华三技术有限公司 Method and device for re-switching after link failure recovery

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1412977A (en) * 2001-10-10 2003-04-23 阿尔卡塔尔公司 Method for propagating fault information in RPR network and corresponding RPR data packet
CN1791049A (en) * 2005-12-16 2006-06-21 杭州华为三康技术有限公司 Looped network and its protecting method
CN101001192A (en) * 2007-01-17 2007-07-18 华为技术有限公司 Method, system and equipment for protecting ring network link
CN101212366A (en) * 2007-12-21 2008-07-02 杭州华三通信技术有限公司 Failure detection method, system, and main node in Ethernet loop network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631060B (en) * 2009-08-18 2011-08-31 杭州华三通信技术有限公司 Method and device for managing edge port
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1412977A (en) * 2001-10-10 2003-04-23 阿尔卡塔尔公司 Method for propagating fault information in RPR network and corresponding RPR data packet
CN1791049A (en) * 2005-12-16 2006-06-21 杭州华为三康技术有限公司 Looped network and its protecting method
CN101001192A (en) * 2007-01-17 2007-07-18 华为技术有限公司 Method, system and equipment for protecting ring network link
CN101212366A (en) * 2007-12-21 2008-07-02 杭州华三通信技术有限公司 Failure detection method, system, and main node in Ethernet loop network

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012149856A1 (en) * 2011-08-12 2012-11-08 华为技术有限公司 Method and device for detecting and handling link failure in rrpp ring network
CN102739445A (en) * 2012-06-18 2012-10-17 中兴通讯股份有限公司 Method and system for rapidly positioning faults of looped network
CN102739445B (en) * 2012-06-18 2017-12-22 中兴通讯股份有限公司 A kind of method and system for rapidly positioning faults of looped network
CN102882725A (en) * 2012-09-29 2013-01-16 北京东土科技股份有限公司 Method and system for implementation of network management of CPU (central processing unit)-free equipment networking
CN102882725B (en) * 2012-09-29 2015-06-24 北京东土科技股份有限公司 Method and system for implementation of network management of CPU (central processing unit)-free equipment networking
CN112367196A (en) * 2020-10-30 2021-02-12 锐捷网络股份有限公司 Method and device for detecting network communication fault and electronic equipment
CN114500117A (en) * 2022-04-15 2022-05-13 北京全路通信信号研究设计院集团有限公司 Looped network Master configuration error judgment method and device based on looped network storm flow characteristics
CN114500117B (en) * 2022-04-15 2022-07-05 北京全路通信信号研究设计院集团有限公司 Looped network Master configuration error judgment method and device based on looped network storm flow characteristics

Also Published As

Publication number Publication date
WO2012149856A1 (en) 2012-11-08

Similar Documents

Publication Publication Date Title
CN102244600A (en) Method and device for detecting and processing link failure in RRPP (Rapid Ring Protect Protocol) ring network
CN101127674B (en) Initialization method for transmission nodes of Ethernet loop network system
CN101558609B (en) Method, device and system for ring protection
CN101022390B (en) Method, system and equipment for protecting double-return switch-in RRPP loop network
CN101232428B (en) Ethernet loop protection method and apparatus
CN101127675A (en) Initialization method for main nodes of Ethernet loop network system
CN101262401B (en) A method for realizing network recovery in loop network
CN101640622B (en) Ethernet ring net protection method and transit node
CN101753397B (en) System, method and device for rapidly self-healing Ethernet ring
CN101958831B (en) Ethernet ring network failure recovery method, Ethernet ring network and switching equipment
CN101340346A (en) Ring control method and apparatus of Ethernet looped network system
CN103843286A (en) Triggering a redundant router master/backup status change based on switch connectivity
CN100444558C (en) Method for backup of main station point and backup station point
CN100479411C (en) Processing method for node link switching of the distributed system and its device
CN101610193A (en) Ethernet ring network finds and generates the method for ring automatically
CN101127673A (en) Ethernet automatic protection switching method
CN101499949B (en) Failure recovery processing method in intersected ring network, node and intersected ring network
CN101426031A (en) Novel method and apparatus for Ether ring network address updating
CN102480409A (en) Method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, RRPP loop and device
CN100450025C (en) Ethernet environment protection system and method
EP2533470B1 (en) Method and equipment for preventing repeated refreshing of ethernet ring node address table
CN101641915B (en) Method for reconfiguring a communication network
CN102136960A (en) Method and device for controlling switch ports
CN102638408A (en) Method for sending topology change (TC) message and method and device for refreshing forwarding table
CN106789521B (en) A kind of ring network fault reverse method and link point

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20111116