CN101465813A - Method for switching main and standby links, ring shaped networking and switching equipment - Google Patents

Method for switching main and standby links, ring shaped networking and switching equipment Download PDF

Info

Publication number
CN101465813A
CN101465813A CNA2009100762733A CN200910076273A CN101465813A CN 101465813 A CN101465813 A CN 101465813A CN A2009100762733 A CNA2009100762733 A CN A2009100762733A CN 200910076273 A CN200910076273 A CN 200910076273A CN 101465813 A CN101465813 A CN 101465813A
Authority
CN
China
Prior art keywords
flush message
switching equipment
port
forwarding
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2009100762733A
Other languages
Chinese (zh)
Other versions
CN101465813B (en
Inventor
聂明顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2009100762733A priority Critical patent/CN101465813B/en
Publication of CN101465813A publication Critical patent/CN101465813A/en
Application granted granted Critical
Publication of CN101465813B publication Critical patent/CN101465813B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an active standby link switching method, an annular group network and a switching device. The method is applicable on an annular group network comprising more than two switching devices which adopt Smart Link technology, and the switching devices which adopt Smart Link technology are connected in sequence. The method includes the following steps: the switching devices which adopt Smart Link technology detect the fault of the link on which the forwarding ports of the switching devices are arranged, the active standby links are switched and the items of a forwarding table are refreshed; whether a switching device connected with a standby port adopts Smart Link technology is judged; if yes, a FLUSH message is generated and is sent to the switching device connected with the standby port; the switching device which receives the FLUSH message refreshes the items of the forwarding table, and if the switching device connected with the other port adopts Smart Link technology, the FLUSH message is transmitted transparently; otherwise, the FLUSH message is discarded. The active standby link switching method can realize active standby link switching to the annular group network.

Description

A kind of active/standby link switchover method, annular networking and switching equipment
Technical field
The present invention relates to the link redundancy backup technical field, particularly a kind of active/standby link switchover method, annular networking and switching equipment.
Background technology
In the prior art,, be redundancy backup and the switching fast that realizes main/slave link, propose flexible link (Smart Link) and monitoring link (Monitor Link) solution at double-ascending network.Referring to Fig. 1, Fig. 1 is the double-ascending network structural representation of available technology adopting Smart Link and Monitor Link technology.In Fig. 1, Smart Link is configured on the switching equipment D, and the port D1 of switching equipment D and port D2 form a Smart Link group, and port D1 is in forwarding (Active) state, and the link at port D1 place is a conversion link; Port D2 gets clogged, and is in (Standby) state of awaiting orders, and the link at port D2 place is the link of awaiting orders.When transmitting port D1 place path fails, the rapid perception of Smart Link is also carried out the switching of flow.Because network diameter is bigger, near the switching equipment A link failure can't be by the direct perception of switching equipment D, so under this networking, can also on switching equipment B, dispose Monitor Link group, port B1 as uplink port, port B2 as downlink port, when the uplink port B1 place of switching equipment B link breaks down, the downlink port B2 that the positive closing of Monitor Link group should be organized, thus trigger the link switchover that switching equipment D goes up Smart Link group.When the link failure recovery of the uplink port B1 place of switching equipment B, downlink port B2 also will be unlocked, if switching equipment D goes up Monitor Link assembly and is changed to role's contention mode, then can trigger the link switchover that switching equipment D goes up Smart Link group equally, otherwise wait for link switchover next time.Like this, Monitor Link technology cooperates the SmartLink technology to realize high-efficiency reliable link backup and switching.
Existing Smart Link and Monitor Link technology are only applicable to the double-ascending network structure.But for ubiquitous annular networking in the prior art, Smart Link and Monitor Link technology are also inapplicable, that is to say, also do not have the solution that realizes active/standby link switchover at annular networking at present.
For example, Fig. 2 is the typical structure schematic diagram of annular networking in the prior art, in annular networking shown in Figure 2, comprises 6 switching equipment, i.e. switching equipment A, B, C, D, E and F.Suppose that the VLAN ID by the up message of switching equipment A, B, C, D, E and F is respectively VLAN100-1200, VLAN100-1200, VLAN500-600, VLAN700-800, VLAN900-1000 and VLAN1100-1200; Under the initial condition, the port D2 of switching equipment D is the port of awaiting orders for forwarding port, port D1.When the port E2 place link on the switching equipment E breaks down, because switching equipment D can't perceive, still will forward by transmitting port D2 from the up message of switching equipment D (being the message of VLAN700-800), will cause losing of these messages.
Summary of the invention
The embodiment of the invention proposes a kind of active/standby link switchover method, a kind of annular networking and switching equipment, can realize the active/standby link switchover at annular networking.
Technical scheme of the present invention is achieved in that
A kind of active/standby link switchover method, this method are applied to comprise the annular networking of the switching equipment of having enabled Smart Link technology more than two, and the switching equipment of having enabled Smart Link technology in this annular networking connects successively, and described method comprises:
The switching equipment of having enabled Smart Link technology detects its forwarding port place link and breaks down, and carries out active/standby link switchover, refreshes the forwarding-table item of self preserving; Judge whether the switching equipment that is connected with the port of awaiting orders has enabled Smart Link technology, if, then generate the FLUSH message, described FLUSH message is sent to the described switching equipment that is connected with the port of awaiting orders;
The switching equipment that receives the FLUSH message refreshes the forwarding-table item of self preserving according to the FLUSH message, judge whether the switching equipment that is connected with another port except that the port of reception FLUSH message has enabled Smart Link technology, if, the described FLUSH message of transparent transmission then, the switching equipment that receives the FLUSH message of described transparent transmission repeats refreshing in this step, judge and the transparent transmission process, when judged result is not enabled the SmartLink technology for the switching equipment that is connected with another port the port that removes reception FLUSH message, abandon described FLUSH message.
A kind of annular networking comprises: enabled the switching equipment of Smart Link technology more than two, the described switching equipment of having enabled Smart Link technology connects successively;
The described switching equipment of enabling Smart Link technology, whether be used for detecting forwarding port place link breaks down, if, then carry out active/standby link switchover, refresh the forwarding-table item of self preserving, judge whether the switching equipment that is connected with the port of awaiting orders has enabled Smart Link technology, if, then generate the FLUSH message, described FLUSH message is sent to the described switching equipment that is connected with the port of awaiting orders; Also be used to receive the FLUSH message, refresh the forwarding-table item of self preserving according to the FLUSH message, judge whether the switching equipment that is connected with another port except that the port of reception FLUSH message has enabled Smart Link technology, if, the described FLUSH message of transparent transmission then; Otherwise abandon described FLUSH message.
A kind of switching equipment, this switching equipment are enabled Smart Link technology, and this switching equipment comprises: fault detection module, handover module, FLUSH message generation module and FLUSH message processing module (MPM); Wherein:
Fault detection module, whether the forwarding port place link that is used to detect switching equipment breaks down, if, then described testing result is sent to handover module and FLUSH message generation module;
Handover module is used for carrying out active/standby link switchover according to the testing result that fault detection module sends, and refreshes the forwarding-table item of self preserving;
FLUSH message generation module, be used to receive the testing result that fault detection module sends, judge whether the switching equipment that is connected with the standby port of switching equipment has enabled Smart Link technology, if, then generate the FLUSH message, described FLUSH message is sent to the switching equipment that is connected with the port of awaiting orders;
The FLUSH message processing module (MPM), be used to receive the FLUSH message that other switching equipment send, refresh the forwarding-table item of self preserving according to this FLUSH message, judge whether the switching equipment that is connected with another port except that the port of reception FLUSH message has enabled Smart Link technology, if, the described FLUSH message of transparent transmission then; Otherwise, delete described FLUSH message.
As seen, active/standby link switchover method, annular networking and switching equipment that the present invention proposes, enable Smart Link technology on the plural switching equipment that in annular networking, connects successively, when the forwarding port place link that detects self when the switching equipment of having enabled Smart Link technology breaks down, promptly generate the FLUSH message and be sent to the switching equipment that is connected with the port of awaiting orders; The switching equipment that receives the FLUSH message just can refresh the forwarding-table item of self preserving according to this FLUSH message, thereby realizes the active/standby link switchover of annular networking.
Description of drawings
Fig. 1 is the double-ascending network structural representation of available technology adopting Smart Link and Monitor Link technology;
Fig. 2 is the typical structure schematic diagram of annular networking in the prior art;
The method flow diagram that Fig. 3 proposes for the embodiment of the invention;
The switching equipment structural representation that Fig. 4 proposes for the embodiment of the invention.
Embodiment
In order to make the purpose, technical solutions and advantages of the present invention clearer, describe the present invention below in conjunction with the drawings and specific embodiments.
The present invention proposes a kind of active/standby link switchover method at annular networking, this method is applied to comprise the annular networking of the switching equipment of having enabled Smart Link technology more than two, and the switching equipment of having enabled Smart Link technology in this annular networking connects successively.Can also comprise 0, the switching equipment of one or more not enableds Smart Link technology in this annular networking.
This method comprises: the switching equipment of having enabled Smart Link technology detects its forwarding port place link and breaks down, and carries out active/standby link switchover, refreshes the forwarding-table item of self preserving; Judge whether the switching equipment that is connected with the port of awaiting orders has enabled Smart Link technology, if, then generate the FLUSH message, described FLUSH message is sent to the described switching equipment that is connected with the port of awaiting orders;
The switching equipment that receives the FLUSH message refreshes the forwarding-table item of self preserving according to this FLUSH message, judge whether the switching equipment that is connected with another port except that the port of reception FLUSH message has enabled Smart Link technology, if, the described FLUSH message of transparent transmission then; The switching equipment that receives the FLUSH message of described transparent transmission repeats refreshing described in this step, judgement and transparent transmission process, when judged result is not enabled Smart Link technology for the switching equipment that is connected with another port the port that removes reception FLUSH message, abandon described FLUSH message.
Below by an embodiment said method is described in detail, present embodiment is applied to annular networking shown in Figure 2, and switching equipment C, D, E and F have enabled Smart Link technology in this annular networking, switching equipment A and B not enabled Smart Link technology.The method flow diagram that Fig. 3 proposes for the embodiment of the invention, as shown in Figure 3, this method can may further comprise the steps:
Step 301: when the forwarding port E2 place of switching equipment E link broke down, switching equipment E detected this fault, carries out active/standby link switchover, refreshed the forwarding-table item of self preserving.Specific practice is with from the up message of switching equipment E, and promptly the message of VLAN900-1000 is sent out by port E1, and revises the forwarding-table item of self, makes the message of the VLAN900-1000 that after this receives transmit by port E1.
Step 302: switching equipment E judges the switching equipment that is connected with its port E1 that awaits orders, be whether switching equipment D has enabled Smart Link technology, because presupposing switching equipment D has enabled the SmartLink technology, so judged result is for being, switching equipment E generates the FLUSH message, this FLUSH message is sent to the switching equipment that is connected with the port E1 that awaits orders, i.e. switching equipment D.
Step 303: switching equipment D receives this FLUSH message, refreshes the forwarding-table item of self preserving according to this FLUSH message.
Step 304: switching equipment D judges the switching equipment that is connected with another port except that the port of this FLUSH message of reception, be whether switching equipment C has enabled Smart Link technology, because presupposing switching equipment C has enabled Smart Link technology, so judged result is for being this FLUSH message of switching equipment D transparent transmission.
Step 305: switching equipment C receives this FLUSH message, refreshes the forwarding-table item of self preserving according to this FLUSH message.
Step 306: switching equipment C judges the switching equipment that is connected with another port except that the port of this FLUSH message of reception, be whether switching equipment A has enabled Smart Link technology, owing to presuppose switching equipment A not enabled Smart Link technology, so judged result is that switching equipment C does not abandon this FLUSH message.So far, the transmission course of FLUSH message in loop network finishes, and for the switching equipment A and the B of not enabled Smart Link technology, because it can not receive the FLUSH message, also just can not be subjected to unnecessary influence.
In addition, when the forwarding port place link that detects self when switching equipment breaks down, also can be with another port shutdown, again open immediately afterwards, the switching equipment that can either cause like this being connected with the port that is closed and open again carries out active/standby link switchover automatically, can not influence from the up message forwarding of switching equipment again.
In the foregoing description, may further include before the above-mentioned steps 301:
Step 300: switching equipment F detects the forwarding port F2 place link occurs fault of self, closes the port F1 that awaits orders of self, and opens port F1 immediately again.
When the port F1 that awaits orders was closed, switching equipment E just can detect its forwarding port E2 place link (also being the link at the port F1 place of switching equipment F simultaneously) and break down.
The method of below introducing FLUSH content of message in the foregoing description, connotation in detail and refreshing forwarding-table item according to the FLUSH message.
Referring to table 1, table 1 is the format list of FLUSH message in the present embodiment.
Destination MAC Address (6 byte)=010F-E200-0008
Source MAC Address (6 byte)
Control model (Control Type) (1 byte takies 4 bits)
Contention mode (1 byte takies 4 bits)
Password (Password) (16 byte)
VLAN Bitmap (512 byte)
Frame check and (FCS)
Table 1
Wherein, Destination MAC Address is the unknown multicast address, be used to identify the FLUSH message of present embodiment, whether receiving equipment can be whether be FLUSH message in the embodiment of the invention to 010F-E200-0008 if distinguishing this message by judging this address.
Source MAC Address represents to send the bridge MAC Address of the equipment of this FLUSH message.
What Control Type represented to refresh is mac address forwarding table item or ARP list item; ControlType fields account 4 bits can adopt the different values of these 4 bits to represent different connotations, as: first bit value is 1 o'clock, and expression refreshes all the elements of ARP list item; Second bit value is 1 o'clock, and expression refreshes all the elements of mac address forwarding table item; The 3rd bit value is 1 o'clock, and expression refreshes the partial content of part A RP list item; The 4th bit value is 1 o'clock, and expression refreshes the partial content of mac address forwarding table item.
The forwarding capability of the forwarding port that the contention mode field is used to represent to recover original whether automatically.
Password represents the cipher mechanism of FLUSH message.
VLAN Bitmap is used to carry the vlan list that need refresh forwarding-table item; In the foregoing description, described vlan list can be VLAN500-600 and VLAN700-800, like this, when switching equipment D receives the FLUSH message, just can be with the pairing part deletion of VLAN700-800 in the forwarding-table item of self preserving; When switching equipment C receives the FLUSH message, just can be with the pairing part deletion of VLAN500-600 in the forwarding-table item of self preserving.Certainly, because above-mentioned Control the type field may represent to refresh all the elements of ARP list item or mac address forwarding table item, in this case, then can omit VLAN Bitmap field.
FCS is used to verify the legitimacy of FLUSH message.
The form of the FLUSH message shown in the table 2, for design like this with the prior art compatibility, in the field shown in the table 2, Destination MAC Address, Source MAC Address, control model and VLAN Bitmap field are necessary field, and other fields are inessential field; In addition, the FLUSH message that present embodiment proposes can also comprise except that other fields the table 2, does not limit herein.
In addition, in order to prevent that the disabled user from utilizing the FLUSH message to carry out network attack, in the said method, switching equipment receives after the FLUSH message, and refresh the forwarding-table item of self preserving according to the FLUSH message before, may further include: the switching equipment that receives the FLUSH message judges whether the number that receives described FLUSH message in the predefined time period surpasses predefined threshold value, if, think that then described FLUSH message is an attack message, abandon described FLUSH message, finish current flow process; Otherwise, continue to carry out the described step that refreshes the forwarding-table item of self preserving according to the FLUSH message.
In the networking structure that said method embodiment uses, switching equipment A does not enable Smart Link technology, switching equipment C has interrupted the transmission of FLUSH message in the annular networking with the FLUSH packet loss of receiving, therefore can not cause the broadcast storm in the annular networking.What expect easily is, has all enabled in the annular networking of Smart Link technology if said method embodiment is applied to whole switching equipment, then is necessary to take measures to control the FLUSH message, and it can not unrestrictedly be transmitted down.Therefore, in the said method, switching equipment receives after the FLUSH message, and refresh the forwarding-table item of self preserving according to the FLUSH message before, may further include:
The switching equipment that receives the FLUSH message judges whether the source MAC field of described FLUSH message equals the source MAC of self, if, show that then this FLUSH message is generated and sent away by self, abandon described FLUSH message then, finish current flow process; Otherwise, continue to carry out the described step that refreshes the forwarding-table item of self preserving according to the FLUSH message.
The embodiment of the invention also proposes a kind of annular networking, and this annular networking comprises: enabled the switching equipment of Smart Link technology more than two, wherein, the switching equipment of having enabled Smart Link technology connects successively; Can also comprise the switching equipment of not enabled Smart Link technology in the above-mentioned annular networking, also can not comprise.Such annular networking design can adapt to different applied environments, for example, if the switching equipment in the annular networking is to be produced by different equipment vendors, only need the part switching equipment to support the SmartLink technology in this case, and this part supports the switching equipment of Smart Link technology to connect successively, then still can realize the active/standby link switchover of equipment component in the annular networking.
In the above-mentioned annular networking, enabled the switching equipment of Smart Link technology, whether can be used for detecting forwarding port place link breaks down, if, then carry out active/standby link switchover, refresh the forwarding-table item of self preserving, judge whether the switching equipment that is connected with the port of awaiting orders has enabled Smart Link technology, if, then generate the FLUSH message, described FLUSH message is sent to the switching equipment that is connected with the port of awaiting orders; Can also be used to receive the FLUSH message, refresh the forwarding-table item of self preserving according to the FLUSH message, judge whether the switching equipment that is connected with another port except that the port of reception FLUSH message has enabled Smart Link technology, if, the described FLUSH message of transparent transmission then; Otherwise abandon described FLUSH message.
Above-mentioned switching equipment can also be used for, and transmits that port place link breaks down and the switching equipment that is connected with the port of awaiting orders when having enabled Smart Link technology when detecting, and closes and open again the described port of awaiting orders.
The embodiment of the invention also proposes a kind of switching equipment, and this switching equipment has been enabled Smart Link technology.Referring to Fig. 4, the switching equipment structural representation that Fig. 4 proposes for the embodiment of the invention, this switching equipment comprises: fault detection module 401, handover module 402, FLUSH message generation module 403 and FLUSH message processing module (MPM) 404; Wherein:
Fault detection module 401, whether the forwarding port place link that is used to detect described switching equipment breaks down, if, then described testing result is sent to handover module 402 and FLUSH message generation module 403;
Handover module 402 is used for carrying out active/standby link switchover according to the testing result that fault detection module 401 sends, and refreshes the forwarding-table item of self preserving;
FLUSH message generation module 403, be used to receive the testing result that described fault detection module 401 sends, judge whether the switching equipment that is connected with the standby port of described switching equipment has enabled Smart Link technology, if, then generate the FLUSH message, described FLUSH message is sent to the described switching equipment that is connected with the port of awaiting orders;
FLUSH message processing module (MPM) 404, be used to receive the FLUSH message that other switching equipment send, refresh the forwarding-table item of self preserving according to described FLUSH message, judge whether the switching equipment that is connected with another port except that the port of reception FLUSH message has enabled Smart Link technology, if, the described FLUSH message of transparent transmission then; Otherwise, delete described FLUSH message.
Above-mentioned switching equipment can also comprise: the port processing module 405 of awaiting orders; Wherein:
Above-mentioned fault detection module 401 can also be used for the testing result that described forwarding port place link breaks down is sent to the port processing module 405 of awaiting orders;
The port processing module 405 of awaiting orders, be used to receive the testing result that described fault detection module 401 sends, judge whether the switching equipment that is connected with the standby port of described switching equipment has enabled Smart Link technology, if then close and open again the described port of awaiting orders.
As fully visible, the annular networking that the present invention proposes, switching equipment and at the active/standby link switchover method of annular networking, enable Smart Link technology on the plural switching equipment that in annular networking, connects successively, when the forwarding port place link that detects self when the switching equipment of enabling Smart Link technology breaks down, promptly generate the FLUSH message and be sent to the switching equipment that is connected with the port of awaiting orders; The switching equipment that receives the FLUSH message just can refresh the forwarding-table item of self preserving according to this FLUSH message, thereby realizes the active/standby link switchover of annular networking.Form at the FLUSH message of two uplink networks in the form of the FLUSH message that the present invention proposes and the prior art is similar, thereby can realize the compatibility with prior art.In addition, in the scheme that the present invention proposes, when the switching equipment of port connection is not enabled the SmartLink technology, this port is with the FLUSH packet loss, make the FLUSH message arrival to enable the switching equipment of Smart Link technology like this, thereby can not produce unnecessary influence these switching equipment.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (7)

1, a kind of active/standby link switchover method, it is characterized in that, this method is applied to comprise the annular networking of the switching equipment of having enabled flexible link Smart Link technology more than two, the switching equipment that comprises the network equipment of not enabled Smart link technology in this annular networking and enabled Smart Link technology connects successively, and described method comprises:
The switching equipment of having enabled Smart Link technology detects its forwarding port place link and breaks down, and carries out active/standby link switchover, refreshes the forwarding-table item of self preserving; Judge whether the switching equipment that is connected with the port of awaiting orders has enabled Smart Link technology, if, then generate and refresh the FLUSH message, described FLUSH message is sent to the described switching equipment that is connected with the port of awaiting orders;
The switching equipment that receives the FLUSH message refreshes the forwarding-table item of self preserving according to the FLUSH message, judge whether the switching equipment that is connected with another port except that the port of reception FLUSH message has enabled Smart Link technology, if, the described FLUSH message of transparent transmission then; The switching equipment that receives the FLUSH message of described transparent transmission repeats refreshing described in this step, judgement and transparent transmission process, when judged result is not enabled the SmartLink technology for the switching equipment that is connected with another port the port that removes reception FLUSH message, abandon described FLUSH message.
2, method according to claim 1 is characterized in that, described FLUSH message comprises: purpose media interviews control MAC Address field, source MAC field, control model field and virtual LAN VLAN bitmap field;
Described target MAC (Media Access Control) address field is predefined fixed value, is used to identify the FLUSH message;
Described source MAC field is used to represent send the bridge MAC Address of the switching equipment of described FLUSH message;
Described control model field is used for indicating the switching equipment that receives described FLUSH message to refresh the mac address forwarding table item or the ARP list item of the forwarding-table item of self preserving;
Described VLAN bitmap field is used to carry the vlan list that need refresh forwarding-table item.
3, method according to claim 2 is characterized in that, described FLUSH message also comprises: contention mode field, password field and frame check and FCS field;
Described contention mode field is used to indicate the switching equipment that receives described FLUSH message whether to recover original forwarding capability of transmitting port automatically;
Described password field is used to represent the cipher mechanism of described FLUSH message;
Described FCS field is used to detect the legitimacy of described FLUSH message.
4, method according to claim 1, it is characterized in that, described switching equipment receives after the FLUSH message, and refresh the forwarding-table item of self preserving according to the FLUSH message before, further comprise: the switching equipment of described reception FLUSH message judges whether the number that receives described FLUSH message in the predefined time period surpasses predefined threshold value, if think that then described FLUSH message is an attack message, abandon described FLUSH message, finish current flow process; Otherwise, continue to carry out the described step that refreshes the forwarding-table item of self preserving according to the FLUSH message.
5, method according to claim 2, it is characterized in that, described switching equipment receives after the FLUSH message, and refresh the forwarding-table item of self preserving according to the FLUSH message before, further comprise: the switching equipment that receives described FLUSH message judges whether the source MAC field of described FLUSH message equals the source MAC of self, if, then abandon described FLUSH message, finish current flow process; Otherwise, continue to carry out the described step that refreshes the forwarding-table item of self preserving according to the FLUSH message.
6, a kind of annular networking is characterized in that, described annular networking comprises: enabled the switching equipment of SmartLink technology more than two, the described switching equipment of having enabled Smart Link technology connects successively;
The described switching equipment of enabling Smart Link technology, whether be used for detecting forwarding port place link breaks down, if, then carry out active/standby link switchover, refresh the forwarding-table item of self preserving, judge whether the switching equipment that is connected with the port of awaiting orders has enabled the SmartLink technology, if, then generate the FLUSH message, described FLUSH message is sent to the described switching equipment that is connected with the port of awaiting orders; Also be used to receive the FLUSH message, refresh the forwarding-table item of self preserving according to the FLUSH message, judge whether the switching equipment that is connected with another port except that the port of reception FLUSH message has enabled Smart Link technology, if, the described FLUSH message of transparent transmission then; Otherwise abandon described FLUSH message.
7, a kind of switching equipment is characterized in that, this switching equipment is enabled Smart Link technology, and described switching equipment comprises: fault detection module, handover module, FLUSH message generation module and FLUSH message processing module (MPM); Wherein:
Described fault detection module, whether the forwarding port place link that is used to detect described switching equipment breaks down, if, then described testing result is sent to handover module and FLUSH message generation module;
Described handover module is used for carrying out active/standby link switchover according to the testing result that fault detection module sends, and refreshes the forwarding-table item of self preserving;
Described FLUSH message generation module, be used to receive the testing result that described fault detection module sends, judge whether the switching equipment that is connected with the standby port of described switching equipment has enabled Smart Link technology, if, then generate the FLUSH message, described FLUSH message is sent to the described switching equipment that is connected with the port of awaiting orders;
Described FLUSH message processing module (MPM), be used to receive the FLUSH message that other switching equipment send, refresh the forwarding-table item of self preserving according to described FLUSH message, judge whether the switching equipment that is connected with another port except that the port of reception FLUSH message has enabled the SmartLink technology, if, the described FLUSH message of transparent transmission then; Otherwise, delete described FLUSH message.
CN2009100762733A 2009-01-08 2009-01-08 Method for switching main and standby links, ring shaped networking and switching equipment Active CN101465813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100762733A CN101465813B (en) 2009-01-08 2009-01-08 Method for switching main and standby links, ring shaped networking and switching equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100762733A CN101465813B (en) 2009-01-08 2009-01-08 Method for switching main and standby links, ring shaped networking and switching equipment

Publications (2)

Publication Number Publication Date
CN101465813A true CN101465813A (en) 2009-06-24
CN101465813B CN101465813B (en) 2011-09-07

Family

ID=40806183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100762733A Active CN101465813B (en) 2009-01-08 2009-01-08 Method for switching main and standby links, ring shaped networking and switching equipment

Country Status (1)

Country Link
CN (1) CN101465813B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025583A (en) * 2009-09-10 2011-04-20 华为技术有限公司 Refresh control method, system and network node
CN102148677A (en) * 2010-02-10 2011-08-10 杭州华三通信技术有限公司 Method for updating address resolution protocol table entries and core switch
CN102299906A (en) * 2010-06-25 2011-12-28 杭州华三通信技术有限公司 Method for preventing spoofed message attack as well as upstream device and downstream device suitable for same
WO2012003771A1 (en) * 2010-07-07 2012-01-12 中兴通讯股份有限公司 Method and system for transmitting data in ring network
CN102340392A (en) * 2010-07-26 2012-02-01 杭州华三通信技术有限公司 Method and system for improving reliability of service in passive optical network system
CN102412984A (en) * 2011-10-24 2012-04-11 杭州华三通信技术有限公司 Management method and equipment for forwarded table entry
CN102821009A (en) * 2012-08-08 2012-12-12 中兴通讯股份有限公司 Method for monitoring ring network on basis of link layer discovery protocol and device
CN102932183A (en) * 2012-11-06 2013-02-13 杭州华三通信技术有限公司 Double-up link failure processing method and device
CN103052118A (en) * 2012-12-07 2013-04-17 北京华为数字技术有限公司 Communication channel switching method and network equipment
WO2013143096A1 (en) * 2012-03-29 2013-10-03 Telefonaktiebolaget L M Ericsson Mac copy in nodes detecting failure in a ring protection communication network
CN103532856A (en) * 2013-10-23 2014-01-22 杭州华三通信技术有限公司 Message transmission method and equipment
CN104780104A (en) * 2015-04-20 2015-07-15 杭州华三通信技术有限公司 Packet forwarding method and device in Smart Link networking
CN106452834A (en) * 2016-08-31 2017-02-22 大连环宇移动科技有限公司 Method for guaranteeing series connection equipment to keep consistency of main/standby network ports in communication process
CN108270520A (en) * 2018-01-31 2018-07-10 杜民 Message transmitting method, device, storage medium and computer equipment
CN108933720A (en) * 2017-05-25 2018-12-04 中兴通讯股份有限公司 Information processing method, device, system and the storage medium of loop system
CN109194592A (en) * 2018-09-25 2019-01-11 盛科网络(苏州)有限公司 A kind of method and system solving islanding problem in multi-link network
CN109981308A (en) * 2017-12-27 2019-07-05 北京华为数字技术有限公司 Message transmitting method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100454880C (en) * 2006-11-01 2009-01-21 华为技术有限公司 Method and system of realizing rig network protection
CN101079795A (en) * 2007-07-27 2007-11-28 杭州华三通信技术有限公司 Data forwarding method and forwarding device
CN101183921B (en) * 2007-12-25 2012-04-18 杭州华三通信技术有限公司 Method and apparatus for guaranteeing continuousness of service stream

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025583A (en) * 2009-09-10 2011-04-20 华为技术有限公司 Refresh control method, system and network node
CN102025583B (en) * 2009-09-10 2013-02-27 华为技术有限公司 Refresh control method, system and network node
CN102148677A (en) * 2010-02-10 2011-08-10 杭州华三通信技术有限公司 Method for updating address resolution protocol table entries and core switch
CN102148677B (en) * 2010-02-10 2013-06-26 杭州华三通信技术有限公司 Method for updating address resolution protocol table entries and core switch
CN102299906A (en) * 2010-06-25 2011-12-28 杭州华三通信技术有限公司 Method for preventing spoofed message attack as well as upstream device and downstream device suitable for same
CN102299906B (en) * 2010-06-25 2014-04-16 杭州华三通信技术有限公司 Method for preventing spoofed message attack as well as upstream device suitable for same
WO2012003771A1 (en) * 2010-07-07 2012-01-12 中兴通讯股份有限公司 Method and system for transmitting data in ring network
CN102340392A (en) * 2010-07-26 2012-02-01 杭州华三通信技术有限公司 Method and system for improving reliability of service in passive optical network system
CN102340392B (en) * 2010-07-26 2014-02-05 杭州华三通信技术有限公司 Method and system for improving reliability of service in passive optical network system
CN102412984B (en) * 2011-10-24 2014-10-29 杭州华三通信技术有限公司 Management method and equipment for forwarded table entry
CN102412984A (en) * 2011-10-24 2012-04-11 杭州华三通信技术有限公司 Management method and equipment for forwarded table entry
WO2013143096A1 (en) * 2012-03-29 2013-10-03 Telefonaktiebolaget L M Ericsson Mac copy in nodes detecting failure in a ring protection communication network
CN102821009A (en) * 2012-08-08 2012-12-12 中兴通讯股份有限公司 Method for monitoring ring network on basis of link layer discovery protocol and device
CN102821009B (en) * 2012-08-08 2015-01-28 中兴通讯股份有限公司 Method for monitoring ring network on basis of link layer discovery protocol and device
CN102932183A (en) * 2012-11-06 2013-02-13 杭州华三通信技术有限公司 Double-up link failure processing method and device
CN102932183B (en) * 2012-11-06 2015-03-18 杭州华三通信技术有限公司 Double-up link failure processing method and device
CN103052118B (en) * 2012-12-07 2015-08-19 北京华为数字技术有限公司 A kind of communication tunnel changing method and the network equipment
CN103052118A (en) * 2012-12-07 2013-04-17 北京华为数字技术有限公司 Communication channel switching method and network equipment
CN103532856A (en) * 2013-10-23 2014-01-22 杭州华三通信技术有限公司 Message transmission method and equipment
CN104780104B (en) * 2015-04-20 2018-05-11 新华三技术有限公司 Message forwarding method and device in Smart Link networkings
CN104780104A (en) * 2015-04-20 2015-07-15 杭州华三通信技术有限公司 Packet forwarding method and device in Smart Link networking
CN106452834A (en) * 2016-08-31 2017-02-22 大连环宇移动科技有限公司 Method for guaranteeing series connection equipment to keep consistency of main/standby network ports in communication process
CN108933720A (en) * 2017-05-25 2018-12-04 中兴通讯股份有限公司 Information processing method, device, system and the storage medium of loop system
CN109981308A (en) * 2017-12-27 2019-07-05 北京华为数字技术有限公司 Message transmitting method and device
CN109981308B (en) * 2017-12-27 2022-05-24 北京华为数字技术有限公司 Message transmission method and device
CN108270520A (en) * 2018-01-31 2018-07-10 杜民 Message transmitting method, device, storage medium and computer equipment
CN109194592A (en) * 2018-09-25 2019-01-11 盛科网络(苏州)有限公司 A kind of method and system solving islanding problem in multi-link network
CN109194592B (en) * 2018-09-25 2021-06-25 盛科网络(苏州)有限公司 Method and system for solving island problem in multi-link network

Also Published As

Publication number Publication date
CN101465813B (en) 2011-09-07

Similar Documents

Publication Publication Date Title
CN101465813B (en) Method for switching main and standby links, ring shaped networking and switching equipment
CN101022390B (en) Method, system and equipment for protecting double-return switch-in RRPP loop network
US7940645B2 (en) Protection switching method based on change in link status in ethernet link aggregation sublayer
EP2555476A1 (en) Method, system and device for protecting multicast in communication network
US7719956B2 (en) Trunk network system for multipoint-to-multipoint relay
US8064331B2 (en) Transmitting apparatus and method for maintaining learned information
CN104301146A (en) Link switching method and device in software defined network
CN101651596B (en) Method for accelerating switching during Ethernet automatic protection switching failure
CN101426031B (en) Novel method and apparatus for Ether ring network address updating
US8270412B2 (en) Network relay device and ring network
JP2009005053A (en) Packet ring network system and packet transfer method
US20100254257A1 (en) Method for processing failure of slave port of master node in ethernet ring network system
CN100466583C (en) Fast ring network method against attack based on RRPP, apparatus and system
CN102480409B (en) Method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, RRPP loop and device
CN101714939A (en) Fault treatment method for Ethernet ring network host node and corresponding Ethernet ring network
US8948002B2 (en) Method and device for preventing repeated refreshing of address table of Ethernet ring network node
US8681604B2 (en) Address refresh method and system
CA2323447C (en) Accommodating packet data loss at base stations interfacing between a packet switched network and a cdma macrodiversity network
CN105141493A (en) Service frame processing method and system during ring network fault
CN101834770B (en) Ethernet multiple-ring network address refreshing method and device
CN101483572A (en) Link detection method, Ethernet looped network node
CN105703967A (en) Method and apparatus for detecting label switching path connectivity
CN101651566B (en) Method for solving inter-domain link fault
JP5520741B2 (en) Communication device
US20110299388A1 (en) Implementation Method for Protocol Channel in Ethernet Protection

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
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address