CN101094102A - Main and standby switching method and route standby system for route device - Google Patents

Main and standby switching method and route standby system for route device Download PDF

Info

Publication number
CN101094102A
CN101094102A CNA2007101192189A CN200710119218A CN101094102A CN 101094102 A CN101094102 A CN 101094102A CN A2007101192189 A CNA2007101192189 A CN A2007101192189A CN 200710119218 A CN200710119218 A CN 200710119218A CN 101094102 A CN101094102 A CN 101094102A
Authority
CN
China
Prior art keywords
backup
backup group
routing device
senior
host apparatus
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
CNA2007101192189A
Other languages
Chinese (zh)
Other versions
CN101094102B (en
Inventor
邱元香
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2007101192189A priority Critical patent/CN101094102B/en
Publication of CN101094102A publication Critical patent/CN101094102A/en
Priority to PCT/CN2008/071301 priority patent/WO2009009977A1/en
Application granted granted Critical
Publication of CN101094102B publication Critical patent/CN101094102B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • G06F11/2023Failover techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

In the invention, the main equipment is a same route equipment, and the stand-by equipment is one of multi backup group in same route equipment; the main equipment only having one backup group sends a message for indicating the main equipment is in normal running state to the standby equipment in said backup group; if the receiving of message by the standby equipment in the standby group is over time, all standby groups simultaneously make man/standby switch. By the invention, the amounts of the messages between route devices will be not increased after the amount of backup group are increased.

Description

The main/standby switching method of routing device and route backup system
Technical field
The present invention relates to active and standby handoff technique, be particularly related to a kind of main/standby switching method of routing device, the virtual routing device redundancy protocol of a kind of expansion (Virtual Router Redundancy Protocol, VRRP) method of backup group number and a kind of route backup system.
Background technology
In the prior art, usually adopt the VRRP technology to make a plurality of routing devices of network side can support the backup group of corresponding different sub-network, be in a plurality of routing devices one as the backup group master with (Master) equipment, other routing device as backup group standby (Backup) equipment, at least one the corresponding identical virtual ip address of all routing devices in backup group.
At any time, support to have only the host apparatus of a routing device as this backup group in a plurality of routing devices of a backup group, other at least one routing devices are as stand-by equipment; If fault has taken place in the routing device as this backup group host apparatus, then this routing device will self switch to the stand-by equipment of this backup group, and in other at least one routing devices, the routing device that routing device priority in this backup group is the highest will self switch to the host apparatus of this backup group, thereby realizes active and standby switching.
In the practical application, routing device can be for as equipment such as the layer-3 switch of static configuration default gateway or routers.
Specifically, for a backup group, as the routing device operate as normal of its host apparatus the time, at each default announcement cycle (Advertisement_Interval, Adver Int), sends the message of an expression host apparatus operate as normal, for example based on announcement (Advertisement) message of VRRP to other routing devices as this backup group stand-by equipment, to notify other routing devices, current routing device as host apparatus is in normal operating conditions.When as the routing device of stand-by equipment in predetermined period, for example announce in the cycle, do not receive the message of expression host apparatus operate as normal, promptly the stand-by equipment receive time-out then carries out active and standby switching.
Fig. 1 is the structural representation of Advertisement message.As shown in Figure 1, generally include following field in the existing Advertisement message: protocol version (Version), for example the Version that the 2nd edition VRRP (VRRPv2) is corresponding is 2; VRRP type of message (Type), for example the Type based on the Advertisement message correspondence of VRRP is 1; Virtual router number (Virtual RtrID, VRID), i.e. backup group numbering, span can be 1~255; Priority (Priority), span can be 0~255; The virtual ip address number of backup group (Count IP Addrs); Auth type (Auth Type), expression authenticates the mechanism that is adopted to the message that receives; AdverInt can be unit with the second, and default value can be 1 second; 16 verification and (Checksum) is used for detecting the data corruption situation of vRRP message; IP address (IP Address) 1~IP Addressn, the virtual ip address list item of expression backup group, n equals Count IP Addrs; Authenticator (Authentication Data) 1 and Authentication Data2.
In routing device and routing device, also need to be provided with the backup group parameter such as routing device priority, message authentication information, timer of this backup group as this backup group stand-by equipment as a backup group host apparatus; If support a plurality of backup groups, then at the same time in the routing device and routing device as a plurality of backup group host apparatus, the backup group parameter of a plurality of backup groups need be set as a plurality of backup group stand-by equipments.
In the practical application,, and the virtual ip address of corresponding backup group is configured on the corresponding terminal next hop address as this terminal with the backup group of correspondence virtual routing device as the terminal in its corresponding subnet.
For this terminal, because corresponding at least one virtual ip address of backup group, therefore, when the routing device as the host apparatus of this backup group breaks down and carries out active and standby switching, the next hop address of this terminal does not change, thereby can guarantee the connection of this terminal and corresponding virtual routing device, and then can keep network can not be subjected to switching the influence of the Single Point of Faliure that produces owing to the routing device of different addresses.
Identical a plurality of routing devices are corresponding a plurality of subnets simultaneously, the corresponding subnet of backup group, and therefore, identical a plurality of routing devices can be supported a plurality of backup groups simultaneously.
In this case, support simultaneously in a plurality of routing devices of a plurality of backup groups,, can send the message of an expression host apparatus operate as normal to each routing device as this backup group stand-by equipment as the routing device of the host apparatus of each backup group.That is to say, represent between two routing devices that the message amount of host apparatus operate as normal can equivalent increase along with the increase of backup group quantity.
Like this, when the quantity of the backup group of identical a plurality of routing devices conduct simultaneously is many, the message of host apparatus operate as normal will appear representing in a large number between above-mentioned a plurality of routing devices.
Message with expression host apparatus operate as normal is that Advertisement message, two routing devices need support simultaneously that 1000 backup groups are example, if a host apparatus in two routing devices as 1000 backup groups, another is as the stand-by equipment of 1000 backup groups, then in an announcement cycle, routing device as host apparatus can be all backup groups, sends 1000 Advertisement messages to the routing device as stand-by equipment.And the quantity of backup group is many more, and the Advertisement message between above-mentioned routing device will be many more, when the Advertisement message reaches some, may produce the Advertisement message and flood, thereby cause network traffic congestion, influence the forwarding of other service traffics.
And, the Advertisement message need be handled by the CPU in the routing device that receives this message, but because the CPU disposal ability of routing device is limited, when a large amount of Advertisement messages pour in simultaneously, this routing device can't in time be handled because the Advertisement message is too many possibly, perhaps cause its hardware queue to overflow and abandon the Advertisement message, thereby cause the stand-by equipment receive time-out and switch to host apparatus, cause the network concussion, the flow that influences in the network is transmitted.
In order to address the above problem, the quantity with the backup group of identical a plurality of routing device supports is limited to below 300 usually, but has so just limited the VRRP The Application of Technology, can't satisfy the actual needs of more backup groups; More if desired backup group is merely able to increase the quantity of routing device, for example, when 600 backup groups of needs, provide 4 routing devices, wherein, per 2 routing devices are as 300 backup groups, but can make hardware cost long along with the increase of backup group forms multiplication like this.
Summary of the invention
In view of this, the invention provides the method and a kind of route backup system of a kind of main/standby switching method of routing device, a kind of VRRP of expansion backup group number, can not need to increase the quantity that improves the backup group that routing device supports under the condition of cost.
The main/standby switching method of a kind of routing device provided by the invention comprises:
Elect a backup group as senior backup group from least two backup groups, the host apparatus of described at least two backup groups is that the stand-by equipment of same routing device and described at least two backup groups is at least one identical routing device;
The host apparatus of described senior backup group sends the message of the normal operation of expression host apparatus to the stand-by equipment of this backup group;
Stand-by equipment at described senior backup group does not receive in predetermined period under the situation of the normal message that moves of described expression host apparatus, and described at least two backup groups carry out active and standby switching simultaneously.
In as the routing device of the host apparatus of described at least two backup groups and in the routing device as the stand-by equipment of described at least two backup groups, any one backup group in described at least two backup groups is manual to be set to senior backup group;
Perhaps, as in the routing device of the host apparatus of described at least two backup groups and, from described at least two backup groups, negotiate any one backup group automatically as senior backup group as the routing device of the stand-by equipment of described at least two backup groups.
When by hand senior backup group being set, the stand-by equipment of the host apparatus of described senior backup group in this backup group sends before the message of the normal operation of expression host apparatus, and this method further comprises:
In as the routing device of the host apparatus of at least two backup groups and in the routing device as the stand-by equipment of at least two backup groups, the backup group parameter of senior backup group only is set;
When the senior backup group of automatic negotiation, the stand-by equipment of the host apparatus of described senior backup group in this backup group sends before the message of the normal operation of expression host apparatus, and this method further comprises:
In as the routing device of the host apparatus of at least two backup groups and in the routing device as the stand-by equipment of at least two backup groups, the described backup group parameter of all backup groups is set.
A kind of method that enlarges VRRP backup group number provided by the invention comprises:
At least two backup groups are set to bundle status, and from described two backup groups, elect a backup group at least as senior backup group, wherein, senior backup group is identical with the host apparatus that other are provided with in the backup group of bundle status, and stand-by equipment is also identical;
The active and standby switching that is set to other backup groups except that senior backup group of bundle status will be followed the active and standby switching of senior backup group.
The active and standby switching that the active and standby switching of described other backup groups will be followed senior backup group comprises: the host apparatus of senior backup group, send the message of the normal operation of expression host apparatus to the stand-by equipment of described senior backup group, when the stand-by equipment of described senior backup group does not receive the message of the normal operation of described expression host apparatus in predetermined period and the active and standby switching that will follow senior backup group of other backup groups of bundling of senior backup group carry out active and standby switching.
When described election was manual the setting, the stand-by equipment of the host apparatus of described senior backup group in this backup group sent before the normal message that moves of expression host apparatus, and this method further comprises: the backup group parameter that senior backup group is set;
When described election was negotiation automatically, the stand-by equipment of the host apparatus of described senior backup group in this backup group sent before the message of the normal operation of expression host apparatus, and this method further comprises: the described backup group parameter that all backup groups are set.
A kind of route backup provided by the invention system comprises: at least two backup groups, and wherein, any one in described at least two backup groups is the senior backup group that elects in advance;
The host apparatus of described at least two backup groups is that the stand-by equipment of same routing device and described at least two backup groups is at least one identical routing device;
The host apparatus of described senior backup group, the stand-by equipment in this backup group send the message of the normal operation of expression host apparatus;
Stand-by equipment at described senior backup group does not receive in predetermined period under the situation of the normal message that moves of described expression host apparatus, and described at least two backup groups carry out active and standby switching simultaneously.
Described senior backup group is to be provided with in as the routing device of the host apparatus of at least two backup groups and in the routing device as the stand-by equipment of described at least two backup groups in advance.
In as the routing device of the host apparatus of described at least two backup groups and in the routing device as the stand-by equipment of described at least two backup groups, only be provided with the backup group parameter of described senior backup group.
Described senior backup group is by as the routing device of described at least two backup group host apparatus and the routing device with equipment as described at least two backup groups, by what consult in advance to elect.
As seen from the above technical solution, in the present invention, host apparatus is that same routing device and stand-by equipment are in a plurality of backup groups of identical at least one routing device, have only the stand-by equipment of host apparatus in this backup group of a backup group to send the normal message that moves of expression host apparatus, if the stand-by equipment receive time-out in this backup group, this backup group carries out active and standby switching, and other backup groups are also followed this backup group and carried out active and standby switching.
Like this, in an announcement cycle, routing device as the host apparatus of above-mentioned a plurality of backup groups, only be required to be in all backup groups, send the message of the normal operation of an expression host apparatus to each routing device as this backup group stand-by equipment, and do not need all to send the normal message that moves of expression host apparatus for all backup groups, promptly do not need to send the message of the normal operation of expression host apparatus that equates with backup group quantity, reduce the flow in the network, saved network bandwidth resources.
And, in an announcement cycle, as long as receive and handle the message of the normal operation of an expression host apparatus as the routing device of the stand-by equipment of above-mentioned a plurality of backup groups, can know that the routing device as the host apparatus of above-mentioned a plurality of backup groups is in normal operating conditions, and can not receive the message of the normal operation of the expression host apparatus that equates with backup group quantity simultaneously, thereby can in time not handle the message of the normal operation of the expression host apparatus that receives, can not cause its hardware queue to overflow yet and abandon the message of the normal operation of expression host apparatus.
As seen, the present invention does not need the host apparatus of all backup groups all to send the message of the normal operation of expression host apparatus, make the message amount between routing device can equivalent not increase along with the increase of backup group quantity, thereby can be under the prerequisite that does not increase routing device, promptly not needing additionally increases under the prerequisite of cost, improves the backup group quantity that a plurality of routing device is supported.And, the backup group quantity that identical a plurality of routing device is supported can increase exponentially, and can not increase message amount between routing device, more can not increase burden as the routing device of the stand-by equipment of backup group, than existing scheme, can also under the situation that increases this part group quantity, significantly reduce the message amount between routing device.
Description of drawings
Fig. 1 is the structural representation of Advertisement message.
Fig. 2 is the exemplary process diagram of the main/standby switching method of routing device in the embodiment of the invention.
Fig. 3 is the structural representation of route backup system in the embodiment of the invention.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in more detail.
Among the present invention, only send the message of the normal operation of expression host apparatus by the stand-by equipment of host apparatus in this backup group of a backup group in a plurality of backup groups, if the stand-by equipment receive time-out in this backup group, this backup group carries out active and standby switching, and other backup groups are also followed this backup group and carried out active and standby switching.
Wherein, the host apparatus of above-mentioned a plurality of backup groups is same routing device, and the stand-by equipment of above-mentioned a plurality of backup groups is at least one identical routing device.
That is to say, can regard as above-mentioned a plurality of backup groups are bundled that one of election is as senior backup group from a plurality of backup groups of binding then, other backup groups are then followed the switching that senior backup group carries out activestandby state.
Like this, all backup groups of the senior backup group representative binding that elects, routing device as the host apparatus of above-mentioned all backup groups, in an announcement cycle, only need to send the message of the normal operation of expression host apparatus of a senior backup group to a routing device as this backup group stand-by equipment, and do not need to send the normal message that moves of the expression host apparatus that equates with backup group quantity, and reduced the flow in the network, saved network bandwidth resources.
And, as long as receive the message of the normal operation of an expression host apparatus as the routing device of the stand-by equipment of all backup groups, can know that the routing device as the host apparatus of all backup groups is in normal operating conditions, and can not receive the message of the normal operation of the expression host apparatus that equates with backup group quantity simultaneously, thereby can in time not handle the message of the normal operation of the expression host apparatus that receives, can not cause its hardware queue to overflow yet and abandon the message of the normal operation of expression host apparatus.
As seen, adopt such scheme, do not need the host apparatus of all backup groups all to send the normal message that moves of expression host apparatus, message amount between routing device can equivalent not increase along with the increase of backup group quantity, thereby can under the prerequisite that does not increase routing device, improve the backup group quantity that a plurality of routing device is supported.Owing under the situation that increases backup group quantity, do not need to increase routing device, thereby make the technical scheme in the realization embodiment of the invention not need additionally to increase cost.
Below, the main/standby switching method of routing device in the embodiment of the invention is elaborated.
Fig. 2 is the exemplary process diagram of the main/standby switching method of routing device in the embodiment of the invention.As shown in Figure 2, the main/standby switching method of the routing device in the present embodiment may further comprise the steps:
Step 201 elects a backup group as senior backup group from least two backup groups.
In this step, the host apparatus of at least two backup groups is same routing device, and the stand-by equipment of at least two backup groups is at least one identical routing device.
In the practical application, can be provided with by manual, in as the routing device of the host apparatus of at least two backup groups and in the routing device as the stand-by equipment of at least two backup groups, any one backup group at least two backup groups is set to senior backup group, for example, for any one backup group is provided with one and the corresponding special identifier of its numbering, and the senior backup group that is provided with in the routing device of the stand-by equipment of the routing device of the host apparatus of at least two backup groups of conduct and at least two backup groups of conduct is identical; Perhaps, adopt Automatic Styles, promptly as the routing device of the host apparatus of at least two backup groups and routing device as the stand-by equipment of at least two backup groups, negotiate any one backup group at least two backup groups as senior backup group, for example, routing device as the host apparatus of at least two backup groups elects a backup group as senior backup group from least two backup groups at random, and notice is as the routing device of the stand-by equipment of at least two backup groups.
Step 202, the host apparatus of senior backup group, the stand-by equipment in this backup group send the message of the normal operation of expression host apparatus.
Step 203, at the stand-by equipment receive time-out of senior backup group, at least two backup groups carry out active and standby switching simultaneously.
That is to say,, will self switch to the stand-by equipment of above-mentioned at least two backup groups, simultaneously, will self switch to the host apparatus of above-mentioned at least two backup groups for the stand-by equipment of backup group as above-mentioned two as the host apparatus of above-mentioned at least two backup groups.
In this step, if be a plurality of as the routing device of alternate device, the highest one of routing device priority will himself switch to the host apparatus of above-mentioned at least two backup groups in the then senior backup group.
So far, this flow process finishes.
By above-mentioned flow process as seen, the main/standby switching method of routing device in the present embodiment, for routing device, do not need all to send for all backup groups the message of the normal operation of expression host apparatus as the routing device of all backup group host apparatus, and only need this routing device is the message that senior backup group sends the normal operation of expression host apparatus, make the message amount between routing device can equivalent not increase along with the increase of backup group quantity, thereby can under the prerequisite that does not increase routing device, improve the backup group quantity that a plurality of routing device is supported.Owing under the situation that increases backup group quantity, do not need to increase routing device, thereby make the realization such scheme not need additionally to increase cost.
For backup group, above-mentioned at least two backup groups are set to bundle status, in each announcement cycle, the host apparatus of any one backup group of the senior backup group of conduct that only elects, send the message of the normal operation of expression host apparatus to its stand-by equipment, and under the situation of the stand-by equipment receive time-out of this backup group, all backup groups that are set to bundle status all carry out active and standby switching, the feasible activestandby state that is set at least two backup groups of bundle status, all follow senior backup group transition, thereby can enlarge the backup group quantity that is set to bundle status arbitrarily.
In the practical application, the senior backup group because active and standby switching places one's entire reliance upon, therefore, elect the situation of senior backup group for manual set-up mode, in as the routing device of the host apparatus of at least two backup groups and in the routing device as the stand-by equipment of at least two backup groups, routing device priority in the senior backup group only need be set, need not to be provided with the routing device priority in other backup groups except that senior backup group; Only the pairing message authentication information of senior backup group need be set, the authentication mechanism of senior backup group can be consistent with current mechanism, and need not to be provided with the message authentication information of other backup group correspondences except that senior backup group; Whether the timer of senior backup group only need be set, be used for determining the announcement cycle, the timer of other backup groups except that senior backup group disposes and does not come into force, overtime will being as the criterion with the timer of senior backup group.
Like this, need backup group parameter with all backup groups all be arranged on than prior art as in the routing device of the host apparatus of at least two backup groups and in the routing device as the stand-by equipment of at least two backup groups, the present invention only need be provided with the backup group parameter of senior backup group, has reduced the complexity that parameter is provided with in the routing device.
And elect the situation of senior backup group for automatic negotiation mode, because which at least two backup groups can't determine the senior backup group of electing in advance is, therefore, preferably, backup group parameters such as the routing device priority in all backup groups, message authentication information, timer all are arranged in the routing device.
No matter be that manual set-up mode is elected senior backup group, still automatic negotiation mode is elected senior backup group, preferably, the numbering of the virtual ip address of each backup group and each backup group etc. all is arranged on as in the routing device of the host apparatus of two backup groups and the routing device as the stand-by equipment of two backup groups at least at least.
In the embodiment of the invention, the message of the normal operation of expression host apparatus can be Advertisement message or other self-defined messages.Correspondingly, for stand-by equipment,, when not receiving Advertisement message or other self-defined messages for a long time, all can regard receive time-out as according to the type of message of making an appointment.
If the message of the normal operation of expression host apparatus is the Advertisement message, then the VRID in the Advertisement message is the numbering of the senior backup group that elects; If the message of the normal operation of expression host apparatus is self-defined message, then preferably, also should comprise the numbering of the senior backup group that elects in this message.
Below, the route equipment backup system in the embodiment of the invention is elaborated.
Route equipment backup system in the present embodiment comprises: at least two backup groups, wherein, any one at least two backup groups is the senior backup group that elects in advance.
The host apparatus of at least two backup groups is same routing device, and the stand-by equipment of at least two backup groups is at least one identical routing device.
The host apparatus of the senior backup group at least two backup groups, the stand-by equipment in this backup group send the message of the normal operation of expression host apparatus.
Under the situation of the stand-by equipment receive time-out of senior backup group, promptly do not receive the message of the normal operation of expression host apparatus in the predetermined period, at least two backup groups carry out active and standby switching simultaneously.
By said system as seen, present embodiment does not need the host apparatus of all backup groups all to send the message of the normal operation of expression host apparatus, message amount between routing device can equivalent not increase along with the increase of backup group quantity, thereby can under the prerequisite that does not increase routing device, improve the backup group quantity that a plurality of routing device is supported.Owing under the situation that increases backup group quantity, do not need to increase routing device, thereby make the realization said system not need additionally to increase cost.
In the said system, can be in as the routing device of the host apparatus of at least two backup groups and routing device as the stand-by equipment of described at least two backup groups, any one backup group at least two backup groups is set to senior backup group, and identical as the senior backup group that is provided with in the routing device of the host apparatus of at least two backup groups and the routing device as the stand-by equipment of described at least two backup groups, promptly adopt manual set-up mode to elect senior backup group.
Elect the situation of senior backup group for adopting manual set-up mode, in as the routing device of the host apparatus of at least two backup groups and routing device as the stand-by equipment of at least two backup groups, the backup group parameters such as priority, message authentication information and timer of routing device in the pairing senior backup group of senior backup group only need be set, to simplify the parameter setting of routing device.
In the said system, can also be by routing device as the host apparatus of at least two backup groups, consult with routing device as the stand-by equipment of at least two backup groups, determine that same backup group is as senior backup group at least two backup groups, promptly negotiation mode is elected senior backup group automatically.
More than be to the main/standby switching method of routing device in the embodiment of the invention and the explanation of route equipment backup system, below, in conjunction with instantiation, the technical scheme in the embodiment of the invention is further specified.
Fig. 3 is the structural representation of route backup system in the embodiment of the invention.As shown in Figure 3, comprise two routing devices in this system, be routing device 1 and routing device 2, routing device 1 and routing device 2 are supported N backup group simultaneously, be backup group 1~backup group N, the respectively corresponding external switch 1~switch N that links to each other with routing device 2 with routing device 1 simultaneously of backup group 1~backup group N, subnet of each switch correspondence.
Example 1:
Message with the normal operation of expression host apparatus is that the Advertisement message is an example, suppose that routing device 1 and routing device 2 are simultaneously as 1000 backup groups, be N=1000, and the stand-by equipment that the host apparatus of 1000 backup groups is 1,1000 backup groups of routing device is routing device 2.Like this, elect a senior backup group, just only need routing device 1 in each announcement cycle, to send the Advertisement message of the normal operation of 1 expression host apparatus to routing device 2.And, even if increase again any amount with the backup group of routing device 1 as host apparatus, in each announcement cycle, the Advertisement message amount between routing device 1 and the routing device 2 still is 1.
The flow of 1000 switches is all transmitted by routing device 1.If as routing device 2 receive time-outs of the stand-by equipment of senior backup group, then 1000 backup groups carry out active and standby switching simultaneously, the flow of 1000 switches is all transferred to routing device 2.
As seen, in these cases, the backup group quantity that routing device 1 and routing device 2 are supported can unrestrictedly increase, and can not increase Advertisement message amount between routing device 1 and the routing device 2, more can not increase burden as the routing device 2 of the stand-by equipment of 1000 backup groups.
Example 2:
Still the message with the normal operation of expression host apparatus is that the Advertisement message is an example, suppose that routing device 1 and routing device 2 are simultaneously as 1000 backup groups, be N=1000, wherein the host apparatus of 500 backup groups is routing device 1, stand-by equipment is routing device 2, the host apparatus of other 500 backup groups is routing device 2, stand-by equipment is routing device 1, is about to per 500 backup groups and bundlees respectively.Like this, wherein elect a senior backup group 1 in 500 backup groups, and in other 500 backup groups, elect a senior backup group 2, only need routing device 1 to send the Advertisement message of the normal operation of 1 expression host apparatus to routing device 2 in each announcement cycle, routing device 2 sends the Advertisement message of the normal operation of 1 expression host apparatus to routing device 1 in each announcement cycle.And, even if increase again any amount with routing device 1 as the backup group of host apparatus and/or increase any amount with the backup group of routing device 2 as host apparatus, in each announcement cycle, the Advertisement message amount between routing device 1 and the routing device 2 still is 2.
In 1000 switches, the flow of 500 switches is transmitted by routing device 1, and the flow of other 500 switches is transmitted by routing device 2.If as routing device 2 receive time-outs of the stand-by equipment of senior backup group 1,500 backup groups of then senior backup group 1 correspondence carry out active and standby switching simultaneously, the flow of 500 switches of former cause routing device 1 converting flow is all transferred to routing device 2; If routing device 1 receive time-out as the stand-by equipment of senior backup group 2, other 500 backup groups of then senior backup group 2 correspondences carry out active and standby switching simultaneously, and the flow of 500 switches of former cause routing device 2 converting flows is all transferred to routing device 1.
As seen, in these cases, the backup group quantity that routing device 1 and routing device 2 are supported also can unrestrictedly increase, and can not increase Advertisement message amount between routing device 1 and the routing device 2, more can not increase burden as the routing device 1 and the routing device 2 of stand-by equipment.
By above-mentioned two examples as seen, elect one from a plurality of backup groups, then the backup group quantity that can support of routing device 1 and routing device 2 can enlarge.And, if according to existing scheme, routing device 1 and routing device 2 can be supported 100 backup groups, and in each announcement cycle, Advertisement message amount between routing device 1 and the routing device 2 is 100, then adopt the scheme in the embodiment of the invention after, the backup group quantity that routing device 1 and routing device 2 can be supported is 100 * N, and in each announcement cycle, the Advertisement message amount between routing device 1 and the routing device 2 is minimum can be 1.
That is to say that the backup group quantity that the present invention can make identical a plurality of routing device support increases exponentially, and can not increase the message amount between routing device, more can not increase burden as the routing device of the stand-by equipment of backup group.Owing under the situation that increases backup group quantity, do not need to increase routing device, thereby make the technical scheme in the realization embodiment of the invention not need additionally to increase cost.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to and replace and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1, a kind of main/standby switching method of routing device is characterized in that, comprising:
Elect a backup group as senior backup group from least two backup groups, the host apparatus of described at least two backup groups is that the stand-by equipment of same routing device and described at least two backup groups is at least one identical routing device;
The host apparatus of described senior backup group sends the message of the normal operation of expression host apparatus to the stand-by equipment of this backup group;
Stand-by equipment at described senior backup group does not receive in predetermined period under the situation of the normal message that moves of described expression host apparatus, and described at least two backup groups carry out active and standby switching simultaneously.
2, the method for claim 1 is characterized in that, described election is:
In as the routing device of the host apparatus of described at least two backup groups and in the routing device as the stand-by equipment of described at least two backup groups, any one backup group in described at least two backup groups is manual to be set to senior backup group;
Perhaps, as in the routing device of the host apparatus of described at least two backup groups and, from described at least two backup groups, negotiate any one backup group automatically as senior backup group as the routing device of the stand-by equipment of described at least two backup groups.
3, method as claimed in claim 2 is characterized in that,
When by hand senior backup group being set, the stand-by equipment of the host apparatus of described senior backup group in this backup group sends before the message of the normal operation of expression host apparatus, and this method further comprises:
In as the routing device of the host apparatus of at least two backup groups and in the routing device as the stand-by equipment of at least two backup groups, the backup group parameter of senior backup group only is set;
When the senior backup group of automatic negotiation, the stand-by equipment of the host apparatus of described senior backup group in this backup group sends before the message of the normal operation of expression host apparatus, and this method further comprises:
In as the routing device of the host apparatus of at least two backup groups and in the routing device as the stand-by equipment of at least two backup groups, the described backup group parameter of all backup groups is set.
4, a kind of method that enlarges VRRP backup group number is characterized in that, comprising:
At least two backup groups are set to bundle status, and from described two backup groups, elect a backup group at least as senior backup group, wherein, senior backup group is identical with the host apparatus that other are provided with in the backup group of bundle status, and stand-by equipment is also identical;
The active and standby switching that is set to other backup groups except that senior backup group of bundle status will be followed the active and standby switching of senior backup group.
5, method as claimed in claim 4, it is characterized in that, the active and standby switching that the active and standby switching of described other backup groups will be followed senior backup group comprises: the host apparatus of senior backup group, send the message of the normal operation of expression host apparatus to the stand-by equipment of described senior backup group, when the stand-by equipment of described senior backup group does not receive the message of the normal operation of described expression host apparatus in predetermined period and the active and standby switching that will follow senior backup group of other backup groups of bundling of senior backup group carry out active and standby switching.
6, method as claimed in claim 5, it is characterized in that, when described election is manual the setting, the stand-by equipment of the host apparatus of described senior backup group in this backup group sends before the message of the normal operation of expression host apparatus, and this method further comprises: the backup group parameter that senior backup group is set;
When described election was negotiation automatically, the stand-by equipment of the host apparatus of described senior backup group in this backup group sent before the message of the normal operation of expression host apparatus, and this method further comprises: the described backup group parameter that all backup groups are set.
7, a kind of route equipment backup system is characterized in that comprise at least two backup groups, wherein, any one in described at least two backup groups is the senior backup group that elects in advance;
The host apparatus of described at least two backup groups is that the stand-by equipment of same routing device and described at least two backup groups is at least one identical routing device;
The host apparatus of described senior backup group, the stand-by equipment in this backup group send the message of the normal operation of expression host apparatus;
Stand-by equipment at described senior backup group does not receive in predetermined period under the situation of the normal message that moves of described expression host apparatus, and described at least two backup groups carry out active and standby switching simultaneously.
8, system as claimed in claim 7 is characterized in that, described senior backup group is to be provided with in as the routing device of the host apparatus of at least two backup groups and in the routing device as the stand-by equipment of described at least two backup groups in advance.
9, system as claimed in claim 8 is characterized in that,
In as the routing device of the host apparatus of described at least two backup groups and in the routing device as the stand-by equipment of described at least two backup groups, only be provided with the backup group parameter of described senior backup group.
10, system as claimed in claim 7, it is characterized in that, described senior backup group is by as the routing device of described at least two backup group host apparatus and the routing device with equipment as described at least two backup groups, by what consult in advance to elect.
CN2007101192189A 2007-07-18 2007-07-18 Main and standby switching method and route standby system for route device Active CN101094102B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2007101192189A CN101094102B (en) 2007-07-18 2007-07-18 Main and standby switching method and route standby system for route device
PCT/CN2008/071301 WO2009009977A1 (en) 2007-07-18 2008-06-13 Master backup switch method for route device and backup system for route device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101192189A CN101094102B (en) 2007-07-18 2007-07-18 Main and standby switching method and route standby system for route device

Publications (2)

Publication Number Publication Date
CN101094102A true CN101094102A (en) 2007-12-26
CN101094102B CN101094102B (en) 2010-06-02

Family

ID=38992150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101192189A Active CN101094102B (en) 2007-07-18 2007-07-18 Main and standby switching method and route standby system for route device

Country Status (2)

Country Link
CN (1) CN101094102B (en)
WO (1) WO2009009977A1 (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009009977A1 (en) * 2007-07-18 2009-01-22 Hangzhou H3C Technologies Co., Ltd. Master backup switch method for route device and backup system for route device
CN101951345A (en) * 2010-10-15 2011-01-19 杭州华三通信技术有限公司 Message transmitting method and equipment
CN101252464B (en) * 2008-03-17 2011-04-13 华为技术有限公司 Dual system and dual system online upgrading method
CN102448095A (en) * 2012-01-20 2012-05-09 杭州华三通信技术有限公司 Dual homing protection method and equipment
WO2012119388A1 (en) * 2011-08-12 2012-09-13 华为技术有限公司 Method and device for handling faults of services configured on node device in communication system
CN103748843A (en) * 2011-08-23 2014-04-23 瑞典爱立信有限公司 Methods and apparatus for avoiding inter-chassis redundancy switchover to non-functional standby nodes
CN104836677A (en) * 2014-02-11 2015-08-12 华为技术有限公司 Double-machine backup method and servers
CN105119822A (en) * 2015-09-08 2015-12-02 烽火通信科技股份有限公司 Backup group management method and system based on VRRP (Virtual Router Redundancy Protocol)
CN105357057A (en) * 2015-12-06 2016-02-24 浙江宇视科技有限公司 Center-free monitoring management node off-site redundancy method
WO2016197603A1 (en) * 2015-06-12 2016-12-15 中兴通讯股份有限公司 Method and apparatus for checking vrrp configuration
CN106341323A (en) * 2016-10-27 2017-01-18 杭州迪普科技有限公司 VRRP state synchronizing method and device
CN106411574A (en) * 2016-09-05 2017-02-15 杭州昆海信息技术有限公司 Management control method and device
CN106685818A (en) * 2016-12-30 2017-05-17 北京华为数字技术有限公司 Message feedback method and device
CN107124731A (en) * 2017-05-05 2017-09-01 杭州迪普科技股份有限公司 A kind of method and system of WAP backup
WO2017185851A1 (en) * 2016-04-28 2017-11-02 杭州海康威视数字技术股份有限公司 Video storage system, and video data transmission method for same
CN108075971A (en) * 2017-12-25 2018-05-25 新华三技术有限公司 A kind of main/standby switching method and device
CN109088818A (en) * 2018-07-19 2018-12-25 新华三信息安全技术有限公司 A kind of method and device of equipment linkage switching
CN109101370A (en) * 2018-08-30 2018-12-28 重庆富民银行股份有限公司 The date storage method of principal and subordinate's bi-directional synchronization
CN109271280A (en) * 2018-08-30 2019-01-25 重庆富民银行股份有限公司 Storage failure is switched fast processing method
CN111464438A (en) * 2020-03-04 2020-07-28 邦彦技术股份有限公司 Method and device for managing state of VRRP node, and method and device for improving equipment
CN112953926A (en) * 2021-02-05 2021-06-11 广东电网有限责任公司 Information interaction system, method, device, equipment and storage medium
CN116055299A (en) * 2023-01-18 2023-05-02 紫光云技术有限公司 Method for optimizing cut-off after soft gateway fault recovery

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314136B (en) * 2020-02-18 2022-12-27 安科讯(福建)科技有限公司 Method and terminal for triggering LTE Femto gateway switching
CN112600704A (en) * 2020-12-14 2021-04-02 北京神经元网络技术有限公司 High-speed industrial bus system, method and device for switching control nodes of high-speed industrial bus system and storage medium
CN114978296B (en) * 2022-08-01 2022-11-15 成都星联芯通科技有限公司 Equipment switching method, device, earth station and readable storage medium
CN116708283B (en) * 2023-08-08 2023-10-31 珠海派诺科技股份有限公司 Automatic network switching method and switching system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7859992B2 (en) * 2005-07-07 2010-12-28 Solace Systems, Inc. Router redundancy in data communication networks
CN100417141C (en) * 2005-11-29 2008-09-03 华为技术有限公司 Group broadcasting business realizing method
CN1980230B (en) * 2005-11-30 2011-06-01 华为技术有限公司 Method for managing VRRP group
CN100531209C (en) * 2006-01-16 2009-08-19 杭州华三通信技术有限公司 Method and system for realizing synchronization of major and auxiliary state
CN101094102B (en) * 2007-07-18 2010-06-02 杭州华三通信技术有限公司 Main and standby switching method and route standby system for route device

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009009977A1 (en) * 2007-07-18 2009-01-22 Hangzhou H3C Technologies Co., Ltd. Master backup switch method for route device and backup system for route device
CN101252464B (en) * 2008-03-17 2011-04-13 华为技术有限公司 Dual system and dual system online upgrading method
CN101951345A (en) * 2010-10-15 2011-01-19 杭州华三通信技术有限公司 Message transmitting method and equipment
CN101951345B (en) * 2010-10-15 2013-06-05 杭州华三通信技术有限公司 Message transmitting method and equipment
WO2012119388A1 (en) * 2011-08-12 2012-09-13 华为技术有限公司 Method and device for handling faults of services configured on node device in communication system
CN103748843A (en) * 2011-08-23 2014-04-23 瑞典爱立信有限公司 Methods and apparatus for avoiding inter-chassis redundancy switchover to non-functional standby nodes
CN103748843B (en) * 2011-08-23 2017-02-08 瑞典爱立信有限公司 Methods and apparatus for avoiding inter-chassis redundancy switchover to non-functional standby nodes
WO2013107356A1 (en) * 2012-01-20 2013-07-25 Hangzhou H3C Technologies Co., Ltd. Implementing dual-homed node protection
US9426678B2 (en) 2012-01-20 2016-08-23 Hangzhou H3C Technologies Co., Ltd. Implementing dual-homed node protection
CN102448095A (en) * 2012-01-20 2012-05-09 杭州华三通信技术有限公司 Dual homing protection method and equipment
CN104836677A (en) * 2014-02-11 2015-08-12 华为技术有限公司 Double-machine backup method and servers
CN104836677B (en) * 2014-02-11 2018-10-12 华为技术有限公司 A kind of method and server of dual-host backup
WO2016197603A1 (en) * 2015-06-12 2016-12-15 中兴通讯股份有限公司 Method and apparatus for checking vrrp configuration
CN105119822A (en) * 2015-09-08 2015-12-02 烽火通信科技股份有限公司 Backup group management method and system based on VRRP (Virtual Router Redundancy Protocol)
CN105357057A (en) * 2015-12-06 2016-02-24 浙江宇视科技有限公司 Center-free monitoring management node off-site redundancy method
CN105357057B (en) * 2015-12-06 2019-03-08 浙江宇视科技有限公司 A kind of acentric monitoring management node strange land redundancy approach
US11012483B2 (en) 2016-04-28 2021-05-18 Hangzhou Hikvision Digital Technology Co., Ltd. Video storage system, and video data transmission method for same
WO2017185851A1 (en) * 2016-04-28 2017-11-02 杭州海康威视数字技术股份有限公司 Video storage system, and video data transmission method for same
CN107343012A (en) * 2016-04-28 2017-11-10 杭州海康威视数字技术股份有限公司 Video Storage System and its video data transmitting method
CN106411574A (en) * 2016-09-05 2017-02-15 杭州昆海信息技术有限公司 Management control method and device
CN106411574B (en) * 2016-09-05 2020-01-03 新华三信息技术有限公司 Management control method and device
CN106341323A (en) * 2016-10-27 2017-01-18 杭州迪普科技有限公司 VRRP state synchronizing method and device
CN106685818A (en) * 2016-12-30 2017-05-17 北京华为数字技术有限公司 Message feedback method and device
CN106685818B (en) * 2016-12-30 2020-07-28 北京华为数字技术有限公司 Message feedback method and device
CN107124731A (en) * 2017-05-05 2017-09-01 杭州迪普科技股份有限公司 A kind of method and system of WAP backup
CN108075971A (en) * 2017-12-25 2018-05-25 新华三技术有限公司 A kind of main/standby switching method and device
CN108075971B (en) * 2017-12-25 2021-01-26 新华三技术有限公司 Main/standby switching method and device
CN109088818A (en) * 2018-07-19 2018-12-25 新华三信息安全技术有限公司 A kind of method and device of equipment linkage switching
CN109101370A (en) * 2018-08-30 2018-12-28 重庆富民银行股份有限公司 The date storage method of principal and subordinate's bi-directional synchronization
CN109271280A (en) * 2018-08-30 2019-01-25 重庆富民银行股份有限公司 Storage failure is switched fast processing method
CN111464438A (en) * 2020-03-04 2020-07-28 邦彦技术股份有限公司 Method and device for managing state of VRRP node, and method and device for improving equipment
CN112953926A (en) * 2021-02-05 2021-06-11 广东电网有限责任公司 Information interaction system, method, device, equipment and storage medium
CN116055299A (en) * 2023-01-18 2023-05-02 紫光云技术有限公司 Method for optimizing cut-off after soft gateway fault recovery

Also Published As

Publication number Publication date
CN101094102B (en) 2010-06-02
WO2009009977A1 (en) 2009-01-22

Similar Documents

Publication Publication Date Title
CN101094102B (en) Main and standby switching method and route standby system for route device
CN100512292C (en) Apparatus and method of real-time recovering service
JP4103816B2 (en) Router setting method and router apparatus
US10367680B2 (en) Network relay apparatus, gateway redundancy system, program, and redundancy method
JP4598462B2 (en) Provider network providing an L2-VPN service and edge router
KR101591102B1 (en) Method for router of virtual router redundancy protocol and communication system therefor
WO2012000234A1 (en) Method, apparatus and system for fast switching between links
EP2553870B1 (en) An operations, administrations and management proxy and a method for handling operations, administrations and management messages
CN102638389A (en) Redundancy backup method and system of TRILL (Transparent Interconnection over Lots of Links) network
CN104869057A (en) OpeFlow switch graceful restart processing method, device and OpeFlow controller
CN1859423B (en) Synchronous switching method for host and repeat device
CN105119822A (en) Backup group management method and system based on VRRP (Virtual Router Redundancy Protocol)
JP2009303090A (en) Load distribution server, network load distribution method and congestion avoidance method
CN108289044B (en) Data forwarding method, link state method for determining static route and network equipment
CN103095573A (en) Method for virtual router redundancy protocol backup set switching and switch
KR101589384B1 (en) Method of failover for bgp routing
CN114338607B (en) Method, device and system for confirming IP address of 5G user terminal
JP5518771B2 (en) Redundant network system, termination device and relay point adjacent device
CN102223241B (en) Method and equipment for informing network change
JP2008177710A (en) Media service system, media service device, and lan redundancy method used therefor
CN113037622B (en) System and method for preventing BFD from vibrating
CN105207792A (en) Non-linkage pseudo wire gateway protection system and pseudo wire gateway protection method thereof
CN114071458A (en) Distribution network differential protection method and device
WO2015154583A1 (en) Method, device and system for updating protocol state of control channel
JP2005354579A (en) Packet repeating device, and route selection method by originator and destination address

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

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

Patentee after: Xinhua three Technology Co., Ltd.

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

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address