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

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

Info

Publication number
CN102088492A
CN102088492A CN2009102255841A CN200910225584A CN102088492A CN 102088492 A CN102088492 A CN 102088492A CN 2009102255841 A CN2009102255841 A CN 2009102255841A CN 200910225584 A CN200910225584 A CN 200910225584A CN 102088492 A CN102088492 A CN 102088492A
Authority
CN
China
Prior art keywords
ring
data message
loopback
node
port
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.)
Pending
Application number
CN2009102255841A
Other languages
Chinese (zh)
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 CN2009102255841A priority Critical patent/CN102088492A/en
Publication of CN102088492A publication Critical patent/CN102088492A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a selective address refreshing method of an Ethernet ring network. The method comprises the following step of: realizing selective address refreshing by using the Ethernet ring network through a loopback data message. The invention also discloses a selective address refreshing system of the Ethernet ring network. The system comprises an address refreshing unit for realizing selective address refreshing by using the Ethernet ring network through the loopback data message. Due to the adoption of the method and the system, the performance of the Ethernet ring network can be promoted.

Description

A kind of selectivity address method for refreshing and system of ethernet 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 ethernet 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 ethernet ring network.
For example, be illustrated in figure 1 as the structural representation of ethernet ring network, among Fig. 1, node A to F is the node with Ethernet function of exchange, and network M is connected with Node B, and network N is connected with node D.Communicate between network M and the network N.2 physical pathways are arranged between network M and the network N, that is: network N ← → node D ← → node C ← → Node B ← → network M; Network N ← → node D ← → node E ← → node F ← → node A ← → Node B ← → network M.
When using the Ethernet ring protection switching technology; General Definition ring protection link and Control Node; that is: under the trouble-free situation of ethernet ring network; on the ring data message being blocked the link that prevents loop formation is the ring protection link; by operation, can carry out the primary path of looped network and the switching in protection path to this section ring protection link.The node that has the ring protection link is called Control Node here or is called host node.As shown in Figure 2, the node that looped network comprises has A, B, C, D, E and F, and the link that comprises has<A, B 〉,<B, C 〉,<C, D 〉,<D, E 〉,<E, F〉and<F, A〉link.Node A is a Control Node, with a2 direct port connection link<F, A〉be the ring protection link.
When ring uplink when intact, Control Node is blocked the data message forwarding function of the port that links to each other with the ring protection link, and loop free produces in the network, has prevented the broadcast storm that causes owing to network loop.As shown in Figure 2, Control Node A has blocked the protected data forwarding capability of a2 port, and the communication path of network M and N is: network M ← → Node B ← → node C ← → node D ← → network N.
When link occurs fault, Control Node is decontroled the data message forwarding function of port that links to each other with the ring protection link, thereby has ensured professional connection.As shown in Figure 3, on the ring<B, C〉fault taken place in link, and Control Node A has decontroled the data message forwarding function of port a2, and the communication path that network M and N are new is: network M ← → Node B ← → node A ← → node F ← → node E ← → node D ← → network N.
In ethernet ring network, the node on each looped network is connecting a large amount of subnets, is safeguarding a huge addresses forwarding table, transmits a message and need spend more tabling look-up the time on looped network.As shown in Figure 4, the link<A on the ring, F〉be the ring protection link, node A is a Control Node.Each Ethernet switching node has connected 10000 subnets on the ring, and each switching node has been safeguarded a huge addresses forwarding table, and as shown in Figure 5, the forwarding entry maximum that each addresses forwarding table comprises can reach 5 * 1010.When network topology changes, such as, when the link switchover that link occurs fault causes causes network topology to change, each node on the ring is transmitted refresh address, the refresh all that transmit each address of node has not only increased the weight of each address of node learning tasks, and increased the scale of broadcast storm on the ethernet ring network greatly, network performance has been brought great harm.
From top analysis as can be seen, when the topology of looped network changes, because the address flush scheme of existing ethernet ring network can cause large-scale data broadcasting storm, therefore, proposing a kind of new type of selective address flush scheme is very significant to the performance that promotes ethernet ring network.
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 ethernet ring network, can promote the performance of ethernet 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 ethernet ring network, this method comprises: ethernet ring network adopts the data message of loopback, realizes optionally address flush.
Wherein, under the situation of ethernet ring network configuration and troubleshooting, this method further comprises:
Configuration loopback Virtual Local Area Network on ring; Wherein, to identify the data message of current transmission be the data message of described loopback to described loopback VLAN;
When node detection is to the adjacent link fault on the ring, block the ring upper port that links to each other with described link; Upgrade the address forwarding entry related with port blocked.
Wherein, the described renewal address forwarding entry related with port blocked specifically comprises: the current ring upper port that node is corresponding with described address forwarding entry on the described ring changes to another ring upper port.
Wherein, under the situation that node is handled the data message that receives on the ring, this method further comprises:
When node contains the ring upper port of obstruction on the current ring, after node is received described data message on the ring, VLAN and purpose Media Access Control Address (DMAC) with the data message head, in addresses forwarding table, inquire about, if the outbound port that inquires is consistent with the ring upper port of receiving data packets, 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, receive under the situation of the data message of loopback at node on the ring, this method further comprises:
During node does not have to block on the current ring ring upper port, after node is received the data message of loopback on the ring, the data message of described loopback is forwarded from another ring in the multicast mode; The data message that copies a described loopback simultaneously is for node analysis on the described ring;
Perhaps, when node contains the ring upper port of obstruction on the current ring, after node is received the data message of loopback on the ring, inner VLAN and DMAC with the data message of described loopback, in addresses forwarding table, inquire about, if inquire port blocked on the ring that outbound port is a node on the described ring, node abandons the data message of described loopback on the then described ring.
Wherein, the data message of the described loopback of node analysis is specially on the described ring: node adopts the inner VLAN of data message head of described loopback and the outbound port of the data message that DMAC inquires about described loopback on the described ring;
Wherein, the outbound port of inquiring about the data message of described loopback specifically comprises:
If node adopts described inner VLAN and DMAC on the ring, in addresses forwarding table, inquire the ring upper port of outbound port for the data message of the described loopback of reception, then ring is gone up the address forwarding entry that knot removal inquires; Perhaps,
If node adopts described inner VLAN and DMAC on the ring, in addresses forwarding table, inquire outbound port and be following central port, then ring is gone up the loopback VLAN that node is peelled off the data message of described loopback, and forwards from described central port down; Perhaps,
If node adopts described inner VLAN and DMAC on the ring, in addresses forwarding table, inquire outbound port and be another ring upper port, then ring is gone up the processing that node is not correlated with; Wherein, another ring upper port is: be not the ring upper port that receives the data message of described loopback; Perhaps,
If node adopts described inner VLAN and DMAC on the ring, in addresses forwarding table, do not inquire relevant address forwarding entry, then ring is gone up the loopback VLAN that node is peelled off the data message of described loopback, and broadcasts to the acyclic upper port.
A kind of selectivity address updating system of ethernet ring network, this system comprises: the address flush unit, be used for the data message that ethernet ring network adopts loopback, realize optionally address flush.
Wherein, this system also comprises: dispensing unit and obstruction and updating block; Wherein,
Dispensing unit is used for configuration loopback VLAN on ring; Wherein, to identify the data message of current transmission be the data message of described loopback to described loopback VLAN;
Block and updating block, when being used to encircle node detection, block the ring upper port that links to each other with described link to the adjacent link fault; Upgrade the address forwarding entry related with port blocked.
Wherein, described obstruction and updating block are further used for node on the described ring the current ring upper port of described address forwarding entry correspondence are changed to another ring upper port.
Wherein, this system also comprises: the data message processing unit is used to encircle node the data message that receives is handled;
Wherein, described processing comprises: when node contains the ring upper port of obstruction on the current ring, after node is received described data message on the ring, VLAN and DMAC with the data message head, in addresses forwarding table, inquire about, if the outbound port that inquires is consistent with the ring upper port of receiving data packets, then with described data message loopback.
Wherein, described data message processing unit also comprises: encapsulation and forwarding module, be used for the skin of the data message of loopback is encapsulated with loopback VLAN, and the data message of described loopback is transmitted in the multicast mode on ring.
Wherein, this system also comprises: the data message processing unit of loopback is used to encircle node the data message of the loopback that receives is handled;
Wherein, described processing comprises: during node does not have to block on the current ring ring upper port, after node is received the data message of loopback on the ring, the data message of described loopback is forwarded from another ring in the multicast mode; The data message that copies a described loopback simultaneously is for node analysis on the described ring;
Perhaps, when node contains the ring upper port of obstruction on the current ring, after node is received the data message of loopback on the ring, inner VLAN and DMAC with the data message of described loopback, in addresses forwarding table, inquire about, if inquire port blocked on the ring that outbound port is a node on the described ring, node abandons the data message of described loopback on the then described ring.
Ethernet ring network of the present invention adopts the data message of loopback, realizes optionally address flush.
Adopt the present invention, under the scene of ethernet ring network, the data message by loopback selectively carries out address flush, has avoided prior art not have and has selected the broadcast storm that refresh all caused, thereby promoted the performance of ethernet ring network.
Description of drawings
Fig. 1 is the structural representation of looped network;
Fig. 2 is the data forwarding schematic diagram under the looped network non-failure conditions;
The schematic diagram that the data flow protection is switched under the situation that Fig. 3 breaks down for looped network;
Fig. 4 connects the schematic diagram of subnet for looped network;
Fig. 5 goes up the schematic diagram that transmit the address of node for ring;
Fig. 6 is the looped network configuration of the inventive method embodiment one and the flow chart of troubleshooting;
The flow chart that Fig. 7 handles the data message for the node of the looped network of the inventive method embodiment two;
Fig. 8 is a schematic diagram of example one of the present invention;
Fig. 9 is another schematic diagram of example one of the present invention.
Embodiment
Basic thought of the present invention is: ethernet ring network adopts the data message of loopback, realizes optionally address flush.
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 ethernet ring network, this method comprises: ethernet ring network adopts the data message of loopback, realizes optionally address flush.
Here, under the situation of ethernet ring network configuration and troubleshooting, this method further comprises: configuration loopback Virtual Local Area Network on ring; Wherein, to identify the data message of current transmission be the data message of loopback to loopback VLAN.When node detection is to the adjacent link fault on the ring, block the ring upper port that links to each other with link; Upgrade the address forwarding entry related with port blocked.Here it is to be noted: said port blocked all is meant in the literary composition: the ring upper port of obstruction, and also can be called ring and go up port blocked, do not give unnecessary details.
Wherein, the described renewal address forwarding entry related with port blocked specifically comprises: the current ring upper port that node is corresponding with the address forwarding entry on the ring changes to another ring upper port.
Here, under the situation that node is handled the data message that receives on the ring, this method further comprises: when node contains the ring upper port of obstruction on the current ring, after node is received data message on the ring, VLAN and purpose Media Access Control Address (DMAC) with the data message head, in addresses forwarding table, inquire about, if the outbound port that inquires is consistent with the ring upper port of receiving data packets, 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.
Here, receive under the situation of data message of loopback at node on the ring, this method further comprises: the process that the data message of the loopback that receives is handled.This process is had nothing in common with each other under different situations, below sets forth respectively.
First kind of situation: node is on the current ring: the node that does not have the ring upper port of obstruction.
At this moment, after node is received the data message of loopback on the ring, the data message of loopback is forwarded from another ring in the multicast mode; The data message that copies a loopback is simultaneously gone up node analysis for ring.
Wherein, the data message of node analysis loopback is specially on the ring: the outbound port of the data message of the inner VLAN of the data message head of node employing loopback and DMAC inquiry loopback on the ring.Below different disposal when inquiring port set forth respectively.
First kind: adopt inner VLAN and DMAC if ring is gone up node, inquire the ring upper port of outbound port for the data message of reception loopback in addresses forwarding table, then ring is gone up the address forwarding entry that knot removal inquires.
Second kind: adopt inner VLAN and DMAC if ring is gone up node, in addresses forwarding table, inquire outbound port and be following central port, then ring is gone up node and is peelled off the loopback VLAN of the data message of loopback, and the data message that will peel off loopback VLAN forwards from central port down.
The third: adopt inner VLAN and DMAC if ring is gone up node, inquire outbound port and be another ring upper port in addresses forwarding table, then ring is gone up the processing that node is not correlated with; Wherein, another ring upper port is: be not the ring upper port that receives the data message of loopback.
The 4th kind: adopt inner VLAN and DMAC if ring is gone up node, in addresses forwarding table, do not inquire relevant address forwarding entry, then ring is gone up node and is peelled off the loopback VLAN of the data message of loopback, and the data message that will peel off loopback VLAN is broadcasted to the acyclic upper port.
Second kind of situation: node is on the current ring: the node that contains the ring upper port of obstruction.
At this moment, after node was received the data message of loopback on the ring, inner VLAN and DMAC with the data message of loopback inquired about in addresses forwarding table, went up port blocked on the ring of node for ring if inquire outbound port, and then ring is gone up the data message that node abandons loopback.
In sum, the present invention mainly comprises following content:
Core concept of the present invention is: utilize the data message of loopback to trigger the deletion of misaddress forwarding entry.For realizing this core concept, the present invention must realize following several respects function:
One: when ring was gone up the ring upper port generation obstruction of node, this ring was gone up the node updates address forwarding entry related with described port blocked.Method for updating is that the ring upper port with the described address forwarding entry correspondence that is updated changes to another ring upper port.
Two: go up data message that node (containing port blocked) receives and consistent with the ring upper port of this message of reception with the outbound port of finding during DMAC is transmitting with the VLAN of this data message head when ring, so described data message will be by loopback.
Three: the data message of loopback must be encapsulated by loopback VLAN, and transmits in the multicast mode on ring.Wherein, this 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 receiving the data message of loopback, described node forwards this data message in the multicast mode from another ring when ring is gone up node (the ring upper port that does not have obstruction).Copy is a for node analysis simultaneously, and this node divides following 4 kinds of situations processing with the outbound port that the inner VLAN and the DMAC of the data message head of loopback searches this message:
If 1 outbound port of finding is the ring upper port that receives the data message of described loopback, this knot removal is described find transmit clauses and subclauses.
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, node does not carry out relevant treatment on the then described ring.Wherein, another ring upper port is: be not the ring upper port that receives described data message.
If 4 do not find the relative address forwarding entry in addresses forwarding table, this node is peelled off the loopback VLAN of the data message of loopback, broadcasts to the acyclic upper port then.
Five: when ring is gone up the data message that node (the ring upper port that contains obstruction) is received loopback, and be port blocked on the ring of this node with the outbound port that the inner VLAN and the DMAC of this message searches in transmitting, this node abandons the data message of this loopback.
Below to the present invention's elaboration of giving an example.
Method embodiment one: as shown in Figure 6, configuration of the looped network of present embodiment and troubleshooting process mainly may further comprise the steps:
Step 401, the ring on the configuration loopback VLAN.
Here, this loopback VLAN encapsulates the data message of loopback, is used for transmitting the data message of this loopback specially.
The state of node detection adjacent link on step 402, the ring.
Step 403, detect this adjacent link and whether block, if then change step 404 over to.
Step 404, this ring are gone up the ring upper port that node blocks and the obstruction link links to each other; Simultaneously, upgrade the address forwarding entry related with port blocked.
Here, method for updating is: the ring upper port of the address forwarding entry correspondence that is updated is changed to another ring upper port.
Method embodiment two: as shown in Figure 7, the flow process that the node of the looped network of present embodiment is handled the data message of receiving mainly may further comprise the steps:
Node is received data message on step 501, the ring, the VLAN of reading of data message.
Step 502, judge whether VLAN is loopback VLAN, if loopback VLAN then changes step 503 over to; Otherwise change step 511 over to.
Step 503, this ring are gone up node and in the multicast mode this data message are forwarded from another ring; Copy is a simultaneously goes up node analysis for this ring.
Here, this ring is gone up the data message of node with loopback, and the inner VLAN of head and DMAC search the outbound port of this message.
Whether the outbound port that step 504, judgement are found is port blocked, if not, then change step 505 over to; Otherwise change step 510 over to.
Step 505,4 kinds of situations of branch are handled.
Here, situation 1: the outbound port that is found is consistent with the ring upper port that receives this message, changes step 506 over to.
Situation 2: the outbound port that is found is following central port, changes step 507 over to.
Situation 3: the outbound port that is found is another ring upper port, changes step 508 over to.
Situation 4: in transmitting, do not find relevant forwarding entry, change step 509 over to.
The forwarding entry deletion of node correspondence in transmitting on step 506, the ring with inner VLAN and DMAC.
After node is peelled off the loopback VLAN of data message of loopback on step 507, the ring, this message is forwarded from the following central port of finding.
Node is not done corresponding action on step 508, the ring.
Step 509, this node are broadcasted to the acyclic upper port after peelling off the loopback VLAN of data message of loopback.
Node abandons the data message of this loopback on step 510, the ring.
Step 511, this ring are gone up VLAN and the DMAC of node with the data message head, search the outbound port of this message in transmitting.
Whether the outbound port that step 512, judgement are found is consistent with the ring upper port that receives this message, if consistent, then changes step 513 over to; Otherwise, change step 514 over to.
After node is gone up loopback VLAN with the encapsulation of this message on step 513, the ring, forward from another ring upper port of non-this message of reception.
Node forwards this message on step 514, the ring from the port that is searched.
Below further set forth the selectivity address update method based on the loopback message of the present invention by example one, but not as a limitation of the invention.
Example one: as Fig. 8, shown in Figure 9, this example is an instantiation under looped network breaks down situation.A among Fig. 8, Fig. 9 is a Control Node.
As shown in Figure 8, the node that looped network comprises has A, B, C, D, E and F, and the link that comprises has<A, B 〉,<B, C 〉,<C, D 〉,<D, E 〉,<E, F〉and<F, A〉link.Node A is a Control Node, with its a2 direct port connection link<F, A〉be the ring protection link, the a2 port of node A blocking data message forwarding under the looped network normal condition.Node A, B and D have been connected node on 10000 subnet rings respectively, and sending datagram to subnet D0 on VLAN6 with subnet B0 below is that example illustrates specific implementation process of the present invention.
Under the looped network non-failure conditions, Control Node A blocks the data message forwarding function of its a2 port, and Node B can only be learnt the MAC Address of D0 from its b1 port on VLAN6, and node C can only learn the MAC Address of D0 from its c1 port on VLAN6.Therefore, subnet B0 on VLAN6 to the path that subnet D0 sends datagram is:
B0→B→C→D→D0。
As<C, D〉fault taken place in link, and node C blocks the forwarding capability of the data message of c1 port, and outwards periodically sends SF message (fault warning message) along the c2 port, revises the address forwarding entry with the c1 port association simultaneously; Node D blocks the forwarding capability of the data message of d2 port, and outwards periodically sends the SF message along the d2 port, revises the address forwarding entry with the d2 port association simultaneously.Wherein, the address forwarding entry of described modification and c1 port association, for instance, such as, can with the c1 port modifications of D0 and VLAN6 correspondence the c2 port.
After Control Node A receives the SF message, open the data message forwarding function of a2 port.
Node C receives when B0 mails to the data message P1 of D0 on VLAN6, node C utilizes the VLAN6 of P1 head and MAC Address D0 to table look-up, find that outbound port c2 is identical with the port that receives the P1 data message, node C is with P1 data message loopback, and loopback VLAN is gone up in encapsulation simultaneously.
When Node B (A) was received from the data message of node C loopback, discovery was the data message of loopback, in the multicast mode this message another ring upper port from them was forwarded, and copy is a for node analysis simultaneously.Node B (A) is tabled look-up with the inner VLAN 6 and the MAC Address D0 of P1 head, finds that outbound port b1 (a1) is identical with the port that receives the P1 data message, the forwarding entry of Node B (A) deletion VLAN6 and MAC Address D0 correspondence in transmitting.
When node F (E) received the data message P1 of loopback, discovery was the data message of loopback, in the multicast mode this message another ring upper port from them was forwarded, and copy is a for node analysis simultaneously.Node B (A) is tabled look-up with the inner VLAN 6 and the MAC Address D0 of P1 head, finds that outbound port b1 (a1) is inequality with the ring upper port that receives the P1 data message, and corresponding forwarding entry in transmitting is left intact Node B (A) to VLAN6 and MAC Address D0.
When node D receives the data message P1 of loopback, table look-up, find that outbound port d3 is central port down with the inner VLAN 6 and the MAC Address D0 of P1 head.Node D peels off the outer special loopback VLAN of the data message P1 of loopback, and the downward central port d3 of this message after will handling simultaneously transmits.
Subsequently, when Node B (A) from b2 (a2) port after VLAN6 learns MAC Address D0, subnet B0 on VLAN6 to the path that subnet D0 sends datagram is:
B0→B→A→F→E→D→D0。
In sum, the data message based on loopback of the present invention, the selectivity that is driven refreshes the scheme of transmitting and has solved existing scheme owing to the shortcoming that refreshes the broadcast storm that whole addresses forwarding table causes, has improved the network performance of ethernet ring network greatly.What also need emphasize in addition is: adopting the present invention, when inquire address is transmitted, because data message is not dropped, is normal the operation, therefore, still can transmit by inquire address when the looping back data message.The present invention is different from the table lookup operation that abandons data message need spend the plenty of time, can guarantee that convergence time was less than the high real-time requirement of 50ms when protection was switched.
A kind of selectivity address updating system of ethernet ring network, this system comprises the address flush unit, the address flush unit is used for the data message that ethernet ring network adopts loopback, realizes optionally address flush.
Here, this system also comprises: dispensing unit and obstruction and updating block.Wherein, dispensing unit is used for configuration loopback VLAN on ring; Wherein, to identify the data message of current transmission be the data message of loopback to loopback VLAN.When obstruction and updating block are used to encircle node detection to the adjacent link fault, block the ring upper port that links to each other with link; Upgrade the address forwarding entry related with port blocked.
Here, block and updating block is further used for encircling node and the current ring upper port of address forwarding entry correspondence is changed to another encircles upper port.
Here, this system also comprises the data message processing unit, and the data message processing unit is used to encircle node to be handled the data message that receives.Wherein, processing comprises: when node contains the ring upper port of obstruction on the current ring, after node is received data message on the ring, VLAN and DMAC with the data message head, in addresses forwarding table, inquire about, if the outbound port that inquires is consistent with the ring upper port of receiving data packets, then with the data message loopback.
Here, the data message processing unit also comprises encapsulation and forwarding module, and encapsulation and forwarding module are used for the skin of the data message of loopback is encapsulated with loopback VLAN, and the data message of loopback is transmitted in the multicast mode on ring.
Here, this system also comprises the data message processing unit of loopback, and the data message processing unit of loopback is used to encircle node to be handled the data message of the loopback that receives.Wherein, a kind of mode of processing comprises: during node does not have to block on the current ring ring upper port, after node is received the data message of loopback on the ring, the data message of loopback is forwarded from another ring in the multicast mode; The data message that copies a loopback simultaneously is for node analysis on the described ring.Perhaps, the another kind of mode of handling comprises: when node contains the ring upper port of obstruction on the current ring, after node is received the data message of loopback on the ring, inner VLAN and DMAC with the data message of loopback, in addresses forwarding table, inquire about, go up port blocked on the ring of node for ring if inquire outbound port, then ring is gone up the data message that node abandons loopback.
Here, the above Chinese and English that relates to literal is carried out as directed: loopback is represented with wrap; Addresses forwarding table is also referred to as the FDB table; 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 (13)

1. the selectivity address method for refreshing of an ethernet ring network is characterized in that this method comprises: ethernet ring network adopts the data message of loopback, realizes optionally address flush.
2. method according to claim 1 is characterized in that, under the situation of ethernet ring network configuration and troubleshooting, this method further comprises:
Configuration loopback Virtual Local Area Network on ring; Wherein, to identify the data message of current transmission be the data message of described loopback to described loopback VLAN;
When node detection is to the adjacent link fault on the ring, block the ring upper port that links to each other with described link; Upgrade the address forwarding entry related with port blocked.
3. method according to claim 2 is characterized in that, the described renewal address forwarding entry related with port blocked specifically comprises: the current ring upper port that node is corresponding with described address forwarding entry on the described ring changes to another ring upper port.
4. method according to claim 1 is characterized in that, under the situation that node is handled the data message that receives on the ring, this method further comprises:
When node contains the ring upper port of obstruction on the current ring, after node is received described data message on the ring, VLAN and purpose Media Access Control Address (DMAC) with the data message head, in addresses forwarding table, inquire about, if the outbound port that inquires is consistent with the ring upper port of receiving data packets, then with described data message loopback.
5. method according to claim 4, 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.
6. method according to claim 5 is characterized in that, receives under the situation of the data message of loopback at node on the ring, and this method further comprises:
During node does not have to block on the current ring ring upper port, after node is received the data message of loopback on the ring, the data message of described loopback is forwarded from another ring in the multicast mode; The data message that copies a described loopback simultaneously is for node analysis on the described ring;
Perhaps, when node contains the ring upper port of obstruction on the current ring, after node is received the data message of loopback on the ring, inner VLAN and DMAC with the data message of described loopback, in addresses forwarding table, inquire about, if inquire port blocked on the ring that outbound port is a node on the described ring, node abandons the data message of described loopback on the then described ring.
7. method according to claim 6, it is characterized in that the data message of the described loopback of node analysis is specially on the described ring: node adopts the inner VLAN of data message head of described loopback and the outbound port of the data message that DMAC inquires about described loopback on the described ring;
Wherein, the outbound port of inquiring about the data message of described loopback specifically comprises:
If node adopts described inner VLAN and DMAC on the ring, in addresses forwarding table, inquire the ring upper port of outbound port for the data message of the described loopback of reception, then ring is gone up the address forwarding entry that knot removal inquires; Perhaps,
If node adopts described inner VLAN and DMAC on the ring, in addresses forwarding table, inquire outbound port and be following central port, then ring is gone up the loopback VLAN that node is peelled off the data message of described loopback, and forwards from described central port down; Perhaps,
If node adopts described inner VLAN and DMAC on the ring, in addresses forwarding table, inquire outbound port and be another ring upper port, then ring is gone up the processing that node is not correlated with; Wherein, another ring upper port is: be not the ring upper port that receives the data message of described loopback; Perhaps,
If node adopts described inner VLAN and DMAC on the ring, in addresses forwarding table, do not inquire relevant address forwarding entry, then ring is gone up the loopback VLAN that node is peelled off the data message of described loopback, and broadcasts to the acyclic upper port.
8. the selectivity address updating system of an ethernet ring network is characterized in that this system comprises: the address flush unit, be used for the data message that ethernet ring network adopts loopback, and realize optionally address flush.
9. system according to claim 8 is characterized in that, this system also comprises: dispensing unit and obstruction and updating block; Wherein,
Dispensing unit is used for configuration loopback VLAN on ring; Wherein, to identify the data message of current transmission be the data message of described loopback to described loopback VLAN;
Block and updating block, when being used to encircle node detection, block the ring upper port that links to each other with described link to the adjacent link fault; Upgrade the address forwarding entry related with port blocked.
10. system according to claim 9 is characterized in that, described obstruction and updating block are further used for node on the described ring the current ring upper port of described address forwarding entry correspondence is changed to another ring upper port.
11. system according to claim 8 is characterized in that, this system also comprises: the data message processing unit is used to encircle node the data message that receives is handled;
Wherein, described processing comprises: when node contains the ring upper port of obstruction on the current ring, after node is received described data message on the ring, VLAN and DMAC with the data message head, in addresses forwarding table, inquire about, if the outbound port that inquires is consistent with the ring upper port of receiving data packets, then with described data message loopback.
12. system according to claim 11, it is characterized in that, described data message processing unit also comprises: encapsulation and forwarding module, be used for the skin of the data message of loopback is encapsulated with loopback VLAN, and the data message of described loopback is transmitted in the multicast mode on ring.
13. system according to claim 12 is characterized in that, this system also comprises: the data message processing unit of loopback is used to encircle node the data message of the loopback that receives is handled;
Wherein, described processing comprises: during node does not have to block on the current ring ring upper port, after node is received the data message of loopback on the ring, the data message of described loopback is forwarded from another ring in the multicast mode; The data message that copies a described loopback simultaneously is for node analysis on the described ring;
Perhaps, when node contains the ring upper port of obstruction on the current ring, after node is received the data message of loopback on the ring, inner VLAN and DMAC with the data message of described loopback, in addresses forwarding table, inquire about, if inquire port blocked on the ring that outbound port is a node on the described ring, node abandons the data message of described loopback on the then described ring.
CN2009102255841A 2009-12-03 2009-12-03 Selective address refreshing method and system of Ethernet ring network Pending CN102088492A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
CN102088492A true CN102088492A (en) 2011-06-08

Family

ID=44100104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102255841A Pending CN102088492A (en) 2009-12-03 2009-12-03 Selective address refreshing method and system of Ethernet ring network

Country Status (1)

Country Link
CN (1) CN102088492A (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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN101425953A (en) * 2008-12-09 2009-05-06 中兴通讯股份有限公司 Address updating method for Ether ring network and network node
CN101442465A (en) * 2007-11-23 2009-05-27 中兴通讯股份有限公司 Address update method for Ethernet looped network failure switching

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN101442465A (en) * 2007-11-23 2009-05-27 中兴通讯股份有限公司 Address update method for Ethernet looped network failure switching
CN101425953A (en) * 2008-12-09 2009-05-06 中兴通讯股份有限公司 Address updating method for Ether ring network and network node

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

Similar Documents

Publication Publication Date Title
JP4688765B2 (en) Network redundancy method and intermediate switch device
US7502314B2 (en) Label-switched path network with alternate routing control
CN101662421B (en) Method and device for transmitting control message based on ethernet multi-ring network
EP2392105B1 (en) Port table flushing in ethernet networks
CN101072154B (en) Loop Ethernet switching method
CN101072155B (en) Single optical fiber fault processing method for Ethernet automatic protection system
CN102480409B (en) Method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, RRPP loop and device
CN102055658B (en) Method and equipment for realizing failure protection in rapid ring protection protocol single-ring networking
CN101854283A (en) Communication method and equipment of RPR (Resilient Packet Ring) looped network
CN101783743B (en) Business protection method and switching node
CN103873333A (en) Ring network three-layer convergence method and device
CN102916862B (en) Intelligent looped network dynamic protection method of industrial Ethernet switch
JP5491623B2 (en) Address refresh method and system
CN101815029B (en) Address refreshing method of sub-loop virtual channel
CN101888323B (en) Ethernet ring network-based PBB-TE protection method
CN101834770B (en) Ethernet multiple-ring network address refreshing method and device
CN101729361A (en) Method and device for processing message
CN103546383A (en) Redundancy transmission method, device and system for looped network
CN101136838A (en) Bridge mode elastic grouping ring transannular bridge equipment redundancy protecting method
CN102088492A (en) Selective address refreshing method and system of Ethernet ring network
CN101888340B (en) Method for refreshing regional addresses of subring
CN101938395A (en) Method and system for refreshing single ring address of Ethernet ring network
CN101262400A (en) A method and system for flexible packet loop redundant protection under bride mode
CN101815021A (en) Method for implementing protocol channel in Ethernet protection
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
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110608