CN101616066B - Switching method for double-ascending network - Google Patents
Switching method for double-ascending network Download PDFInfo
- Publication number
- CN101616066B CN101616066B CN2008101275699A CN200810127569A CN101616066B CN 101616066 B CN101616066 B CN 101616066B CN 2008101275699 A CN2008101275699 A CN 2008101275699A CN 200810127569 A CN200810127569 A CN 200810127569A CN 101616066 B CN101616066 B CN 101616066B
- Authority
- CN
- China
- Prior art keywords
- switch
- flush message
- port
- network
- switches
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention discloses a switching method for a double-ascending network, comprising the step: notifying other exchangers to update media accessing control address lists positioned in a port of the double-ascending network by an exchanger for switching. The switching method for a double-ascending network can effectively increase switching speed and can avoid transmitting a message on a mistake path.
Description
Technical field
The present invention relates to the communications field, and especially, relate to a kind of changing method for double-ascending network.
Background technology
Double-ascending network is at present one of application networking commonly used.Fig. 1 shows the structure of typical two uplink networks.
In the situation that normal operation, flow is by active link, and reserve link is not worked.And when active link breaks down, flow switch is arrived reserve link, thereby guarantee professional normally carrying out.As shown in Figure 1, node 1 is the switch that carries out the standby usage link switching in the network, and port one, 2 is corresponding main/slave link respectively; Node 2,3, the 4th, other switch in the network, port one, 2 are respectively their ports in network.
On function, the scheme that this active link and reserve link switch mutually need to realize the demand of client's redundancy backup.But, only be to realize that this a kind of demand is inadequate, very high requirement is arranged on performance equally, usually, require the time of switching in the scope of Millisecond, can reach like this high reliability of backup, realize fast redundancy backup.
In currently used handover scheme, usually only be that the switch that switches is finished switching independently, other switch can't in time obtain to switch media access control (the Media Access Control of rear renewal, MAC) address table, but can only in subsequent processes, carry out the renewal of mac address table, the speed of therefore switching can't satisfy the requirement of Millisecond.
Yet, for the excessively slow problem of this switch speed effective solution is proposed not yet at present.
Summary of the invention
Consider the problems referred to above and make the present invention, for this reason, main purpose of the present invention is to provide a kind of handover scheme for double-ascending network, to solve the slow problem of switch speed in the correlation technique.
According to embodiments of the invention, provide a kind of changing method for double-ascending network.
The method comprises: other switch in the switch notice double-ascending network that switches refreshes the Media Access Control Address table of the port that is positioned at separately two uplink networks.
Wherein, the switch that switches switches by closing its active link and opening its reserve link.
In addition, the switch that switches carries out the Media Access Control Address table by other switch of flush message notifying and refreshes.
At this moment, after other switch received the flush message, the method can further comprise:
Other switch sends the flush message that it receives separately in the predetermined packet of packets of two uplink networks, wherein, grouping is corresponding one by one with switch and other switch, and comprises the whole ports of respective switch in two uplink networks.
Particularly, other switch carries out the processing that the flush message sends and is specially:
For each switch in other switch, receive the flush message if be positioned at from it a port of grouping, the flush message that then the flush message that receives is sent and received by other port that is positioned at grouping on this switch.
In addition, the method can further comprise: other switch that receives the flush message refreshes the Media Access Control Address table that is positioned at separately the grouping inner port.
And the method further comprises: receive at the switch that switches in the situation of flush message of its transmission, abandon the flush message.
By technique scheme of the present invention, the speed of can Effective Raise switching, and can avoid message to transmit in the path of mistake.
Description of drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is the block diagram of two uplink network structures of correlation technique;
Fig. 2 is the flow chart according to the changing method that is used for double-ascending network of the embodiment of the invention;
Fig. 3 is the flow chart according to the processing example of the changing method that is used for double-ascending network of the embodiment of the invention.
Embodiment
In embodiments of the present invention, provide a kind of changing method for double-ascending network.
As shown in Figure 2, the changing method that is used for double-ascending network according to the embodiment of the invention comprises: step S202, the switch that switches notify other switch in the double-ascending network to refresh the mac address table of the port that is positioned at separately two uplink networks; Step S204, other switch carry out respectively refreshing of mac address table.
Wherein, the switch that switches is by closing its active link and open its reserve link and prepare for flow switch, and prevents transmission when flow is on two links, notifies to other switch on the reserve link of opening.
And the switch that switches carries out mac address table by other switch of flush message notifying and refreshes.Particularly, the structure of flush message is as shown in the table:
DMAC=0x 0180C2000036(6bytes) |
Source MAC Address (6bytes) |
TPID=0x 8100(2byte) |
PRI+CFI+VLAN ID(2byte) |
Frame Length (frame length) (1byte) |
DSAP/SSAP=0xAAAA(2byte) |
CONTROL=0x 03(1byte) |
OUI=0x 00 E0 2B (3byte) |
Control Version (control version) (1byte) |
Control Type (control type) (1byte) |
CTRL_VLAN_ID(2byte) |
Vlan_bitmap(512byte) |
FCS(4byte) |
At this moment, after other switch receives the flush message, further comprise: other switch sends the flush message that it receives separately in the predetermined packet of packets of two uplink networks, wherein, grouping is corresponding one by one with switch and other switch, and comprises the whole ports of respective switch in two uplink networks.
Particularly, other switch carries out the processing that the flush message sends and is specially:
For each switch in other switch, receive the flush message if be positioned at from it a port of this grouping, the flush message that then the flush message that receives is sent and received by other port that is positioned at grouping on this switch.
That is to say, other switch will oneself be positioned at all of the port of two uplink networks as one group on the network, if received the flush message from one of them port, then the flush message is continued to send to other switches by other port in organizing, the mac address table of all of the port refreshes in will organizing simultaneously.
In addition, receive at the switch that switches in the situation of flush message of its transmission, abandon the flush message, prevent that the flush message from forming storm in network.
In the middle of practical application, Fig. 3 shows the detailed handling process according to the changing method of the embodiment of the invention.As shown in Figure 3, it specifically comprises following processing:
Carry out the switch of standby usage link switching in the network and open under normal circumstances active link, close reserve link, flow passes through from active link;
Carry out the switch of standby usage link switching in the network and regularly check active link, be out of order if find it, just active link is closed, reserve link is opened, and sends simultaneously the flush message from reserve link;
If other switch has been received the flush message on the network, judge first receiving port whether in two uplink network port set, if so, then the mac table with all of the port in two uplink network port set refreshes; Simultaneously, other port by two uplink network port set continues to send to other switches with the flush message;
Receive the flush message if carry out the switch of standby usage link switching, then with packet loss;
When link switches, by the transmission of flush message, so that all switches on two uplink network have all been known the information of link switching, refresh oneself relevant mac table.Like this, data message relearns mac, has just guaranteed to pass through from new link, has realized quick switching.
The link of switch itself switches fast and is not enough to guarantee that flow switches surely with regard to one comes, because other switch of network itself has recorded the purpose mac of message, so the message of identical purpose mac also can be according to original link transmission behind link switching, thereby causes message to be lost in the path of mistake.And processing of the present invention not only can realize switching fast, thereby can also effectively solve the problem that this message transmits in wrong path by fast MAC Address renewal.
In sum, the present invention sends out the flush message in switch standby usage link switching, other switch on the two uplink networks of notice, refresh the MAC table of their related ports on network, make the flow original path of not going further, thereby realize switching fast.
By means of technical scheme of the present invention, the speed of can Effective Raise switching, and can avoid message to transmit in the path of mistake.
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 modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (6)
1. a changing method that is used for double-ascending network is characterized in that, comprising:
The switch that switches refreshes the Media Access Control Address table of the port that is positioned at separately described pair of uplink network by other switch in the flush message notifying double-ascending network;
If other switch has been received the flush message on the network, judge first receiving port whether in two uplink network port set, if so, then the Media Access Control Address table with all of the port in two uplink network port set refreshes; Simultaneously, other port by two uplink network port set continues to send to other switches with the flush message.
2. method according to claim 1 is characterized in that, the described switch that switches switches by closing its active link and opening its reserve link.
3. method according to claim 1 is characterized in that, after described other switch receives described flush message, further comprises:
Described other switch sends the flush message that it receives separately in the predetermined packet of packets of two uplink networks, wherein, described grouping is corresponding one by one with described switch and described other switch, and comprises the whole ports of respective switch in described pair of uplink network.
4. method according to claim 3 is characterized in that, the processing that described other switch carries out the transmission of flush message is specially:
For each switch in described other switch, receive the flush message if be positioned at from it a port of described grouping, the described flush message that the described flush message that then will receive sends and receives by other port that is positioned at described grouping on this switch.
5. method according to claim 3 is characterized in that, further comprises: described other switch that receives described flush message refreshes the Media Access Control Address table that is positioned at separately described grouping inner port.
6. method according to claim 1 is characterized in that, further comprises:
Receive at the described switch that switches in the situation of described flush message of described its transmission, abandon described flush message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101275699A CN101616066B (en) | 2008-06-27 | 2008-06-27 | Switching method for double-ascending network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101275699A CN101616066B (en) | 2008-06-27 | 2008-06-27 | Switching method for double-ascending network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101616066A CN101616066A (en) | 2009-12-30 |
CN101616066B true CN101616066B (en) | 2013-01-16 |
Family
ID=41495488
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101275699A Expired - Fee Related CN101616066B (en) | 2008-06-27 | 2008-06-27 | Switching method for double-ascending network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101616066B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102299855B (en) * | 2011-09-07 | 2016-02-24 | 神州数码网络(北京)有限公司 | A kind of link fast switch over method and system |
CN102932183B (en) * | 2012-11-06 | 2015-03-18 | 杭州华三通信技术有限公司 | Double-up link failure processing method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1838637A (en) * | 2005-03-07 | 2006-09-27 | 摩托罗拉公司 | Improved link layer handoff method and device |
CN1996936A (en) * | 2005-12-31 | 2007-07-11 | 中兴通讯股份有限公司 | Learning method for media access control address |
CN101127653A (en) * | 2006-08-14 | 2008-02-20 | 中兴通讯股份有限公司 | Ethernet loop device with backup and implementation method for master device backup |
-
2008
- 2008-06-27 CN CN2008101275699A patent/CN101616066B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1838637A (en) * | 2005-03-07 | 2006-09-27 | 摩托罗拉公司 | Improved link layer handoff method and device |
CN1996936A (en) * | 2005-12-31 | 2007-07-11 | 中兴通讯股份有限公司 | Learning method for media access control address |
CN101127653A (en) * | 2006-08-14 | 2008-02-20 | 中兴通讯股份有限公司 | Ethernet loop device with backup and implementation method for master device backup |
Also Published As
Publication number | Publication date |
---|---|
CN101616066A (en) | 2009-12-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4526423B2 (en) | Ring connection method and apparatus | |
US8289967B2 (en) | Packet forwarding method, device and system | |
CN101677267B (en) | Method for retransmitting protocol frames in transannular way and sharing nodes in multiple rings of Ethernet | |
EP2738978A1 (en) | Ring network failover method and apparatus | |
CN101841450B (en) | Method and system for realizing stable communication by forming multiple ring topologies into intersecting ring | |
CN103607293B (en) | A kind of flow rate protecting method and equipment | |
US20130301404A1 (en) | Communication system, communication method, and communication apparatus | |
CN101714939A (en) | Fault treatment method for Ethernet ring network host node and corresponding Ethernet ring network | |
EP2618523B1 (en) | Method, network device and system for ethernet ring protection switching | |
EP1983693A1 (en) | Binding interface in rpr and its realizing method and apparatus | |
EP2533470B1 (en) | Method and equipment for preventing repeated refreshing of ethernet ring node address table | |
EP2426855B1 (en) | Address refresh method and system | |
CN109194592B (en) | Method and system for solving island problem in multi-link network | |
CN101616066B (en) | Switching method for double-ascending network | |
CN101834770B (en) | Ethernet multiple-ring network address refreshing method and device | |
CN101141367A (en) | Method, system and node equipment for improving dependability of fast looped network | |
CN103546321B (en) | A kind of RPR administration of energy conservation method and device | |
EP2400697A1 (en) | Implementation method for protocol channel in ethernet protection | |
KR20060090219A (en) | Method of switching packets in a transmission medium comprising multiple stations which are connected using different links | |
CN108337162B (en) | System and method for supporting dual-homing protection | |
CN101888340B (en) | Method for refreshing regional addresses of subring | |
CN101834830B (en) | Regional address refreshing method of Ethernet ring network | |
CN106341297B (en) | Networking method and device for monitoring ring network | |
KR101442567B1 (en) | Seamless network communication method using frame based routing on the ring topology | |
CN104683769A (en) | Method and device for realizing multicast demanding under ring network environment |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201218 Address after: 251900 Chengkou Town East, Wudi County, Binzhou City, Shandong Province Patentee after: Wudi Xinyue Chemical Group Co.,Ltd. Address before: 518057 Zhongxing building, science and technology south road, Nanshan District hi tech Industrial Park, Guangdong, Shenzhen Patentee before: ZTE Corp. |
|
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: 20130116 |