Movatterモバイル変換


[0]ホーム

URL:


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
CN102215165BCN201110139605.5ACN201110139605ACN102215165BCN 102215165 BCN102215165 BCN 102215165BCN 201110139605 ACN201110139605 ACN 201110139605ACN 102215165 BCN102215165 BCN 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 LtdfiledCriticalHangzhou DPTech Technologies Co Ltd
Priority to CN201110139605.5ApriorityCriticalpatent/CN102215165B/en
Publication of CN102215165ApublicationCriticalpatent/CN102215165A/en
Application grantedgrantedCritical
Publication of CN102215165BpublicationCriticalpatent/CN102215165B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

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)

CN201110139605.5A2011-05-272011-05-27A kind of message processing method of tangent ring networks and Ethernet switchActiveCN102215165B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201110139605.5ACN102215165B (en)2011-05-272011-05-27A kind of message processing method of tangent ring networks and Ethernet switch

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201110139605.5ACN102215165B (en)2011-05-272011-05-27A kind of message processing method of tangent ring networks and Ethernet switch

Publications (2)

Publication NumberPublication Date
CN102215165A CN102215165A (en)2011-10-12
CN102215165Btrue CN102215165B (en)2015-09-09

Family

ID=44746301

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201110139605.5AActiveCN102215165B (en)2011-05-272011-05-27A kind of message processing method of tangent ring networks and Ethernet switch

Country Status (1)

CountryLink
CN (1)CN102215165B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103684967B (en)*2013-12-132017-02-15杭州华三通信技术有限公司Method and device for achieving tangent ring user data message intercommunication
CN108574648A (en)*2018-02-272018-09-25上海兆越通讯技术有限公司A kind of industrial ethernet switch
CN111555916B (en)*2020-04-262022-12-23杭州迪普科技股份有限公司Method, device, storage medium and equipment for deploying looped network
CN113055260A (en)*2021-02-202021-06-29北京航天自动控制研究所Method and device for mixed communication of ring topology and switch
CN118118292A (en)*2022-11-302024-05-31华为技术有限公司Data transmission method and related device thereof
CN116137608B (en)*2023-02-102024-08-23杭州迪普科技股份有限公司Message forwarding control method and device
CN119211111B (en)*2024-11-272025-06-10南京合智电力科技有限公司Dual-ring network communication method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US6766482B1 (en)*2001-10-312004-07-20Extreme NetworksEthernet automatic protection switching
CN1547362A (en)*2003-12-092004-11-17上海交通大学 Multi-ring Interconnection Transmission Method for Resilient Packet Ring Network
CN1852260A (en)*2006-04-142006-10-25杭州华为三康技术有限公司Method and apparatus for over-ring message retransmitting in elastic grouped ring network
CN101072237A (en)*2007-03-012007-11-14中兴通讯股份有限公司Eth-loop intelligent protection method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN100596356C (en)*2006-09-062010-03-31杭州华三通信技术有限公司Network node and fault recovery method of Ethernet ring network therein

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US6766482B1 (en)*2001-10-312004-07-20Extreme NetworksEthernet automatic protection switching
CN1547362A (en)*2003-12-092004-11-17上海交通大学 Multi-ring Interconnection Transmission Method for Resilient Packet Ring Network
CN1852260A (en)*2006-04-142006-10-25杭州华为三康技术有限公司Method and apparatus for over-ring message retransmitting in elastic grouped ring network
CN101072237A (en)*2007-03-012007-11-14中兴通讯股份有限公司Eth-loop intelligent protection method

Also Published As

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

Similar Documents

PublicationPublication DateTitle
CN102215165B (en)A kind of message processing method of tangent ring networks and Ethernet switch
US8588060B2 (en)E-spring (G.8032) interworking to provide access protection
US9641396B2 (en)Packet processing method and system
CN101841450B (en)Method and system for realizing stable communication by forming multiple ring topologies into intersecting ring
CN104104570A (en)Aggregation processing method in IRF (Intelligent Resilient Framework) system and device
CN103297257A (en)Implementation method of redundant network
CN103051536A (en)Quick multicast switching method of two-layer redundant link
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
CN105871674A (en)Ring protection link fault protection method, device and system
CN101674240A (en)Method and device for realizing single-node dual home for distributed system
CN104219115A (en)Method and system of performing heterogeneous hybrid networking through Ethernet ring protocol and spanning tree protocol
CN102185712B (en)The reverse method of VPLS network and ethernet ring network and device
CN103873333A (en)Ring network three-layer convergence method and device
CN101572646B (en)Implementation method of remote IRF stacking and equipment thereof
CN102014035A (en)Networking method and device based on Ethernet ring
CN112995002B (en)Switch ring network design method, switch and storage medium
CN102916862A (en)Intelligent looped network dynamic protection method of industrial Ethernet switch
CN101237343A (en) Method and fast switching system for fast switching in case of failure
CN103746912B (en)Data message transmission method and equipment based on subring link
CN101567892B (en)Method and device for realizing MSTP multiprocess
WO2014075594A1 (en)Service transmission protection method and device based on intersecting ring of multi-ring structure network
CN101150478B (en)A method, system and router for establishing master/slave link
CN102209001A (en)Ethernet linear protection method and device
CN101141367A (en) Method, system and node device for improving reliability of fast ring network

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CP01Change 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.

CP01Change in the name or title of a patent holder

[8]ページ先頭

©2009-2025 Movatter.jp