CN102739540B - Method and system of access of branch to headquarters, and branch equipment - Google Patents

Method and system of access of branch to headquarters, and branch equipment Download PDF

Info

Publication number
CN102739540B
CN102739540B CN201210222847.5A CN201210222847A CN102739540B CN 102739540 B CN102739540 B CN 102739540B CN 201210222847 A CN201210222847 A CN 201210222847A CN 102739540 B CN102739540 B CN 102739540B
Authority
CN
China
Prior art keywords
link
home office
office facility
tunnel interface
branch equipment
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
CN201210222847.5A
Other languages
Chinese (zh)
Other versions
CN102739540A (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.)
Huawei 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
Priority to CN201210222847.5A priority Critical patent/CN102739540B/en
Publication of CN102739540A publication Critical patent/CN102739540A/en
Application granted granted Critical
Publication of CN102739540B publication Critical patent/CN102739540B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention provides a method and system of access of a branch to headquarters, and branch equipment. The method comprises the following steps of: from multiple links corresponding to a first Tunnel interface, determining a first link for access of the branch equipment to headquarters equipment, and determining an uplink inlet of the first link as a source of the first Tunnel interface; and sending a first announcement message to the headquarters equipment, the first announcement message being used for announcing that the first link of the headquarters equipment is a link of access of the branch equipment to the headquarters equipment, and the uplink outlet of the first link being the source of the first Tunnel interface. According to the method and system of access of the branch to headquarters, and the branch equipment, additional Tunnel interfaces and additional public addresses are not needed, and the dynamic routing protocol deployment is not restricted.

Description

Branch's access method of general headquarters, system and branch equipment
Technical field
The present invention relates to the communications field, and more specifically, relate to the method for access general headquarters of a kind of branch, system and branch equipment.
Background technology
During enterprise branch equipment access home office facility, for improving the reliability of network, branch equipment generally can be accessed by redundant link.Such as, branch equipment is under normal circumstances by ether (Ethernet) link access home office facility, and when Ethernet link failure, branch equipment is by G mobile communication (3rd-generation is called for short 3G) link access home office facility.
At present, generic route encapsulation (Generic Routing Encapsulation, being called for short GRE) agreement widely uses in a network, namely, first respectively in branch equipment and home office facility, tunnel (Tunnel) interface is created, and the type setting Tunnel interface is GRE, Tunnel interface arranges source address and the destination address in tunnel, thus GRE deployment can be completed.
When branch equipment adopts dynamic address access, keeper cannot on home office facility Internet protocol (the Internet Protocol of static configuration branch equipment, be called for short IP) address, at this moment can by means of Next Hop Resolution Protocol (Next Hop Resolution Protocol, be called for short NHRP) and multiple spot GRE(Multipoint GRE, be called for short MGRE) agreement, by sending NHRP login request message to home office facility, non-broadcast multipath access network (the Non-Broadcast of branch equipment use is noticed to home office facility, Multi-Access, be called for short NBMA) address.
The method of current branch equipment redundant link access home office facility mainly adopts following three kinds of modes:
Mode 1: branch equipment creates a Tunnel interface and loopback (Loopback) interface, and use Loopback interface as the source access home office facility of Tunnel interface.When branch equipment sends message, according to route searching result, select the high link of priority as outbound, and when the outbound generation link failure that priority is high, select backup link.
Mode 2: branch equipment creates two Tunnel interfaces, and the source of interface as Tunnel interface using 3G link and Ethernet link respectively.Home office facility creates two Tunnel interfaces, corresponding with the Tunnel interface of two in branch equipment.Branch equipment, home office facility, by dynamic routing protocol, select link that is available, high priority to communicate.
Mode 3: branch equipment creates two Tunnel interfaces, uses the source of interface as Tunnel interface of 3G link and Ethernet link respectively.Home office facility creates a Tunnel interface, simultaneously corresponding with two Tunnel interfaces of branch equipment.
But, if adopt mode 1, then branch equipment need additionally to create a Loopback interface and need an extra public network address; If adopt mode 2, home office facility needs additionally create a Tunnel interface, and need an extra public network address; If adopt mode 3, based on branch, general headquarters' dynamic routing protocol requirement, the network segment in branch equipment on the network segment of two Tunnel interfaces and the Tunnel interface of home office facility must be consistent; Separately all router devices have so restriction: on same equipment, the network segment of two interfaces can not be overlapping, because also not all Routing Protocol can meet such requirement, limits the deployment of dynamic routing protocol in network.
Summary of the invention
Embodiments provide the method for access general headquarters of a kind of branch, system and branch equipment, do not need extra Tunnel interface and extra public network address, and the deployment of dynamic routing protocol can not be restricted.
First aspect, provide the method for access general headquarters of a kind of branch, the method comprises: from the multilink that a Tunnel interface is corresponding, determines the first link of branch equipment access home office facility, and the up import of this first link is defined as the source of a Tunnel interface; Send the first notice message to this home office facility, this first notice message is for noticing this first link of this home office facility and be that this branch equipment accesses the link of this home office facility and the up import of this first link being the source of a Tunnel interface.
In a kind of possible implementation of first aspect, the method also comprises:
When determining this first link generation link failure, from the residue link except this first link that a Tunnel interface is corresponding, determine that this branch equipment accesses the second link of this home office facility, and the up import of this second link is defined as the source of a Tunnel interface; Send the second notice message to this home office facility, this second notice message is for noticing this second link of this home office facility and be that this branch equipment accesses the link of this home office facility and the up import of this second link being the source of a Tunnel interface.
Second aspect, provides a kind of branch equipment, and this branch equipment comprises: a Tunnel interface, the corresponding multilink of a Tunnel interface; Determining unit, for from multilink corresponding to a Tunnel interface, determines the first link of branch equipment access home office facility, and the up import of this first link is defined as the source of a Tunnel interface; Notification unit, for sending the first notice message to this home office facility, this first notice message is for noticing this first link of this home office facility and be that this branch equipment accesses the link of this home office facility and the up import of this first link being the source of a Tunnel interface.
In a kind of possible implementation of second aspect, this equipment also comprises: diagnosis unit, for determining whether this first link link failure occurs; This determining unit, time also for determining this first link generation link failure at this diagnosis unit, from the residue link except this first link that a Tunnel interface is corresponding, determine that this branch equipment accesses the second link of this home office facility, and the up import of this second link is defined as the source of a Tunnel interface; This notification unit, also for sending the second notice message to this home office facility, this second notice message is for noticing this second link of this home office facility and be that this branch equipment accesses the link of this home office facility and the up import of this second link being the source of a Tunnel interface.
The third aspect, provide the system of access general headquarters of a kind of branch, this system comprises: branch equipment and home office facility, wherein, this branch equipment is used for from multilink corresponding to a Tunnel interface, determine the first link of branch equipment access home office facility, and the up import of this first link is defined as the source of a Tunnel interface, and send the first notice message to this home office facility, this first notice message is for noticing this first link of this home office facility and be that this branch equipment accesses the link of this home office facility and the up import of this first link being the source of a Tunnel interface, according to this first notice message, the first notice message that this home office facility sends for receiving this branch equipment, determines that this first link is that this branch equipment accesses the link of this home office facility and the up import of this first link is the source of a Tunnel interface.
Based on above technical scheme, branch's access method of general headquarters of the embodiment of the present invention, system and branch equipment, by selecting to be used for the link of branch equipment access home office facility and the up import of the link of selection is defined as the source of this Tunnel interface from multilink corresponding to Tunnel interface, correspond to multilink due to a Tunnel interface and the interface of link can be defined as the source of Tunnel interface, thus do not need extra Tunnel interface and extra public network address, and the deployment of dynamic routing protocol can not be restricted.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in the embodiment of the present invention below, apparently, accompanying drawing described is below 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 indicative flowchart accessing the method for general headquarters according to the branch of the embodiment of the present invention;
Fig. 2 is the indicative flowchart of the method for branch's access general headquarters according to another embodiment of the present invention;
Fig. 3 is the schematic block diagram accessing the system of general headquarters according to the branch of the embodiment of the present invention;
Fig. 4 is the system architecture diagram of the access general headquarters of branch according to the embodiment of the present invention.
Fig. 5 is the schematic block diagram of the branch equipment according to the embodiment of the present invention.
Fig. 6 is the schematic block diagram of branch equipment according to another 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.
Should understand, the technical scheme of the embodiment of the present invention can be applied to various communication system, such as: global system for mobile telecommunications (Global System of Mobile communication, be called for short GSM) system, code division multiple access (Code Division Multiple Access, be called for short CDMA) system, Wideband Code Division Multiple Access (WCDMA) (Wideband Code Division Multiple Access, be called for short WCDMA) system, GPRS (General Packet Radio Service, be called for short GPRS), Long Term Evolution (Long TermEvolution, be called for short LTE) system, LTE Frequency Division Duplexing (FDD) (Frequency Division Duplex, be called for short FDD) system, LTE time division duplex (Time Division Duplex, be called for short TDD), universal mobile telecommunications system (Universal Mobile Telecommunication System, be called for short UMTS) etc.
Fig. 1 is the indicative flowchart accessing the method 100 of general headquarters according to the branch of the embodiment of the present invention.As shown in Figure 1, the method 100 comprises:
110, branch equipment, from multilink corresponding to a Tunnel interface, is determined the first link of this branch equipment access home office facility, and the up import of this first link is defined as the source of a Tunnel interface.
120, this branch equipment sends the first notice message to this home office facility, and this first notice message is for noticing this first link of this home office facility and be that this branch equipment accesses the link of this home office facility and the up import of this first link being the source of a Tunnel interface.
Specifically, the MGRE Tunnel interface of branch equipment can support that backup source configures, that is, a Tunnel interface can be configured to correspond to multilink, and the multilink of this configuration may be used for branch equipment access home office facility; When branch equipment needs access home office facility, the first link can be determined from the multilink that this Tunnel interface is configured, and the up import of this Article 1 link can be defined as the source of this Tunnel interface; Thus, branch equipment can send NHRP login request message to home office facility, to notice the link that the first link of having selected is branch equipment access home office facility to home office facility, and be the source of this Tunnel interface to the up import that home office facility notices this first link, home office facility, after receiving the NHRP login request message that branch equipment sends, can record this first link and be the branch equipment access link of home office facility and the up import of this first link is the source of a Tunnel interface.
Therefore, according to the method for the access general headquarters of branch of the embodiment of the present invention, access the link of home office facility by selecting branch equipment from multilink corresponding to Tunnel interface and the up import of the link of selection be defined as the source of this Tunnel interface, correspond to multilink due to a Tunnel interface and the interface of link can be defined as the source of Tunnel interface, thus, do not need extra Tunnel interface and extra public network address, and the deployment of dynamic routing protocol can not be restricted.
In embodiments of the present invention, branch equipment can be router device, and home office facility also can router device.The up of link described in the embodiment of the present invention is the direction of branch equipment to home office facility, and in like manner, home office facility can be referred to as descending to the direction of branch equipment.
In embodiments of the present invention, except 110 and 120, as shown in Figure 2, the method 100 can also comprise:
130, this branch equipment determines whether this first link link failure occurs;
140, this branch equipment is when determining this first link generation link failure, from the residue link except described first link that a Tunnel interface is corresponding, determine that this branch equipment accesses the second link of this home office facility, and the up import of this second link is defined as the source of a Tunnel interface;
150, this branch equipment sends the second notice message to this home office facility, and this second notice message is for noticing this second link of this home office facility and be that this branch equipment accesses the link of this home office facility and the up import of this second link being the source of a Tunnel interface.
Namely, this branch equipment is after determining this first link generation link failure, can from multilink corresponding to a Tunnel interface, determine except this first link, access this home office facility for this branch equipment the second link, the up import of this second link is defined as the source of this Tunnel interface; Then, can cancel request message by sending NHRP to home office facility, home office facility, after the NHRP receiving branch equipment transmission cancels request message, can cancel the address of the first link of the branch equipment of original record; Branch equipment can by sending NHRP login request message to home office facility again, notice this second link to home office facility and be that this branch equipment accesses the link of this home office facility and the up import of this second link is the source of this Tunnel interface, home office facility is after the NHRP login request message receiving branch equipment transmission, this the second link can be recorded as the link that this branch equipment accesses this home office facility, and be the source of this Tunnel interface by the up inward entry of this second link.
In embodiments of the present invention, branch equipment can pass through Network Quality Analysis (Network QualityAnalyzer, be called for short " NQA ") or Interface status, perception first link generation link failure, thus effective fault diagnosis and location can be carried out when network failure.Wherein, traditional the Internet packets survey meter (Packet Internet Groper, be called for short PING) order a kind of execution mode can thinking NQA, namely branch equipment sends PING order to home office facility, whether send response message by branch equipment or send the time delay of response message, determining whether the first link link failure occurs; Branch equipment also can check Interface status by display command.
Certainly, in embodiments of the present invention, except when the link generation link failure selected, reselect the link of branch equipment access home office facility, also in other cases, the link of branch equipment access home office facility can be reselected, the embodiment of the present invention is not limited in any way this, such as, according to the load balancing between branch equipment and home office facility, reselect the link of branch equipment access home office facility.
In embodiments of the present invention, in 110, this branch equipment is from multilink corresponding to a Tunnel interface, determines the first link of this branch equipment access home office facility, specifically can comprise:
This branch equipment, according to link priority, determines this first link from the multilink that a Tunnel interface is corresponding.That is, this branch equipment can, from multilink corresponding to a Tunnel interface, select the link that link priority is the highest, or priority be higher than any link of a certain threshold value, as this first link.
Correspondingly, in embodiments of the present invention, in 140, this branch equipment is from the residue link except described first link corresponding to a Tunnel interface, determines that this branch equipment accesses the second link of this home office facility, specifically can comprise:
This branch equipment, according to link priority, determines the second link from the corresponding residue link except this first link of this Tunnel interface.That is, branch equipment can, from the residue link except the first link corresponding to a Tunnel interface, select the link that priority is the highest, or priority be higher than arbitrary link of a certain threshold value, as this second link.
Certainly, in embodiments of the present invention, except according to except link priority, also can according to the link of other information determination branch equipment access home office facility, such as, according to information such as the loads of link, determine the link of branch equipment access home office facility, the embodiment of the present invention does not limit this.
In order to clearly understand the present invention, embodiments of the invention will be illustrated in conjunction with following configuration.Shown in following configuration order:
As can be seen from above configuration, Tunnel interface 0/0/0 is configured to correspond to Ethernet link and 3G link, when corresponding to Ethernet link, the interface (interface) of Ethernet link is configured to the source (Source) of this Tunnel interface 0/0/0, and the priority of Ethernet link (Priority) value is 100, the NQA of this Ethernet link associated (track) is probe (probe) 1; When corresponding to 3G link, the interface of 3G link is configured to the source of this Tunnel interface, and the priority value of 3G link is 30, and this NQA associated by 3G link is probe 2.When branch equipment needs the home office facility that access destination address (Desination) is 10.1.1.2, according to above configuration, the link Ethernet link that priority can be selected high is the link of this branch equipment access home office facility, and the up import of this Ethernet link can be defined as the source of this Tunnel interface 0/0/0; Branch equipment regularly can detect Link State, to determine whether link link failure occurs, when determining the Link State needing to detect Ethernet link, can determine with the NQA of this Ethernet link association to be probe 1 by configuration information, thus probe 1 can be utilized to detect Ethernet link whether link failure occurs; When determining Ethernet link generation link failure, can from the residue link except Ethernet link, select new link 3G link to be the link that this branch equipment accesses home office facility, and the up import of this 3G link is defined as the source of this Tunnel interface.
Should be understood that above-described configuration order is a specific embodiment of the present invention, should not form any restriction to the present invention, the present invention also can have other execution mode, should determine as the case may be.
Therefore, according to the method for the access general headquarters of branch of the embodiment of the present invention, access the link of home office facility by selecting branch equipment from multilink corresponding to Tunnel interface and the up import of the link of selection be defined as the source of this Tunnel interface, correspond to multilink due to a Tunnel interface and the interface of link can be defined as the source of this Tunnel interface, thus, do not need extra Tunnel interface and extra public network address, and the deployment of dynamic routing protocol can not be restricted.
The illustrative diagram of the system of access general headquarters of Tu3Shi branch.As shown in Figure 3, this system 200 comprises branch equipment 210 and home office facility 220.
This branch equipment 210 is for from multilink corresponding to a Tunnel interface, determine that branch equipment 210 accesses the first link of home office facility 220, and the up import of this first link is defined as the source of a Tunnel interface, and sending the first notice message to this home office facility 220, this first notice message is for noticing this first link of this home office facility 220 and be that this branch equipment 210 accesses the link of this home office facility 220 and the up import of this first link being the source of a Tunnel interface;
According to this first notice message, the first notice message that this home office facility 220 sends for receiving this branch equipment 210, determines that this first link is that this branch equipment 210 accesses the link of this home office facility 220 and the up import of this first link is the source of a Tunnel interface.
Specifically, branch equipment 210 can from multilink corresponding to a Tunnel interface, determine that branch equipment 210 accesses the first link of home office facility 220, and the up import of this first link is defined as the source of a Tunnel interface, then, this branch equipment 210 can send NHRP login request message to this home office facility 220, this NHRP login request message is the link that this branch equipment 210 accesses this home office facility 220 for noticing this first link of this home office facility 220, and the up link of this first link is the source of a Tunnel interface.After this home office facility 220 receives the NHRP login request message of branch equipment 210, NHRP registration reply message can be sent to this branch equipment 210 according to this NHRP login request message, and can determine that this first link is the link that this branch equipment 210 accesses this home office facility 220 according to this NHRP login request message, and the up import of this first link is the source of a Tunnel interface.
In embodiments of the present invention, branch equipment 210 regularly can detect the Link State of the first link, such as, PING order can be sent to home office facility 220, if home office facility 220 receives the PING order that branch equipment 210 sends, can return response message to branch equipment 210, the time delay of the response message that branch equipment 210 can send according to home office facility 220, determines whether the first link link failure occurs.If generation link failure, branch equipment 210 can determine the second link from the residue link except the first link that a Tunnel interface is corresponding, and the up import of this second link is defined as the source of a Tunnel interface, and again send NHRP login request message to home office facility 220, be the link that this branch equipment 210 accesses this home office facility 220 for notice this home office facility 220 this second link, and the up link of this second link is the source of a Tunnel interface.
Fig. 4 is the Organization Chart accessing the system of general headquarters according to the branch of the embodiment of the present invention.As can be seen from Figure 4, can be communicated by three links that Tunnel interface in branch equipment is corresponding between branch equipment and home office facility.Although should be understood that in Fig. 4 and three links have been shown, three links are an exemplary illustration, should not form any restriction to the present invention.
Fig. 5 is the schematic block diagram of the branch equipment 300 according to the embodiment of the present invention.As shown in Figure 5, this equipment 300 comprises:
One Tunnel interface 310, the corresponding multilink of a described Tunnel interface;
Determining unit 320, for from multilink corresponding to a Tunnel interface, determines the first link of this branch equipment access home office facility, and the up import of this first link is defined as the source of a Tunnel interface.
Notification unit 330, for sending the first notice message to this home office facility, this first notice message is the link that this branch equipment accesses this home office facility for noticing this first link of this home office facility, and the up import of this first link is the source of a Tunnel interface.
Alternatively, as shown in Figure 6, except determining unit 320 and notification unit 330, this equipment 300 also comprises:
Diagnosis unit 340, for determining whether this first link link failure occurs.
This determining unit 320, time also for determining this first link generation link failure when this diagnosis unit 340, from the residue link except described first link that a Tunnel interface is corresponding, determine the second link that this branch equipment accesses this home office facility, and the up import of this second link is defined as the source of a Tunnel interface;
Correspondingly, described notification unit 330, also for sending the second notice message to this home office facility, this second notice message is the link that this branch equipment accesses this home office facility for noticing this second link determined in this determining unit 320, and the up import of this second link is the source of a Tunnel interface.
Alternatively, this determining unit 320 specifically for:
According to link priority, from the multilink that a Tunnel interface is corresponding, select the link that link priority is the highest, or priority is higher than any link of a certain threshold value, as this first link.
Alternatively, this diagnosis unit 340 specifically for:
To be detected by Network Quality Analysis NQA or Interface status determines whether this first link link failure occurs.
Alternatively, the multilink that a Tunnel interface is corresponding comprises 3G link and ether Ethernet link.
The branch equipment in the method 100 of the access general headquarters of branch in the embodiment of the present invention is may correspond to according to the equipment 300 of the access general headquarters of branch of the embodiment of the present invention, and the unit in branch equipment 300 performs the correlation method in Fig. 1 and Fig. 2 respectively, for simplicity, do not repeat them here.This determining unit 320 and diagnosis unit 340 can be positioned at the processor of branch equipment 300, and notification unit 330 can be arranged in the transmitter of branch equipment 300.
Therefore, according to the equipment of the access general headquarters of branch of the embodiment of the present invention, access the link of home office facility by selecting branch equipment from multilink corresponding to Tunnel interface and the up import of the link of selection be defined as the source of this Tunnel interface, correspond to multilink due to a Tunnel interface and the interface of link can be defined as the source of this Tunnel interface, thus, do not need extra Tunnel interface and extra public network address, and the deployment of dynamic routing protocol can not be restricted.
Those of ordinary skill in the art can recognize, the unit in conjunction with each example of embodiment disclosed herein description can realize with the combination of electronic hardware or computer software and electronic hardware.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 and simplicity of description, 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.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
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.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.
If described function 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, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or 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-Only Memory), random access memory (RAM, Random Access Memory), disk or laser disc 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, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (10)

1. the method for access general headquarters of branch, it is characterized in that, branch equipment accesses home office facility by means of only the first multi-point universal routed encapsulation MGRE tunnel Tunnel interface in described branch equipment, the corresponding multilink of a described MGRE Tunnel interface, and described method comprises:
Described branch equipment, from multilink corresponding to a described MGRE Tunnel interface, is determined that described branch equipment accesses the first link of described home office facility, and the up import of described first link is defined as the source of a described MGRE Tunnel interface;
Described branch equipment sends the first notice message to described home office facility, and described first notice message is for noticing the first link described in described home office facility and be that described branch equipment accesses the link of described home office facility and the up import of described first link being the source of a described MGRE Tunnel interface.
2. method according to claim 1, is characterized in that, described method also comprises:
When determining described first link generation link failure, from the residue link except described first link that a described MGRE Tunnel interface is corresponding, determine that described branch equipment accesses the second link of described home office facility, and the up import of described second link is defined as the source of a described MGRETunnel interface;
Send the second notice message to described home office facility, described second notice message is for noticing the second link described in described home office facility and be that described branch equipment accesses the link of described home office facility and the up import of described second link being the source of a described MGRE Tunnel interface.
3. the method according to right 2, is characterized in that, describedly determines described first link generation link failure, comprising:
According to be detected by Network Quality Analysis NQA or Interface status determines described first link generation link failure.
4. according to the method in any one of claims 1 to 3, it is characterized in that, described the first link determining branch equipment access home office facility, comprising:
According to link priority, from the multilink that a described MGRE Tunnel interface is corresponding, determine described first link.
5. method according to any one of claim 1 to 4, is characterized in that, the multilink that described MGRETunnel interface is corresponding comprises G mobile communication 3G link and ether Ethernet link.
6. a branch equipment, is characterized in that, comprising:
First multi-point universal routed encapsulation MGRE tunnel Tunnel interface, the corresponding multilink of a described MGRE Tunnel interface;
Determining unit, for from multilink corresponding to a described MGRE Tunnel interface, determines the first link of branch equipment access home office facility, and the up import of described first link is defined as the source of a described MGRE Tunnel interface;
Notification unit, for sending the first notice message to described home office facility, described first notice message is for noticing the first link described in described home office facility and be that described branch equipment accesses the link of described home office facility and the up import of described first link being the source of a described MGRE Tunnel interface.
7. equipment according to claim 6, is characterized in that, described equipment also comprises:
Diagnosis unit, for determining whether described first link link failure occurs;
Described determining unit, time also for determining described first link generation link failure at described diagnosis unit, from the residue link except described first link that a described MGRE Tunnel interface is corresponding, determine that described branch equipment accesses the second link of described home office facility, and the up import of described second link is defined as the source of a described MGRE Tunnel interface;
Described notification unit, also for sending the second notice message to described home office facility, described second notice message is for noticing the second link described in described home office facility and be that described branch equipment accesses the link of described home office facility and the up import of described second link being the source of a described MGRE Tunnel interface.
8. equipment according to claim 7, is characterized in that, described diagnosis unit specifically for:
According to be detected by Network Quality Analysis NQA or Interface status determines whether described first link link failure occurs.
9. the equipment according to any one of claim 6 to 8, is characterized in that, described determining unit specifically for:
According to link priority, from the multilink that a described MGRE Tunnel interface is corresponding, determine described first link.
10. the system for access general headquarters of branch, it is characterized in that, comprise the branch equipment according to any one of claim 6 to 9 and home office facility, wherein, described branch equipment accesses described home office facility by means of only the first multi-point universal routed encapsulation MGRE tunnel Tunnel interface in described branch equipment, the corresponding multilink of a described MGRE Tunnel interface
Described branch equipment is used for from multilink corresponding to a described MGRE Tunnel interface, determine that branch equipment accesses the first link of described home office facility, and the up import of described first link is defined as the source of a described MGRE Tunnel interface, and sending the first notice message to described home office facility, described first notice message is for noticing the first link described in described home office facility and be that described branch equipment accesses the link of described home office facility and the up import of described first link being the source of a described MGRETunnel interface;
According to described first notice message, described first notice message that described home office facility sends for receiving described branch equipment, determines that described first link is that described branch equipment accesses the link of described home office facility and the up import of described first link is the source of a described MGRE Tunnel interface.
CN201210222847.5A 2012-06-29 2012-06-29 Method and system of access of branch to headquarters, and branch equipment Active CN102739540B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210222847.5A CN102739540B (en) 2012-06-29 2012-06-29 Method and system of access of branch to headquarters, and branch equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210222847.5A CN102739540B (en) 2012-06-29 2012-06-29 Method and system of access of branch to headquarters, and branch equipment

Publications (2)

Publication Number Publication Date
CN102739540A CN102739540A (en) 2012-10-17
CN102739540B true CN102739540B (en) 2015-05-06

Family

ID=46994352

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210222847.5A Active CN102739540B (en) 2012-06-29 2012-06-29 Method and system of access of branch to headquarters, and branch equipment

Country Status (1)

Country Link
CN (1) CN102739540B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259292B (en) * 2016-12-29 2020-12-15 华为技术有限公司 Method and device for establishing tunnel
CN108924046B (en) * 2018-07-16 2021-06-29 烽火通信科技股份有限公司 Method and system for protecting GRE tunnel bearing service
CN110880997A (en) * 2019-12-22 2020-03-13 上海地面通信息网络股份有限公司 Internet special line access system based on dynamic IP
CN113824595B (en) * 2021-09-29 2022-11-22 联想(北京)有限公司 Link switching control method and device and gateway equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567873A (en) * 2003-07-08 2005-01-19 华为技术有限公司 A method of data transmission on VPN
CN101931610A (en) * 2009-06-22 2010-12-29 华为技术有限公司 Internet protocol security link protection method and device
CN102045233A (en) * 2009-10-22 2011-05-04 杭州华三通信技术有限公司 Method and device for controlling message forwarding in network communication
CN102480753A (en) * 2010-11-24 2012-05-30 中兴通讯股份有限公司 Link state detecting method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4053308B2 (en) * 2002-02-15 2008-02-27 富士通株式会社 Upper and lower relay device and network device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567873A (en) * 2003-07-08 2005-01-19 华为技术有限公司 A method of data transmission on VPN
CN101931610A (en) * 2009-06-22 2010-12-29 华为技术有限公司 Internet protocol security link protection method and device
CN102045233A (en) * 2009-10-22 2011-05-04 杭州华三通信技术有限公司 Method and device for controlling message forwarding in network communication
CN102480753A (en) * 2010-11-24 2012-05-30 中兴通讯股份有限公司 Link state detecting method and device

Also Published As

Publication number Publication date
CN102739540A (en) 2012-10-17

Similar Documents

Publication Publication Date Title
US10129127B2 (en) Software defined network controller, service function chaining system and trace tracking method
CN113455038B (en) Method and apparatus for beam fault recovery
CN102571492B (en) Method and device for detecting failure of routing equipment
CN102739540B (en) Method and system of access of branch to headquarters, and branch equipment
AU2019238187B2 (en) Systems and methods for network slicing
US20150009990A1 (en) Methods and systems for transmitting packets through aggregated end-to-end connection
CN105721318A (en) Method and device for discovering network topology in software defined network SDN (Software Defined Network)
EP3713160A1 (en) Packet transmission method and apparatus
CN101848114A (en) Fault detection method and device
US9942138B2 (en) Method and device for policy based routing
WO2015001393A1 (en) Methods and systems for transmitting packets through aggregated end-to-end connection
US20230027348A1 (en) Connection status detection method and related device
CN104253745A (en) Routing canceling method and network equipment
WO2015001394A1 (en) Methods and systems for transmitting packets through aggregated end-to-end connection
CN104065508A (en) Application service health examination method, device and system
EP3029883A1 (en) Network protection method and apparatus, next-ring node, and system
KR20040016210A (en) Apparatus and method for excluding about fault ggsn in mobile communication system
WO2015001395A1 (en) Methods and systems for transmitting packets through network interfaces
US20130077472A1 (en) Redundancy in point-to-multipoint (pmp) backhaul networks
CN106341249A (en) Redundant port switching method and device
CN102769552B (en) A kind of method by transmission BFD message during BFD detection LSP and equipment
CN104869118B (en) A kind of method and system for realizing DDoS defence based on dynamic tunneling technique
CN105636100A (en) Data link monitoring method and device
CN105450519A (en) Message sending method and core switch
KR20240022456A (en) Message processing methods, devices, network devices and media

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