CN101615989A - Ethernet dual-grouping network and mac address table method for refreshing thereof - Google Patents
Ethernet dual-grouping network and mac address table method for refreshing thereof Download PDFInfo
- Publication number
- CN101615989A CN101615989A CN200810126228A CN200810126228A CN101615989A CN 101615989 A CN101615989 A CN 101615989A CN 200810126228 A CN200810126228 A CN 200810126228A CN 200810126228 A CN200810126228 A CN 200810126228A CN 101615989 A CN101615989 A CN 101615989A
- Authority
- CN
- China
- Prior art keywords
- node
- mac address
- address table
- update
- backup group
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a kind of mac address table method for refreshing of Ethernet dual-grouping network, may further comprise the steps: when the protection of Ethernet dual-grouping network startup main/slave link is switched, the node of operation backup group periodically sends the FLUSH message, refreshes mac address table to notify its upstream equipment; The superiors' node in the upstream equipment is received the FLUSH message, refreshes its mac address table and responds the FLUSH-ACK message; The node of operation backup group is received end period transmission FLUSH message behind the FLUSH-ACK message.The present invention can guarantee that upstream equipment can both receive the FLUSH message, upgrades the MAC Address list item, thereby has ensured the reliability of switching the back data forwarding effectively, makes the service disconnection loss reduce to minimum.
Description
Technical field
The present invention relates to the communications field, in particular to a kind of Ethernet dual-grouping network and mac address table method for refreshing thereof.
Background technology
In the Ethernet dual-grouping network, the back mechanism by link can realize the protection switch function to two layers of link, switches to backup link when primary link failure rapidly.As shown in Figure 1, be primary link between SW2 and the SW1, be backup link between SW3 and the SW1; Shown in Figure 2, be primary link between SW2 and the SW1, be backup link between SW3 and the SW1.In the Ethernet dual-grouping network of Fig. 1 and Fig. 2, when primary link failure, switch to backup link rapidly.Existing link failure detection technology and link switchover technology can make the link convergence time within 50ms, and can refresh MAC (Media Access Control by FLUSH (refreshing) message notifying upstream equipment, media interviews control) address table ensures the normal forwarding of switching the back data with this.
In realizing process of the present invention, if the inventor finds the FLUSH message and in a single day loses, MAC (Media Access Control then, medium access control system) address table can't refresh, caused before device mac address is aging, professional can always the interruption, this will bring heavy losses to user and operator.
Summary of the invention
The present invention aims to provide a kind of Ethernet dual-grouping network and mac address table method for refreshing thereof, can't refresh to solve mac address table, causes before device mac address is aging, and business is interrupted always, brings the problem of heavy losses for user and operator.
In an embodiment of the present invention, a kind of mac address table method for refreshing of Ethernet dual-grouping network is provided, may further comprise the steps: when the protection of Ethernet dual-grouping network startup main/slave link is switched, the node of operation backup group periodically sends the FLUSH message, refreshes mac address table to notify its upstream equipment; The superiors' node in the upstream equipment is received the FLUSH message, refreshes its mac address table and responds FLUSH-ACK (refresh response) message; The node of operation backup group is received end period transmission FLUSH message behind the FLUSH-ACK message.
Preferably, the node of operation backup group periodically sends the FLUSH message and specifically comprises: the node of operation backup group starts timer; The node of operation backup group attempts receiving the FLUSH-ACK message after sending the FLUSH message; If do not receive the FLUSH-ACK message behind the timer expiry yet, then move the node of backup group and retransmit the FLUSH message, and restart timer.
Preferably, upstream equipment also is included in node and the intermediate node between the superiors' node of operation backup group, and also comprise: intermediate node is received the FLUSH message, behind its upstream equipment forwarding FLUSH message and refresh its mac address table.
Preferably, after transmitting the FLUSH message and before refreshing its mac address table, also comprise: the legitimacy of judging the FLUSH message to its upstream equipment; If legal, then after its upstream equipment is transmitted the FLUSH message and refresh its mac address table; If illegal, then abandon the FLUSH message.
Preferably, the superiors' node response FLUSH-ACK message specifically comprises: the joint structure FLUSH-ACK of the superiors message, comprising: purpose MAC is used to indicate the source MAC of the node that moves backup group; Source MAC is used to indicate the bridge MAC of oneself; Content is used to indicate true collection of letters breath.
In an embodiment of the present invention, a kind of Ethernet dual-grouping network also is provided, has comprised: the node of operation backup group is used for when the protection of Ethernet dual-grouping network startup main/slave link is switched, periodically send the FLUSH message, refresh mac address table to notify its upstream equipment; And receive end period transmission FLUSH message behind the FLUSH-ACK message; The superiors' node in the upstream equipment is used to receive the FLUSH message, refreshes its mac address table and responds the FLUSH-ACK message.
Preferably, the node of backup group comprises: start module, be used to start timer; Receiver module attempts receiving the FLUSH-ACK message after the node that is used to move backup group sends the FLUSH message; Retransmit module if be used for not receiving the FLUSH-ACK message yet behind the timer expiry, then moved the node of backup group and is retransmitted the FLUSH message, and restart timer.
Preferably, upstream equipment also is included in node and the intermediate node between the superiors' node of operation backup group, is used to receive the FLUSH message, behind its upstream equipment forwarding FLUSH message and refresh its mac address table.
Preferably, intermediate node comprises: judge module is used to judge the legitimacy of FLUSH message; If processing module is used for legal, then after its upstream equipment is transmitted the FLUSH message and refresh its mac address table; If discard module is used for then abandoning the FLUSH message illegal.
Preferably, the superiors' node comprises: constructing module, be used to construct the FLUSH-ACK message, comprising: purpose MAC is used to indicate the source MAC of the node that moves backup group; Source MAC is used to indicate the bridge MAC of oneself; Content is used to indicate true collection of letters breath.
Ethernet dual-grouping network of the foregoing description and mac address table method for refreshing thereof, because adopt the retransmission mechanism of FLUSH message, so having overcome the FLUSH message in a single day loses, mac address table can't refresh, and causes before device mac address is aging, the professional problem that can always interrupt, the present invention has guaranteed that upstream equipment can both receive the FLUSH message, upgrade the MAC Address list item, thereby ensured the reliability of switching the back data forwarding effectively, make the service disconnection loss reduce to minimum.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 shows the Ethernet dual homed link topological structure of correlation technique;
Fig. 2 shows the another kind of Ethernet dual homed link topological structure of correlation technique;
Fig. 3 shows the flow chart according to the mac address table method for refreshing of the Ethernet dual-grouping network of the embodiment of the invention;
Fig. 4 shows according to the preferred embodiment of the invention, and MAC Address refreshes FLUSH message transmission process chart;
Fig. 5 shows according to the preferred embodiment of the invention, and MAC Address refreshes FLUSH message reception process chart;
Fig. 6 shows the network structure according to the Ethernet dual-grouping network of the embodiment of the invention.
Embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
Fig. 3 shows the flow chart according to the mac address table method for refreshing of the Ethernet dual-grouping network of the embodiment of the invention, may further comprise the steps:
When the protection of Ethernet dual-grouping network startup main/slave link is switched,
Step S10, the node of operation backup group periodically sends the FLUSH message, refreshes mac address table to notify its upstream equipment;
Step S20, the superiors' node in the upstream equipment is received the FLUSH message, refreshes its mac address table and responds the FLUSH-ACK message;
Step S30, the node of operation backup group is received end period transmission FLUSH message behind the FLUSH-ACK message.
Purpose of the present invention just provides a kind of reliable MAC Address flush mechanism.From last description as can be seen, when network congestion causes the FLUSH message dropping, or link-quality influences when causing FLUSH message mistake, the present invention can provide the retransmission mechanism of FLUSH message, guarantee that upstream equipment can both receive the FLUSH message, upgrade the MAC Address list item, thereby ensured the reliability of switching the back data forwarding effectively, make the service disconnection loss reduce to minimum.
Preferably, step S10 specifically comprises: the node of operation backup group starts timer; The node of operation backup group attempts receiving the FLUSH-ACK message after sending the FLUSH message; If do not receive the FLUSH-ACK message behind the timer expiry yet, then move the node of backup group and retransmit the FLUSH message, and restart timer.
Above preferred embodiment provides the retransmission mechanism of FLUSH message, has guaranteed that upstream equipment can both receive the FLUSH message, upgrades the MAC Address list item, thereby has ensured the reliability of switching the back data forwarding effectively.
Preferably, upstream equipment also is included in node and the intermediate node between the superiors' node of operation backup group, and also comprise: intermediate node is received the FLUSH message, behind its upstream equipment forwarding FLUSH message and refresh its mac address table.
Preferably, after transmitting the FLUSH message and before refreshing its mac address table, also comprise: the legitimacy of judging the FLUSH message to its upstream equipment; If legal, then after its upstream equipment is transmitted the FLUSH message and refresh its mac address table; If illegal, then abandon the FLUSH message.
Above preferred embodiment has been guaranteed the legitimacy of FLUSH message, has guaranteed correctly refreshing of mac address table.
Preferably, the superiors' node response FLUSH-ACK message specifically comprises: the joint structure FLUSH-ACK of the superiors message, comprising: purpose MAC is used to indicate the source MAC of the node that moves backup group; Source MAC is used to indicate the bridge MAC of oneself; Content is used to indicate true collection of letters breath.
Above preferred embodiment can make the node of operation backup group correctly receive the FLUSH-ACK message, end period transmission FLUSH message.
The MAC Address that shows Fig. 4 according to the preferred embodiment of the invention refreshes the FLUSH message and sends process chart, comprising:
Step S410, when link switchover took place, the node SW1 of running protection group sent the refresh operation that FLUSH message notifying upstream equipment carries out mac address table by active port;
Step S420 starts cycle timer, overtime the FLUSH message is retransmitted;
Step S430 judges whether to receive legal FLUSH-ACK message; Do not receive before the FLUSH-ACK message that timer expiry sends the FLUSH message;
After receiving legal FLUSH-ACK message, enter step S440, the timeing closing device.
The MAC Address that shows Fig. 5 according to the preferred embodiment of the invention refreshes the FLUSH message and receives process chart, comprising:
Step S510, upstream equipment (as SW2 and SW4 among the figure one) is received legal FLUSH message; Judge its legitimacy according to FLUSH message agreement, illegal abandoning, the processing of FLUSH message finishes; Next step processing of the legal continuation of FLUSH message;
Step S520 carries out mac address table according to the FLUSH message information and refreshes;
Step S530, whether needs send response message FLUSH-ACK (SW4 needs response shown in figure one, and SW2 does not need response) according to pre-configured decision device, unwanted situation, the message processing finishes; Next step processing of situation continued that needs;
Step S540, the assembling of FLUSH-ACK message, purpose MAC is for sending the source MAC of FLUSH message, and source MAC is the bridge MAC of oneself, and adds the FLUSH-ACK content;
Step S550 sends the FLUSH-ACK message.
The step that top FLUSH message sends and receives in the handling process all is order with time, and dependence is successively arranged.In actual process, have only the node SW1 of running protection group can initiatively send the FLUSH message; handling process as shown in Figure 4; upstream device was transmitted after intermediate node was received this FLUSH message; while copy packet transmitted to CPU; CPU judges its legitimacy after receiving this message; carry out the mac address table refresh activity then, intermediate node is not responded the FLUSH-ACK message.After the superiors' node that can receive the FLUSH message is received the FLUSH message, carry out the mac address table refresh activity, send the FLUSH-ACK message simultaneously, handling process as shown in Figure 5.
Fig. 6 shows the network structure according to the Ethernet dual-grouping network of the embodiment of the invention, comprising:
The node 10 of operation backup group is used for periodically sending the FLUSH message when the protection of Ethernet dual-grouping network startup main/slave link is switched, and refreshes mac address table to notify its upstream equipment; And receive end period transmission FLUSH message behind the FLUSH-ACK message;
The superiors' node 210 in the upstream equipment 20 is used to receive the FLUSH message, refreshes its mac address table and responds the FLUSH-ACK message.
Preferably, the node 10 of operation backup group comprises: start module, be used to start timer; Receiver module attempts receiving the FLUSH-ACK message after the node that is used to move backup group sends the FLUSH message; Retransmit module if be used for not receiving the FLUSH-ACK message yet behind the timer expiry, then moved the node of backup group and is retransmitted the FLUSH message, and restart timer.
Above preferred embodiment provides the retransmission mechanism of FLUSH message, has guaranteed that upstream equipment can both receive the FLUSH message, upgrades the MAC Address list item, thereby has ensured the reliability of switching the back data forwarding effectively.
Preferably, upstream equipment 20 also is included in node 10 and the intermediate node 220 between the superiors' node 210 of operation backup group, is used to receive the FLUSH message, behind its upstream equipment forwarding FLUSH message and refresh its mac address table.
Preferably, intermediate node comprises: judge module is used to judge the legitimacy of FLUSH message; If processing module is used for legal, then after its upstream equipment is transmitted the FLUSH message and refresh its mac address table; If discard module is used for then abandoning the FLUSH message illegal.
Above preferred embodiment has been guaranteed the legitimacy of FLUSH message, has guaranteed correctly refreshing of mac address table.
Preferably, the superiors' node 210 comprises: constructing module, be used to construct the FLUSH-ACK message, comprising: purpose MAC is used to indicate the source MAC of the node that moves backup group; Source MAC is used to indicate the bridge MAC of oneself; Content is used to indicate true collection of letters breath.
Above preferred embodiment can make the node of operation backup group correctly receive the FLUSH-ACK message, end period transmission FLUSH message.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. the mac address table method for refreshing of an Ethernet dual-grouping network is characterized in that, may further comprise the steps:
When the protection of described Ethernet dual-grouping network startup main/slave link was switched, the node of operation backup group periodically sent update, refreshes mac address table to notify its upstream equipment;
The superiors' node in the described upstream equipment is received described update, refreshes its mac address table and responds the refresh response message;
The node of described operation backup group is received the described update of end period transmission behind the described refresh response message.
2. mac address table method for refreshing according to claim 1 is characterized in that, the node of operation backup group periodically sends update and specifically comprises:
The node of described operation backup group starts timer;
The node of described operation backup group attempts receiving described refresh response message after sending update;
If do not receive described refresh response message behind the described timer expiry yet, the node of then described operation backup group is retransmitted described update, and restarts described timer.
3. mac address table method for refreshing according to claim 1 is characterized in that, described upstream equipment also is included in the node of described operation backup group and the intermediate node between the described the superiors node, also comprises:
Described intermediate node is received described update, after its upstream equipment is transmitted described update and refresh its mac address table.
4. mac address table method for refreshing according to claim 3 is characterized in that, also comprises after transmitting described update to its upstream equipment and before refreshing its mac address table:
Judge the legitimacy of described update;
If legal, then after its upstream equipment is transmitted described update and refresh its mac address table;
If illegal, then abandon described update.
5. mac address table method for refreshing according to claim 1 is characterized in that, described the superiors node response refresh response message specifically comprises:
The described refresh response message of described the superiors joint structure, comprising:
Purpose MAC is used to indicate the source MAC of the node of described operation backup group;
Source MAC is used to indicate the bridge MAC of oneself;
Content is used to indicate true collection of letters breath.
6. an Ethernet dual-grouping network is characterized in that, comprising:
The node of operation backup group is used for periodically sending update when the protection of described Ethernet dual-grouping network startup main/slave link is switched, and refreshes mac address table to notify its upstream equipment; And receive the described update of end period transmission behind the refresh response message;
The superiors' node in the described upstream equipment is used to receive described update, refreshes its mac address table and responds described refresh response message.
7. Ethernet dual-grouping network according to claim 6 is characterized in that, the node of described operation backup group comprises:
Start module, be used to start timer;
Receiver module attempts receiving described refresh response message after the node that is used for described operation backup group sends update;
Retransmit module, if be used for not receiving described refresh response message yet behind the described timer expiry, the node of then described operation backup group is retransmitted described update, and restarts described timer.
8. Ethernet dual-grouping network according to claim 6, it is characterized in that, described upstream equipment also is included in the node of described operation backup group and the intermediate node between the described the superiors node, be used to receive described update, after its upstream equipment is transmitted described update and refresh its mac address table.
9. Ethernet dual-grouping network according to claim 8 is characterized in that, described intermediate node comprises:
Judge module is used to judge the legitimacy of described update;
If processing module is used for legal, then after its upstream equipment is transmitted described update and refresh its mac address table;
If discard module is used for then abandoning described update illegal.
10. Ethernet dual-grouping network according to claim 6 is characterized in that, described the superiors node comprises:
Constructing module is used to construct described refresh response message, comprising:
Purpose MAC is used to indicate the source MAC of the node of described operation backup group;
Source MAC is used to indicate the bridge MAC of oneself;
Content is used to indicate true collection of letters breath.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810126228A CN101615989A (en) | 2008-06-26 | 2008-06-26 | Ethernet dual-grouping network and mac address table method for refreshing thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810126228A CN101615989A (en) | 2008-06-26 | 2008-06-26 | Ethernet dual-grouping network and mac address table method for refreshing thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101615989A true CN101615989A (en) | 2009-12-30 |
Family
ID=41495421
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810126228A Pending CN101615989A (en) | 2008-06-26 | 2008-06-26 | Ethernet dual-grouping network and mac address table method for refreshing thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101615989A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895588A (en) * | 2010-07-19 | 2010-11-24 | 南京邮电大学 | Address refreshing method based on address refreshing message transmission source node set |
CN103069756A (en) * | 2010-08-20 | 2013-04-24 | 日本电气株式会社 | Communication system, controller, node controlling method and program |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1968174A (en) * | 2006-11-27 | 2007-05-23 | 华为技术有限公司 | Method and system for preventing circuit loop after failure recovery |
CN101047601A (en) * | 2006-04-10 | 2007-10-03 | 华为技术有限公司 | Implementing method and system of double-attach network based on VPLS |
-
2008
- 2008-06-26 CN CN200810126228A patent/CN101615989A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101047601A (en) * | 2006-04-10 | 2007-10-03 | 华为技术有限公司 | Implementing method and system of double-attach network based on VPLS |
CN1968174A (en) * | 2006-11-27 | 2007-05-23 | 华为技术有限公司 | Method and system for preventing circuit loop after failure recovery |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895588A (en) * | 2010-07-19 | 2010-11-24 | 南京邮电大学 | Address refreshing method based on address refreshing message transmission source node set |
CN103069756A (en) * | 2010-08-20 | 2013-04-24 | 日本电气株式会社 | Communication system, controller, node controlling method and program |
US9197555B2 (en) | 2010-08-20 | 2015-11-24 | Nec Corporation | Communication system, controller, node controlling method and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8437305B2 (en) | Method for providing home agent geographic redundancy | |
US8223687B2 (en) | Method for providing home agent geographic redundancy via a service redundancy protocol | |
US8971295B2 (en) | Soft handoffs in networks | |
CN102315975B (en) | Fault processing method based on intelligent resilient framework (IRF) system and equipment thereof | |
US7111035B2 (en) | Fault tolerance associations for IP transport protocols | |
KR100565878B1 (en) | Wireless networked message routing | |
US8036104B2 (en) | Methods and apparatus for improving resiliency of communication networks | |
EP2245472B1 (en) | System and method for network recovery from multiple link failures | |
KR101591102B1 (en) | Method for router of virtual router redundancy protocol and communication system therefor | |
US20050265230A1 (en) | Apparatus and method for performing state transition of backup router in router redundancy system | |
CA2548340A1 (en) | System and method for controlling the flooding of information in a network environment | |
CN101072154B (en) | Loop Ethernet switching method | |
WO2010022635A1 (en) | Method for preventing thread hanging in a multi-thread communication program | |
CN107171840B (en) | Protection switching method and device based on ERPS protocol | |
US20090006650A1 (en) | Communication device, communication method, communication interface, and program product | |
CN100388721C (en) | Method for protecting coupling based on flow control transfer protocol | |
US20100165916A1 (en) | Wireless Star Network with Standby Central Node | |
KR101075462B1 (en) | Method to elect master nodes from nodes of a subnet | |
EP3375138B1 (en) | State synchronization between a controller and a switch in a communications network | |
CN101615989A (en) | Ethernet dual-grouping network and mac address table method for refreshing thereof | |
US8266253B2 (en) | Server system and event message transmission method therefor, client terminal and connection method and program therefor, and recording medium | |
CN101052047B (en) | Load equalizing method and device for multiple fire-proof wall | |
CN101009643A (en) | Main and standby method and system | |
KR20120074528A (en) | Cluster node control method and internet protocol private branch exchange | |
EP2701349B1 (en) | Method and apparatus for managing diameter routing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20091230 |