CN103891204A - Method for link rearrangement and switching device - Google Patents

Method for link rearrangement and switching device Download PDF

Info

Publication number
CN103891204A
CN103891204A CN201380002726.2A CN201380002726A CN103891204A CN 103891204 A CN103891204 A CN 103891204A CN 201380002726 A CN201380002726 A CN 201380002726A CN 103891204 A CN103891204 A CN 103891204A
Authority
CN
China
Prior art keywords
message
switching equipment
address
port
access control
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
CN201380002726.2A
Other languages
Chinese (zh)
Other versions
CN103891204B (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

Images

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

The embodiment of the invention provides a method for link rearrangement and a switching device, in order to solve the problem of data loss due to failure of downstream port. A second massage with a reverse address is generated, wherein the source address of the second massage is the target address of a first massage, and the target address of the second massage is the second massage of the first massage. The second message with the reverse address is sent to a backup switching device as a mutual back-up device of the switching device. The second message is sent from a first interface of the backup switching device, so that the device sending the first message obtains the address of the backup switching device timely, and then the data are sent from the backup switching device, thereby preventing the data loss due to failure of the second port and inability of obtaining data by the first message device.

Description

The method of link switchover and switching equipment
Technical field
The present invention relates to areas of information technology, relate in particular to method and the switching equipment of link switchover.
Background technology
In network service, in order to ensure normal communication, conventionally can adopt 2 links mutually to back up, in the time of a link down wherein, can be switched to another link.Connect switch as example take server, conventionally server can use double nip network interface card to be connected with switch, if connecting like this link of switch has broken, server can perception link down, the follow-up message that mails 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 be known the fault of direct connected link, perception is less than the direct situation of connectivity port not, the uplink port fault of for example switch, and server just do not know, message can mail to switch in the same old way, causes message to abandon at switch.
Monitor link 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 flow disturbance switching technology.
In Monitor link, the network equipment is connected with the upper level network equipment by uplink port, connects by downlink port server.When up link failure, monitor link is checked through in uplink port and has no progeny, whole corresponding downlink port down are fallen, the equipment (for example server) connecting with downlink port so just can perceive the linkdown of corresponding connection, so message no longer mails to this link and sends data, but only message is sent to normal link, so just can avoid message to mail to fault switch and 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, only have server initiatively outwards to initiate, after message, to initiate the learning equipment of data to new MAC(Media Access Control, media access control) address, just can be by data from normal switching equipment transmission.If server is not always to outgoing data, the data that send 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, and to solve in prior art, downlink port fault causes the problem of data loss of data.
The embodiment of the present invention provides a kind of switching equipment, and 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 that sends to described switching equipment by the first port of described switching equipment;
Described port detecting module, for detection of the second port status of described switching equipment, in the time the second port failure of described switching equipment being detected, notifies described fault message processing module (MPM);
Described fault message processing module (MPM), for according to the notice of described port detecting module, generates and has the second message of reverse address, and described reverse address message is sent to middle port packet forwarding module; The source address of described the second message is the destination address of described the first message, and the destination address of described the second message is the source address of described the first message;
Described middle port packet forwarding module, for the second message that described fault message processing module (MPM) is sent, sends to and the mutually redundant backup switching equipment of described switching equipment, and described the second message is sent from the first interface of described backup switching equipment.
Optionally, described fault message processing module (MPM) generates second message with reverse address and comprises:
Described fault message processing module (MPM) changes the media access control MAC address, source of described the 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, 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 IP address of described the first message, the source MAC of described the second message is the target MAC (Media Access Control) address of described the first message, and the target MAC (Media Access Control) address of described the second message is the source MAC of described the first message.
Optionally, 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 predefined fixed ip address, the source MAC of described the second message is the target MAC (Media Access Control) address of described the first message, and the target MAC (Media Access Control) address of described the second message is the source MAC of described the first message.
Optionally, described Secondary Report stationery is had any different in the mark of described the first message, and making described backup switching equipment can identify described the second message according to described mark will send by the first port.
Optionally, described switching equipment is the switching equipment of supporting monitor link technology, the first port of described switching equipment is described switching equipment and the uplink port being connected of 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 for sending to described middle port packet forwarding module by described the first message;
Accordingly, described middle port packet forwarding module is further used for receiving described the first message that described forwarding module sends, and described the first message is sent to described backup switching equipment, make described the first message from described backup switching equipment second port send.
The embodiment of the present invention also provides a kind of method of link switchover, and described method comprises:
Receive the first message that sends to described switching equipment by the first port of switching equipment;
Detect the second port status of described switching equipment, in the time the second port failure of described switching equipment being detected, generation has the second message of reverse address, the source address of described the second message is the destination address of described the first message, and the destination address of described the second message is the source address of described the first message;
Described the second message is sent to and the mutually redundant backup switching equipment of described switching equipment, described the second message is sent from the first interface of described backup switching equipment.
Optionally, the second message that described generation has reverse address comprises:
Change the media access control MAC address, source of described the 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 reverse address comprises:
Generate the second message according to the Internet protocol IP address of described the first message, the source MAC of described the second message is the target MAC (Media Access Control) address of described the first message, and the target MAC (Media Access Control) address of described the second message is the source MAC of described the first message.
Optionally, the second message that described generation has reverse address comprises:
Generate the second message according to predefined fixed ip address, the source MAC of described the second message is the target MAC (Media Access Control) address of described the first message, and the target MAC (Media Access Control) address of described the second message is the source MAC of described the first message.
Optionally, described Secondary Report stationery is had any different in the mark of described the first message, and making described backup switching equipment can identify described the second message according to described mark will send by the first port.
Optionally, described switching equipment is the switching equipment of supporting monitor link technology, the first port of described switching equipment is described switching equipment and the uplink port being connected of 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 the first message is sent to described backup switching equipment, make described the 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, there is the second message of reverse address by generation, the source address of described the second message is the destination address of described the first message, and the destination address of described the second message is the source address of described the first message; And described reverse address message is sent to and the mutually redundant backup switching equipment of described switching equipment, described the second message sends from the first interface of described backup switching equipment, the address that makes the equipment that sends described the first message obtain in time backup switching equipment, send data from backup switching equipment, avoided the equipment that sends described the first message because of downlink port faults such as the second ports of switching equipment cannot know in time the data loss problem causing.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the basic structure schematic diagram of realizing monitor link 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, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skills obtain under the prerequisite of not making creative work, should belong to the scope of protection of the invention.
With reference to figure 1, Fig. 1 is the basic structure schematic diagram of realizing monitor link group in prior art.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 and the communicating by letter of server 100 by switching equipment A; Switching equipment B is as the switching equipment on the backup path of the network equipment 101, breaks down cannot transmit data time at switching equipment A, and the network equipment 101 can be realized and the communicating by letter of server 100 by switching equipment B.
Wherein, all configured monitor link function on switching equipment A and switching equipment B, uplink port A and downlink port A belong to a monitor link group, and uplink port B and downlink port B belong to a monitor link 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 send 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 being connected with uplink port A is not also known fault of downlink port A, continue data or message to send to switching equipment A from uplink port A.Due to fault of downlink port A, 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.Only have server to pass through switching equipment B and initiatively send data or message to the network equipment 101, the network equipment 101, according to the MAC Address (being the MAC Address of switching equipment B) that receives 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 the problem that causes the loss of data sending from uplink port in prior art because of downlink port fault, the embodiment of the present invention provides a kind of switching equipment 200.With reference to figure 2, Fig. 2 is the structural representation of a kind of switching equipment 200 of the embodiment of the present invention, and 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 that sends to described switching equipment 200 by the first port of described switching equipment 200;
Described port detecting module 202, for detection of the second port status of described switching equipment 200, in the time the second port failure of described switching equipment 200 being detected, notifies described fault message processing module (MPM) 203;
The first port of described switching equipment 200 is described switching equipment 200 and the port being connected of other network equipment, for example, can be the uplink port being connected with other network equipment in monitor link technology.The second port of described switching equipment 200 is ports that described switching equipment 200 is connected with server, for example, can be the downlink port being connected with server in monitor link technology.
Wherein, port detecting module 202 detects the state of the first port can be by the status word of regular check link, confirms whether fault etc. of the first port according to the status word of link, and the embodiment of the present invention does not limit the mode that port status detects.
Optionally, described port detecting module 202 is in the time 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 the second port repeat.
Described fault message processing module (MPM) 203, for according to the notice of described port detecting module 202, generates and has the second message of reverse address, and described reverse address message is sent to middle port packet forwarding module 204; The source address of described the second message is the destination address of described the first message, and the destination address of described the second message is the source address of described the first message;
Described middle port packet forwarding module 204, for described the second message that described fault message processing module (MPM) 203 is sent, send to and the mutually redundant backup switching equipment of described switching equipment 200, described the second message is sent from the first interface of described backup switching equipment.Be that described middle port packet forwarding module 204 sends to described the second message the network equipment that sends described the first message by the first interface of described backup switching equipment, the address that makes the network equipment that sends described the first message can obtain new switching equipment, back up the address of switching equipment, thereby the message of follow-up transmission is issued to described backup switching equipment, realize instant link switchover, ensure the safety of data.
Above-mentioned switching equipment 200, generates second message with reverse address by fault message processing module (MPM) 203, and the source address of described the second message is the destination address of described the first message, and the destination address of described the second message is the source address of described the first message; And described reverse address message is sent to and the mutually redundant backup switching equipment of described switching equipment 200 by middle port packet forwarding module, described the second message sends from the first interface of described backup switching equipment, the address that makes the equipment that sends described the first message obtain in time backup switching equipment, send data from backup switching equipment, avoided the equipment that sends described the first message because of downlink port faults such as the second ports of switching equipment cannot know in time the data loss problem causing.
Wherein, with the mutually redundant backup switching equipment of described switching equipment 200, it is the switching equipment that is jointly connected in same server with described switching equipment 200, link between described switching equipment 200 and described server, and link between described backup switching equipment and the described server relation that backups each other; Can be the mutually redundant switching equipment of supporting Monitor link technology, for example in Fig. 1, switching equipment A and switching equipment B backup each other, and switching equipment B is the backup switching equipment of switching equipment A.When 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.With reference to figure 3, Fig. 3 is the another kind of implementation structural representation of a kind of switching equipment 200 of the embodiment of the present invention.Wherein, described forwarding module 205 is for sending to described middle port packet forwarding module 204 by described the first message; Accordingly, described middle port packet forwarding module 204, be further used for receiving described the first message that described forwarding module 205 sends, and described the first message sent to described backup switching equipment, make described the first message from described backup switching equipment second port send.
By forwarding module 205, described the first message is sent to packet forwarding module 204, described the first message is sent to described backup switching equipment by packet forwarding module 204, make described the first message from described backup switching equipment second port send, can further improve the fail safe of data, make the first message avoid cannot sending due to the second port failure of described switching equipment 200 loss of described the first message causing.
Wherein, the first port of backup switching equipment is described backup switching equipment and the port being connected of other network equipment, for example, can be the uplink port being connected with other network equipment in monitor link technology.The second port of described backup switching equipment is the port that described switching equipment 200 is connected with server, for example, can be the downlink port being connected with server in monitor link technology
As the optional implementation of one, the second message that described fault message processing module (MPM) 203 generations have reverse address can comprise: change the source MAC of described the 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, the second message that described fault message processing module (MPM) 203 generations have reverse address can also comprise: according to the IP(Internet Protocol of described the first message, Internet protocol) address generates the second message, for example the second message can be ARP(Address Resolution Protocol, address resolution protocol) message, the source MAC of described ARP message is the target MAC (Media Access Control) address of described the first message, and the target MAC (Media Access Control) address of described ARP message is the source MAC of described the first message.
As the optional implementation of one, the second message that described fault message processing module (MPM) 203 generations have reverse address can also comprise: generate the second message according to predefined fixed ip address, this second message can be also ARP message, the source MAC of described ARP message is the target MAC (Media Access Control) address of described the first message, and the target MAC (Media Access Control) address of described ARP message is the source MAC of described the first message.
As the optional implementation of one, described fault message processing module (MPM) 203 generates second message with reverse address, have the mark that is different from described the first message, making described backup switching equipment can identify described the second message according to described mark will send by the first port.
By the implementation of above-mentioned switching equipment 200, can avoid realizing under the scene of Monitor link switching technique, the problem of loss of data sending from up going port causing because of down going port fault, can before initiatively initiating transfer of data, the network equipments such as server in time the data exchange sending from up going port be transmitted to switching equipment for subsequent use, avoid the loss of data, improved the fail safe of data.
With reference to figure 4, the schematic flow sheet of the method for a kind of link switchover that Fig. 4 provides for the embodiment of the present invention, comprising:
Step 400: receive the first message that sends to described switching equipment by the first port of switching equipment;
Step 402: the second port status that detects described switching equipment, in the time the second port failure of described switching equipment being detected, generation has the second message of reverse address, the source address of described the second message is the destination address of described the first message, and the destination address of described the second message is the source address of described the first message;
Step 404: described the second message is sent to and the mutually redundant backup switching equipment of described switching equipment, described the second message is sent from the first interface of described backup switching equipment.
Send to the network equipment that sends described the first message by the first interface of described backup switching equipment by described the second message, the address that makes the network equipment that sends described the first message can obtain new switching equipment, back up the address of switching equipment, thereby the message of follow-up transmission is issued to described backup switching equipment, realize instant link switchover, ensure the safety of data.
Said method has the second message of reverse address by generation, the source address of described the second message is the destination address of described the first message, and the destination address of described the second message is the source address of described the first message; And described reverse address message is sent to and the mutually redundant backup switching equipment of described switching equipment, described the second message sends from the first interface of described backup switching equipment, the address that makes the equipment that sends described the first message obtain in time backup switching equipment, send data from backup switching equipment, avoided the equipment that sends described the first message because of the second port failure of switching equipment cannot know in time the data loss problem causing.
Wherein, in said method, the second message that generation has reverse address can comprise:
Change the media access control MAC address, source of described the 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, generation has the second message of reverse address and can also realize by following manner:
Generate the second message according to the Internet protocol IP address of described the first message, the source MAC of described the second message is the target MAC (Media Access Control) address of described the first message, and the target MAC (Media Access Control) address of described the second message is the source MAC of described the first message.
Optionally, generating second message with reverse address can also realize by following manner:
Generate the second message according to predefined fixed ip address, the source MAC of described the second message is the target MAC (Media Access Control) address of described the first message, and the target MAC (Media Access Control) address of described the second message is the source MAC of described the first message.
Wherein, described Secondary Report stationery is had any different in the mark of described the first message, and making described backup switching equipment can identify described the second message according to described mark will send by the first port.
Switching equipment in embodiment of the present invention link switching method, can be for supporting the switching equipment of monitor link technology, the first port of described switching equipment is described switching equipment and the uplink port being connected of 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 the first message is sent to described backup switching equipment, make described the first message from described backup switching equipment second port send.
The implementation of said method embodiment, can realize with reference to the implementation of figure 2 or Fig. 3 embodiment.Said method can be realized by the switching equipment 200 in above-mentioned Fig. 2 or Fig. 3, repeats no more.
By described the first message is sent to described backup switching equipment, make described the first message from described backup switching equipment second port send, can further improve the fail safe of data, make the first message avoid cannot sending due to the second port failure of described switching equipment the loss of described the first message causing.
Those of ordinary skills can recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software is clearly described, composition and the step of each example described according to function in the above description in general manner.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can realize described function with distinct methods 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, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that disclosed system, apparatus and method can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, when actual realization, can have other dividing mode, for example multiple unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.In addition, shown or discussed coupling each other or direct-coupling or communication connection can be indirect coupling or communication connections by some interfaces, device or unit, can be also electric, machinery or other form connect.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in multiple network element.Can select according to the actual needs some or all of unit wherein to realize the object of embodiment of the present invention scheme.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and can be also that two or more unit are integrated in a unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If described integrated unit is realized and during as production marketing independently or use, can be stored in a computer read/write memory medium using the form of SFU software functional unit.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words, 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, comprise that some instructions (can be personal computers in order to make a computer equipment, server, or the network equipment etc.) carry out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
The above; it is only the specific embodiment of the present invention; but protection scope of the present invention is not limited to this; any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily modification or the replacement of various equivalences, within these modifications or replacement all should be encompassed in 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 that sends to described switching equipment by the first port of described switching equipment;
Described port detecting module, for detection of the second port status of described switching equipment, in the time the second port failure of described switching equipment being detected, notifies described fault message processing module (MPM);
Described fault message processing module (MPM), for according to the notice of described port detecting module, generates and has the second message of reverse address, and described reverse address message is sent to middle port packet forwarding module; The source address of described the second message is the destination address of described the first message, and the destination address of described the second message is the source address of described the first message;
Described middle port packet forwarding module, for described the second message that described fault message processing module (MPM) is sent, send to and the mutually redundant backup switching equipment of described switching equipment, described the second message is sent from the first interface of described backup switching equipment.
2. switching equipment according to claim 1, is characterized in that, the second message that described fault message processing module (MPM) generation has reverse address comprises:
Described fault message processing module (MPM) changes the media access control MAC address, source of described the 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, 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 IP address of described the first message, the source MAC of described the second message is the target MAC (Media Access Control) address of described the first message, and the target MAC (Media Access Control) address of described the second message is the source MAC of described the first message.
4. switching equipment according to claim 1, is characterized in that, 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 predefined fixed ip address, the source MAC of described the second message is the target MAC (Media Access Control) address of described the first message, and the target MAC (Media Access Control) address of described the second message is the source MAC of described the 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 the first message, and making described backup switching equipment can identify described the second message according to described mark will send 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 of supporting monitor link technology, the first port of described switching equipment is described switching equipment and the uplink port being connected of 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 for sending to described middle port packet forwarding module by described the first message;
Accordingly, described middle port packet forwarding module is further used for receiving described the first message that described forwarding module sends, and described the first message is sent to described backup switching equipment, make described the 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 that sends to described switching equipment by the first port of switching equipment;
Detect the second port status of described switching equipment, in the time the second port failure of described switching equipment being detected, generation has the second message of reverse address, the source address of described the second message is the destination address of described the first message, and the destination address of described the second message is the source address of described the first message;
Described the second message is sent to and the mutually redundant backup switching equipment of described switching equipment, described the second message is sent from the first interface of described backup switching equipment.
9. switching equipment according to claim 8, is characterized in that, the second message that described generation has reverse address comprises:
Change the media access control MAC address, source of described the 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:
Generate the second message according to the Internet protocol IP address of described the first message, the source MAC of described the second message is the target MAC (Media Access Control) address of described the first message, and the target MAC (Media Access Control) address of described the second message is the source MAC of described the 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 predefined fixed ip address, the source MAC of described the second message is the target MAC (Media Access Control) address of described the first message, and the target MAC (Media Access Control) address of described the second message is the source MAC of described the first message.
12. according to Claim 8-11 arbitrary described methods, it is characterized in that, described Secondary Report stationery is had any different in the mark of described the first message, and making described backup switching equipment can identify described the second message according to described mark will send by the first port.
13. according to Claim 8-11 arbitrary described methods, it is characterized in that, described switching equipment is the switching equipment of supporting monitor link technology, the first port of described switching equipment is described switching equipment and the uplink port being connected of other network equipment, and the second port of described switching equipment is the downlink port that described switching equipment is connected with server.
14. according to Claim 8-11 arbitrary described methods, is characterized in that, described method also comprises:
Described the first message is sent to described backup switching equipment, make described the 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 true CN103891204A (en) 2014-06-25
CN103891204B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016110248A1 (en) * 2015-01-05 2016-07-14 华为技术有限公司 Failure processing method and device for forwarding device, and controller
CN106302148A (en) * 2016-08-17 2017-01-04 深圳市金证科技股份有限公司 Backup Data transmission method based on LBM and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016110248A1 (en) * 2015-01-05 2016-07-14 华为技术有限公司 Failure processing method and device for forwarding device, and controller
US10756958B2 (en) 2015-01-05 2020-08-25 Huawei Technologies Co., Ltd. Method, device, and controller for processing forwarding device faults received from forwarding devices on a forwarding path
US11496355B2 (en) 2015-01-05 2022-11-08 Huawei Technologies Co., Ltd. Method for processing forwarding device fault, device, and controller
CN106302148A (en) * 2016-08-17 2017-01-04 深圳市金证科技股份有限公司 Backup Data transmission method based on LBM and system

Also Published As

Publication number Publication date
CN103891204B (en) 2015-11-25
WO2015100637A1 (en) 2015-07-09

Similar Documents

Publication Publication Date Title
US8886831B2 (en) System and methodology for fast link failover based on remote upstream failures
CN102082733B (en) Portal system and access method thereof
CN103401726A (en) Network path detecting method, device and system
US7940645B2 (en) Protection switching method based on change in link status in ethernet link aggregation sublayer
CN102546222A (en) Backup system and fault detection and processing method
CN103560955A (en) Method and device for switching between redundancy devices
CN103825766A (en) Device and method for detecting BFD links
CN104065508A (en) Application service health examination method, device and system
CN103986604A (en) Method and device for locating network fault
CN103166811A (en) Multi-active detection (MAD) detection method and device
CN102255751A (en) Stacking conflict resolution method and 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
CN101951345A (en) Message transmitting method and equipment
CN103891204B (en) The method of link switchover and switching equipment
CN103036728A (en) Multi- redundancy ethernet data transmission system and transmission method
CN102244589B (en) Method and opposite terminal apparatus for processing link fault in virtual switch unit system
CN102932183A (en) Double-up link failure processing method and device
CN103220189A (en) Multi-active detection (MAD) backup method and equipment
CN102891767B (en) A kind of link protection method, network element and system
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
CN102857436B (en) Flow transmission method and flow transmission equipment based on IRF (intelligent resilient framework) network
CN105721232A (en) Method and device for implementing link detection
CN103731311A (en) Annular stacked link failure processing method and device

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

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: xFusion Digital Technologies Co., Ltd.

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

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right