CN102215165B - A kind of message processing method of tangent ring networks and Ethernet switch - Google Patents

A kind of message processing method of tangent ring networks and Ethernet switch Download PDF

Info

Publication number
CN102215165B
CN102215165B CN201110139605.5A CN201110139605A CN102215165B CN 102215165 B CN102215165 B CN 102215165B CN 201110139605 A CN201110139605 A CN 201110139605A CN 102215165 B CN102215165 B CN 102215165B
Authority
CN
China
Prior art keywords
upper port
ring
ring upper
ethernet
tangent
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
CN201110139605.5A
Other languages
Chinese (zh)
Other versions
CN102215165A (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.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech 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 Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201110139605.5A priority Critical patent/CN102215165B/en
Publication of CN102215165A publication Critical patent/CN102215165A/en
Application granted granted Critical
Publication of CN102215165B publication Critical patent/CN102215165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention provides a kind of message processing method of tangent ring networks, it is applied on the tangent node of tangent ring networks, two ethernet ring networks are configured with identical service VLAN and control VLAN, tangent node comprises the first and second groups of ring upper port be positioned on the first and second ethernet ring network and is positioned at; The method comprises: when receiving from certain ring upper port of certain group ring upper port the control message that certain looped network sends over, sent by this control message from another ring upper port this group ring upper port; When receiving known unicast Ethernet service message from any one ring upper port, the mac address forwarding table item searched in tangent node forwards this service message.The present invention can make tangent ring networks support two layers of networking application, provides user's networking more flexibly to select.

Description

A kind of message processing method of tangent ring networks and Ethernet switch
Technical field
The present invention relates to ethernet technology, particularly relate to a kind of ethernet ring network technology.
Background technology
Ethernet is popular double layer network technology, and it is widely used among the network of enterprise network and operator.Ethernet adopts the mechanism of source address learning guide message repeating, and the mode that the message for destination address the unknown carries out broadcasting in broadcast domain processes.Broadcast domain can reduce by the technology (VLAN) of VLAN.But nonetheless, in a broadcast domain, still need the generation preventing broadcast storm.Spanning-Tree Protocol (STP) is a kind of common technology preventing Ethernet broadcast storm, however the convergence time of Spanning-Tree Protocol and for the protection of business on network still have its limitation part.For this reason, industry develops various ethernet ring network technology.Ethernet ring network technology reaches broadcast storm by the port blocking/open some node under normal/malfunction and suppresses and the protection simultaneously providing forward-path on network.
FRRP (Fast Ring Recovery Protocol, fast looped network recovers agreement) be the link layer protocol being specifically applied to Ethernet ring, the network storm that it can prevent data loopback from causing when Ethernet ring is complete, can start again backup link fast to ensure the largest connected property of Ethernet ring when link failure.FRRP, while realizing link load sharing, further provides than STP convergence rate faster.Ethernet ring network can be divided into three types as shown in Figure 1 according to topology.Other Ethernet articulating topologys can be considered as being made up of above three kinds of basic topologies.
Please refer to Fig. 2, tangent rings refers between two rings only has a common node, needs to configure a different FRRP territory for each ring in prior art.Four equipment in Fig. 2 on ring 1 are all configured to belong to territory 1, have identical control VLAN and protection VLAN in territory 1.Device A is configured to the host node of ring 1, and other are transmission node; And three equipment on ring 2 are configured to belong to territory 2, in territory 2, have identical control VLAN and protect VLAN, Device E to be host node, other are transmission node.So, loop prevention and the fast quick-recovery of link failure of looped network can be realized respectively to the ring in the ring in territory 1 and territory 2.But still there is certain weak point in above-mentioned networking plan: the intercommunication of the appliance services in two territories must arrange VLAN Interface by the equipment in ring joining, intercommunication could be realized at three layers, that is directly cannot carry out double layer intercommunication between two rings.Owing to directly cannot carry out double layer intercommunication, the network plannings such as the VLAN of user will be subject to larger restriction.
Summary of the invention
The defect of tangent ring networks two layers of networking application cannot be provided to solve prior art, the invention provides a kind of message processing method of tangent ring networks, it is applied on the tangent node of tangent ring networks, wherein said tangent ring networks comprises two the first and second tangent ethernet ring networks, two ethernet ring networks are configured with identical service VLAN and control VLAN, described tangent node comprises the first and second groups of ring upper port laid respectively on the first and second ethernet ring network and is positioned at; Wherein, this comprises:
A, when receiving from certain ring upper port of first group of ring upper port the control message sended over from the first looped network, sends this control message from another ring upper port first group of ring upper port;
B, when receiving from certain ring upper port of second group of ring upper port the control message sended over from the second looped network, sends this control message from another ring upper port second group of ring upper port;
C, when receiving known unicast Ethernet service message from any one ring upper port, the mac address forwarding table item searched in tangent node forwards this service message.
Preferably, also comprise:
D, when receiving unknown unicast or broadcast Ethernet service message from any one ring upper port, is gone out this Ethernet service message broadcasting by other all ring upper port.
Preferably, also comprise: certain ring upper port UP or Down event detected, report this event with the form controlling message to the host node in affiliated ethernet ring network by another ring upper port in ring upper port group.
Preferably, also comprise: send for receiving user the switching command switching to crossing characteristic to this node, and respective enable intersects the processing capacity module of characteristic.
The present invention also provides a kind of Ethernet switch, it is applied in tangent ring networks as tangent node, wherein said tangent ring networks comprises two the first and second tangent ethernet ring networks, two ethernet ring networks are configured with identical service VLAN and control VLAN, described tangent node comprises the first and second groups of ring upper port laid respectively on the first and second ethernet ring network and is positioned at; It is characterized in that, this Ethernet switch comprises:
Controlling message process unit, during for receiving from certain ring upper port of first group of ring upper port the control message sended over from the first looped network, this control message being sent from another ring upper port first group of ring upper port; Or when receiving from certain ring upper port of second group of ring upper port the control message sended over from the second looped network, this control message is sent from another ring upper port second group of ring upper port; And
Service message processing unit, during for receiving known unicast Ethernet service message from any one ring upper port, the mac address forwarding table item searched in tangent node forwards this service message.
Preferably, when described service message processing unit is further used for receiving unknown unicast or broadcast Ethernet service message from any one ring upper port, by other all ring upper port, this Ethernet service message broadcasting is gone out.
Preferably, control message process unit, being further used for when certain ring upper port UP or Down event being detected, reporting this event with the form controlling message to the host node in affiliated ethernet ring network by another ring upper port in ring upper port group.
Preferably, also comprising: management auxiliary unit, send for receiving user the switching command switching to crossing characteristic to this node, and respective enable intersecting the processing capacity module of characteristic.
Accompanying drawing explanation
Fig. 1 is the various typical networking diagram of existing Ethernet looped network.
Fig. 2 is the networking diagram of existing a kind of typical ether tangent ring networks.
Fig. 3 is the networking diagram of tangent ring networks of the present invention.
Fig. 4 is the Message processing flow chart of the tangent node of the present invention.
Fig. 5 is the building-block of logic of the present invention as the Ethernet switch of tangent node.
Fig. 6 is the networking diagram of typical many rings intersecting ring network.
Embodiment
Consider in the application of current tangent ring networks two layers of networking application that more tangent rings cannot be provided, the present invention sets about solving the problem from Ethernet switch characteristic, and on the basis of dealing with problems, consider the device characteristics required for compatible existing intersecting ring network.
Please refer to the networking diagram of a kind of typical tangent ring networks of the present invention of Fig. 3, each node is Ethernet switch.Node ABCD forms the first ethernet ring network, and Node B EF forms the second ethernet ring network, and wherein Node B is the tangent node of two looped networks.In application scenarios of the present invention, two ethernet ring networks are configured with identical service VLAN (also referred to as protection VLAN) and control VLAN.Node D comprises the first and second groups of ring upper port laid respectively on the first and second ethernet ring network as tangent node.
It should be noted that, as stated in the Background Art in the application of looped network, all have the concept in territory at present, different territories correspond to different service VLAN and different control VLAN.That is different territories means different logical cyclic ring networks, and looped network can be divided into multiple territory and form looped network on multiple logical meaning, and just look like that LAN and VLAN is the same, it is self-explantory to those skilled in the art.Therefore the present invention is all applicable to the looped network on logical meaning and physical significance, and unless otherwise noted, ethernet ring network of the present invention is not limited to the looped network of physical significance.
Please refer to the flow chart of Fig. 3 and the building-block of logic of Fig. 4 switch.In the application scenarios of Fig. 2.Node D is the key of all process, does not need other node correspondences to make any change.The process of node D mainly comprises the following steps:
Step 102, when receiving from certain ring upper port of first group of ring upper port the control message sended over from the first looped network, sends this control message from another ring upper port first group of ring upper port;
Step 103, when receiving from certain ring upper port of second group of ring upper port the control message sended over from the second looped network, sends this control message from another ring upper port second group of ring upper port;
Above two steps are responsible for process by the control message process unit 11 in Fig. 3.Specifically, control message and can be divided into many types according to event type, on such as ring, the link of other node reports disconnects/recovers (Link Up/Down) event; Or the various list items carrying out autonomous node empty, delete or the event such as refreshing; Or on typical ring each host node (Node B of such as first ring or the node E of the second ring) send for switch fast hello packet.The most important effect controlling message prevents the generation of broadcast loops and provides maximum service message forward-path integrality.Because the VLAN of the control message of two looped networks is identical, therefore message may transmit by transannular net, and the host node of next door looped network may be caused like this to make error handle.Such as, if certain node of first ring Down falls, this hello packet that the secondary port of host node can be caused cannot to receive host node master port send from ring, in this case, host node should do opening action on secondary port, allow the message in service VLAN by (be block traffic VLAN under initial situation, allow the message in control VLAN to pass through).If but the hello packet of the second ring host node is passed on first ring, the secondary port of the host node of first ring can receive hello packet, now the secondary port error ground of the host node of first ring thinks that any fault does not occur first ring, opening action can not be done, forward-path integrality is lost, and therefore the forwarding of service message will be interrupted.
Just because of this, the present invention needs according to ring upper port group is that unit processes especially to control message.A kind of preferred mode, can by the mode of ACL by controls message up sending to CPU process, strictly controlled in the port group by the transmission of the software process on CPU by control message.Such as node D receives from a ring upper port control message that the first looped network comes, and another looped network upper port by the first looped network is transmitted.So the control message of each looped network will be constrained within this looped network.Although the situation shown in Fig. 1 is that two rings are tangent, it is evident that, the present invention can support that more rings are tangent, because the control message of each looped network can control to transmit in this ring by tangent node of the present invention.
Furthermore, please refer to the tangent node of step 104 self also may need to produce control message, the some ring upper port UP/Down in a such as ring upper port group, and such event needs to report to host node by controlling message.After host node receives this event, need the secondary port opening self, the business forward-path of such guarantee looped network complete, prevent the interruption of business.In general, host node now also may can send and control other nodes on the ring of message requirement refreshing list item, because the UP/Down of port changes forward-path, therefore each node needs the control message sent according to host node to do corresponding refresh activity to self forwarding-table item.
Step 105, when receiving known unicast Ethernet service message from any one ring upper port, the mac address forwarding table item searched in tangent node forwards this service message.
Step 106, when receiving unknown unicast or broadcast Ethernet service message from any one ring upper port, is gone out this Ethernet service message broadcasting by other all ring upper port.
Step 105 and step 106 are performed by the service message processing unit 12 in Fig. 3.Appropriate process has been carried out owing to controlling message.The process of service message becomes more simple.Forwarding-table item is all inquired about for all messages forward, when ring upper port receives unknown unicast or broadcasting packet, broadcast in other all ring upper port.Due to any time, two rings all have the situation that a port is in down or block traffic VLAN, in any case therefore for service message, all can not produce broadcast storm.
Please further refer to Fig. 4, a kind of typical intersecting ring network, under this application scenarios, the switch of crossed node supports edge port characteristic, and this characteristic is mainly in order to stop the formation of 8 word loops.In order to the application of this intersecting ring network of compatibility, Ethernet switch of the present invention also can implant this edge port characteristic, support complicated intersecting ring network application.Ethernet switch of the present invention provides the management compatibility that auxiliary unit realizes this characteristic.Please refer to the step 101 in Fig. 2, receive the switching command that user sends, if user wishes that the scene of this application is the tangent ring networks of two layers, then it sends the switching command switching to tangent characteristic to switch, after the switching command that management auxiliary unit reception user sends, the tangent characteristic functions module that corresponding unlatching the present invention is above-mentioned, enters the handling process of step 102-106.On the contrary, if user wishes that the scene of this application is intersecting ring network application, then need to send to switch the switching command switching to crossing characteristic, management auxiliary unit receives the switching command that user sends to be had, and respective enable intersects the processing capacity module of characteristic.Crossing characteristic refers in multiple intersecting ring network networking scenario, the function of the enable typical fringe node of the switch as crossed node, to prevent the generation of 8 word forward-path loops.
Please refer to Fig. 4, if the link between device A and equipment B disconnects, link between equipment C and equipment D also disconnects, so subring CDE and subring CDF can detect that ring has fault simultaneously, in this case, the host node device E of subring CDE and the host node device F of subring CDF can decontrol their secondary port, and they are placed in forwarding state.Like this, the 8 word loops as red line mark in figure will be formed.
In order to solve the problem of 8 word loops under this dual-homed subring, require the transmission Edgehello message of two the port timings of fringe node C in main ring.If assistant edge node D have received this Edgehello message within the given time, describe main ring ABDC and have at least a link to be intact to make subring be in good working condition; If assistant edge node D does not receive this Edgehello message within the given time, the link that describes main ring both sides all faults, now subring has not been good working condition, assistant edge node D can send Majorfail message to two edge ports (port one and port 2), if fringe node C have received this Majorfail message, its edge port (being positioned at the port one on ring and port 2) will be blocked.Then, the host node F of the host node E of subring CDE and subring CDF can because can not receive their oneself hello packets each their secondary port can be set to forwarding state within the time of specifying, but now because the edge port of fringe node C blocks, 8 word loops can not be formed.About the description that crossing characteristic is more detailed, those of ordinary skill in the art can with reference to the realization of prior art.
The present invention, by the process controlling message, achieves Ethernet tangent ring networks two layers of networking form; Provide the user network construction form more flexibly.Simultaneously by management aid in treatment, achieve existing individual compatible processing.Described above is only the present invention's preferably implementation, and not in order to limit protection scope of the present invention, any equivalent change and amendment all should be encompassed within protection scope of the present invention.

Claims (6)

1. the message processing method of a tangent ring networks, it is applied on the tangent node of tangent ring networks, wherein said tangent ring networks comprises two the first and second tangent ethernet ring networks, two ethernet ring networks are configured with identical service VLAN and control VLAN, described tangent node comprises the first and second groups of ring upper port laid respectively on the first and second ethernet ring network; It is characterized in that, this comprises:
A, when receiving from certain ring upper port of first group of ring upper port the control message sended over from the first looped network, sends this control message from another ring upper port first group of ring upper port;
B, when receiving from certain ring upper port of second group of ring upper port the control message sended over from the second looped network, sends this control message from another ring upper port second group of ring upper port;
C, when receiving known unicast Ethernet service message from any one ring upper port, the mac address forwarding table item searched in tangent node forwards this service message;
D, when receiving unknown unicast or broadcast Ethernet service message from any one ring upper port, is gone out this Ethernet service message broadcasting by other all ring upper port.
2. method according to claim 1, is characterized in that, also comprises:
E, detects certain ring upper port UP or Down event, reports this event by another ring upper port in ring upper port group with the form controlling message to the host node in affiliated ethernet ring network.
3. method according to claim 1, is characterized in that, also comprises:
F, send the switching command switching to crossing characteristic, and respective enable intersects the processing capacity module of characteristic for receiving user to this node.
4. an Ethernet switch, it is applied in tangent ring networks as tangent node, wherein said tangent ring networks comprises two the first and second tangent ethernet ring networks, two ethernet ring networks are configured with identical service VLAN and control VLAN, described tangent node comprises the first and second groups of ring upper port laid respectively on the first and second ethernet ring network; It is characterized in that, this Ethernet switch comprises:
Controlling message process unit, during for receiving from certain ring upper port of first group of ring upper port the control message sended over from the first looped network, this control message being sent from another ring upper port first group of ring upper port; Or when receiving from certain ring upper port of second group of ring upper port the control message sended over from the second looped network, this control message is sent from another ring upper port second group of ring upper port; And
Service message processing unit, during for receiving known unicast Ethernet service message from any one ring upper port, the mac address forwarding table item searched in tangent node forwards this service message;
When described service message processing unit is further used for receiving unknown unicast or broadcast Ethernet service message from any one ring upper port, by other all ring upper port, this Ethernet service message broadcasting is gone out.
5. Ethernet switch according to claim 4, control message process unit, being further used for when certain ring upper port UP or Down event being detected, reporting this event with the form controlling message to the host node in affiliated ethernet ring network by another ring upper port in ring upper port group.
6. Ethernet switch according to claim 4, is characterized in that, also comprises: management auxiliary unit, send the switching command switching to crossing characteristic, and respective enable intersects the processing capacity module of characteristic for receiving user to switch.
CN201110139605.5A 2011-05-27 2011-05-27 A kind of message processing method of tangent ring networks and Ethernet switch Active CN102215165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110139605.5A CN102215165B (en) 2011-05-27 2011-05-27 A kind of message processing method of tangent ring networks and Ethernet switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110139605.5A CN102215165B (en) 2011-05-27 2011-05-27 A kind of message processing method of tangent ring networks and Ethernet switch

Publications (2)

Publication Number Publication Date
CN102215165A CN102215165A (en) 2011-10-12
CN102215165B true CN102215165B (en) 2015-09-09

Family

ID=44746301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110139605.5A Active CN102215165B (en) 2011-05-27 2011-05-27 A kind of message processing method of tangent ring networks and Ethernet switch

Country Status (1)

Country Link
CN (1) CN102215165B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684967B (en) * 2013-12-13 2017-02-15 杭州华三通信技术有限公司 Method and device for achieving tangent ring user data message intercommunication
CN108574648A (en) * 2018-02-27 2018-09-25 上海兆越通讯技术有限公司 A kind of industrial ethernet switch
CN111555916B (en) * 2020-04-26 2022-12-23 杭州迪普科技股份有限公司 Method, device, storage medium and equipment for deploying looped network
CN113055260A (en) * 2021-02-20 2021-06-29 北京航天自动控制研究所 Method and device for mixed communication of ring topology and switch

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6766482B1 (en) * 2001-10-31 2004-07-20 Extreme Networks Ethernet automatic protection switching
CN1547362A (en) * 2003-12-09 2004-11-17 上海交通大学 Method for multi-ring interconnection transmission of resilient packet ring network
CN1852260A (en) * 2006-04-14 2006-10-25 杭州华为三康技术有限公司 Method and apparatus for over-ring message retransmitting in elastic grouped ring network
CN101072237A (en) * 2007-03-01 2007-11-14 中兴通讯股份有限公司 Eth-loop intelligent protection method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100596356C (en) * 2006-09-06 2010-03-31 杭州华三通信技术有限公司 Network node and fault recovery method of Ethernet ring network therein

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6766482B1 (en) * 2001-10-31 2004-07-20 Extreme Networks Ethernet automatic protection switching
CN1547362A (en) * 2003-12-09 2004-11-17 上海交通大学 Method for multi-ring interconnection transmission of resilient packet ring network
CN1852260A (en) * 2006-04-14 2006-10-25 杭州华为三康技术有限公司 Method and apparatus for over-ring message retransmitting in elastic grouped ring network
CN101072237A (en) * 2007-03-01 2007-11-14 中兴通讯股份有限公司 Eth-loop intelligent protection method

Also Published As

Publication number Publication date
CN102215165A (en) 2011-10-12

Similar Documents

Publication Publication Date Title
CN101155109B (en) Ethernet switching system and equipment
US8724452B2 (en) Technique for protecting communication traffic in a connection having redundancy
CN102025541B (en) Method and system for realizing multicast protection
US9641396B2 (en) Packet processing method and system
KR20090089385A (en) Hash-based multi-homing
CN104104570A (en) Aggregation processing method in IRF (Intelligent Resilient Framework) system and device
CN103051536A (en) Quick multicast switching method of two-layer redundant link
CN101841450B (en) Method and system for realizing stable communication by forming multiple ring topologies into intersecting ring
WO2009111969A1 (en) Method for blocking the edge port in the ethernet, ethernet loop network system and apparatus
CN102223312B (en) Flow control method and equipment based on link status
CN101674240A (en) Method and device for realizing single-node dual home for distributed system
CN102215165B (en) A kind of message processing method of tangent ring networks and Ethernet switch
CN102437967B (en) Method and device for forwarding messages
CN103873333A (en) Ring network three-layer convergence method and device
CN102916862B (en) Intelligent looped network dynamic protection method of industrial Ethernet switch
CN104219115A (en) Method and system of performing heterogeneous hybrid networking through Ethernet ring protocol and spanning tree protocol
CN112995002B (en) Switch ring network design method, switch and storage medium
CN102014035A (en) Networking method and device based on Ethernet ring
CN101572646B (en) Implementation method of remote IRF stacking and equipment thereof
WO2014075594A1 (en) Service transmission protection method and device based on intersecting ring of multi-ring structure network
CN103580932A (en) Status switching method and system based on Ethernet linear protection switching
CN102209001A (en) Ethernet linear protection method and device
CN101150478B (en) A method, system and router for establishing master/slave link
CN102014006B (en) Ethernet ring protection switching method for hybrid network
CN102143004B (en) Link protection method and network equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 310000 Binjiang District, Hangzhou, Binjiang Avenue, No. Huarong Times Building, room 1601, room 3880

Patentee after: Hangzhou Dipu Polytron Technologies Inc

Address before: 310000 Binjiang District, Hangzhou, Binjiang Avenue, No. Huarong Times Building, room 1601, room 3880

Patentee before: Hangzhou Dipu Technology Co., Ltd.

CP01 Change in the name or title of a patent holder