CN101834771A - Method and system for refreshing media access control - Google Patents
Method and system for refreshing media access control Download PDFInfo
- Publication number
- CN101834771A CN101834771A CN200910079480A CN200910079480A CN101834771A CN 101834771 A CN101834771 A CN 101834771A CN 200910079480 A CN200910079480 A CN 200910079480A CN 200910079480 A CN200910079480 A CN 200910079480A CN 101834771 A CN101834771 A CN 101834771A
- Authority
- CN
- China
- Prior art keywords
- mac address
- node
- address
- destination
- refreshing
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5053—Lease time; Renewal aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a method for refreshing a media access control address. The method comprises the following steps of: acquiring a target media access control (MAC) address to be refreshed according to a port corresponding to a fault link between nodes; and selecting the MAC address matched with a source MAC address and the target MAC address to perform refreshing by matching the source MAC address of other nodes and the target MAC address. The invention also discloses a system for refreshing the media access control address, which comprises an acquisition unit, a matching unit and a refreshing unit, wherein the acquisition unit is used for acquiring the target MAC address to be refreshed according to the port corresponding to the fault link between the nodes; the matching unit is used for matching the source MAC address of other nodes and the target MAC address; and the refreshing unit is used for selecting the MAC address matched with the source MAC address and the target MAC address to perform refreshing. The method and the system of the invention can realize selective refreshing of the MAC address.
Description
Technical field
The present invention relates to the refresh technique of medium access control (MAC) address, relate in particular to a kind of in Ethernet ring protection is switched the method for refreshing and the system of MAC Address.
Background technology
Present extensive use Ethernet ring line structure in metropolitan area network or the enterprise network improves the reliability of network, when a link disconnects on the looped network, enables backup link and can recover the communication between each node on the looped network.Be illustrated in figure 1 as the composition structural representation of Ethernet Circle, the ethernet ring network of Fig. 1 is by node 21~node 25, user 11~user 12, the link between user 11 and the node 21, link between these five nodes, and the link between node 24 and the user 12 is formed.Wherein, the link between node 21 and the node 22 is protection link (RPL, Ring Protection Link), and node 21 is a host node, and node in addition all is a transmission node.Under the normal condition, it is port 31 in case the generation on stop ring road that node 21 blocks its corresponding RPL ports, this moment user 11 with user 12 between the communication path formed by node 21, node 25, node 24 and the link between them of the flow of message forwarding transmit.Certain node or link occurs fault when normal communication path; as shown in Figure 2; fault has taken place such as the link between node 25 and the node 24; after node 25 and node 24 detect fault; the non-working port that blocks node 25 and node 24 immediately; and the port by non-fault outwards sends corresponding failure detection protocol message periodically and notifies ring to go up this failure condition of other nodes; after node 21 is received this failure detection protocol message; to start wrap protection; open the port 31 of previous obstruction; flow between user 11 and the user 12 is switched to RPL, and the flow between user 11 and the user 12 is a node 21 by new communication path at this moment; node 22; node 23; node 24 and the link between them transmit.And, to switch in order to realize protecting fast, other nodes are received this failure detection protocol message on the ring, will carry out refreshing of MAC Address.
The method for refreshing of existing MAC Address is all clauses and subclauses of directly deleting in forwarding address database (FDB, the Filter Database) tabulation, and this method for refreshing is the method for refreshing of imposing uniformity without examining individual cases, and is very irrational.In fact when node on the loop or link occurs fault, be not that all MAC Address all need refresh.Adopt the method for refreshing of existing MAC Address,, therefore cause protecting the convergence time of switching longer owing to deleted the clauses and subclauses that much needn't refresh.Simultaneously, this excessively refreshing without all clauses and subclauses of selectively directly deleting in the FDB table, make the message between the user transmit the foundation that does not have forward-path, do not know how to transmit, the flow that also can make message forwarding between all users of each node is at each port inundation of loop, and take the shared bandwidth of normal service message converting flow, will cause congested when serious and have to abandon some service messages.In a word, long for fear of convergence time, can avoid again excessively refreshing the flow inundation that is caused, press for a kind of new method for refreshing, and, effective solution is not arranged as yet at present for this new method for refreshing.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method for refreshing and system of MAC Address, can realize selectively rationally refreshing, and can not only avoid convergence time long, can avoid excessively refreshing the flow inundation that is caused again.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of method for refreshing of Media Access Control Address, this method comprises:
According to faulty link corresponding port between the node, obtain target medium access control MAC address to be refreshed;
By coupling, select the MAC Address that described source MAC and destination-mac address are complementary is refreshed with the source MAC and the described destination-mac address of other nodes.
Wherein, obtain described destination-mac address and be specially: inquiry in the forwarding address database FDB of node tabulation, according to number inquiry of faulty link corresponding port and get access to corresponding described destination-mac address; Afterwards, create address deletion tabulation according to destination-mac address.
Wherein, also comprise before the described coupling: described other nodes receive the deletion tabulation of described address; Inquiry in the FDB of other nodes tabulation if can't inquire corresponding MAC Address according to the pairing port numbers of other node receiver address deletion tabulations, is not then carried out refreshing of MAC Address; Otherwise, carry out described coupling according to the MAC Address that inquires.
Wherein, carry out described coupling and be specially: from the deletion tabulation of described address, parse described destination-mac address, described MAC Address that inquires and destination-mac address are mated, if coupling is then carried out refreshing of MAC Address; Otherwise, do not carry out refreshing of MAC Address;
Refreshing of described MAC Address is specially: will delete with the MAC Address that destination-mac address is complementary, and realize refreshing.
Wherein, obtain before the described destination-mac address, also comprise: to comprising all nodes of described node and described other nodes, node M AC address with each node is sorted out respectively all MAC Address in the current FDB tabulation of each node, and with the index of described node M AC address as described current FDB tabulation.
Wherein, this method also comprises: after the protocol message that will comprise address deletion tabulation earlier was forwarded to described other nodes by described node, each node in described other nodes was realized refreshing of MAC Address simultaneously again.
A kind of updating system of Media Access Control Address, this system comprises: acquiring unit, matching unit and refresh unit; Wherein,
Acquiring unit is used for obtaining destination-mac address to be refreshed according to faulty link corresponding port between the node;
Matching unit is used for the source MAC and the described destination-mac address of other nodes are mated;
Refresh unit is used to select the MAC Address that described source MAC and destination-mac address are complementary is refreshed.
Wherein, this system also comprises: creating unit is used for creating address deletion tabulation according to described destination-mac address.
Wherein, this system also comprises: retransmission unit, the protocol message that is used for comprising the deletion tabulation of described address is forwarded to described other nodes by described node.
Wherein, described matching unit is further used for parsing described destination-mac address from the deletion tabulation of described address; To mate according to MAC Address and the destination-mac address that the pairing port numbers of other node receiver address deletion tabulations inquires, if coupling, then matching unit notifies described refresh unit to carry out refreshing of MAC Address; Otherwise matching unit does not notify described refresh unit to carry out refreshing of MAC Address;
Described refresh unit is further used for the MAC Address deletion that will be complementary with destination-mac address, and realizes refreshing.
The present invention obtains destination-mac address to be refreshed according to faulty link corresponding port between the node; By coupling, select the MAC Address that source MAC and destination-mac address are complementary is refreshed with source MAC and this destination-mac address of other nodes.
The present invention is different from single solution for diverse problems formula that existing MAC Address method for refreshing taked, without the flush mechanism of selecting, according to faulty link corresponding port between the node, obtain destination-mac address to be refreshed; And then with this destination-mac address as carrying out the foundation that MAC Address refreshes selectively and accurately, only the MAC Address that is complementary with this destination-mac address is refreshed, more reasonable than existing MAC Address method for refreshing.Adopt the present invention, when shortening protection switch time effectively, can prevent the inundation of service traffics on Ethernet Circle that is caused by excessively refreshing.
Description of drawings
Fig. 1 is the composition structural representation of Ethernet Circle under the normal condition;
Fig. 2 is the composition structural representation of Ethernet Circle under the protection switch status;
Fig. 3 is the realization flow schematic diagram of the inventive method;
Fig. 4 is the schematic diagram of the FDB tabulation of each node correspondence in the Ethernet Circle under the normal condition of the present invention;
Fig. 5 is the establishment schematic diagram of MAC Address deletion tabulation in the Ethernet Circle under the malfunction of the present invention;
Fig. 6 is the schematic diagram of the MAC Address refresh list of each node correspondence in the Ethernet Circle of the present invention.
Embodiment
Basic thought of the present invention is: according to faulty link corresponding port between the node, obtain destination-mac address to be refreshed; And then with this destination-mac address as carrying out the foundation that MAC Address refreshes selectively and accurately, only the MAC Address that is complementary with this destination-mac address is refreshed, more reasonable than existing MAC Address method for refreshing.
Be described in further detail below in conjunction with the enforcement of accompanying drawing technical scheme.
As shown in Figure 3, a kind of method for refreshing of MAC Address, this method may further comprise the steps:
Here, other nodes refer to: on the Ethernet Circle, and the node except that node related in the step 101.Node related in the step 101 refers to: two nodes that connect faulty link.
Here, source MAC can for: in other nodes on the Ethernet Circle, be stored in the MAC Address in the FDB tabulation separately in advance.And related destination-mac address to be refreshed can be MAC Address in the address deletion tabulation of being created according to faulty link corresponding port between the node in the step 101, this MAC Address is other nodes to be carried out selectively MAC Address when refreshing, for reaching the MAC Address of selecting and accurately refreshing institute's foundation is arranged, specifically, have only when the MAC Address in MAC Address in other nodes FDB tabulation and the address deletion tabulation is complementary, just the MAC Address that is complementary is refreshed, be about to the list item clauses and subclauses deletion in this MAC Address place other nodes FDB that is complementary tabulation.
At by the technical scheme that step 101~step 102 constituted, the concrete processing procedure of step 101 is: inquiry in the FDB tabulation that node is preserved, and according to number inquiry of faulty link corresponding port and get access to corresponding destination-mac address.Afterwards, create address deletion tabulation (DAL, Delete Address List) according to destination-mac address.
After creating DAL, also comprise step 101a before the coupling in execution in step 102, the concrete processing procedure of step 101a is: other nodes receive DAL; Inquiry in the FDB tabulation that other nodes are preserved can't inquire corresponding MAC Address if receive the pairing port numbers of DAL according to other nodes, does not then carry out refreshing of MAC Address; Otherwise, execution in step 102, and carry out the coupling of MAC Address according to the MAC Address that inquires.
Here, other nodes receive the pairing port numbers of DAL, number are the same with faulty link corresponding port between the node of mentioning in the concrete processing procedure of above-mentioned steps 101.Just because of the two is the same, so, could be based on the destination-mac address that number is obtained by faulty link corresponding port between the node, after the MAC Address of other nodes mated, selectively and the MAC Address of accurately carrying out other nodes refresh.
The concrete processing procedure of carrying out the coupling of MAC Address in the step 102 is: parse destination-mac address from DAL, MAC Address and the destination-mac address that inquires mated, if coupling is then carried out refreshing of MAC Address; Otherwise, do not carry out refreshing of MAC Address.
The concrete processing procedure that refreshes of carrying out MAC Address in the step 102 is: in the FDB tabulation that other nodes are preserved, will delete with the MAC Address that destination-mac address is complementary, and realize refreshing.
It is to be noted, the type of the FDB tabulation that the FDB tabulation that node is preserved and other nodes are preserved comprises two kinds of situations, the list type of first kind of situation comprises two contents, be specially: the user's MAC address that is inserted down with the MAC Address of node and node is as a content in the tabulation, and another content in the tabulation is a port numbers.Like this, obtain destination-mac address, and then when creating DAL, just comprised all MAC Address among the DAL according to destination-mac address based on port numbers.That is to say that the destination-mac address of this moment had both comprised the MAC Address of node, comprised the user's MAC address that node is inserted down again.So, follow-uply mate when refreshing with MAC Address based on the destination-mac address among the DAL, because the One's name is legion of destination-mac address, DAL is seriously redundant, therefore, can have influence on the efficient that refreshes of MAC Address.
In order to accelerate the efficient that refreshes of MAC Address, avoid the DAL redundancy that One's name is legion caused of destination-mac address simultaneously, can increase before the destination-mac address obtaining of step 101 and sort out step, the concrete processing procedure of sorting out step is: at all nodes that comprise node and other nodes, node M AC address with each node in all nodes self is sorted out respectively all MAC Address in the current FDB tabulation of each node self preservation, and with the index of node M AC address as current FDB tabulation.Thereby under first kind of situation, the type of the FDB tabulation that the FDB tabulation that node is preserved and other nodes are preserved is all after classification: adopting node M AC address is the FDB tabulation of index; The destination-mac address that comprises among the DAL is node M AC address, be: the list type of second kind of situation comprises three contents, be specially: as the node M AC address of list index, as first content in the tabulation, the user's MAC address that is inserted down with the MAC Address of node and node is as second content in the tabulation, and first content in the tabulation is port numbers.And, when creating DAL, mate and refreshing all based on the list index of port numbers correspondence.That is to say, the destination-mac address of this moment only comprises the MAC Address as the node of list index, so, follow-uply mate when refreshing with MAC Address based on the destination-mac address among the DAL, because destination-mac address only comprises the MAC Address of node, is different from first kind of situation, has lowered the quantity of destination-mac address greatly, thereby avoided the redundancy of DAL, can improve the efficient that refreshes of MAC Address greatly.
It is pointed out that this method also comprises: after the protocol message that will comprise DAL earlier was forwarded to other nodes by node, each node in other nodes was realized refreshing of MAC Address simultaneously again.
In sum, the present invention selectively and accurately carry out the deletion of MAC Address, to realize refreshing of MAC Address, comprise following content: at first, the faulty link adjacent node detects fault, create DAL according to faulty link corresponding port between this adjacent node, creating DAL is specially: in the FDB tabulation of preserving on the faulty link adjacent node, find out the list item clauses and subclauses of node M AC address on the ring that is associated with the faulty link corresponding port, carry out on the faulty link adjacent node removing of corresponding MAC Address in self FDB tabulation according to this node M AC address, and according to this node M AC address creation DAL; Subsequently, the protocol message that carries this DAL is carried out broadcast or multicast along non-non-working port on ring, after other nodes on the ring except that the faulty link adjacent node are received the protocol message that comprises this DAL, in self FDB tabulation, search node M AC address on the pairing ring of protocol message receiving port, it is the receiving port MAC Address, and the MAC Address among receiving port MAC Address and the DAL mated, if the match is successful then deletes in self FDB tabulation with this MAC Address is the MAC Address group of index, thereby realize refreshing of MAC Address, simultaneously, node is being transmitted between other nodes on the ring at the protocol message that can will carry this DAL before the matching treatment, that is to say, this protocol message that carries DAL can be as quickly as possible by multicast or broadcasting node on all rings transmit, FDB tabulation refresh operation almost carries out simultaneously at each node.
Content of the present invention comprises three technical essentials: first, each node of Ethernet Circle is to all MAC Address among the current FDB, comprise that promptly ring is gone up the node M AC address of each node and all MAC Address of the user's MAC address that each node inserts are sorted out, and be that index is sorted out with the node M AC address of encircling each node.Like this, the establishment of follow-up DAL, the deletion of MAC Address serve as when operating with this node M AC address all, can improve the efficient that refreshes of MAC Address greatly.The second, after loop fault took place, the faulty link adjacent node detected failure condition, blocks its corresponding non-working port/port blocked immediately, and searched node M AC address on the respective rings according to the faulty link corresponding port in the FDB table, created DAL.Like this, follow-uply carry out the deletion of corresponding MAC Address group among self FDB according to this DAL, and the protocol message that will carry this DAL by non-non-working port at the enterprising line period broadcast/multi broadcast of ring, go up this failure condition of other nodes in order to the notice ring.The 3rd, after host node on the ring is received the protocol message that carries DAL, open the RPL port of previous obstruction with starting wrap protection, flow is switched to new communication path, transmitting between each node on the ring at the protocol message that on this new communication path this is carried DAL; Simultaneously carry out the renewal of MAC Address according to DAL, after other nodes are received the protocol message that carries DAL on the ring, this carries the port numbers of the protocol message of DAL to write down reception when transmitting, and finding out node M AC address on the corresponding ring in self the FDB tabulation separately according to this port numbers, it is the receiving port MAC Address, MAC Address among receiving port MAC Address and the DAL is mated, if the match is successful, will be that the MAC Address group of index is deleted in the FDB tabulation then with this MAC Address.
Adopt method for refreshing of the present invention, not only can accomplish selectivity, carry out MAC Address quickly and accurately and refresh, and this method for refreshing can shorten convergence time effectively, can prevent from excessively to refresh the inundation of business datum in network that is caused again.In addition, adopt method for refreshing of the present invention, also can solve the address flush problem of multiple spot fault and non-reversing mode in the ethernet ring network.Reason is, based on existing ethernet ring network MAC Address flush mechanism, for preventing to repeat to refresh, node is set refreshes in the MAC Address that a kind of state only carries out once, if be in the protection switch status, then can only refresh once.To cause two aspect problems to produce like this; the first, during node generation multiple spot fault, if the node of first fault at first recovers; though this moment, variation took place network topology,, all nodes on the loop can't carry out refreshing of MAC Address because of all being in the protection switch status.Second; under the non-reversing mode; if certain bar link occurs fault in the looped network; all nodes all enter the protection switch status, because looped network works in non-reversing mode, even after the fault recovery; all nodes still can not jumped and are protected switch status; therefore when new fault took place, though variation has taken place network topology, all nodes all can't carry out refreshing of MAC Address.And adopt method for refreshing of the present invention, owing to cause the possibility that repeats to refresh very little, therefore, a kind of state is not set only refreshes once principle, also just can not exist above-mentioned multiple spot fault and the MAC Address under the non-reversing mode to refresh problem.
Method embodiment is: Ethernet is made up of user who inserts under four nodes, each node and the link between them.Wherein, each node is respectively with A, B, and C and D represent; The user that node A inserts down is respectively with AX, and AY and AZ represent; The user who inserts under the Node B represents with BX; The user that node C inserts represents with CX and CY respectively; Each port numbers among the figure is represented each node institute access link corresponding port number; Node A is a host node; link between node A and the Node B is the RPL link, represents the RPL port of node A with a, and initial node A blocks this RPL port under normal condition; can start wrap protection under nonserviceabling, this moment, node A can open the RPL port of previous obstruction.Be illustrated in figure 4 as the schematic diagram that the FDB of each node correspondence tabulates in the Ethernet Circle under the normal condition of the present invention.Figure 5 shows that the establishment schematic diagram that the MAC Address deletion is tabulated in the Ethernet Circle under the malfunction of the present invention.Figure 6 shows that the schematic diagram of the MAC Address refresh list of each node correspondence in the Ethernet Circle of the present invention.
Among this method embodiment, the concrete processing procedure of the method for refreshing of MAC Address is: under the normal condition, node A blocks its corresponding RPL port in case the formation on stop ring road, the FDB that each node is safeguarded on the ring tabulates as shown in Figure 4, and node M AC address is that index is sorted out to encircle node M AC to each node with encircling upward to all user's MAC address on the ring.
Under the malfunction, when the ring uplink breaks down, such as the link occurs fault between node C and the node D, at first, node C and node D detect fault, block its corresponding non-working port respectively, and find out node M AC address on the ring of its correspondence according to the faulty link corresponding port, and creating DAL, the DAL of establishment and ring are gone up FDB tabulation that each node safeguards as shown in Figure 5.And DAL comprises three contents among Fig. 5, and DA is that destination address is as first content among the DAL; SA is that source address is as second content among the DAL; The occurrence of DAL is as the 3rd content among the DAL, and the occurrence of this DAL refers to destination-mac address to be refreshed.Wherein, at node C, its faulty link corresponding port is a port 2, be 2 according to port numbers so, go the FDB that looks into node C correspondence to tabulate as can be known, destination-mac address is D, and to remove with D be the MAC Address group of MAC Address index, thereby comprise D among the DAL that creates at node C.At node D, its faulty link corresponding port is a port one, is 1 according to port numbers so, goes the FDB that looks into node D correspondence to tabulate as can be known, and destination-mac address is A, B and C, and removing is the MAC Address group of MAC Address index with A, B and C.Thereby, comprise A, B and C among the DAL at node D establishment.
Subsequently, according to the DAL that creates at node C with carry out the removing of corresponding MAC Address in self FDB tabulation respectively at each node of DAL that node D creates, simultaneously, protocol message with the DAL that carries the protocol message of the DAL that creates at node C and create at node D, along non-non-working port periodic broadcast on ring, the notice ring is gone up this failure condition of other nodes.After node A receives protocol message; open the RPL port of previous obstruction with starting wrap protection; flow is switched to the RPL link; after each node is received the protocol message that carries the DAL tabulation on the ring; to compare in conjunction with the MAC Address that the receiving port of this protocol message is gone up the corresponding ring of receiving port in node self the FDB tabulation among node M AC address and the DAL; if can mate fully, then deleting in the FDB tabulation with node M AC address on the respective rings is the MAC Address group of index.As shown in Figure 6, the protocol message of the DAL that creates at node D that receives that node D sends by port one such as node A, to in tabulating, self FDB search node M AC address on the pairing ring of port one, lookup result is empty, need not refresh, the protocol message of the node A DAL that creates at node C that receives that node C sends by port 2 simultaneously, in self FDB tabulation, search node M AC address on the port 2 pairing rings, lookup result comprises B, three addresses of C and D, the DAL that lookup result and node C are sent mates, because the DAL that node C sends comprises MAC Address D, therefore, delete the list item that is complementary with MAC Address D in self FDB tabulation, promptly port 2 corresponding MAC Address are the list item of D; In like manner, Node B will in conjunction with port one corresponding ring go up node M AC address A and mate with the DAL that node D creates, DAL coupling in conjunction with port 2 pairing MAC Address C and D and node C establishment, and in self FDB tabulation, all list items that the DAL that DAL that deletion and node D create and node C create is complementary promptly are the MAC Address group of index with A and be the MAC Address group of index with D.
A kind of updating system of MAC Address, this system comprises: acquiring unit, matching unit and refresh unit.Wherein, acquiring unit is used for obtaining destination-mac address to be refreshed according to faulty link corresponding port between the node.Matching unit is used for the source MAC and the destination-mac address of other nodes are mated.Refresh unit is used to select the MAC Address that source MAC and destination-mac address are complementary is refreshed.
Here, this system also comprises: creating unit is used for creating address deletion tabulation according to destination-mac address.
Here, this system also comprises: retransmission unit, the protocol message that is used for comprising address deletion tabulation is forwarded to other nodes by node.
Here, matching unit is further used for parsing destination-mac address from the deletion tabulation of address; In the FDB tabulation that other nodes are preserved, will mate according to MAC Address and the destination-mac address that the pairing port numbers of other node receiver address deletion tabulations inquires, if coupling, then matching unit notice refresh unit is carried out refreshing of MAC Address; Otherwise matching unit does not notify refresh unit to carry out refreshing of MAC Address.Refresh unit is further used for will deleting with the MAC Address that destination-mac address is complementary, and realizing refreshing in the FDB tabulation that other nodes are preserved.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.
Claims (10)
1. the method for refreshing of a Media Access Control Address is characterized in that, this method comprises:
According to faulty link corresponding port between the node, obtain target medium access control MAC address to be refreshed;
By coupling, select the MAC Address that described source MAC and destination-mac address are complementary is refreshed with the source MAC and the described destination-mac address of other nodes.
2. method according to claim 1 is characterized in that, obtains described destination-mac address and is specially: inquiry in the forwarding address database FDB of node tabulation, according to number inquiry of faulty link corresponding port and get access to corresponding described destination-mac address; Afterwards, create address deletion tabulation according to destination-mac address.
3. method according to claim 2 is characterized in that, also comprises before the described coupling: described other nodes receive the deletion tabulation of described address; Inquiry in the FDB of other nodes tabulation if can't inquire corresponding MAC Address according to the pairing port numbers of other node receiver address deletion tabulations, is not then carried out refreshing of MAC Address; Otherwise, carry out described coupling according to the MAC Address that inquires.
4. method according to claim 3, it is characterized in that, carry out described coupling and be specially: from the deletion tabulation of described address, parse described destination-mac address, described MAC Address that inquires and destination-mac address are mated, if coupling is then carried out refreshing of MAC Address; Otherwise, do not carry out refreshing of MAC Address;
Refreshing of described MAC Address is specially: will delete with the MAC Address that destination-mac address is complementary, and realize refreshing.
5. according to each described method in the claim 1 to 4, it is characterized in that, obtain before the described destination-mac address, also comprise: to comprising all nodes of described node and described other nodes, node M AC address with each node is sorted out respectively all MAC Address in the current FDB tabulation of each node, and with the index of described node M AC address as described current FDB tabulation.
6. method according to claim 2, it is characterized in that, this method also comprises: after the protocol message that will comprise address deletion tabulation earlier was forwarded to described other nodes by described node, each node in described other nodes was realized refreshing of MAC Address simultaneously again.
7. the updating system of a Media Access Control Address is characterized in that, this system comprises: acquiring unit, matching unit and refresh unit; Wherein,
Acquiring unit is used for obtaining destination-mac address to be refreshed according to faulty link corresponding port between the node;
Matching unit is used for the source MAC and the described destination-mac address of other nodes are mated;
Refresh unit is used to select the MAC Address that described source MAC and destination-mac address are complementary is refreshed.
8. system according to claim 7 is characterized in that, this system also comprises: creating unit is used for creating address deletion tabulation according to described destination-mac address.
9. system according to claim 8 is characterized in that, this system also comprises: retransmission unit, the protocol message that is used for comprising the deletion tabulation of described address is forwarded to described other nodes by described node.
10. according to Claim 8 or 9 described systems, it is characterized in that described matching unit is further used for parsing described destination-mac address from the deletion tabulation of described address; To mate according to MAC Address and the destination-mac address that the pairing port numbers of other node receiver address deletion tabulations inquires, if coupling, then matching unit notifies described refresh unit to carry out refreshing of MAC Address; Otherwise matching unit does not notify described refresh unit to carry out refreshing of MAC Address;
Described refresh unit is further used for the MAC Address deletion that will be complementary with destination-mac address, and realizes refreshing.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910079480.4A CN101834771B (en) | 2009-03-12 | 2009-03-12 | Method and system for refreshing media access control |
PCT/CN2009/073773 WO2010102479A1 (en) | 2009-03-12 | 2009-09-07 | Method and system for updating media access control |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910079480.4A CN101834771B (en) | 2009-03-12 | 2009-03-12 | Method and system for refreshing media access control |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101834771A true CN101834771A (en) | 2010-09-15 |
CN101834771B CN101834771B (en) | 2014-07-16 |
Family
ID=42718706
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910079480.4A Expired - Fee Related CN101834771B (en) | 2009-03-12 | 2009-03-12 | Method and system for refreshing media access control |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101834771B (en) |
WO (1) | WO2010102479A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012068866A1 (en) * | 2010-11-24 | 2012-05-31 | 中兴通讯股份有限公司 | Method and system for refreshing media access control in ethernet ring network |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
IL144100A (en) * | 2000-07-06 | 2006-08-01 | Samsung Electronics Co Ltd | Mac address-based communication restricting method |
US7941559B2 (en) * | 2002-04-23 | 2011-05-10 | Tellabs Bedford, Inc. | Media access control address translation for a fiber to the home system |
EP1727313A1 (en) * | 2005-05-25 | 2006-11-29 | Siemens Aktiengesellschaft | Ring network and method for automatic protection switching |
CN100344132C (en) * | 2005-10-14 | 2007-10-17 | 杭州华三通信技术有限公司 | Method for assuring automatic protecting system regular service of Ethernet |
CN101442465A (en) * | 2007-11-23 | 2009-05-27 | 中兴通讯股份有限公司 | Address update method for Ethernet looped network failure switching |
-
2009
- 2009-03-12 CN CN200910079480.4A patent/CN101834771B/en not_active Expired - Fee Related
- 2009-09-07 WO PCT/CN2009/073773 patent/WO2010102479A1/en active Application Filing
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012068866A1 (en) * | 2010-11-24 | 2012-05-31 | 中兴通讯股份有限公司 | Method and system for refreshing media access control in ethernet ring network |
Also Published As
Publication number | Publication date |
---|---|
CN101834771B (en) | 2014-07-16 |
WO2010102479A1 (en) | 2010-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101056184B (en) | Network system and communication device | |
US9270485B2 (en) | Method for ethernet ring protection | |
CN107547398B (en) | Message forwarding method, device and equipment | |
US20130021896A1 (en) | Method, system, and device for protecting multicast in communication network | |
US20090196172A1 (en) | Method and apparatus for ethernet ring protection | |
US20140254347A1 (en) | Ethernet Ring Protection Switching Method, Node, and System | |
KR20100122870A (en) | Method and apparatus for maintaining port state tables in a forwarding plane of a network element | |
CN102197627A (en) | Improved convergence of multicast traffic | |
CN101227399B (en) | Message transmission method, system and forwarding node | |
CN101072154B (en) | Loop Ethernet switching method | |
RU2388160C2 (en) | Ring network, communication device and on-line control method used for ring network and communication device | |
CN102726000A (en) | Failure notification method, detection apparatus, forwarding apparatus, system and data structure | |
CN101005394A (en) | Method and system for protecting multicast repeat path and service router | |
CN103873333B (en) | Ring network three-layer convergence method and device | |
EP2426855B1 (en) | Address refresh method and system | |
EP2533470B1 (en) | Method and equipment for preventing repeated refreshing of ethernet ring node address table | |
CN102035711A (en) | Method and system for preventing address table from being refreshed repeatedly in protection of Ethernet ring | |
CN107968753A (en) | The method and apparatus for changing Media Access Control Address forwarding table | |
US8811157B2 (en) | Protection switching method and system for ethernet dual-homed link | |
CN101641915B (en) | Method for reconfiguring a communication network | |
CN101702684B (en) | Method for realizing to refresh Ethernet ring network forwarding database and device | |
EP2442501B1 (en) | Method and system for communicating multicast traffic over protected paths | |
CN101729361A (en) | Method and device for processing message | |
CN101795223A (en) | Multicast security control method, system and transmission node | |
CN101304359B (en) | Method and apparatus for RRPP looped network link recuperation |
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: 20140716 Termination date: 20180312 |