CN104486190A - Method for Ethernet multi-network switching - Google Patents

Method for Ethernet multi-network switching Download PDF

Info

Publication number
CN104486190A
CN104486190A CN201410806666.6A CN201410806666A CN104486190A CN 104486190 A CN104486190 A CN 104486190A CN 201410806666 A CN201410806666 A CN 201410806666A CN 104486190 A CN104486190 A CN 104486190A
Authority
CN
China
Prior art keywords
node
ethernet
interface
host node
exception message
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.)
Granted
Application number
CN201410806666.6A
Other languages
Chinese (zh)
Other versions
CN104486190B (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.)
Beijing Sanzhonghuaxing Electronic Technology Co ltd
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201410806666.6A priority Critical patent/CN104486190B/en
Publication of CN104486190A publication Critical patent/CN104486190A/en
Application granted granted Critical
Publication of CN104486190B publication Critical patent/CN104486190B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method for Ethernet multi-network switching. The method comprises the following steps: a main node in an Ethernet loop configures a plurality of Ethernet automatic protection switching examples of a looped network; the main node sends detection messages with example IDs (Identities) to intermediate nodes at the downstream of the loop, and the intermediate nodes transmit the detection messages according to a loop sequence; when the detection massage transmitted by the certain intermediate node discovers that a business link is abnormal or the link bandwidth exceeds a preset threshold value, the intermediate node reports the abnormal messages to the main node or an aggregation node, wherein the abnormal messages contain the example IDs as well as abnormity occurrence interfaces; the main node or the aggregation node is used for looped network switching. According to the method, by the utilization of example concepts based on Ethernet automatic protection switching, under the situation that two looped networks, even multiple looped networks occur, a method for Ethernet looped network switching can be adopted, so that the occurrence of the multiple looped networks is avoided, and the protection capacity of the looped network is improved.

Description

The method that the many nets of Ethernet switch
Technical field
The present invention relates to the automatic resist technology of a kind of Ethernet, be specifically related to the method that the many nets of a kind of Ethernet switch.
Background technology
EAPS(Ethernet Automatic Protection Switching; Ethernet automatic protection switching) be the Ethernet automatic protection switching scheme with considerable influence that IEEE issued in 2003, but the protected field of EAPS is confined in the scope of a belt networking.The operation principle of this technology: EAPS ring is made up of a host node and several transmission nodes; As shown in Figure 1: loop network control completes primarily of host node, host node is the promoter of looped network status poll, is also the policymaker of executable operations after network topology state changes; Transmission node is responsible for monitoring the link-state change direct-connected with it, if break down, is reported to host node.
As shown in Figure 1, be the operation principle of EAPS, a typical EAPS ring is just equal to the topology of a physical rings.Wherein telephone net node R1 ', R2 ', R3 ', R4 ' constitute ethernet ring network, and wherein R1 ' is host node, and all the other nodes are transmission node, and the M interface of R1 ' is main interface, and S interface is time interface.Under Complete state, host node R1 ' logically opens main interface M, and obturation, from interface S, does not allow from interface S forwarding messages, ensures looped network chain rupture in logic, avoids traffic loops.When link occurs fault, the S interface of R1 ' is decontroled, and notifies other node updates mac address tables.
But in actual networking, may there is the situation of multiple loop, current EAPS agreement cannot process the situation that there is multiple physical rings, and the service condition of EAPS agreement is more single, cannot use in the environment of the multiple loop of reality.
Summary of the invention
The invention provides the method that the many nets of a kind of Ethernet switch, by ethernet ring network changing method, avoid the outlet of multi-ring network, improve the protective capability of looped network.
For achieving the above object, the invention provides the method that the many nets of a kind of Ethernet switch, be characterized in, the method comprises:
Host node in Ethernet Circle configures the example of the Ethernet automatic protection switching of several looped networks;
Host node sends with the probe messages of example ID to the intermediate node in loop downstream, and intermediate node transmits probe messages according to loop sequences;
When certain intermediate node probe messages finds that service link exception or link bandwidth exceed default threshold value, intermediate node reports exception message to host node or aggregation node; Exception message comprises example ID and abnormal interface occurs;
Host node or aggregation node carry out looped network switching.
When above-mentioned host node completes exemplary configuration, the ownership of configuration node simultaneously.
In the ownership of above-mentioned configuration node, a main interface only belongs to an example, and a standby interface belongs to one or several examples.
The transmission probe messages of above-mentioned host node cycle.
Above-mentioned intermediate node periodically transmits probe messages.
The standard of above-mentioned service link exception is that link sends fault.
When normal the or link bandwidth of above-mentioned service link is lower than the threshold value preset, intermediate node continues cyclical transmission probe messages.
Above-mentioned when reporting exception message, often report to an intermediate node, namely detect this intermediate node and whether belong to aggregation node, if then carry out looped network switching, then continue if not to report exception message.
Above-mentioned aggregation node belongs to the different and type that outgoing interface is identical of the incoming interface of exception message; When aggregation node receives exception message, closed by incoming interface, exception message is reported to host node, and namely host node opens spare interface.
Above-mentioned aggregation node belongs to the identical and type that outgoing interface is different of the incoming interface of exception message; When aggregation node receives exception message, then continue to report exception message to host node;
Host node checks the whether multiplexing spare interface of Multi-instance according to example ID; If so, then Multi-instance in the loop between certain section of link share host node, host node opens spare interface; If not, then Multi-instance in the loop between certain section of link sharing occur abnormal, host node opens spare interface.
The method that the many nets of Ethernet of the present invention switch is compared with the Ethernet loop network control of prior art; its advantage is; the present invention utilizes the instance concepts based on Ethernet automatic protection switching; can at appearance two looped network; even when multi-ring network; the method adopting Ethernet looped network to switch, avoids the appearance of multi-ring network, improves the protective capability of looped network.
Accompanying drawing explanation
Fig. 1 is prior art Ethernet looped network schematic diagram;
Fig. 2 is many physics looped network schematic diagram;
Fig. 3 is the flow chart of the method that the many nets of Ethernet of the present invention switch;
Fig. 4 is multi-ring network switching architecture figure of the present invention.
Embodiment
Below in conjunction with accompanying drawing, further illustrate specific embodiments of the invention.
As shown in Figure 2, Ethernet looped network there will be multiple physics loop, is respectively: the first loop: node R 1 to node R 2 to node R 3 to node R 4; Second loop: node R 1 to node R 2 to node R 3 to node R 1.Each node is the router in looped network.When actual conditions exist topology as shown in Figure 2, current EAPS cannot accomplish Loop Protection.
In order to realize the Loop Protection of Fig. 2 topology, the invention discloses the method that the many nets of a kind of Ethernet switch:
First, propose the instance concepts based on EAPS, each interface of each node can belong to Multi-instance, if but the main interface of this interface as host node time, its interface can only belong to an example.Any node all can carry example ID when transmission probe messages, and when detection is broken down time, the fault message of transmission also will carry example ID.
The EAPS example ID of the first loop (R1-R2-R3-R1) is 1; The example ID of the second loop (R1-R2-R3-R4-R1) is 2; Time the interface S5 supposing in node R 3 breaks down, node R 3 sends fault message to node R 1, carries example ID 2 to node R 1.Spare interface S2, according to example ID, opens by node R 1, keeps link unimpeded, can reach node R 4.
As shown in Figure 3, be the embodiment of the method that the many nets of a kind of Ethernet being applicable to multiple physics loop shown in Fig. 2 switch, the method includes the steps of:
Step 1, when there is multi-ring network (two looped networks), user can configure the EAPS example of multiple looped network by host node.When host node completes exemplary configuration, the ownership of configuration node simultaneously.In the ownership of configuration node, a main interface only belongs to an example, and a standby interface belongs to one or several examples.
The intermediate node to loop downstream of step 2, host node cycle sends the probe messages with example ID.Intermediate node then periodically transmits probe messages according to loop sequences.
Step 3, judge that certain intermediate node probe messages finds that whether service link exception or link bandwidth exceed default link bandwidth and uses threshold values, if so, then intermediate node reports exception message to host node or aggregation node; Exception message comprises example ID and abnormal interface occurs, and jumps to step 4; If not, then normal the or link bandwidth of service link is lower than the threshold value preset, and jump to step 2, intermediate node continues cyclical transmission probe messages.
Wherein, the standard of service link exception is that link sends fault.
Step 4, host node or aggregation node (i.e. the convergent point of multiple interface) carry out looped network switching.
Step 4.1, when reporting exception message, often report to an intermediate node, namely detect this intermediate node and whether belong to aggregation node, if then carry out looped network switching, jump to step 4.2, then continue if not to report exception message, and redirect return step 4.1 continue detect intermediate node whether belong to aggregation node.
Step 4.2, aggregation node are divided into A, B two class: category-A is the different and type that outgoing interface is identical of the incoming interface of exception message; Category-B is that the incoming interface of exception message is identical and the type that outgoing interface is different.
When aggregation node belongs to category-A (two incoming interfaces of exception message are different and type that outgoing interface is identical), when aggregation node receives exception message, namely on this aggregation node, carry out the switching of looped network, two different incoming interfaces are closed by aggregation node, exception message is reported to host node, and namely host node opens spare interface.
When aggregation node belongs to category-B (two of exception message incoming interface is identical and the type that outgoing interface is different), when aggregation node receives exception message, then aggregation node continues to report exception message to host node, and host node checks two whether multiplexing spare interface of example according to example ID; If so, then two examples in the loop between certain section of link share last host node, host node opens spare interface; If not, then two examples in the loop between certain section of link sharing occur abnormal, host node opens spare interface.
As shown in Figure 4, the invention also discloses a kind of Ethernet many nets switched system, this system mainly comprises: EAPS exemplary configuration module, business detecting module, link circuit resource detecting module, link switching module.
EAPS exemplary configuration module is in order to distinguish each different loop; This module is mainly configured EAPS example on the primary node, and when an interface is main interface time, it can only belong to an example; But time how an interface is spare interface, it can belong to multiple EAPS example.
Whether business detecting module is normal in order to comprehensive sounding; This module is mainly used in each router node, sends the whether normal message of comprehensive sounding link periodically downwards, if time the business that detects is abnormal, with regard to reporting fault message, and carries EAPS example ID; When business is normal, continue periodically to send probe messages.
Link circuit resource detecting module is in order to the occupation condition of detecting link; This module is mainly used in periodically sending probe messages, whether exceedes to detect link bandwidth service condition the link bandwidth use threshold values pre-set.
Link switching module, in order to after receiving fault and reporting message, according to EAPS example ID, is closed standby port or opens standby port.When host node is after the message receiving service exception or resource exception, according to example ID, spare interface is carried out to the module of handover operation.
Although content of the present invention has done detailed introduction by above preferred embodiment, will be appreciated that above-mentioned description should not be considered to limitation of the present invention.After those skilled in the art have read foregoing, for multiple amendment of the present invention and substitute will be all apparent.Therefore, protection scope of the present invention should be limited to the appended claims.

Claims (10)

1. a method for the many net switchings of Ethernet, it is characterized in that, the method comprises:
Host node in Ethernet Circle configures the example of the Ethernet automatic protection switching of several looped networks;
Host node sends with the probe messages of example ID to the intermediate node in loop downstream, and intermediate node transmits probe messages according to loop sequences;
When certain intermediate node probe messages finds that service link exception or link bandwidth exceed default threshold value, intermediate node reports exception message to host node or aggregation node; Exception message comprises example ID and abnormal interface occurs;
Host node or aggregation node carry out looped network switching.
2. the method for the many net switchings of Ethernet as claimed in claim 1, is characterized in that, when described host node completes exemplary configuration, and the ownership of configuration node simultaneously.
3. the method for the many net switchings of Ethernet as claimed in claim 2, it is characterized in that, in the ownership of described configuration node, a main interface only belongs to an example, and a standby interface belongs to one or several examples.
4. the method for the many net switchings of Ethernet as claimed in claim 1, is characterized in that, the transmission probe messages of described host node cycle.
5. the method for the many net switchings of Ethernet as claimed in claim 1, it is characterized in that, described intermediate node periodically transmits probe messages.
6. the method for the many net switchings of Ethernet as claimed in claim 1, is characterized in that, the standard of described service link exception is that link sends fault.
7. the method that the many nets of the Ethernet as described in claim 1 or 6 switch, is characterized in that, when the normal or link bandwidth of described service link is lower than the threshold value preset, intermediate node continues cyclical transmission probe messages.
8. the method that switches of the many nets of Ethernet as claimed in claim 1, is characterized in that, described in when reporting exception message, often report to an intermediate node, namely detect this intermediate node and whether belong to aggregation node, if then carry out looped network switching, then continue if not to report exception message.
9. the method that switches of the many nets of Ethernet as claimed in claim 1, is characterized in that, described aggregation node belongs to the different and type that outgoing interface is identical of the incoming interface of exception message; When aggregation node receives exception message, closed by incoming interface, exception message is reported to host node, and namely host node opens spare interface.
10. the method that switches of the many nets of Ethernet as claimed in claim 1, is characterized in that, described aggregation node belongs to the identical and type that outgoing interface is different of the incoming interface of exception message; When aggregation node receives exception message, then continue to report exception message to host node;
Host node checks the whether multiplexing spare interface of Multi-instance according to example ID; If so, then Multi-instance in the loop between certain section of link share host node, host node opens spare interface; If not, then Multi-instance in the loop between certain section of link sharing occur abnormal, host node opens spare interface.
CN201410806666.6A 2014-12-23 2014-12-23 Ethernet multi-network switching method Active CN104486190B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410806666.6A CN104486190B (en) 2014-12-23 2014-12-23 Ethernet multi-network switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410806666.6A CN104486190B (en) 2014-12-23 2014-12-23 Ethernet multi-network switching method

Publications (2)

Publication Number Publication Date
CN104486190A true CN104486190A (en) 2015-04-01
CN104486190B CN104486190B (en) 2020-02-18

Family

ID=52760696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410806666.6A Active CN104486190B (en) 2014-12-23 2014-12-23 Ethernet multi-network switching method

Country Status (1)

Country Link
CN (1) CN104486190B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897507A (en) * 2016-03-31 2016-08-24 杭州数梦工场科技有限公司 Node equipment state detection method and node equipment state detection device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345683A (en) * 2007-07-11 2009-01-14 中兴通讯股份有限公司 Protocol packet transmission control method of Ethernet automatic protection switch system
CN101499947A (en) * 2008-02-01 2009-08-05 杭州华三通信技术有限公司 Arbitrarily topological intersected ring network protecting method, node and intersected ring network
US20090316571A1 (en) * 2008-06-20 2009-12-24 Alcatel Lucent Loop Prevention Mechanism for Ethernet Ring Protection
CN101640646A (en) * 2009-09-01 2010-02-03 中兴通讯股份有限公司 Protection reversion method and device of Ethernet ring network
CN101662421A (en) * 2008-08-28 2010-03-03 中兴通讯股份有限公司 Method and device for transmitting control message based on ethernet multi-ring network
CN101741670A (en) * 2008-11-27 2010-06-16 中兴通讯股份有限公司 Method for protecting multi-ring Ethernet
CN101753368A (en) * 2008-12-01 2010-06-23 中兴通讯股份有限公司 A kind of guard method of Ethernet
CN102170384A (en) * 2011-04-15 2011-08-31 杭州华三通信技术有限公司 Method for processing faults of intersected Ethernet ring and nodes
CN102307132A (en) * 2011-08-25 2012-01-04 杭州依赛通信有限公司 Virtual-private-network-based multi-instance Ethernet ring protection switching method
CN103190121A (en) * 2011-11-23 2013-07-03 华为技术有限公司 Ethernet ring protection switching method, node and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345683A (en) * 2007-07-11 2009-01-14 中兴通讯股份有限公司 Protocol packet transmission control method of Ethernet automatic protection switch system
CN101499947A (en) * 2008-02-01 2009-08-05 杭州华三通信技术有限公司 Arbitrarily topological intersected ring network protecting method, node and intersected ring network
US20090316571A1 (en) * 2008-06-20 2009-12-24 Alcatel Lucent Loop Prevention Mechanism for Ethernet Ring Protection
CN101662421A (en) * 2008-08-28 2010-03-03 中兴通讯股份有限公司 Method and device for transmitting control message based on ethernet multi-ring network
CN101741670A (en) * 2008-11-27 2010-06-16 中兴通讯股份有限公司 Method for protecting multi-ring Ethernet
CN101753368A (en) * 2008-12-01 2010-06-23 中兴通讯股份有限公司 A kind of guard method of Ethernet
CN101640646A (en) * 2009-09-01 2010-02-03 中兴通讯股份有限公司 Protection reversion method and device of Ethernet ring network
CN102170384A (en) * 2011-04-15 2011-08-31 杭州华三通信技术有限公司 Method for processing faults of intersected Ethernet ring and nodes
CN102307132A (en) * 2011-08-25 2012-01-04 杭州依赛通信有限公司 Virtual-private-network-based multi-instance Ethernet ring protection switching method
CN103190121A (en) * 2011-11-23 2013-07-03 华为技术有限公司 Ethernet ring protection switching method, node and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
侯建栋 等: ""基于G.8032的二层以太环网两点故障保护方案研究"", 《铁路计算机应用》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897507A (en) * 2016-03-31 2016-08-24 杭州数梦工场科技有限公司 Node equipment state detection method and node equipment state detection device
CN105897507B (en) * 2016-03-31 2019-09-17 杭州数梦工场科技有限公司 The condition detection method and device of node device

Also Published As

Publication number Publication date
CN104486190B (en) 2020-02-18

Similar Documents

Publication Publication Date Title
CN102077521B (en) Method and system for link aggregation
US10122618B2 (en) Path switching method and device
CN103001799B (en) Method and node for achieving redundancy on basis of chain network
CN109525445B (en) Link switching method, link redundancy backup network and computer readable storage medium
CN101399737A (en) Protection method and apparatus used for link convergence group of loop Ethernet
RU2505933C2 (en) Ethernet switch ring protection method and transit node
KR101103579B1 (en) A method for processing ether ring net message and an ether ring net protection system using the method
CN100454880C (en) Method and system of realizing rig network protection
EP3059905B1 (en) A method and apparatus for providing an uplink over an access ring
KR20090089385A (en) Hash-based multi-homing
CN101094190B (en) Method for transmitting protective controlled message in Ethernet ring net
KR20130055392A (en) Method and appratus for protection switching in point-to- multipoint network
CN102255757A (en) Link switching method and device
CN101340346A (en) Ring control method and apparatus of Ethernet looped network system
CN109462533B (en) Link switching method, link redundancy backup network and computer readable storage medium
CN104135417A (en) Quick recovery method for ethernet ring network link interruption and corresponding ethernet ring network
CN102916862B (en) Intelligent looped network dynamic protection method of industrial Ethernet switch
CN105530115A (en) Method and device for realizing operation management and maintenance function
CN101641915B (en) Method for reconfiguring a communication network
CN102957588A (en) Method and system for protecting looped network from broadcast storm
EP2858302B1 (en) Connectivity check method of service stream link, related apparatus and system
CN112995002B (en) Switch ring network design method, switch and storage medium
CN108616426B (en) Ring network and service data forwarding method
CN101557333B (en) Processing method of loop fault in dual-homing networking and node device
CN102812750B (en) Fault handling method, grouping conveying network and node in grouping conveying network

Legal Events

Date Code Title Description
C06 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
TR01 Transfer of patent right

Effective date of registration: 20201104

Address after: 318015 no.2-3167, zone a, Nonggang City, no.2388, Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Patentee after: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201620 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221116

Address after: 4-2, Floor 2, Building 1, No. 37, Chaoqian Road, Changping District, Beijing 102200

Patentee after: BEIJING SANZHONGHUAXING ELECTRONIC TECHNOLOGY CO.,LTD.

Address before: 318015 no.2-3167, area a, nonggangcheng, 2388 Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Patentee before: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right