CN103891204B - The method of link switchover and switching equipment - Google Patents

The method of link switchover and switching equipment Download PDF

Info

Publication number
CN103891204B
CN103891204B CN201380002726.2A CN201380002726A CN103891204B CN 103891204 B CN103891204 B CN 103891204B CN 201380002726 A CN201380002726 A CN 201380002726A CN 103891204 B CN103891204 B CN 103891204B
Authority
CN
China
Prior art keywords
message
switching equipment
address
port
sent
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.)
Active
Application number
CN201380002726.2A
Other languages
Chinese (zh)
Other versions
CN103891204A (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.)
XFusion Digital Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN103891204A publication Critical patent/CN103891204A/en
Application granted granted Critical
Publication of CN103891204B publication Critical patent/CN103891204B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

Embodiments provide a kind of method and switching equipment of link switchover, to solve in prior art because of data loss problem that downlink port fault causes.The link switching method of the embodiment of the present invention and switching equipment, by generating second message with reverse address, the source address of described second message is the destination address of described first message, and the destination address of described second message is the source address of described first message; And described reverse address message is sent to the mutually redundant backup switching equipment with described switching equipment, described second message sends from the first interface of described backup switching equipment, the equipment sending described first message is made to obtain the address of backup switching equipment in time, send data from backup switching equipment, avoiding the equipment sending described first message because of the second port failure of switching equipment cannot know the data loss problem caused in time.

Description

The method of link switchover and switching equipment
Technical field
The present invention relates to areas of information technology, particularly relate to method and the switching equipment of link switchover.
Background technology
In network communications, in order to ensure normal communication, 2 links usually can be adopted mutually to back up, when a wherein link down, another link can be switched to.Switch is connected for server, usual server can use double nip network interface card to be connected with switch, if the link connecting switch has like this broken, server can perception link down, the follow-up message mailing to broken link is sent elsewhere toward normal link, and this just can realize network link and not interrupt.
Above-mentioned simple dual link mode, can not solve the integrity problem of network completely.Upstream plant can only know the fault of direct connected link, and perception is less than the situation of direct connectivity port, and the uplink port fault of such as switch, server is not just known, message can mail to switch in the same old way, causes message to abandon at switch.
Monitorlink is the technology that a kind of conventional realization is switched, it does not need to carry out any agreement exchange with the upper network equipment that connects, and does not need opposite equip. to coordinate, just energy simple realization disturbance switching yet, realizing cost simple, is a kind of desirable data stream failure switching technique.
In Monitorlink, the network equipment is connected with the upper level network equipment by uplink port, is connected by downlink port server.When up link failure, monitorlink is checked through in uplink port and has no progeny, whole for the downlink port of correspondence down is fallen, the corresponding linkdown connected just can be perceived like this with the equipment that downlink port connects (such as server), so message no longer mails to this link and sends data, but only message is sent to normal link, message so just can be avoided to mail to failed switches and to cause message dropping.
But prior art can not solve the scene of downlink port fault, if downlink port mouth fault, message will continue to come in from uplink port, but cannot send out from downlink port, cause message to be lost in a large number, after only having server initiatively outwards to initiate message, initiate the learning equipment of data to new MAC (MediaAccessControl, medium education) address, just can by data from normal switching equipment transmission.If server is not always to outgoing data, then the data sent from the switching equipment of fault all will be dropped, and cause the loss of data.
Summary of the invention
The embodiment of the present invention provides a kind of method and switching equipment of link switchover, to solve in prior art, and the problem that downlink port fault causes Data Data to be lost.
Embodiments provide a kind of switching equipment, described switching equipment comprises: message receiver module, port monitoring module, fault message processing module (MPM) and middle port packet forwarding module;
Described message receiver module, for receiving the first message being sent to described switching equipment by the first port of described switching equipment;
Described port monitoring module, for detecting the second port status of described switching equipment, when the second port failure of described switching equipment being detected, notifies described fault message processing module (MPM);
Described fault message processing module (MPM), for the notice according to described port monitoring module, generates second message with reverse address, and described reverse address message is sent to middle port packet forwarding module; The source address of described second message is the destination address of described first message, and the destination address of described second message is the source address of described first message;
Described middle port packet forwarding module, for the second message described fault message processing module (MPM) sent, sends to the mutually redundant backup switching equipment with described switching equipment, described second message is sent from the first interface of described backup switching equipment.
Optionally, the second message that described fault message processing module (MPM) generation has reverse address comprises:
Described fault message processing module (MPM) changes the source MAC address of described first message into target MAC (Media Access Control) address, changes the target MAC (Media Access Control) address of the first message into source MAC, to generate the second message.
Optionally, the second message that described fault message processing module (MPM) generation has reverse address comprises:
Described fault message processing module (MPM) generates the second message according to the internet protocol address of described first message, the source MAC of described second message is the target MAC (Media Access Control) address of described first message, and the target MAC (Media Access Control) address of described second message is the source MAC of described first message.
Optionally, the second message that described fault message processing module (MPM) generation has reverse address comprises:
Described fault message processing module (MPM) generates the second message according to the fixed ip address preset, the source MAC of described second message is the target MAC (Media Access Control) address of described first message, and the target MAC (Media Access Control) address of described second message is the source MAC of described first message.
Optionally, described Secondary Report stationery is had any different in the mark of described first message, and making described backup switching equipment can identify described second message according to described mark will be sent by the first port.
Optionally, described switching equipment is the switching equipment supporting monitorlink technology, first port of described switching equipment is the uplink port of the connection of described switching equipment and other network equipment, and the second port of described switching equipment is the downlink port that described switching equipment is connected with server.
Optionally, described switching equipment also comprises forwarding module;
Described forwarding module is used for described first message to send to described middle port packet forwarding module;
Accordingly, described middle port packet forwarding module is further used for described first message receiving the transmission of described forwarding module, and described first message is sent to described backup switching equipment, make described first message from described backup switching equipment second port send.
The embodiment of the present invention additionally provides a kind of method of link switchover, and described method comprises:
Receive the first message being sent to described switching equipment by the first port of switching equipment;
Detect the second port status of described switching equipment, when the second port failure of described switching equipment being detected, generate second message with reverse address, the source address of described second message is the destination address of described first message, and the destination address of described second message is the source address of described first message;
Described second message is sent to described switching equipment mutually redundant backup switching equipment, described second message is sent from the first interface of described backup switching equipment.
Optionally, the second message that described generation has a reverse address comprises:
Change the source MAC address of described first message into target MAC (Media Access Control) address, change the target MAC (Media Access Control) address of the first message into source MAC, to generate the second message.
Optionally, the second message that described generation has a reverse address comprises:
Internet protocol address according to described first message generates the second message, and the source MAC of described second message is the target MAC (Media Access Control) address of described first message, and the target MAC (Media Access Control) address of described second message is the source MAC of described first message.
Optionally, the second message that described generation has a reverse address comprises:
Generate the second message according to the fixed ip address preset, the source MAC of described second message is the target MAC (Media Access Control) address of described first message, and the target MAC (Media Access Control) address of described second message is the source MAC of described first message.
Optionally, described Secondary Report stationery is had any different in the mark of described first message, and making described backup switching equipment can identify described second message according to described mark will be sent by the first port.
Optionally, described switching equipment is the switching equipment supporting monitorlink technology, first port of described switching equipment is the uplink port of the connection of described switching equipment and other network equipment, and the second port of described switching equipment is the downlink port that described switching equipment is connected with server.
Optionally, described method also comprises:
Described first message is sent to described backup switching equipment, make described first message from described backup switching equipment second port send.
The method of the link switchover that the embodiment of the present invention provides and switching equipment, by generating second message with reverse address, the source address of described second message is the destination address of described first message, and the destination address of described second message is the source address of described first message; And described reverse address message is sent to the mutually redundant backup switching equipment with described switching equipment, described second message sends from the first interface of described backup switching equipment, the equipment sending described first message is made to obtain the address of backup switching equipment in time, send data from backup switching equipment, avoiding the equipment sending described first message because of the downlink port fault such as the second port of switching equipment cannot know the data loss problem caused in time.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the basic structure schematic diagram realizing monitorlink group in prior art;
Fig. 2 is the structural representation of a kind of switching equipment 200 of the embodiment of the present invention;
Fig. 3 is the another kind of implementation structural representation of a kind of switching equipment 200 of the embodiment of the present invention;
The schematic flow sheet of the method for a kind of link switchover that Fig. 4 provides for the embodiment of the present invention
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is a part of embodiment of the present invention, instead of whole embodiment.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite not making creative work, all should belong to the scope of protection of the invention.
It is the basic structure schematic diagram realizing monitorlink group in prior art with reference to figure 1, Fig. 1.Server 100 is connected with switching equipment B respectively at switching equipment A, and the network equipment 101 is connected with switching equipment A, realizes the communication with server 100 by switching equipment A; Switching equipment B as the switching equipment on the backup path of the network equipment 101, switching equipment A break down cannot transmit data time, the network equipment 101 can be realized and the communication of server 100 by switching equipment B.
Wherein, switching equipment A and switching equipment B are configured with monitorlink function, uplink port A and downlink port A belongs to a monitorlink group, and uplink port B and downlink port B belongs to a monitorlink group.The network equipment 101 is uplink port A with the interface of switching equipment A, and the data that the network equipment 101 mails to server 100 are sent to switching equipment A by uplink port A, and switching equipment A is by sending the data to server 100 with the downlink port A of server 100.
If downlink port A breaks down, server can this port failure of perception, follow-uply can not send message from this downlink port A again.But the network equipment 101 be connected with uplink port A does not also know downlink port A fault, continue data or message to send to switching equipment A from uplink port A.Due to downlink port A fault, message cannot send out from downlink port A again, therefore can only abandon data or message, causes a large amount of loss of data or message.Server is only had initiatively to send data or message to the network equipment 101 by switching equipment B, the network equipment 101, according to the MAC Address (i.e. the MAC Address of switching equipment B) receiving forwarding data or message, just can send data or message to the uplink port of switching equipment B.If server 100 does not send data or message to the network equipment 101 always, the network equipment sends to the data of server 100 or message to be dropped always.
For solving in prior art because downlink port fault causes the problem of the loss of data sent from uplink port, embodiments provide a kind of switching equipment 200.With reference to the structural representation that figure 2, Fig. 2 is a kind of switching equipment 200 of the embodiment of the present invention, this switching equipment 200 comprises: message receiver module 201, port monitoring module 202, fault message processing module (MPM) 203 and middle port packet forwarding module 204;
Described message receiver module 201, for receiving the first message being sent to described switching equipment 200 by the first port of described switching equipment 200;
Described port monitoring module 202, for detecting the second port status of described switching equipment 200, when the second port failure of described switching equipment 200 being detected, notifies described fault message processing module (MPM) 203;
First port of described switching equipment 200 is ports of the connection of described switching equipment 200 and other network equipment, such as, can be the uplink port be connected with other network equipment in monitorlink technology.Second port of described switching equipment 200 is ports that described switching equipment 200 is connected with server, such as, can be the downlink port be connected with server in monitorlink technology.
Wherein, port monitoring module 202 detects the state of the first port can by the status word of regular check link, and confirm the first port whether fault etc. according to the status word of link, the embodiment of the present invention does not limit the mode that port status detects.
Optionally, described port monitoring module 202 is when the second port failure of described switching equipment 200 being detected, close the second port of described switching equipment 200, the data that described switching equipment 200 receives from the first port or message are no longer by described second port repeat.
Described fault message processing module (MPM) 203, for the notice according to described port monitoring module 202, generates second message with reverse address, and described reverse address message is sent to middle port packet forwarding module 204; The source address of described second message is the destination address of described first message, and the destination address of described second message is the source address of described first message;
Described middle port packet forwarding module 204, for described second message that described fault message processing module (MPM) 203 is sent, send to backup switching equipment mutually redundant with described switching equipment 200, described second message is sent from the first interface of described backup switching equipment.Namely described second message is sent to the network equipment sending described first message by described middle port packet forwarding module 204 by the first interface of described backup switching equipment, make the network equipment sending described first message can obtain the address of new switching equipment, namely the address of switching equipment is backed up, thus the message of follow-up transmission is issued described backup switching equipment, realize instant link switchover, ensure the safety of data.
Above-mentioned switching equipment 200, generated second message with reverse address by fault message processing module (MPM) 203, the source address of described second message is the destination address of described first message, and the destination address of described second message is the source address of described first message; And described reverse address message is sent to backup switching equipment mutually redundant with described switching equipment 200 by middle port packet forwarding module, described second message sends from the first interface of described backup switching equipment, the equipment sending described first message is made to obtain the address of backup switching equipment in time, send data from backup switching equipment, avoiding the equipment sending described first message because of the downlink port fault such as the second port of switching equipment cannot know the data loss problem caused in time.
Wherein, backup switching equipment mutually redundant with described switching equipment 200, it is the switching equipment being jointly connected to same server with described switching equipment 200, link between described switching equipment 200 and described server, and the link between described backup switching equipment and described server backups each other relation; Can be the mutually redundant switching equipment supporting Monitorlink technology, such as, in Fig. 1, switching equipment A and switching equipment B backups each other, and switching equipment B is the backup switching equipment of switching equipment A.During link failure between described switching equipment 200 and described server, the link between described backup switching equipment and described server can be used for replacing the link between described switching equipment 200 and described server.
As the optional implementation of one, described switching equipment 200 also comprises forwarding module 205.Be the another kind of implementation structural representation of a kind of switching equipment 200 of the embodiment of the present invention with reference to figure 3, Fig. 3.Wherein, described forwarding module 205 is for sending to described middle port packet forwarding module 204 by described first message; Accordingly, described middle port packet forwarding module 204, be further used for receiving described first message that described forwarding module 205 sends, and described first message sent to described backup switching equipment, make described first message from described backup switching equipment the second port send.
By forwarding module 205, described first message is sent to packet forwarding module 204, described first message is sent to described backup switching equipment by packet forwarding module 204, make described first message from described backup switching equipment second port send, the fail safe of data can be improved further, the loss of described first message making the first message avoid the second port failure due to described switching equipment 200 to send to cause.
Wherein, the first port of backup switching equipment is the port of the connection of described backup switching equipment and other network equipment, such as, can be the uplink port be connected with other network equipment in monitorlink technology.Second port of described backup switching equipment is the port that described switching equipment 200 is connected with server, such as, can be the downlink port be connected with server in monitorlink technology
As the optional implementation of one, described fault message processing module (MPM) 203 generates second message with reverse address and can comprise: change the source MAC of described first message into target MAC (Media Access Control) address, change the target MAC (Media Access Control) address of the first message into source MAC, to generate the second message.
As the optional implementation of one, described fault message processing module (MPM) 203 generates second message with reverse address and can also comprise: according to the IP (InternetProtocol of described first message, Internet protocol) address generates the second message, such as the second message can be ARP (AddressResolutionProtocol, address resolution protocol) message, the source MAC of described ARP message is the target MAC (Media Access Control) address of described first message, and the target MAC (Media Access Control) address of described ARP message is the source MAC of described first message.
As the optional implementation of one, described fault message processing module (MPM) 203 generates second message with reverse address and can also comprise: generate the second message according to the fixed ip address preset, this second message also can be ARP message, the source MAC of described ARP message is the target MAC (Media Access Control) address of described first message, and the target MAC (Media Access Control) address of described ARP message is the source MAC of described first message.
As the optional implementation of one, described fault message processing module (MPM) 203 generates second message with reverse address, have the mark being different from described first message, making described backup switching equipment can identify described second message according to described mark will be sent by the first port.
By the implementation of above-mentioned switching equipment 200, can avoid under the scene realizing Monitorlink switching technique, because of the problem of the loss of data from up going port transmission that down going port fault causes, in time the data exchange sent from up going port can be transmitted to switching equipment for subsequent use before the network equipments such as server initiatively initiate transfer of data, avoid the loss of data, improve the fail safe of data.
The schematic flow sheet of the method for a kind of link switchover provided for the embodiment of the present invention with reference to figure 4, Fig. 4, comprising:
Step 400: receive the first message being sent to described switching equipment by the first port of switching equipment;
Step 402: the second port status detecting described switching equipment, when the second port failure of described switching equipment being detected, generate second message with reverse address, the source address of described second message is the destination address of described first message, and the destination address of described second message is the source address of described first message;
Step 404: described second message is sent to described switching equipment mutually redundant backup switching equipment, makes described second message send from the first interface of described backup switching equipment.
Sent to the network equipment sending described first message by the first interface of described backup switching equipment by described second message, make the network equipment sending described first message can obtain the address of new switching equipment, namely the address of switching equipment is backed up, thus the message of follow-up transmission is issued described backup switching equipment, realize instant link switchover, ensure the safety of data.
Said method has the second message of reverse address by generating, the source address of described second message is the destination address of described first message, and the destination address of described second message is the source address of described first message; And described reverse address message is sent to the mutually redundant backup switching equipment with described switching equipment, described second message sends from the first interface of described backup switching equipment, the equipment sending described first message is made to obtain the address of backup switching equipment in time, send data from backup switching equipment, avoiding the equipment sending described first message because of the second port failure of switching equipment cannot know the data loss problem caused in time.
Wherein, in said method, generating second message with reverse address can comprise:
Change the source MAC address of described first message into target MAC (Media Access Control) address, change the target MAC (Media Access Control) address of the first message into source MAC, to generate the second message.
As the optional implementation of one, generating second message with reverse address can also be realized by following manner:
Internet protocol address according to described first message generates the second message, and the source MAC of described second message is the target MAC (Media Access Control) address of described first message, and the target MAC (Media Access Control) address of described second message is the source MAC of described first message.
Optionally, generate second message with reverse address to be realized by following manner:
Generate the second message according to the fixed ip address preset, the source MAC of described second message is the target MAC (Media Access Control) address of described first message, and the target MAC (Media Access Control) address of described second message is the source MAC of described first message.
Wherein, described Secondary Report stationery is had any different in the mark of described first message, and making described backup switching equipment can identify described second message according to described mark will be sent by the first port.
Switching equipment in embodiment of the present invention link switching method, can for supporting the switching equipment of monitorlink technology, first port of described switching equipment is the uplink port of the connection of described switching equipment and other network equipment, and the second port of described switching equipment is the downlink port that described switching equipment is connected with server.
Said method can further include:
Described first message is sent to described backup switching equipment, make described first message from described backup switching equipment second port send.
The implementation of said method embodiment, can the implementation of reference diagram 2 or Fig. 3 embodiment realize.Said method can realize by the switching equipment 200 in above-mentioned Fig. 2 or Fig. 3, repeats no more.
By described first message is sent to described backup switching equipment, make described first message from described backup switching equipment second port send, the fail safe of data can be improved further, the loss of described first message making the first message avoid the second port failure due to described switching equipment to send to cause.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Those skilled in the art can be well understood to, and for convenience of description and succinctly, the specific works process of the system of foregoing description, device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed system, apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed coupling each other or direct-coupling or communication connection can be indirect coupling by some interfaces, device or unit or communication connection, also can be electric, machinery or other form connect.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of embodiment of the present invention scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, and also can be that the independent physics of unit exists, also can be that two or more unit are in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is in essence in other words to the part that prior art contributes, or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; can expect amendment or the replacement of various equivalence easily, these amendments or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (14)

1. a switching equipment, is characterized in that, described switching equipment comprises: message receiver module, port monitoring module, fault message processing module (MPM) and middle port packet forwarding module;
Described message receiver module, for receiving the first message being sent to described switching equipment by the first port of described switching equipment;
Described port monitoring module, for detecting the second port status of described switching equipment, when the second port failure of described switching equipment being detected, notifies described fault message processing module (MPM);
Described fault message processing module (MPM), for the notice according to described port monitoring module, generates second message with reverse address, and described reverse address message is sent to middle port packet forwarding module; The source address of described second message is the destination address of described first message, and the destination address of described second message is the source address of described first message;
Described middle port packet forwarding module, for described second message that described fault message processing module (MPM) is sent, send to the mutually redundant backup switching equipment with described switching equipment, described second message is sent from the first interface of described backup switching equipment.
2. switching equipment according to claim 1, is characterized in that, described fault message processing module (MPM) generates second message with reverse address and comprises:
Described fault message processing module (MPM) changes the source MAC address of described first message into target MAC (Media Access Control) address, changes the target MAC (Media Access Control) address of the first message into source MAC, to generate the second message.
3. switching equipment according to claim 1, is characterized in that, described fault message processing module (MPM) generates second message with reverse address and comprises:
Described fault message processing module (MPM) generates the second message according to the internet protocol address of described first message, the source MAC of described second message is the target MAC (Media Access Control) address of described first message, and the target MAC (Media Access Control) address of described second message is the source MAC of described first message.
4. switching equipment according to claim 1, is characterized in that, described fault message processing module (MPM) generates second message with reverse address and comprises:
Described fault message processing module (MPM) generates the second message according to the fixed ip address preset, the source MAC of described second message is the target MAC (Media Access Control) address of described first message, and the target MAC (Media Access Control) address of described second message is the source MAC of described first message.
5. according to the arbitrary described switching equipment of claim 1-4, it is characterized in that, described Secondary Report stationery is had any different in the mark of described first message, and making described backup switching equipment can identify described second message according to described mark will be sent by the first port.
6. according to the arbitrary described switching equipment of claim 1-4, it is characterized in that, described switching equipment is the switching equipment supporting monitorlink technology, first port of described switching equipment is the uplink port of the connection of described switching equipment and other network equipment, and the second port of described switching equipment is the downlink port that described switching equipment is connected with server.
7., according to the arbitrary described switching equipment of claim 1-4, it is characterized in that, described switching equipment also comprises forwarding module;
Described forwarding module is used for described first message to send to described middle port packet forwarding module;
Accordingly, described middle port packet forwarding module is further used for described first message receiving the transmission of described forwarding module, and described first message is sent to described backup switching equipment, make described first message from described backup switching equipment second port send.
8. a method for link switchover, is characterized in that, described method comprises:
Receive the first message being sent to described switching equipment by the first port of switching equipment;
Detect the second port status of described switching equipment, when the second port failure of described switching equipment being detected, generate second message with reverse address, the source address of described second message is the destination address of described first message, and the destination address of described second message is the source address of described first message;
Described second message is sent to described switching equipment mutually redundant backup switching equipment, described second message is sent from the first interface of described backup switching equipment.
9. method according to claim 8, is characterized in that, the second message that described generation has reverse address comprises:
Change the source MAC address of described first message into target MAC (Media Access Control) address, change the target MAC (Media Access Control) address of the first message into source MAC, to generate the second message.
10. method according to claim 8, is characterized in that, the second message that described generation has reverse address comprises:
Internet protocol address according to described first message generates the second message, and the source MAC of described second message is the target MAC (Media Access Control) address of described first message, and the target MAC (Media Access Control) address of described second message is the source MAC of described first message.
11. methods according to claim 8, is characterized in that, the second message that described generation has reverse address comprises:
Generate the second message according to the fixed ip address preset, the source MAC of described second message is the target MAC (Media Access Control) address of described first message, and the target MAC (Media Access Control) address of described second message is the source MAC of described first message.
12.-11 arbitrary described methods according to Claim 8, it is characterized in that, described Secondary Report stationery is had any different in the mark of described first message, and making described backup switching equipment can identify described second message according to described mark will be sent by the first port.
13.-11 arbitrary described methods according to Claim 8, it is characterized in that, described switching equipment is the switching equipment supporting monitorlink technology, first port of described switching equipment is the uplink port of the connection of described switching equipment and other network equipment, and the second port of described switching equipment is the downlink port that described switching equipment is connected with server.
14.-11 arbitrary described methods according to Claim 8, it is characterized in that, described method also comprises:
Described first message is sent to described backup switching equipment, make described first message from described backup switching equipment second port send.
CN201380002726.2A 2013-12-31 2013-12-31 The method of link switchover and switching equipment Active CN103891204B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/091166 WO2015100637A1 (en) 2013-12-31 2013-12-31 Method and switching device for link alternation

Publications (2)

Publication Number Publication Date
CN103891204A CN103891204A (en) 2014-06-25
CN103891204B true CN103891204B (en) 2015-11-25

Family

ID=50957874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201380002726.2A Active CN103891204B (en) 2013-12-31 2013-12-31 The method of link switchover and switching equipment

Country Status (2)

Country Link
CN (1) CN103891204B (en)
WO (1) WO2015100637A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827419B (en) * 2015-01-05 2020-03-10 华为技术有限公司 Method, equipment and controller for processing forwarding equipment fault
CN106302148B (en) * 2016-08-17 2020-01-10 深圳市金证科技股份有限公司 Backup data transmission method and system based on LBM
CN115086152B (en) * 2022-07-25 2023-01-03 广东电网有限责任公司佛山供电局 Domain-based rapid protection network data mirroring system for power distribution network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1668032A (en) * 2004-03-09 2005-09-14 日本电气株式会社 Label-switched path network with alternate routing control
CN101277225A (en) * 2008-05-09 2008-10-01 杭州华三通信技术有限公司 Method for analyzing network quality as well as network quality analysis terminal-initiating equipment
CN101958831A (en) * 2010-06-10 2011-01-26 福建星网锐捷网络有限公司 Ethernet ring network failure recovery method, Ethernet ring network and switching equipment
CN102891769A (en) * 2012-10-16 2013-01-23 杭州华三通信技术有限公司 Link fault informing method and apparatus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7085238B2 (en) * 2003-12-11 2006-08-01 Spirent Communications Of Rockville, Inc. Smartjack for fault-testing network segments on Ethernet and other internet protocol network architectures
CN101155109B (en) * 2006-09-30 2010-04-21 华为技术有限公司 Ethernet switching system and equipment
CN101068139A (en) * 2007-06-28 2007-11-07 中兴通讯股份有限公司 Media gateway upper connection link main spare protecting method
CN102480530B (en) * 2010-11-25 2015-07-22 华为技术有限公司 Message sending method and device
CN102025646B (en) * 2011-01-05 2013-08-28 杭州华三通信技术有限公司 Link switching method and device thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1668032A (en) * 2004-03-09 2005-09-14 日本电气株式会社 Label-switched path network with alternate routing control
CN101277225A (en) * 2008-05-09 2008-10-01 杭州华三通信技术有限公司 Method for analyzing network quality as well as network quality analysis terminal-initiating equipment
CN101958831A (en) * 2010-06-10 2011-01-26 福建星网锐捷网络有限公司 Ethernet ring network failure recovery method, Ethernet ring network and switching equipment
CN102891769A (en) * 2012-10-16 2013-01-23 杭州华三通信技术有限公司 Link fault informing method and apparatus

Also Published As

Publication number Publication date
WO2015100637A1 (en) 2015-07-09
CN103891204A (en) 2014-06-25

Similar Documents

Publication Publication Date Title
US11496355B2 (en) Method for processing forwarding device fault, device, and controller
US8886831B2 (en) System and methodology for fast link failover based on remote upstream failures
EP2081322B1 (en) A method and device implementing link pass through in a point-to-multipoint network
CN102546222A (en) Backup system and fault detection and processing method
CN103560955A (en) Method and device for switching between redundancy devices
CN109039825B (en) Network data protection device and method
CN103401726A (en) Network path detecting method, device and system
CN102088415B (en) Method and device for MAC (media access control) address withdrawal
CN101729426B (en) Method and system for quickly switching between master device and standby device of virtual router redundancy protocol (VRRP)
CN103891204B (en) The method of link switchover and switching equipment
CN102891769A (en) Link fault informing method and apparatus
CN103746927A (en) Priority-based fluid control PFC (Power Factor Correction) method, transmitting device and receiving device
CN105577444A (en) Wireless controller management method and wireless controller
JP4405941B2 (en) Line redundancy method and relay apparatus used therefor
CN105634848A (en) Virtual router monitoring method and apparatus
CA3214690A1 (en) Passive optical network for utility infrastructure resiliency
KR101563133B1 (en) System and method for virtual circuit protection in the dynamic multi-domain environment
CN104253747A (en) Transmission method and transmission device for performing 1: 1 protection on message in link aggregation group
CN102882779A (en) VRRP (Virtual Router Redundancy Protocol) advertisement link protection method and system
CN105721232A (en) Method and device for implementing link detection
CN102868616A (en) Method for establishing virtual MAC (Media Access Control) address table item in network as well as router and system
CN103067205A (en) Switchover method of receiver-transmitter (RT) and back-up RT using same address under same host management
CN106130783B (en) Port fault processing method and device
CN103944781A (en) Method and system for preventing unilateral splitting of stacking system
CN102946321B (en) A kind of fault handling method based on IRF network and equipment

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: 20211221

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.