CN104486190B - Ethernet multi-network switching method - Google Patents

Ethernet multi-network switching method Download PDF

Info

Publication number
CN104486190B
CN104486190B CN201410806666.6A CN201410806666A CN104486190B CN 104486190 B CN104486190 B CN 104486190B CN 201410806666 A CN201410806666 A CN 201410806666A CN 104486190 B CN104486190 B CN 104486190B
Authority
CN
China
Prior art keywords
node
ethernet
abnormal
interface
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.)
Active
Application number
CN201410806666.6A
Other languages
Chinese (zh)
Other versions
CN104486190A (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
Phicomm Shanghai 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 Phicomm Shanghai Co Ltd filed Critical Phicomm Shanghai 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

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method for switching Ethernet multiple networks, which comprises the following steps: a main node in an Ethernet loop is configured with a plurality of Ethernet automatic protection switching examples of the ring network; the main node sends a detection message with an instance ID to an intermediate node at the downstream of the loop, and the intermediate node transmits the detection message according to the loop sequence; when a certain intermediate node detects that a service link is abnormal or the link bandwidth exceeds a preset threshold value, the intermediate node reports an abnormal message to a main node or a sink node; the abnormal message comprises an instance ID and an interface with abnormality; and the main node or the sink node performs ring network switching. The invention utilizes the example concept based on the Ethernet automatic protection switching, can adopt the Ethernet ring network switching method under the condition that two ring networks or even multiple ring networks appear, avoids the appearance of multiple ring networks, and improves the protection capability of the ring networks.

Description

Ethernet multi-network switching method
Technical Field
The invention relates to an Ethernet automatic protection technology, in particular to a method for Ethernet multi-network switching.
Background
EAPS (Ethernet Automatic Protection Switching) is an Ethernet Automatic Protection Switching scheme with a large impact released by IEEE in 2003, but the Protection domain of EAPS is limited to the scope of a ring network. The working principle of the technology is as follows: the EAPS ring consists of a main node and a plurality of transmission nodes; as shown in fig. 1: the ring network control is mainly completed by a main node, and the main node is an initiator of ring network state polling and also a decision maker for executing operation after the network topology state is changed; the transmission node is responsible for monitoring the state change of a link directly connected with the transmission node, and if a fault occurs, the state change is reported to the main node.
As shown in fig. 1, a typical EAPS ring is equivalent to a physical ring topology for the working principle of EAPS. The switch nodes R1 ', R2', R3 'and R4' form an ethernet ring network, wherein R1 'is a master node, the rest nodes are transmission nodes, the M interface of R1' is a master interface, and the S interface is a secondary interface. In Complete state, the master node R1' logically opens the master interface M, blocks the slave interface S, and does not allow the slave interface S to forward messages, thereby ensuring logical link failure in the ring network and avoiding service loops. When the link fails, the S interface of R1' is released, informing other nodes to update the MAC address table.
However, in an actual networking, there may be a plurality of loops, the current EAPS protocol cannot handle the case where there are a plurality of physical loops, and the EAPS protocol is relatively single in use and cannot be used in an environment of a plurality of actual loops.
Disclosure of Invention
The invention provides a method for switching Ethernet multiple networks, which avoids the outgoing of multiple ring networks and improves the protection capability of the ring networks by the Ethernet ring network switching method.
In order to achieve the above object, the present invention provides a method for ethernet multi-network handover, which is characterized in that the method comprises:
a main node in an Ethernet loop is configured with a plurality of Ethernet automatic protection switching examples of the ring network;
the main node sends a detection message with an instance ID to an intermediate node at the downstream of the loop, and the intermediate node transmits the detection message according to the loop sequence;
when a certain intermediate node detects that a service link is abnormal or the link bandwidth exceeds a preset threshold value, the intermediate node reports an abnormal message to a main node or a sink node; the abnormal message comprises an instance ID and an interface with abnormality;
and the main node or the sink node performs ring network switching.
And when the master node completes the configuration of the example, the home of the node is configured at the same time.
In the attribution of the configuration node, one main interface only belongs to one example, and one standby interface belongs to one or a plurality of examples.
And the main node periodically sends a detection message.
The intermediate node periodically transmits the detection message.
The standard of the service link abnormity is link transmission failure.
And when the service link is normal or the link bandwidth is lower than a preset threshold value, the intermediate node continues to periodically transmit the detection message.
When reporting the abnormal message, every time reporting to an intermediate node, whether the intermediate node belongs to the sink node is detected, if so, ring network switching is carried out, and if not, the abnormal message is continuously reported.
The sink node belongs to the type that the input interfaces of the abnormal messages are different and the output interfaces of the abnormal messages are the same; when the sink node receives the abnormal message, the access interface is closed, the abnormal message is reported to the main node, and the main node opens the standby interface.
The sink nodes belong to the types that the input interfaces of the abnormal messages are the same and the output interfaces are different; when the sink node receives the abnormal message, the sink node continues to report the abnormal message to the main node;
the main node checks whether the plurality of instances multiplex the standby interface according to the instance ID; if yes, sharing a certain section of link in the middle of the loop by the multiple instances to the main node, and opening the standby interface by the main node; if not, the multiple instances have abnormity in a certain section of link shared among the loops, and the main node opens the standby interface.
Compared with the Ethernet ring network control in the prior art, the Ethernet multi-network switching method has the advantages that the Ethernet ring network switching method is adopted based on the example concept of Ethernet automatic protection switching, and under the condition that two ring networks or even multiple ring networks appear, the Ethernet ring network switching method is adopted, the multiple ring networks are avoided, and the protection capability of the ring networks is improved.
Drawings
FIG. 1 is a schematic diagram of a prior art Ethernet ring network;
FIG. 2 is a schematic diagram of a multi-physical ring network;
FIG. 3 is a flow chart of a method for Ethernet multi-network switching in accordance with the present invention;
FIG. 4 is a diagram of a multi-ring network switching architecture according to the present invention.
Detailed Description
The following further describes specific embodiments of the present invention with reference to the drawings.
As shown in fig. 2, the ethernet ring network may have a plurality of physical loops, which are respectively: a first loop circuit: node R1 to node R2 to node R3 to node R4; a second loop circuit: node R1 to node R2 to node R3 to node R1. Each node is a router in the ring network. Current EAPS cannot do loop protection when the actual situation exists with a topology as shown in fig. 2.
In order to realize the loop protection of the topology of fig. 2, the invention discloses a method for switching multiple networks of an ethernet network, which comprises the following steps:
first, an example concept based on EAPS is proposed, each interface of each node can belong to multiple examples, but if the interface is used as a master interface of a master node, the interface can only belong to one example. Any node will carry instance ID when sending detection message, and when detecting fault, the sent fault message also carries instance ID.
EAPS instance ID of the first loop (R1-R2-R3-R1) is 1; example ID of the second loop (R1-R2-R3-R4-R1) is 2; when the interface S5 on the node R3 is assumed to have a fault, the node R3 sends a fault message to the node R1, carrying the instance ID2 to the node R1. Node R1 opens alternate interface S2 according to the instance ID, keeping the link clear, and may reach node R4.
Fig. 3 shows an embodiment of a method for ethernet multi-network switching suitable for multiple physical loops shown in fig. 2, the method comprising the following steps:
step 1, under the condition that a plurality of ring networks (two ring networks) exist, a user can configure EAPS instances of the plurality of ring networks by a master node. And when the master node completes the configuration of the instance, the home of the node is configured at the same time. In the attribution of the configuration node, one main interface only belongs to one example, and one standby interface belongs to one or a plurality of examples.
And step 2, the main node periodically sends a detection message with the instance ID to an intermediate node at the downstream of the loop. And the intermediate node periodically transmits the detection message according to the loop sequence.
Step 3, judging whether a certain intermediate node detection message finds that a service link is abnormal or the link bandwidth exceeds a preset link bandwidth use threshold, if so, reporting the abnormal message to a main node or a sink node by the intermediate node; the abnormal message contains the instance ID and the interface with the abnormality, and the step 4 is skipped; if not, the service link is normal or the link bandwidth is lower than the preset threshold, the step 2 is skipped, and the intermediate node continues to periodically transmit the detection message.
The standard of the service link abnormity is that the link sends a fault.
And 4, performing ring network switching by the main node or the sink node (namely the sink point of the plurality of interfaces).
And 4.1, when reporting the abnormal message, detecting whether the intermediate node belongs to the sink node or not every time when reporting the abnormal message to the intermediate node, if so, performing ring network switching, skipping to the step 4.2, if not, continuing to report the abnormal message, and skipping back to the step 4.1 to continuously detect whether the intermediate node belongs to the sink node or not.
Step 4.2, the sink nodes are classified into A, B types: the type A is the type that the input interfaces of the abnormal messages are different and the output interfaces are the same; the type B is the type that the input interfaces of the abnormal messages are the same and the output interfaces are different.
When the sink node receives the abnormal message, namely the switching of the ring network is performed on the sink node, the sink node closes the two different input interfaces, reports the abnormal message to the main node, and the main node opens the standby interface.
Under the condition that the sink node belongs to a B type (the two input interfaces of the abnormal message are the same, and the output interfaces of the abnormal message are different), when the sink node receives the abnormal message, the sink node continues to report the abnormal message to the main node, and the main node checks whether the two instances multiplex the standby interface or not according to the instance ID; if yes, sharing a certain section of link in the middle of the loop by the two examples to the last main node, and opening a standby interface by the main node; if not, the two instances have abnormity in a certain section of link shared by the loop, and the main node opens the standby interface.
As shown in fig. 4, the present invention also discloses an ethernet multi-network switching system, which mainly comprises: an EAPS instance configuration module, a service detection module, a link resource detection module and a link switching module.
The EAPS instance configuration module is used for distinguishing different loops; the module is mainly used for configuring EAPS instances on a main node, and when one interface is a main interface, the EAPS instances can only belong to one instance; but it may belong to multiple EAPS instances when one interface is a backup interface.
The service detection module is used for detecting whether the service is normal or not; the module is mainly used for each router node, periodically and downwards sends a message for detecting whether a service link is normal, and reports a fault message and carries an EAPS instance ID if the abnormal service is detected; and when the service is normal, continuously and periodically sending the detection message.
The link resource detection module is used for detecting the resource occupation condition of the link; the module is mainly used for periodically sending detection messages to detect whether the use condition of the link bandwidth exceeds a preset link bandwidth use threshold value.
And the link switching module is used for closing the standby port or opening the standby port according to the EAPS instance ID after receiving the fault reporting message. And when the main node receives the message with abnormal service or resource, the module performs switching operation on the standby interface according to the instance ID.
While the present invention has been described in detail with reference to the preferred embodiments, it should be understood that the above description should not be taken as limiting the invention. Various modifications and alterations to this invention will become apparent to those skilled in the art upon reading the foregoing description. Accordingly, the scope of the invention should be determined from the following claims.

Claims (9)

1. A method for ethernet multi-network handover, the method comprising:
a main node in an Ethernet loop is configured with a plurality of Ethernet automatic protection switching examples of the ring network;
the main node sends a detection message with an instance ID to an intermediate node at the downstream of the loop, and the intermediate node transmits the detection message according to the loop sequence;
when a certain intermediate node detects that a service link is abnormal or the link bandwidth exceeds a preset threshold value, the intermediate node reports an abnormal message to a main node or a sink node; the abnormal message comprises an instance ID and an interface with abnormality;
the main node or the sink node switches the ring network;
the aggregation nodes belong to the types that the input interfaces of the abnormal messages are the same and the output interfaces of the abnormal messages are different; when the sink node receives the abnormal message, the sink node continues to report the abnormal message to the main node;
the main node checks whether the plurality of instances multiplex the standby interface according to the instance ID; if yes, sharing a certain section of link in the middle of the loop by the multiple instances to the main node, and opening the standby interface by the main node; if not, the multiple instances have abnormity in a certain section of link shared among the loops, and the main node opens the standby interface.
2. The method of ethernet multi-network switching according to claim 1, wherein the home of a node is configured at the same time when the primary node completes the instance configuration.
3. The method according to claim 2, wherein a primary interface belongs to only one instance and a backup interface belongs to one or several instances in the home of the configuration node.
4. The method for ethernet multi-network switching according to claim 1, wherein the master node periodically sends probe messages.
5. The method for ethernet multi-network switching according to claim 1, wherein the intermediate node periodically transmits a probe message.
6. The method of ethernet multi-network switching according to claim 1, wherein the criterion of the traffic link anomaly is a link transmission failure.
7. The Ethernet multi-network switching method according to claim 1 or 6, wherein the intermediate node continues to periodically transmit the probe packet when the traffic link is normal or the link bandwidth is lower than a preset threshold.
8. The method according to claim 1, wherein each time the report of the abnormal message is reported to an intermediate node, the intermediate node is detected whether it belongs to the sink node, if so, ring network switching is performed, otherwise, the abnormal message is continuously reported.
9. The method according to claim 1, wherein the aggregation node belongs to a type that an ingress interface of the abnormal message is different and an egress interface thereof is the same; when the sink node receives the abnormal message, the access interface is closed, the abnormal message is reported to the main node, and the main node opens the standby 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 CN104486190A (en) 2015-04-01
CN104486190B true 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)

Families Citing this family (1)

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

Citations (6)

* 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
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
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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9042216B2 (en) * 2008-06-20 2015-05-26 Alcatel Lucent Loop prevention mechanism for ethernet ring protection
CN101741670B (en) * 2008-11-27 2012-12-19 中兴通讯股份有限公司 Method for protecting multi-ring Ethernet
CN102307132A (en) * 2011-08-25 2012-01-04 杭州依赛通信有限公司 Virtual-private-network-based multi-instance Ethernet ring protection switching method
CN103190121B (en) * 2011-11-23 2016-10-05 华为技术有限公司 Ethernet ring protection switching reverse method, node and system

Patent Citations (6)

* 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
CN101662421A (en) * 2008-08-28 2010-03-03 中兴通讯股份有限公司 Method and device for transmitting control message based on ethernet multi-ring network
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

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
CN104486190A (en) 2015-04-01

Similar Documents

Publication Publication Date Title
EP2304904B1 (en) Method and system for link aggregation
US8213296B2 (en) Link aggregation protection
CN101652963B (en) Method for reconfiguring a communications network
US10122618B2 (en) Path switching method and device
CN100454880C (en) Method and system of realizing rig network protection
CN101873244B (en) Automatic multi-loop protection method
CN101399737A (en) Protection method and apparatus used for link convergence group of loop Ethernet
CN103607293B (en) A kind of flow rate protecting method and equipment
CN101854283A (en) Communication method and equipment of RPR (Resilient Packet Ring) looped network
CN103001799A (en) Method and node for achieving redundancy on basis of chain network
CN102255757A (en) Link switching method and device
CN104135417A (en) Quick recovery method for ethernet ring network link interruption and corresponding ethernet ring network
EP2858302B1 (en) Connectivity check method of service stream link, related apparatus and system
CN112995002B (en) Switch ring network design method, switch and storage medium
CN102957588A (en) Method and system for protecting looped network from broadcast storm
CN101641915A (en) Method for reconfiguring a communication network
CN104486190B (en) Ethernet multi-network switching method
EP3139527B1 (en) Protection switching method, node and control device
CN102238067A (en) Switching method and device on Rapid Ring Protection Protocol (RRPP) ring
CN101145981B (en) Loop detection and switching method of multi-loop Ethernet
CN103840965B (en) Method for enhancing quick fault convergence in RSTP
CN108322375B (en) Ethernet ring protection switching method, node and system
EP2953299B1 (en) Protection switching method, system and node
CN106059824B (en) fault processing method and device
CN106341297B (en) Networking method and device for monitoring ring 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