CN102088493A - Selective address refreshing method and system of Ethernet multi-ring network - Google Patents

Selective address refreshing method and system of Ethernet multi-ring network Download PDF

Info

Publication number
CN102088493A
CN102088493A CN2009102255894A CN200910225589A CN102088493A CN 102088493 A CN102088493 A CN 102088493A CN 2009102255894 A CN2009102255894 A CN 2009102255894A CN 200910225589 A CN200910225589 A CN 200910225589A CN 102088493 A CN102088493 A CN 102088493A
Authority
CN
China
Prior art keywords
loopback
ring
data message
node
network
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
CN2009102255894A
Other languages
Chinese (zh)
Other versions
CN102088493B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2009102255894A priority Critical patent/CN102088493B/en
Publication of CN102088493A publication Critical patent/CN102088493A/en
Application granted granted Critical
Publication of CN102088493B publication Critical patent/CN102088493B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a selective address refreshing method of an Ethernet multi-ring network. The method comprises the following steps of: realizing selective address refreshing by using the Ethernet multi-ring network through a loopback data message; and only transmitting the loopback data message which enters a loop on the loop. The invention also discloses a selective address refreshing system of the Ethernet multi-ring network. In the system, a refreshing unit is used for realizing selective address refreshing by using the Ethernet multi-ring network through the loopback data message; and a transmission unit is used for transmitting the loopback data message which enters the loop on the loop. Due to the adoption of the method and the system, the performance of the Ethernet multi-ring network can be promoted.

Description

A kind of selectivity address method for refreshing and system of ether multi-ring network
Technical field
The present invention relates to data communication field, relate in particular to a kind of selectivity address method for refreshing and system of ether multi-ring network.
Background technology
In the practical application of Ethernet, extensively adopted various resist technologies, realize the redundancy backup between primary path and the backup path.When primary path and backup path when all being intact, block the protected data forwarding capability of backup path, the protected data between the network is transmitted on primary path; When primary path goes wrong; open the protected data forwarding capability of backup path; protected data between the network switches on the backup path to be transmitted; thereby prevent that under the network normal condition protected data is repeated to receive and form broadcast storm; when breaking down, enables the primary path of network backup path transmission protected data; improve the fault-resistant ability of Ethernet, and satisfy convergence time when switching less than the high real-time requirement of 50ms.Below to the elaboration of giving an example of the resist technology of existing ether multi-ring network.
For example, be illustrated in figure 1 as the structural representation of ether multi-ring network, among Fig. 1, node S1 to S6 is an Ethernet switch, and network B is connected with node S2, and network A is connected with node S5.Communicate between network A and the network B.Four physical pathways are arranged between network A and the network B, that is: network A ← → node S5 ← → node S3 ← → node S2 ← → network B; Network A ← → node S5 ← → node S3 ← → node S4 ← → node S1 ← → node S2 ← → network B; Network A ← → node S5 ← → node S6 ← → node S4 ← → node S3 ← → node S2 ← → network B; Network A ← → node S5 ← → node S6 ← → node S4 ← → node S1 ← → node S2 ← → network B.
When using many ring protections of Ethernet technology, the general employing encircled and subring.Wherein, that is, ring is a complete ether ring; Subring is a kind of ether ring that links to each other with other ring or network by interconnecting nodes.Interconnecting nodes is the common node that belongs to two or more ether rings simultaneously, and interconnecting nodes also can be called shared node.As shown in Figure 2, comprise a ring and subring among the figure, Ring1 is a ring, and Ring2 is subring.The node that Ring1 comprises has S1, S2, S3 and S4, and the link that comprises has:<S1, S2 〉,<S2, S3 〉,<S3, S4〉and<S4, S1 〉; The node that Ring 2 comprises has S3, S5, S6 and S4, and the link that comprises has:<S3, S5 〉,<S5, S6〉and<S6, S4 〉.Need benly to be<S3 S4 link belongs to Ring1 and do not belong to Ring2.Wherein, node S3 and S4 are the interconnecting nodes of Ring1 and Ring2, and 33 ports of node S3 and 43 ports of node S4 belong to Ring2, are called access interface.In looped network; under the trouble-free situation of looped network; in the ring; need one section link the data message forwarding is in blocked state to prevent into ring; this section link is commonly referred to as the ring protection link or often blocks link etc., the switching in primary path and protection path in participating in encircling by this section ring protection link.The node that has the ring protection link is called ring protection controlling links node here.As shown in Figure 3, in Ring1, node S4 is a ring protection controlling links node, with port 41 direct connected links of node S4 be the ring protection link of Ring1.In Ring2, node S5 is a ring protection controlling links node, with node S5 port 52 direct connected links be the ring protection link of Ring2.Under normal circumstances, the ring protection controlling links node of Ring1 and Ring2 blocks their data forwarding functions from port, prevents that protected data is repeated to transmit and form broadcast storm.
When the link of ether multi-ring network when all being intact, the ring protection controlling links node of ring and subring obstruction is from the protected data forwarding capability of port.As shown in Figure 2, node S4 has blocked the protected data forwarding capability of port 41, and node S5 has blocked the protected data forwarding capability of port 52, and the communication path of network B and A is: network B ← → node S2 ← → S3 ← → S5 ← → network A.
When the link of ether multi-ring network breaks down; if faulty link is not the protection link; then ring protection controlling links node is opened the protected data forwarding capability from port, and each node also wants refresh address to transmit, and the communication between the network is according to new path transmission.As shown in Figure 3; link<S2 on the ring Ring1; S3〉fault taken place; after node S2 and node S3 detect link failure; the data forwarding function of difference port blocked 22 and port 31; notify other node link that fault has taken place; after node S4 (ring protection controlling links node) receives signalling trouble; open the protected data forwarding capability of port 41; each node on the Ring1 also wants refresh address to transmit in addition, and the communication path that network B and A are new is: network B ← → node S2 ← → node S1 ← → node S4 ← → node S3 ← → node S5 ← → network A.
When the link-recovery of ether multi-ring network, recover to switch, the transmission path when Network Transmission returns to normal condition, because path changing, node also needs to carry out refreshing of addresses forwarding table.
In addition, if the node of subring has refreshed the address, and the node of ring does not have refresh address, may cause following problem.
For example in Fig. 4, when ether multi-ring network fault-free, the communication path of network B and A is: network B ← → node S2 ← → S3 ← → S5 ← → network A.When the link occurs fault of subring Ring2; link<S3 of Ring2; S5〉fault appearred; after node S5 detects port 51 respective links and breaks down; refresh address is transmitted; the protected data forwarding capability of port blocked 51 is opened the protected data forwarding capability of port 52, and outwards sends the malfunction frame.After node S6 received the malfunction frame, refresh address was transmitted, and formed new transmission path between network A and the network B.After node S5 and node S6 refresh address were transmitted, network A was issued the broadcasting of the protected data of network B by node S5 and node S6, finally can arrive network B, simultaneously each node address of learning network A.But, before network A is issued the network B data, if network B sends data to network A, a large amount of packet loss phenomenons will take place so.This is because node S2 does not also have refresh address to transmit; clauses and subclauses before still switch in the path in the addresses forwarding table; i.e. Cuo Wu address entry; network B is sent to the protected data of network A and still transmits according to the addresses forwarding table of mistake; promptly the outbound port 22 from node S2 sends; these data are in fact because link failure and port block can not arrive network A; after having only the switches learn of wait to arrive the address outbound port of correct network A; just can reach network B; therefore the flow that whether has network A to be sent to network B is depended in the network B path that is sent to network A switching time, and this time sometimes even surpass 50ms.When the protection switching that Ethernet Circle recovers, also there is similar problem in the communication between network A and the B.
At present ITU-T G.8032 in, for solving the problem that the mac address table entry cause owing to link switchover makes a mistake, the common protocol massages that carries address flush information by employing is finished.
As shown in Figure 5, Ring1 is the ring of a complete closure, comprise node and the links between them such as S1, S2, S3, S4, S5 and S6, wherein node S2 is a Control Node, and it blocks the data message of 21 ports and the forwarding capability of Ring2 protocol massages (the Ring2 protocol massages is handled as data message) in Ring1 under the Ring1 non-failure conditions; Ring2 is subring, comprises S1, S8, S7 and S3 node, and the S7 node is a Control Node, and it blocks the data message forwarding function of 72 ports under the Ring2 non-failure conditions, but can not block the protocol massages on the control Virtual Local Area Network of Ring2.Under the trouble-free situation of ether multi-ring network, the communication path of network A and network B is:
Network A ← → node S4 ← → S5 ← → S6 ← → S1 ← → S8 ← → network B.
As shown in Figure 6, link<S1 as Ring2, S8〉fault occurred fault has taken place, after node S1 and S8 detect fault, refresh separately addresses forwarding table and the obstruction port adjacent respectively with faulty link, the S8 node also periodically sends the SF protocol massages along 82 ports simultaneously, it is the signalling trouble message, after other node of Ring2 is received the SF message first, refresh addresses forwarding table separately, node S3 promptly interconnects contact after receiving that first SF message and refresh address are transmitted, also on the control VLAN of ring Ring1, produce new Flush message, and it is sent 3 times continuously.After node on the Ring1 is received the Flush message, refresh addresses forwarding table separately.Learn the MAC Address of network A and network B when the node on the ether multi-ring network after, the communication path of network A and network B becomes:
Network A ← → node S4 ← → S3 ← → S7 ← → S8 ← → network B.
Though above-mentioned address flush scheme can solve link switchover and cause mac address error, but the address flush scheme that is based on message has been deleted whole MAC Address of node, caused the broadcast storm of network moment, owing to the network broadcast storm generation of moment, convergence time during switching is difficult to satisfy less than 50ms, and network performance descends greatly.In fact whole clauses and subclauses of deletion of node addresses forwarding table are fully unnecessary, the forwarding entry of the wrong forwarding entry data flow that only to be those blocked by new choke point on the looped network, and the forwarding entry of majority of traffic should be not deleted.
From top analysis as can be seen, the mode of existing utilization protocol massages refresh address can cause the moment broadcast storm of multi-ring networks.Therefore, it is very significant proposing a kind of new type of selective address flush scheme.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of selectivity address method for refreshing and system of ether multi-ring network, can promote the performance of ether multi-ring network.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of selectivity address method for refreshing of ether multi-ring network, this method comprises: the ether multi-ring network adopts the data message of loopback, realizes optionally address flush; The data message that enters the described loopback of ring is only propagated on ring.
Wherein, when node was non-interconnecting nodes on the ring, this method further comprises: node detection broke down to adjacent link on the described ring, blocked the ring upper port that links to each other with described link; Delete all address forwarding entrys related simultaneously with described ring upper port.
Wherein, when node also contains the ring upper port of obstruction on the described ring, this method also comprises: node is received data message on the described ring, Virtual Local Area Network and purpose Media Access Control Address (DMAC) with described data message head, search addresses forwarding table, if do not find corresponding address forwarding entry, then with described data message loopback.
Wherein, under the situation of described data message loopback, this method also comprises: the skin of the data message of loopback is encapsulated with loopback VLAN, the data message of described loopback is transmitted in the multicast mode on ring; Wherein, whole ether multi-ring network only has a loopback VLAN.
Wherein, receive under the situation of data message of loopback at node on the ring, this method also comprises: node forwards the data message of the described loopback ring upper port from another unblock in the multicast mode on the described ring; The data message that copies a described loopback simultaneously is for node analysis on the described ring;
Wherein, described analysis comprises: node adopts the inner VLAN and the DMAC of the data message head of described loopback on the described ring, searches the outbound port of the data message of described loopback in addresses forwarding table.
Wherein, when node was interconnecting nodes on the ring, this method further comprised: node detection breaks down to adjacent link on the described ring, blocks the ring upper port that links to each other with described link; Delete the address forwarding entry related simultaneously with described ring upper port.
Wherein, when node also contained many central ports of obstruction on the described ring, this method also comprised: node is received data message on the described ring, searches addresses forwarding table with the VLAN and the DMAC of described data message head, if do not find corresponding address forwarding entry, then with described data message loopback.
Wherein, under the situation of described data message loopback, this method also comprises: the skin of the data message of loopback is encapsulated with loopback VLAN;
The data message of described loopback, the Loopback Mode that is adopted comprises: if ring is gone up the port blocked of node on ring, then the data message of described loopback is transmitted from another ring upper port; Perhaps, if ring is gone up the port blocked of node in subring, then the data message of described loopback is transmitted from the ring upper port of other unblock.
Wherein, receive under the situation of data message of loopback at node on the ring, this method also comprises: node forwards the data message of the described loopback ring upper port from unblock on the described ring; The data message that copies a described loopback simultaneously is for node analysis on the described ring;
Wherein, described analysis comprises: node adopts the inner VLAN and the DMAC of the data message head of described loopback on the described ring, searches the outbound port of the data message of described loopback in addresses forwarding table.
A kind of selectivity address updating system of ether multi-ring network, this system comprises: refresh unit and propagation unit; Wherein,
Refresh unit is used for the data message that the ether multi-ring network adopts loopback, realizes optionally address flush;
Propagation unit is used for the data message that enters the described loopback of ring is only propagated on ring.
Wherein, this system also comprises: block and delete cells, when being used to encircle node and being non-interconnecting nodes, detect adjacent link and break down, the ring upper port that obstruction links to each other with described link; Delete all address forwarding entrys related simultaneously with described ring upper port.
Wherein, this system also comprises: encapsulation and retransmission unit, be used under the situation of data message loopback, and the skin of the data message of loopback is encapsulated with loopback VLAN, the data message of described loopback is transmitted in the multicast mode on ring; Wherein, whole ether multi-ring network only has a loopback VLAN.
Wherein, this system also comprises: block and delete cells, when being used to encircle node and being interconnecting nodes, detect adjacent link and break down, the ring upper port that obstruction links to each other with described link; Delete the address forwarding entry related simultaneously with described ring upper port.
Wherein, this system also comprises: the loopback unit, when being used for that node also contains many central ports of obstruction on the described ring, receive data message and search addresses forwarding table with the VLAN and the DMAC of described data message head, if do not find corresponding address forwarding entry, then with described data message loopback.
Wherein, described loopback unit further comprises: package module and Loopback Mode are selected module; Wherein,
Package module is used under the situation of described data message loopback, and the skin of the data message of loopback is encapsulated with loopback VLAN;
Described Loopback Mode is selected module, and the port blocked that is used to encircle node is on ring the time, selects data message with described loopback from another ring upper port forwarding; Perhaps, the port blocked that is used to encircle node is selected the data message of described loopback is transmitted from the ring upper port of other unblock in subring the time.
Wherein, this system also comprises: transmit and analytic unit, be used for receiving under the situation of the data message of loopback at node on the ring, the data message of the described loopback ring upper port from unblock is forwarded; The data message that copies a described loopback simultaneously is for node analysis on the described ring;
Wherein, described analysis comprises: node adopts the inner VLAN and the DMAC of the data message head of described loopback on the described ring, searches the outbound port of the data message of described loopback in addresses forwarding table.
Ether multi-ring network of the present invention adopts the data message of loopback, realizes optionally address flush; The data message that enters the loopback of ring is only propagated on ring.
Adopt the present invention, under the scene of ether multi-ring network, data message by loopback is realized selectively carrying out address flush, the moment broadcast storm of having avoided prior art to adopt protocol massages refresh all address to be caused, thus promoted the performance of ether multi-ring network.
Description of drawings
Fig. 1 is the structural representation of ether multi-ring network;
The schematic diagram that Fig. 2 protects for the ether multi-ring network;
Another schematic diagram that Fig. 3 protects for the ether multi-ring network;
The another schematic diagram that Fig. 4 protects for the ether multi-ring network;
G.8032, Fig. 5 is for solving the schematic diagram that many rings carry out the concrete solution of address flush;
G.8032, Fig. 6 is for solving another schematic diagram that many rings carry out the concrete solution of address flush;
Fig. 7 is the flow chart of the inventive method embodiment one;
Fig. 8 is the flow chart of the inventive method embodiment two;
Fig. 9 is a schematic diagram of example one of the present invention;
Figure 10 is another schematic diagram of example one of the present invention;
Figure 11 is another schematic diagram of example one of the present invention;
Figure 12 is a schematic diagram of example two of the present invention;
Figure 13 is another schematic diagram of example two of the present invention.
Embodiment
Basic thought of the present invention is: the ether multi-ring network adopts the data message of loopback, realizes optionally address flush; The data message that enters the loopback of ring is only propagated on ring.
Be described in further detail below in conjunction with the enforcement of accompanying drawing technical scheme.
A kind of selectivity address method for refreshing of ether multi-ring network, this method comprises: the ether multi-ring network adopts the data message of loopback, realizes optionally address flush; The data message that enters the loopback of ring is only propagated on ring.
Below be that the disposition of non-interconnecting nodes or interconnecting nodes is set forth respectively to encircling node.Which here it is to be noted: when the last node of ring is interconnecting nodes, be different from non-interconnecting nodes, also need the explicit data message to transmit, that is to say that relating to interconnecting nodes needs control data message forwarding direction from direction.
First kind of situation: node is the situation of non-interconnecting nodes on the ring.
At this moment, this method further comprises: node detection breaks down to adjacent link on the ring, blocks the ring upper port that links to each other with link; Deletion simultaneously and all related address forwarding entrys of ring upper port.
Here, node is except being non-interconnecting nodes on the ring, when the last node of this ring also contains the ring upper port of obstruction, this method also comprises: node is received data message on the ring, VLAN and purpose Media Access Control Address (DMAC) with the data message head, search addresses forwarding table, if do not find corresponding address forwarding entry, then with the data message loopback.
Here, under the situation of data message loopback, this method also comprises: the skin of the data message of loopback is encapsulated with loopback VLAN, the data message of loopback is transmitted in the multicast mode on ring; Wherein, whole ether multi-ring network only has a loopback VLAN.
Here, receive under the situation of data message of loopback at node on the ring, this method also comprises: node forwards the data message of the loopback ring upper port from another unblock in the multicast mode on the ring; The data message that copies a loopback is simultaneously gone up node analysis for ring.
Wherein, described analysis comprises: node adopts the inner VLAN and the DMAC of the data message head of loopback on the ring, searches the outbound port of the data message of loopback in addresses forwarding table.
Second kind of situation: node is the situation of interconnecting nodes on the ring.
At this moment, this method further comprises: node detection breaks down to adjacent link on the ring, blocks the ring upper port that links to each other with link; Deletion simultaneously and the related address forwarding entry of ring upper port.
Here, node is except being interconnecting nodes on the ring, when the last node of this ring also contains many central ports of obstruction, this method also comprises: node is received data message on the ring, VLAN and DMAC with the data message head search addresses forwarding table, if do not find corresponding address forwarding entry, then with the data message loopback.
Here, under the situation of data message loopback, this method also comprises: the skin of the data message of loopback is encapsulated with loopback VLAN.
A kind of Loopback Mode that data message adopted of loopback comprises: if ring is gone up the port blocked of node on ring, then the data message of loopback is transmitted from another ring upper port; Perhaps, the another kind of Loopback Mode that data message adopted of loopback comprises: if ring is gone up the port blocked of node in subring, then the data message of loopback is transmitted from the ring upper port of other unblock.
Here, receive under the situation of data message of loopback at node on the ring, this method also comprises: node forwards the data message of the loopback ring upper port from unblock on the ring; The data message that copies a loopback is simultaneously gone up node analysis for ring.
Wherein, described analysis comprises: node adopts the inner VLAN and the DMAC of the data message head of loopback on the ring, searches the outbound port of the data message of loopback in addresses forwarding table.
In sum, the present invention mainly comprises following content:
Core content of the present invention mainly comprises: when the ether multi-ring network breaks down or during fault recovery, looped network utilizes the data message of loopback to realize switching fast; The ether multi-ring network utilizes the data message of loopback to carry out optionally address flush, thereby avoids whole ether multi-ring network generation broadcast storm; In a single day the data message of loopback enters ring (perhaps claiming main ring), will only propagate on ring.
In order to realize above-mentioned core content, ether multi-ring network node must comprise following function, and node and two kinds of situations of interconnecting nodes are discussed on the branch common ring:
First: when node was node on the common ring (non-interconnecting nodes), this node should comprise following function:
One: when node detection breaks down to adjacent link, this node blocks the ring upper port adjacent with this link.Delete all forwarding entrys simultaneously with this port association.
Two: the data message of receiving when node (the ring upper port that contains obstruction) and search with the VLAN of this data message head and DMAC and to transmit, if do not find respective entries, so described data message will be by loopback.
Three: the data message of loopback must be packaged by loopback VLAN, and transmit in the multicast mode on ring.Wherein, whole multi-ring network only has a loopback VLAN.
At loopback VLAN, loopback VLAN is used to identify the data message that current data message is a loopback, that is to say, if current data message is proved then that by this loopback VLAN encapsulation current data message is the data message of loopback.In other words, the data message that the data message of loopback is encapsulated by loopback VLAN relates to the data message of loopback herein, and loopback VLAN is the implication here, does not do and gives unnecessary details.
Four: when node was received the data message of loopback, described node forwarded the ring upper port of this data message from another unblock in the multicast mode, and copy is a for node analysis.This node is looked into the inner VLAN of the data message of loopback and DMAC and is transmitted, and divides following situation to handle:
If 1 outbound port of finding is the ring upper port that receives the data message of described loopback, the described address forwarding entry that finds of this knot removal.
If 2 outbound ports of searching are following central ports, node is peelled off the loopback VLAN of the data message of loopback on the described ring, then this message is forwarded from corresponding central port down.
If 3 outbound ports of searching are another ring upper port (not being the ring upper port that receives described data message), node does not carry out relevant treatment on the described ring.
If 4 do not find corresponding address forwarding entry in addresses forwarding table, this node is left intact to addresses forwarding table.
Second: when node was interconnecting nodes, this node should comprise following function:
One: when node detection breaks down to adjacent link, this node blocks the ring upper port adjacent with this link, simultaneously deletion and this port association forwarding entry.
Two: the data message of receiving when interconnecting nodes (many central ports of containing obstruction) and search addresses forwarding table with the VLAN and the DMAC of this data message head, if do not find corresponding address forwarding entry, so described data message will be by loopback.The data message of loopback must be packaged by loopback VLAN, and the mode of loopback is divided following two kinds of situations:
If 1 port blocked is that the data message of loopback is transmitted from another ring upper port on ring (or claiming main ring).
If 2 port blockeds are in subring, the data message of loopback is transmitted from the ring upper port of other unblock
Three: when interconnecting nodes is received the data message of loopback, node forwards the data message of this loopback ring (or claiming main ring) port from unblock, and copy is a to this point analysis that connects simultaneously.Node is searched addresses forwarding table with the inner VLAN and the DMAC of described message, divides following situation to discuss:
If 1 port of finding is the port that receives this message, this interconnecting nodes is deleted the inner VLAN and the DMAC corresponding address forwarding entry of this message.
If 2 outbound ports of searching are following central ports, node is peelled off the loopback VLAN of the data message of loopback on the described ring, then this message is forwarded from corresponding central port down.
If 3 ports of finding are many central ports (not getting clogged) of non-this message of reception, this node is left intact to addresses forwarding table.
If 4 do not find corresponding address forwarding entry in addresses forwarding table, this node is left intact to addresses forwarding table.
Below to the present invention's elaboration of giving an example.Here it is to be noted: the flow process of following method embodiment only illustrate loopback data message generation and how to use the data message of loopback to carry out the address deletion; Prior art is followed in message forwarding to common Ethernet.
Method embodiment one: as shown in Figure 7, the flow chart of data processing of the non-interconnecting nodes of present embodiment mainly may further comprise the steps:
Whether step 401, predicate node are interconnecting nodes.If not, then change step 402 over to.
Whether step 402, predicate node adjacent link break down.If then change step 403 over to; Otherwise change step 404 over to.
The data forwarding function that step 403, node block the many central ports adjacent with faulty link, simultaneously, all address forwarding entrys of deletion and described port association change step 404 then over to.
Step 404, node are received data message, and whether analyze VLAN is loopback VLAN, judge whether the data message of receiving is the data message of loopback that is:, if not, then change step 405 over to; Otherwise change step 411 over to.
Step 405, node are searched this message with the VLAN and the DMAC of this data message head in transmitting outbound port.
Step 406, judge whether to find forwarding entry.If find, then change step 407 over to; Otherwise change step 408 over to.
Step 407, node forward this data message from the port of finding.
Here, this port that finds may just descend the central port.
Step 408, node are broadcasted this data message to receiving this message other port in addition.
The ring upper port whether obstruction is arranged on step 409, the predicate node if having, then changes step 410 over to.
Step 410, node encircle the upper port loopback with described data message from another, the packed loopback VLAN that goes up of the data message of loopback.
After step 411, node are received the data message of loopback, the data message of the loopback ring upper port from another unblock is forwarded; Simultaneously, copy is a for node analysis.
Here, during analysis, this node is looked into the inner VLAN of the data message of loopback and DMAC and is transmitted.
Step 412,4 kinds of situations of branch are handled.
Here, situation 1: the port of finding is the port that receives this message, changes step 413 over to.
Situation 2: the outbound port of searching is following central port, changes step 414 over to.
Situation 3: the port of finding is many central ports (not getting clogged) of non-this message of reception, changes step 415 over to.
Situation 4: do not find relative transferring item, change step 416 over to.
Step 413, the described forwarding entry that finds of this knot removal.
Step 414, this node are peelled off the loopback VLAN of the data message of loopback, then this message are forwarded from corresponding central port down.
Step 415, this node are not handled transmitting.
Step 416, this node are not handled transmitting.
Method embodiment two: as shown in Figure 8, the flow chart of data processing of the interconnecting nodes of present embodiment mainly may further comprise the steps:
Whether step 501, predicate node are interconnecting nodes.If then change step 502 over to.
Whether step 502, judgement interconnecting nodes adjacent link break down.If change step 503 over to; Otherwise change step 504 over to.
The data forwarding function that step 503, interconnecting nodes block the many central ports adjacent with faulty link, simultaneously, all address forwarding entrys of deletion and described port association change step 504 then over to.
Step 504, interconnecting nodes are received data message, and whether analyze VLAN is loopback VLAN, judge whether the data message of receiving is the data message of loopback that is:, if not, then change step 505 over to; Otherwise change step 511 over to.
Step 505, interconnecting nodes are searched this message with the VLAN and the DMAC of this data message head in transmitting outbound port.
Step 506, judge whether to find forwarding entry.If find, then change step 507 over to; Otherwise change step 508 over to.
Step 507, interconnecting nodes forward this data message from the port of finding.
Step 508, interconnecting nodes are broadcasted this data message to receiving this message other port in addition.
Whether the ring upper port of obstruction is arranged on step 509, the judgement interconnecting nodes,, then change step 510 over to if having.
Step 510, interconnecting nodes be the ring upper port loopback that not get clogged of this data message on ring (perhaps claiming main ring), the packed loopback VLAN that goes up of the data message of loopback.
After step 511, interconnecting nodes are received the data message of loopback, the data message of this loopback ring upper port from the ring (or claiming main ring) of unblock is forwarded; Copy is a simultaneously analyzes to this interconnecting nodes.
Here, during analysis, described interconnecting nodes is searched with the inner VLAN of described message and DMAC and is transmitted.
Step 512,4 kinds of situations of branch are handled.
Here, situation 1: the port of finding is the port that receives this message, changes step 513 over to.
Situation 2: the outbound port of searching is following central port, changes step 514 over to.
Situation 3: the port of finding is many central ports (not getting clogged) of non-this message of reception, changes step 515 over to.
Situation 4: do not find relative transferring item, change step 516 over to.
Step 513, the described forwarding entry that finds of this knot removal.
Step 514, this node are peelled off the loopback VLAN of the data message of loopback, then this message are forwarded from corresponding central port down.
Step 515, this node are not handled transmitting.
Step 516, this node are not handled transmitting.
Below further set forth the selectivity address refresh scheme based on the looping back data message of the present invention by example one and example two, but not as a limitation of the invention.
Example one: the link switchover under ring (perhaps claiming main ring) situation that breaks down.
As shown in Figure 9, Ring1 is the ring of a complete closure, comprise node and the links between them such as S1, S2, S3, S4, S5 and S6, wherein node S2 is a Control Node, and it blocks the data message of 21 ports and the forwarding capability of Ring2 protocol massages (the Ring2 protocol massages is handled as data message) in Ring1 under the Ring1 non-failure conditions; Ring2 is subring, comprises S1, S8, S7 and S3 node, and the S7 node is a Control Node, and it blocks the data message forwarding function of 72 ports under the Ring2 non-failure conditions, but can not block the protocol massages on the control VLAN of Ring2.Under the trouble-free situation of ether multi-ring network, the address entry that arrives network A and network B during each node address is transmitted on the ether multi-ring network as shown in Figure 9, the communication path between network A and the network B is:
Network A ← → node S4 ← → S5 ← → S6 ← → S1 ← → S8 ← → network B.
As shown in figure 10, link<S6 as Ring1, S5〉fault occurred fault has taken place, after node S6 and S5 detect fault, node S6 and S5 block respectively 61 with the data forwarding function and the deletion address forwarding entry related of 52 ports with them, periodically send the SF protocol massages along these two ports respectively simultaneously.After Control Node S2 receives the SF message, open the data message forwarding function of 21 ports.Be that example illustrates refresh scheme of the present invention at first below with the data flow of network B → network A.
When network B when network A sends datagram P, after path before data message P takes place along fault arrives node S6, node S6 (having ring to go up non-working port) searches addresses forwarding table with the VLAN1 and the MAC (A) of data message P head, do not find relative transferring item, node S6 is with this data message loopback, and loopback VLAN is gone up in encapsulation simultaneously; After node S1 (interconnection contact) receives the data message P of loopback, at first message P is forwarded from another main ring port one 2, copy is a for the S1 node analysis then.Node S1 looks into the inner VLAN of the data message P of loopback and MAC (A) and transmits, and finds that the port of finding is consistent with the port of the data message P of the loopback of reception, and node is deleted VLAN1 and the corresponding forwarding entry of MAC (A); Behind the data message P of the loopback that node S2, S3, S4 and S5 receive, the main ring port of this message from another unblock forwarded, copy is a then analyzes for them.These nodes are looked into the inner VLAN of the data message P of loopback and MAC (A) and are transmitted, and find that the port of finding is another main ring port of node, and they are not handled transmitting.
In addition, when network A when network B sends datagram M, the method and system that the processing of message M and utilization loopback message M (having encapsulated special vlan) is carried out the address deletion is identical to the processing method of data message P, detailed process is asked for an interview Figure 11.
After a period of time, the node on many rings is learnt the MAC Address of network A on VLAN1, learns the MAC Address of network B on VLAN2.Communication path between network A and the network B becomes:
Network A ← → node S4 ← → S3 ← → S2 ← → S1 ← → S8 ← → network B.
Example two: the subring link switchover under the situation that breaks down.
As shown in figure 12, link<S1 as Ring1, S8〉fault occurred fault has taken place, after node S1 and S8 detect fault, node S1 and S8 block respectively 13 with the data forwarding function and the deletion address forwarding entry related of 81 ports with them, periodically send the SF protocol massages along these two ports respectively simultaneously.After Control Node S7 receives the SF message, open the data message forwarding function of 72 ports.Be that example illustrates method of the present invention at first below with the data flow of network B → network A.
After node S8 (have ring go up non-working port) receives the data message R (mailing to network A on the VLAN1) that network B sends, utilize the VLAN1 and the MAC (A) of message R head to table look-up, discovery does not have corresponding clauses and subclauses, and node S8 is with data message R loopback, and loopback VLAN is gone up in encapsulation simultaneously.
After node S7 receives the data message R of loopback, at first message R is forwarded from another subring port 72, copy is a for the S7 node analysis then.Node S7 looks into the inner VLAN of the data message R of loopback and MAC (A) and transmits, and finds that the port of finding is consistent with the port of the data message R of the loopback of reception, and node is deleted VLAN1 and the corresponding forwarding entry of MAC (A).
After node S3 (interconnection contact) receives the data message R of loopback, at first message R is forwarded from two main ring ports 32 and 31, copy is a for the S3 node analysis then.Node S3 looks into the inner VLAN of the data message R of loopback and MAC (A) and transmits, and finds that the port of finding is inconsistent with the port of the data message R of the loopback of reception, and node is not handled the forwarding entry of VLAN1 and MAC (A) correspondence.
Behind the data message R of the loopback that node S5, S6, S1 and S2 receive, the main ring port of this message from another unblock forwarded, copy is a then analyzes for them.These nodes are looked into the inner VLAN 1 of the data message R of loopback and MAC (A) and are transmitted, and find that the port of finding is consistent with the port that receives this message, the clauses and subclauses of these knot removals VLAN1 and MAC (A) correspondence in transmitting.
After node S4 receives the data message R of loopback, this message is forwarded from another main ring ring upper port 42, copy is a then analyzes for it.Node S4 looks into the inner VLAN 1 of the data message R of loopback and MAC (A) and transmits, and finds that the port of finding 43 is central ports down, and node is not handled VLAN1 and the corresponding forwarding entry of MAC (A).Simultaneously, peel the outer field loopback VLAN of the data message R of loopback off, and the message after will handling forwards from 43 ports.
In addition, when network A when network B sends datagram Q, the method and system that the processing of message Q and utilization loopback message Q (having encapsulated special vlan) is carried out the address deletion is identical to the processing method of data message R, detailed process is asked for an interview Figure 13.
After a period of time, the node on many rings is learnt the MAC Address of network A on VLAN1, learns the MAC Address of network B on VLAN2.Communication path between network A and the network B becomes:
Network A ← → node S4 ← → S3 ← → S7 ← → S8 ← → network B.
By top analysis, the present invention has solved the difficulty that runs into when mechanism that existing dependence protocol massages carries out address flush is used well on the ether multi-ring network, has greatly improved the performance of ether multi-ring network.
A kind of selectivity address updating system of ether multi-ring network, this system comprises: refresh unit and propagation unit.Wherein, refresh unit is used for the data message that the ether multi-ring network adopts loopback, realizes optionally address flush.Propagation unit is used for the data message that enters the loopback of ring is only propagated on ring.
The specific implementation of each unit is different in the system when ring is gone up node and is non-interconnecting nodes or interconnecting nodes, below sets forth respectively.
First kind of situation: node is the situation of non-interconnecting nodes on the ring.
This system also comprises: block and delete cells, when being used to encircle node and being non-interconnecting nodes, detect adjacent link and break down, the ring upper port that obstruction links to each other with link; Deletion simultaneously and all related address forwarding entrys of ring upper port.
Here, this system also comprises: encapsulation and retransmission unit, be used under the situation of data message loopback, and the skin of the data message of loopback is encapsulated with loopback VLAN, the data message of loopback is transmitted in the multicast mode on ring; Wherein, whole ether multi-ring network only has a loopback VLAN.
Second kind of situation: node is the situation of interconnecting nodes on the ring.
This system also comprises: block and delete cells, when being used to encircle node and being interconnecting nodes, detect adjacent link and break down, the ring upper port that obstruction links to each other with link; Deletion simultaneously and the related address forwarding entry of ring upper port.
Here, this system also comprises: the loopback unit, and when being used to encircle node and also containing many central ports of obstruction, receive data message and search addresses forwarding table with the VLAN and the DMAC of data message head, if do not find corresponding address forwarding entry, then with the data message loopback.
Here, the loopback unit further comprises: package module and Loopback Mode are selected module.Wherein, package module is used under the situation of data message loopback, and the skin of the data message of loopback is encapsulated with loopback VLAN.Loopback Mode is selected module, and the port blocked that is used to encircle node is on ring the time, selects data message with loopback from another ring upper port forwarding; Perhaps, the port blocked that is used to encircle node is selected the data message of loopback is transmitted from the ring upper port of other unblock in subring the time.
Here, this system also comprises: transmit and analytic unit, be used for receiving under the situation of the data message of loopback at node on the ring, the data message of the loopback ring upper port from unblock is forwarded; The data message that copies a loopback simultaneously is for node analysis on the described ring.
Wherein, described analysis comprises: node adopts the inner VLAN and the DMAC of the data message head of loopback on the ring, searches the outbound port of the data message of loopback in addresses forwarding table.
Here, the above Chinese and English that relates to literal is carried out as directed: ring is represented with Ring; Subring is represented with Sub-Ring; Interconnecting nodes is represented with Interconnection Node; Addresses forwarding table is also referred to as the FDB table; Loopback is represented with wrap; The MAC Address of DMAC feeling the pulse with the finger-tip, wherein MAC refers to the medium access control;
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (16)

1. the selectivity address method for refreshing of an ether multi-ring network is characterized in that this method comprises: the ether multi-ring network adopts the data message of loopback, realizes optionally address flush; The data message that enters the described loopback of ring is only propagated on ring.
2. method according to claim 1 is characterized in that, when node was non-interconnecting nodes on the ring, this method further comprises: node detection broke down to adjacent link on the described ring, blocked the ring upper port that links to each other with described link; Delete all address forwarding entrys related simultaneously with described ring upper port.
3. method according to claim 2, it is characterized in that, when node also contains the ring upper port of obstruction on the described ring, this method also comprises: node is received data message on the described ring, Virtual Local Area Network and purpose Media Access Control Address (DMAC) with described data message head, search addresses forwarding table, if do not find corresponding address forwarding entry, then with described data message loopback.
4. method according to claim 3, it is characterized in that, under the situation of described data message loopback, this method also comprises: the skin of the data message of loopback is encapsulated with loopback VLAN, the data message of described loopback is transmitted in the multicast mode on ring; Wherein, whole ether multi-ring network only has a loopback VLAN.
5. method according to claim 4, it is characterized in that, receive under the situation of data message of loopback at node on the ring, this method also comprises: node forwards the data message of the described loopback ring upper port from another unblock in the multicast mode on the described ring; The data message that copies a described loopback simultaneously is for node analysis on the described ring;
Wherein, described analysis comprises: node adopts the inner VLAN and the DMAC of the data message head of described loopback on the described ring, searches the outbound port of the data message of described loopback in addresses forwarding table.
6. method according to claim 1 is characterized in that, when node was interconnecting nodes on the ring, this method further comprised: node detection breaks down to adjacent link on the described ring, blocks the ring upper port that links to each other with described link; Delete the address forwarding entry related simultaneously with described ring upper port.
7. method according to claim 6, it is characterized in that, when node also contains many central ports of obstruction on the described ring, this method also comprises: node is received data message on the described ring, VLAN and DMAC with described data message head search addresses forwarding table, if do not find corresponding address forwarding entry, then with described data message loopback.
8. method according to claim 7 is characterized in that, under the situation of described data message loopback, this method also comprises: the skin of the data message of loopback is encapsulated with loopback VLAN;
The data message of described loopback, the Loopback Mode that is adopted comprises: if ring is gone up the port blocked of node on ring, then the data message of described loopback is transmitted from another ring upper port; Perhaps, if ring is gone up the port blocked of node in subring, then the data message of described loopback is transmitted from the ring upper port of other unblock.
9. method according to claim 8 is characterized in that, receives under the situation of data message of loopback at node on the ring, and this method also comprises: node forwards the data message of the described loopback ring upper port from unblock on the described ring; The data message that copies a described loopback simultaneously is for node analysis on the described ring;
Wherein, described analysis comprises: node adopts the inner VLAN and the DMAC of the data message head of described loopback on the described ring, searches the outbound port of the data message of described loopback in addresses forwarding table.
10. the selectivity address updating system of an ether multi-ring network is characterized in that this system comprises: refresh unit and propagation unit; Wherein,
Refresh unit is used for the data message that the ether multi-ring network adopts loopback, realizes optionally address flush;
Propagation unit is used for the data message that enters the described loopback of ring is only propagated on ring.
11. system according to claim 10 is characterized in that, this system also comprises: block and delete cells, when being used to encircle node and being non-interconnecting nodes, detect adjacent link and break down, the ring upper port that obstruction links to each other with described link; Delete all address forwarding entrys related simultaneously with described ring upper port.
12. system according to claim 11, it is characterized in that, this system also comprises: encapsulation and retransmission unit, be used under the situation of data message loopback, the skin of the data message of loopback is encapsulated with loopback VLAN, the data message of described loopback is transmitted in the multicast mode on ring; Wherein, whole ether multi-ring network only has a loopback VLAN.
13. system according to claim 10 is characterized in that, this system also comprises: block and delete cells, when being used to encircle node and being interconnecting nodes, detect adjacent link and break down, the ring upper port that obstruction links to each other with described link; Delete the address forwarding entry related simultaneously with described ring upper port.
14. system according to claim 13, it is characterized in that, this system also comprises: the loopback unit, when being used for that node also contains many central ports of obstruction on the described ring, receive data message and search addresses forwarding table with the VLAN and the DMAC of described data message head, if do not find corresponding address forwarding entry, then with described data message loopback.
15. system according to claim 14 is characterized in that, described loopback unit further comprises: package module and Loopback Mode are selected module; Wherein,
Package module is used under the situation of described data message loopback, and the skin of the data message of loopback is encapsulated with loopback VLAN;
Described Loopback Mode is selected module, and the port blocked that is used to encircle node is on ring the time, selects data message with described loopback from another ring upper port forwarding; Perhaps, the port blocked that is used to encircle node is selected the data message of described loopback is transmitted from the ring upper port of other unblock in subring the time.
16. system according to claim 15 is characterized in that, this system also comprises: transmit and analytic unit, be used for receiving under the situation of the data message of loopback at node on the ring, the data message of the described loopback ring upper port from unblock is forwarded; The data message that copies a described loopback simultaneously is for node analysis on the described ring;
Wherein, described analysis comprises: node adopts the inner VLAN and the DMAC of the data message head of described loopback on the described ring, searches the outbound port of the data message of described loopback in addresses forwarding table.
CN2009102255894A 2009-12-03 2009-12-03 Selective address refreshing method and system of Ethernet multi-ring network Expired - Fee Related CN102088493B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102255894A CN102088493B (en) 2009-12-03 2009-12-03 Selective address refreshing method and system of Ethernet multi-ring network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102255894A CN102088493B (en) 2009-12-03 2009-12-03 Selective address refreshing method and system of Ethernet multi-ring network

Publications (2)

Publication Number Publication Date
CN102088493A true CN102088493A (en) 2011-06-08
CN102088493B CN102088493B (en) 2013-11-06

Family

ID=44100105

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102255894A Expired - Fee Related CN102088493B (en) 2009-12-03 2009-12-03 Selective address refreshing method and system of Ethernet multi-ring network

Country Status (1)

Country Link
CN (1) CN102088493B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168169A (en) * 2014-07-15 2014-11-26 杭州华三通信技术有限公司 MAC entry deleting method and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060215546A1 (en) * 2005-03-28 2006-09-28 Fujitsu Limited Data relay apparatus and failure recovery method
CN101248627A (en) * 2005-05-25 2008-08-20 诺基亚西门子通信有限责任两合公司 Ring network and method for automatic protection switching
CN101345683A (en) * 2007-07-11 2009-01-14 中兴通讯股份有限公司 Protocol packet transmission control method of Ethernet automatic protection switch system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060215546A1 (en) * 2005-03-28 2006-09-28 Fujitsu Limited Data relay apparatus and failure recovery method
CN101248627A (en) * 2005-05-25 2008-08-20 诺基亚西门子通信有限责任两合公司 Ring network and method for automatic protection switching
CN101345683A (en) * 2007-07-11 2009-01-14 中兴通讯股份有限公司 Protocol packet transmission control method of Ethernet automatic protection switch system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168169A (en) * 2014-07-15 2014-11-26 杭州华三通信技术有限公司 MAC entry deleting method and equipment
CN104168169B (en) * 2014-07-15 2017-11-28 新华三技术有限公司 A kind of MAC address entries delet method and equipment

Also Published As

Publication number Publication date
CN102088493B (en) 2013-11-06

Similar Documents

Publication Publication Date Title
US8031590B2 (en) Method, apparatus and system for ring protection
CN101902353B (en) Protecting method, device and system of packet network
CN101662421B (en) Method and device for transmitting control message based on ethernet multi-ring network
CN101072237B (en) Eth-loop intelligent protection method
CN100596356C (en) Network node and fault recovery method of Ethernet ring network therein
CN101677267B (en) Method for retransmitting protocol frames in transannular way and sharing nodes in multiple rings of Ethernet
EP2501084B1 (en) Transmission multi-protocol label switching network system and link protection method
CN101714939A (en) Fault treatment method for Ethernet ring network host node and corresponding Ethernet ring network
CN101072155B (en) Single optical fiber fault processing method for Ethernet automatic protection system
CN102158384A (en) Novel MRing Ethernet ring network protection technology
EP2426855B1 (en) Address refresh method and system
CN102480409A (en) Method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, RRPP loop and device
CN101815029B (en) Address refreshing method of sub-loop virtual channel
CN101820376B (en) Method and system for realizing rapid convergence in ring network
CN103078777A (en) Method and device for eliminating loop in resilient packet ring network
CN101834770B (en) Ethernet multiple-ring network address refreshing method and device
KR101302815B1 (en) Method and system for blocking protocol messages at a sub-ring control channel without virtual channel
CN101141367A (en) Method, system and node equipment for improving dependability of fast looped network
CN101136838A (en) Bridge mode elastic grouping ring transannular bridge equipment redundancy protecting method
CN101815023B (en) Method for transmitting sub-loop protocol message in virtual channel
EP2400697A1 (en) Implementation method for protocol channel in ethernet protection
CN102088493A (en) Selective address refreshing method and system of Ethernet multi-ring network
CN101938395A (en) Method and system for refreshing single ring address of Ethernet ring network
CN101677281B (en) Ether multiple ring control channel allocation and message transmission method thereof
CN101741672B (en) Switching method and device for automatic protection channel

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131106

Termination date: 20171203