CN111464438B - Method and device for managing state of VRRP node, and method and device for improving equipment - Google Patents

Method and device for managing state of VRRP node, and method and device for improving equipment Download PDF

Info

Publication number
CN111464438B
CN111464438B CN202010143195.0A CN202010143195A CN111464438B CN 111464438 B CN111464438 B CN 111464438B CN 202010143195 A CN202010143195 A CN 202010143195A CN 111464438 B CN111464438 B CN 111464438B
Authority
CN
China
Prior art keywords
vrrp
state
priority
equipment
group
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
CN202010143195.0A
Other languages
Chinese (zh)
Other versions
CN111464438A (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.)
Bangyan Technology Co ltd
Original Assignee
Bangyan Technology 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 Bangyan Technology Co ltd filed Critical Bangyan Technology Co ltd
Priority to CN202010143195.0A priority Critical patent/CN111464438B/en
Publication of CN111464438A publication Critical patent/CN111464438A/en
Application granted granted Critical
Publication of CN111464438B publication Critical patent/CN111464438B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • H04L45/586Association of routers of virtual routers

Abstract

The invention discloses a state management method of VRRP nodes, a device improvement method and a device, wherein the state management method comprises the following steps: and when the number of the state marks of the VRRP nodes meets the regulation threshold value, regulating the priority of the VRRP nodes in the corresponding VRRP group. The equipment improvement method comprises the following steps: setting a monitoring thread for the VRRP equipment, and recording the priority and the state mark of the VRRP equipment in different backup groups, wherein the state mark comprises the master equipment and the slave equipment; and the monitoring thread detects that the number of the state marks of the VRRP equipment meets an adjusting threshold value, and adjusts the priority of the VRRP equipment in the corresponding backup group. The apparatus is for performing a method. The embodiment of the invention can reduce the load of the VRRP nodes by adjusting the priority according to the number of the state marks, is beneficial to improving the overall safety of the VRRP group, and improves the transmission efficiency by keeping reasonable load.

Description

Method and device for managing state of VRRP node, and method and device for improving equipment
Technical Field
The present invention relates to the field of routing technologies, and in particular, to a method and an apparatus for state management of a VRRP node, and a method and an apparatus for improving a device.
Background
VRRP is a fault tolerant protocol used in static route protection, which simplifies the configuration of hosts while improving reliability. The VRRP protocol selects one router as a main device from a plurality of router gateways configured with the same VRRP backup group, and other devices are backup devices. The master device usually sends a VRRP notification multicast packet through a CPU or other hardware assistance (such as FPGA, etc.), the backup device determines whether operations such as state switching (such as switching from a slave state to a master state) are required according to the received VRRP packet, and meanwhile, the packet processing performance of the VRRP directly affects the switching performance of a VRRP backup group.
With the increase of the complexity of the network environment, multiple VRRP backup groups are usually configured on one router to meet the application requirements of multiple gateways, backup protection of multiple links, load sharing, and the like, so that the requirement on the sending performance of the primary router in the VRRP backup groups is higher and higher. This is especially true when multiple VRRP backup groups exist for a router and the router is the primary for these multiple backup groups: on one hand, the packet sending efficiency is influenced, and meanwhile, the sending bandwidth of the port is also occupied, so that the performance of other services is further influenced.
Disclosure of Invention
The present invention is directed to at least alleviating one of the technical problems in the prior art. Therefore, the invention provides a state management method and a state management system of a VRRP node.
In a first aspect, an embodiment of the present invention provides a method for managing a state of a VRRP node, including: and when the number of the state marks of the VRRP nodes meets the regulation threshold value, regulating the priority of the VRRP nodes in the corresponding VRRP group, wherein the state marks comprise a master state and a slave state.
The state management method of the VRRP node of the embodiment of the invention at least has the following beneficial effects: by adjusting the priority according to the number of status flags, the load on the VRRP nodes can be reduced, which contributes to improving the overall security of the VRRP group, and improves the transmission efficiency by maintaining a reasonable load.
According to the state management method of the VRRP node of the other embodiments of the present invention, the VRRP node belongs to different VRRP groups and is provided with a corresponding state flag; correspondingly, when the number of the state marks of the main state is larger than a first threshold value, the priority of the VRRP node in at least one VRRP group is reduced; when the number of state flags of the master state is lower than a second threshold value, increasing the priority of the VRRP node in at least one VRRP group; when the number of the state flags of the slave state is larger than a third threshold value, increasing the priority of the VRRP node in at least one VRRP group; when the number of state flags of the slave state is below a fourth threshold, the priority of the VRRP node in at least one VRRP group is lowered. Through a specific scheme for adjusting the priority, the method can adapt to various actual conditions, and can improve the overall safety.
In a second aspect, an embodiment of the present invention provides a VRRP device improvement method, including: setting a monitoring thread for the VRRP equipment, and recording the priority and the state mark of the VRRP equipment in different backup groups, wherein the state mark comprises a master device and a slave device; and the monitoring thread detects that the number of the state marks of the VRRP equipment meets an adjustment threshold value, and adjusts the priority of the VRRP equipment in the corresponding backup group.
The VRRP equipment improvement method of the embodiment of the invention at least has the following beneficial effects: the recording of the priority and the status marks can be realized through the monitoring thread, the burden of the VRRP equipment can be reduced by adjusting the priority according to the number of the status marks, the overall safety of the backup group is improved, and the transmission efficiency is improved by keeping reasonable burden.
According to another embodiment of the present invention, before setting a monitoring thread for a VRRP device, the method for improving a VRRP device further includes: determining that the VRRP equipment can perform dynamic priority adjustment, and giving a corresponding adjustable mark; correspondingly, when the monitoring thread detects an adjustable flag, the priority in the corresponding backup group is adjusted upon detecting that the number of status flags of the VRRP device satisfies the adjustment threshold. By endowing the adjustable mark, the adjustable state of the VRRP equipment can be controlled conveniently.
According to another embodiment of the present invention, a method for improving a VRRP device, which determines that the VRRP device can perform dynamic priority adjustment and assign a corresponding adjustable flag, specifically includes: determining that the VRRP device is capable of performing dynamic priority adjustment, assigning a corresponding adjustable flag, and setting an adjustment threshold based on the performance of the VRRP device. The threshold is adjusted according to the specific performance setting of the equipment, the function of the equipment can be reasonably arranged, and the transmission efficiency is improved.
According to the VRRP device improvement method of some embodiments of the present invention, the monitoring thread is further configured to obtain a priority of an opposite device connected to the VRRP device; correspondingly, the monitoring thread adjusts the priority of the VRRP equipment in the corresponding backup group according to the priority of the opposite terminal equipment. By acquiring the priority of the opposite-end equipment, the precision of adjusting the priority can be improved, and the overall efficiency can be improved.
According to the VRRP equipment improvement method of other embodiments of the invention, the VRRP equipment belongs to different backup groups and is provided with corresponding state marks; correspondingly, when the number of the state marks of the main equipment is larger than a first threshold value, the priority of the VRRP equipment in at least one backup group is reduced; when the number of the state marks of the main equipment is lower than a second threshold value, the priority of the VRRP equipment in at least one backup group is improved; when the number of the state marks of the slave equipment is larger than a third threshold value, the priority of the VRRP equipment in at least one backup group is increased; and when the number of the state marks of the slave devices is lower than a fourth threshold value, the priority of the VRRP device in at least one backup group is reduced. Through a specific scheme for adjusting the priority, the method can adapt to various actual conditions, and can improve the overall safety.
In a third aspect, an embodiment of the present invention provides a state management apparatus for a VRRP node, including: and the monitoring unit is used for adjusting the priority of the VRRP nodes in the corresponding VRRP group when the number of the state marks of the VRRP nodes meets an adjustment threshold, wherein the state marks comprise a master state and a slave state.
Drawings
Fig. 1 is a flowchart illustrating a state management method for a VRRP node according to an embodiment of the present invention;
FIG. 2 is a diagram of parameter settings in an embodiment of the present invention;
FIG. 3 is a flowchart illustrating the operation of a VRRP monitor thread according to an embodiment of the present invention;
FIG. 4 is a flowchart of an embodiment of a VRRP thread in accordance with the present invention;
fig. 5 is a comparison diagram of VRRP devices before and after priority adjustment in an embodiment of the present invention.
Detailed Description
The idea of the invention and the resulting technical effects will be clearly and completely described below in connection with the embodiments, so that the objects, features and effects of the invention can be fully understood. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and those skilled in the art can obtain other embodiments without inventive effort based on the embodiments of the present invention, and all embodiments are within the protection scope of the present invention.
In the description of the present invention, if an orientation description is referred to, for example, the orientations or positional relationships indicated by "upper", "lower", "front", "rear", "left", "right", etc. are based on the orientations or positional relationships shown in the drawings, only for convenience of description and simplification of description, but not for indication or suggestion that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention. If a feature is referred to as being "disposed," "secured," "connected," or "mounted" to another feature, it can be directly disposed, secured, or connected to the other feature or be indirectly disposed, secured, connected, or mounted to the other feature.
In the description of the embodiments of the present invention, if "a number" is referred to, it means one or more, if "a plurality" is referred to, it means two or more, if "greater than", "less than" or "more than" is referred to, it is understood that the number is not included, and if "greater than", "lower" or "inner" is referred to, it is understood that the number is included. If reference is made to "first" or "second", this should be understood to distinguish between features and not to indicate or imply relative importance or to implicitly indicate the number of indicated features or to implicitly indicate the precedence of the indicated features.
Referring to fig. 1, a state management method for a VRRP node in the embodiment of the present invention is shown, including:
and S0, when the number of the state marks of the VRRP nodes meets an adjustment threshold, adjusting the priority of the VRRP nodes in the corresponding VRRP group, wherein the state marks comprise a master state and a slave state.
The VRRP node is a node that performs packet/data transmission based on the VRRP protocol, and is specifically used for receiving, forwarding, and outputting packets/data. The VRRP node comprises a device of an entity or a functional non-entity formed based on software. Individual VRRP nodes do not exist independently, nor generally in only one VRRP group. A VRRP group is a transport network consisting of several VRRP nodes, in which messages/data are passed. The priority is used for determining the master-slave state between two VRRP nodes through the comparison of the priority, namely, according to the VRRP protocol standard, the backup equipment in the VRRP group compares the priority in the VRRP message with the priority in the self and the VRRP message, and whether to switch the master/slave state is determined through the comparison result.
The state management method of the VRRP node of the embodiment of the invention at least has the following beneficial effects: by adjusting the priority according to the number of status flags, the load on the VRRP nodes can be reduced, which contributes to improving the overall security of the VRRP group, and improves the transmission efficiency by maintaining a reasonable load.
According to the state management method of the VRRP node of another embodiment of the present invention, the VRRP node belongs to different VRRP groups and is provided with a corresponding state flag; correspondingly, when the number of the state marks of the main state is larger than a first threshold value, the priority of the VRRP node in at least one VRRP group is reduced; when the number of the state marks of the main state is lower than a second threshold value, the priority of the VRRP node in at least one VRRP group is improved; when the number of the state marks of the slave state is larger than a third threshold value, the priority of the VRRP node in at least one VRRP group is increased; when the number of state flags of the slave state is below a fourth threshold, the priority of the VRRP node in at least one VRRP group is lowered. Through a specific scheme for adjusting the priority, various actual requirements can be met, and the overall safety can be improved.
One embodiment of the invention provides a VRRP device improvement method, which comprises the following steps: setting a monitoring thread for the VRRP equipment, and recording the priority and the state mark of the VRRP equipment in different backup groups, wherein the state mark comprises a master device and a slave device; and the monitoring thread detects that the number of the state marks of the VRRP equipment meets an adjustment threshold value, and adjusts the priority of the VRRP equipment in the corresponding backup group.
The VRRP equipment is equipment for data interaction based on a VRRP protocol and can be a router. A backup group is a collection of transport networks consisting of several VRRP devices.
The VRRP equipment improvement method of the embodiment of the invention at least has the following beneficial effects: the recording of the priority and the state marks can be realized through the monitoring thread, the load of the VRRP equipment can be reduced by adjusting the priority according to the number of the state marks, the overall safety of the backup group is improved, and the transmission efficiency is improved by keeping reasonable load.
According to another embodiment of the present invention, before setting a monitoring thread for a VRRP device, the method for improving a VRRP device further includes: determining that the VRRP equipment can perform dynamic priority adjustment, and giving a corresponding adjustable mark; correspondingly, when the monitoring thread detects an adjustable flag, the priority in the corresponding backup group is adjusted when detecting that the number of status flags of the VRRP device satisfies the adjustment threshold. The adjustable mark is endowed, so that the external control of the adjustable state of the VRRP equipment is facilitated, and a corresponding priority adjustment scheme is established, for example, the equipment A is connected with the equipment B, the equipment A can be adjusted, the equipment B cannot be adjusted, and when the equipment B needs to be adjusted, the master-slave relationship between the equipment A and the equipment B can be indirectly changed by adjusting the priority of the equipment A.
According to another embodiment of the present invention, a method for improving a VRRP device, which determines that the VRRP device can perform dynamic priority adjustment and assign a corresponding adjustable flag, specifically includes: determining that the VRRP device is capable of performing dynamic priority adjustment, assigning a corresponding adjustable flag, and setting an adjustment threshold based on the performance of the VRRP device. The threshold is adjusted according to the specific performance setting of the equipment, the function of the equipment can be reasonably arranged, and the transmission efficiency is improved.
According to the VRRP device improvement method of some embodiments of the present invention, the monitoring thread is further configured to obtain a priority of an opposite device connected to the VRRP device; correspondingly, the monitoring thread adjusts the priority of the VRRP equipment in the corresponding backup group according to the priority of the opposite terminal equipment. By acquiring the priority of the opposite terminal equipment, the precision of adjusting the priority can be improved, and the overall efficiency can be improved. Because a single VRRP device may be connected to multiple backup groups, because multiple backup groups may be affected if the priority is modified by a large amount, precise modifications are required to reduce the impact on the whole (i.e., multiple backup groups).
According to the VRRP equipment improvement method of other embodiments of the invention, the VRRP equipment belongs to different backup groups and is provided with corresponding state marks; correspondingly, when the number of the state marks of the main equipment is larger than a first threshold value, the priority of the VRRP equipment in at least one backup group is reduced; when the number of the state marks of the main equipment is lower than a second threshold value, the priority of the VRRP equipment in at least one backup group is improved; when the number of the state marks of the slave equipment is larger than a third threshold value, the priority of the VRRP equipment in at least one backup group is improved; and when the number of the state marks of the slave devices is lower than a fourth threshold value, the priority of the VRRP device in at least one backup group is reduced. Through a specific scheme for adjusting the priority, the method can adapt to various actual conditions, and can improve the overall safety. The first threshold, the second threshold, the third threshold and the fourth threshold are preset numerical values and belong to adjusting thresholds.
One embodiment of the present invention provides a state management apparatus for a VRRP node, including: and the monitoring unit is used for adjusting the priority of the VRRP nodes in the corresponding VRRP group when the number of the state marks of the VRRP nodes meets an adjustment threshold, wherein the state marks comprise a master state and a slave state.
The specific application principle of the state management device comprises:
the first step is as follows: a dynamic adjustment device (i.e., a monitoring unit) is introduced into the VRRP module of the router, and the device monitors the number of backup sets (i.e., groups) of VRRPs and the master and slave states in the backup sets.
The second step is that: the dynamically adjustable device is enabled by enabling a "dynamically adjust run priority" switch in the VRRP module of the configuration router.
The third step: the dynamic adjusting device records the main state and the slave state of the equipment (VRRP node) and each VRRP backup group according to the received VRRP message, and also records the identification (such as IP) and the priority of the opposite terminal equipment if the dynamic adjusting device is used as the backup equipment, and the priority is used as the reference for dynamically adjusting the priority of the dynamic adjusting device.
The fourth step: if the dynamic adjusting device monitors that the number of the equipment as the master equipment or the slave equipment is brought to a certain threshold value (configurable), the adjustment of the dynamic priority is started, and the self priority is reduced and improved according to the priority recorded in the third step to adjust and control the proportion of the equipment as the master equipment or the slave equipment.
The fifth step: after the priority is adjusted, the VRPP backup group can achieve the main and backup switching according to the comparison result of the priority, so that the purposes of reducing the CPU bandwidth, improving the sending efficiency and switching part of messages to other routers to achieve load balancing can be achieved.
Example 2.
The purpose of this embodiment is to provide a specific VRRP device improvement flow:
step one, a monitoring thread (hereinafter referred to as a monitoring thread for short) is implemented in the VRRP module, and the monitoring thread records the device identifier and the priority information of each VRRP backup group (refer to a parameter setting diagram shown in fig. 2, including a VRRP device group ID (which may be specifically set to 10/20), a master device priority (e.g., 200/220), a master device address (e.g., 192.168.2.200/192.168.3.200)), and a slave device priority (e.g., 100/200).
And step two, configuring a global variable (monitoring mark for short) in the VRRP module to identify whether to enable dynamic operation priority adjustment.
And step three, configuring a dynamically adjusted threshold (such as percentage) in the VRRP module, and dynamically adjusting the priority when the monitoring state reaches the monitoring threshold.
And step four, recording the priority of the main equipment in each backup group in the normal running process of the monitoring thread.
And step five, if the monitoring thread checks the enabling of the monitoring mark, entering a dynamic monitoring and adjusting stage.
And step six, the monitoring thread analyzes the state in each backup group, if the proportion of a certain router serving as the main equipment in each backup group reaches a set threshold, the priority of the equipment in the corresponding part of the backup groups is dynamically improved (the priority is higher than that of the current main equipment), and the equipment is promoted to be in the main state, so that the load of an opposite end heavier than the router is reduced, and the purposes of shunting and improving the performance are achieved.
And step seven, the monitoring thread analyzes the states in each backup group, if the equipment is found to bear the main equipment in a plurality of backup groups and the number reaches a set threshold, the priority of the equipment is reduced in the corresponding part of the backup groups, the equipment is gradually reduced into the slave equipment, so that the load of the equipment is reduced, and the flow is distributed to other routers for processing.
The specific VRRP monitor thread operation diagram shown in fig. 3:
s1, judging whether a VRRP monitoring thread executes monitoring enabling or not, and if so, executing S2;
s2, inquiring a global record table, analyzing the distribution conditions of the master equipment and the slave equipment, and selecting to execute the step S21 or the step S22 according to the specific distribution conditions;
step S21, judging that the number of the equipment serving as the main equipment reaches a set threshold value, if so, executing step S31, otherwise, returning to the step S1;
s22, judging that the number of the equipment serving as slave equipment reaches a set threshold value, if so, executing a step S32, otherwise, returning to the step S1;
step S31, according to the record list information, reducing the priority of the equipment in part of equipment groups, and executing step S4;
step S32, according to the record list information, the priority of the equipment in a part of equipment groups is improved, and step S4 is executed;
and S4, adjusting the mark priority and returning to the step S1.
The operation diagram of the specific VRRP thread shown in fig. 4 is as follows:
step S01, judging whether the current equipment belongs to the main equipment, if so, executing step S02, otherwise, executing step S04;
s02, recording the device identification and the priority (refreshing a global record table), and executing the step S03;
and S03, judging whether to adjust the priority, if so, updating the VRRP operation priority and sending the VRRP message, otherwise, directly sending the VRRP message.
S04, receiving a VRRP message, and executing the step S05;
and S05, judging whether priority adjustment is carried out or not, if so, updating the VRRP running priority, recording the identification and the priority of the opposite-end main equipment (and refreshing the global record table), and if not, directly recording the identification and the priority of the opposite-end main equipment (and refreshing the global record table).
A comparison diagram of VRRP devices before and after prioritization as shown in figure 5.
The VRRP equipment comprises an access switch, routers 1 and 2.
Before adjustment, the router 1 is respectively used as a main device in different clusters (VRID 1/2/3/4); the routers 2 are respectively taken as slave devices in different clusters (VRID 1/2/3/4). The router performs transmission or reception according to a specific state.
After adjustment, the router 1 is used as a master device in the cluster (VRID 1/2) and used as a slave device in the cluster (VRID 3/4); the router 2 acts as a slave in a different cluster (VRID 1/2) and as a master in a cluster (VRID 3/4). The router performs transmission or reception according to a specific state.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention. Furthermore, the embodiments of the present invention and the features of the embodiments may be combined with each other without conflict.

Claims (6)

  1. The state management method of the VRRP node is characterized by comprising the following steps:
    when the number of state labels of the VRRP nodes meets an adjustment threshold, adjusting the priority of the VRRP nodes in a corresponding VRRP group, wherein the state labels comprise a master state and a slave state;
    the VRRP nodes belong to different VRRP groups and are provided with corresponding state marks; in a corresponding manner,
    when the number of state flags of the master state is greater than a first threshold, reducing the priority of the VRRP node in at least one VRRP group;
    when the number of state flags of the master state is lower than a second threshold, increasing the priority of the VRRP node in at least one VRRP group;
    when the number of state flags of a slave state is greater than a third threshold value, increasing the priority of the VRRP node in at least one VRRP group;
    when the number of state flags of the slave state is below a fourth threshold, decreasing the priority of the VRRP node in at least one VRRP group.
  2. The VRRP equipment improvement method is characterized by comprising the following steps:
    setting a monitoring thread for VRRP equipment, and recording priorities and state marks of the VRRP equipment in different backup groups, wherein the state marks comprise master equipment and slave equipment;
    the monitoring thread detects that the number of the state marks of the VRRP equipment meets an adjusting threshold value, and adjusts the priority of the VRRP equipment in a corresponding backup group;
    the VRRP equipment belongs to different backup groups and is provided with corresponding state marks; in a corresponding manner,
    when the number of the state marks of the main equipment is larger than a first threshold value, reducing the priority of the VRRP equipment in at least one backup group;
    when the number of the state marks of the main equipment is lower than a second threshold value, the priority of the VRRP equipment in at least one backup group is increased;
    when the number of the state marks of the slave equipment is larger than a third threshold value, the priority of the VRRP equipment in at least one backup group is increased;
    and when the number of the state marks of the slave devices is lower than a fourth threshold value, the priority of the VRRP device in at least one backup group is reduced.
  3. 3. The improvement method for the VRRP equipment according to claim 2, wherein before setting the monitoring thread for the VRRP equipment, the improvement method further comprises the following steps:
    determining that the VRRP device can perform dynamic priority adjustment, and assigning a corresponding adjustable flag; in a corresponding manner, the first and second optical fibers are,
    when the monitoring thread detects the adjustable mark, when the number of the state marks of the VRRP equipment is detected to meet the adjustment threshold value, the priority in the corresponding backup group is adjusted.
  4. 4. The VRRP device improvement method according to claim 3, wherein said determining that the VRRP device is capable of performing dynamic priority adjustment and assigning a corresponding adjustable flag comprises:
    determining that the VRRP device is capable of performing dynamic priority adjustment, assigning a corresponding adjustable flag, and setting the adjustment threshold according to the performance of the VRRP device.
  5. 5. The VRRP device improvement method of claim 4, wherein the monitor thread is further configured to obtain a priority of a peer device connected to the VRRP device; in a corresponding manner, the first and second optical fibers are,
    and the monitoring thread adjusts the priority of the VRRP equipment in the corresponding backup group according to the priority of the opposite terminal equipment.
  6. A state management device for a VRRP node, comprising:
    the monitoring unit is used for adjusting the priority of the VRRP nodes in the corresponding VRRP group when the number of state marks of the VRRP nodes meets an adjustment threshold, wherein the state marks comprise a master state and a slave state;
    when the number of state flags of the master state is greater than a first threshold, reducing the priority of the VRRP node in at least one VRRP group;
    when the number of state flags of the master state is lower than a second threshold, increasing the priority of the VRRP node in at least one VRRP group;
    when the number of state flags of the slave state is greater than a third threshold, increasing the priority of the VRRP node in at least one VRRP group;
    when the number of state flags of the slave state is below a fourth threshold, the priority of the VRRP node in at least one VRRP group is reduced.
CN202010143195.0A 2020-03-04 2020-03-04 Method and device for managing state of VRRP node, and method and device for improving equipment Active CN111464438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010143195.0A CN111464438B (en) 2020-03-04 2020-03-04 Method and device for managing state of VRRP node, and method and device for improving equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010143195.0A CN111464438B (en) 2020-03-04 2020-03-04 Method and device for managing state of VRRP node, and method and device for improving equipment

Publications (2)

Publication Number Publication Date
CN111464438A CN111464438A (en) 2020-07-28
CN111464438B true CN111464438B (en) 2023-02-28

Family

ID=71684980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010143195.0A Active CN111464438B (en) 2020-03-04 2020-03-04 Method and device for managing state of VRRP node, and method and device for improving equipment

Country Status (1)

Country Link
CN (1) CN111464438B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114640680B (en) * 2020-11-30 2024-04-05 南宁富联富桂精密工业有限公司 Load balancing method, device and computer readable storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949767A (en) * 2005-10-11 2007-04-18 华为技术有限公司 Method for switching master-slave back-up route apparatus based on virtual router redundant protocol
CN1968260A (en) * 2005-11-17 2007-05-23 华为技术有限公司 Method for implementing virtual router redundancy protocol switching between primary/standby devices
CN101155129A (en) * 2006-09-29 2008-04-02 中兴通讯股份有限公司 Method for implementing dynamic optimal adjustment of virtual routing notification time
CN101702681A (en) * 2009-11-26 2010-05-05 福建星网锐捷网络有限公司 Switching method and device of main/standby router in virtual route redundancy protocol
CN102469018A (en) * 2010-11-18 2012-05-23 中兴通讯股份有限公司 Equipment priority realization method and device in virtual router redundancy protocol (VRRP) backup group
CN105119822A (en) * 2015-09-08 2015-12-02 烽火通信科技股份有限公司 Backup group management method and system based on VRRP (Virtual Router Redundancy Protocol)
CN105227455A (en) * 2015-10-08 2016-01-06 北京星网锐捷网络技术有限公司 A kind of method and system of batch user web authentication active-standby switch
CN105933142A (en) * 2016-04-08 2016-09-07 邦彦技术股份有限公司 Network element management method and device
CN106656791A (en) * 2015-10-30 2017-05-10 华为技术有限公司 Device state switching method, device and system
CN108494675A (en) * 2018-02-07 2018-09-04 华为技术有限公司 Realize the method, apparatus and routing device of Virtual Router Redundacy Protocol backup group
CN110704245A (en) * 2019-09-29 2020-01-17 苏州浪潮智能科技有限公司 Service cluster implementation method, device, equipment and readable storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7209435B1 (en) * 2002-04-16 2007-04-24 Foundry Networks, Inc. System and method for providing network route redundancy across Layer 2 devices
CN1322716C (en) * 2003-08-15 2007-06-20 华为技术有限公司 Key route information monitoring method based on virtual router redundant protocol
CN101060533B (en) * 2007-05-14 2010-08-04 华为技术有限公司 A method, system and device for improving the reliability of VGMP protocol
CN101094102B (en) * 2007-07-18 2010-06-02 杭州华三通信技术有限公司 Main and standby switching method and route standby system for route device
CN101316236B (en) * 2008-07-23 2010-09-22 杭州华三通信技术有限公司 Vrrp backup group load sharing method and router
CN101635648B (en) * 2009-08-05 2011-09-21 中兴通讯股份有限公司 Method for managing and rapidly switching virtual redundant route protocol group
CN103581014B (en) * 2012-07-20 2018-02-06 中兴通讯股份有限公司 VRRP routers dynamic adjusting method and device
WO2016122934A1 (en) * 2015-01-30 2016-08-04 Hewlett-Packard Development Company, L.P. Multi-chassis link aggregation (lag) switches
CN108768798B (en) * 2018-04-17 2020-09-08 新华三技术有限公司 Equipment access method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949767A (en) * 2005-10-11 2007-04-18 华为技术有限公司 Method for switching master-slave back-up route apparatus based on virtual router redundant protocol
CN1968260A (en) * 2005-11-17 2007-05-23 华为技术有限公司 Method for implementing virtual router redundancy protocol switching between primary/standby devices
CN101155129A (en) * 2006-09-29 2008-04-02 中兴通讯股份有限公司 Method for implementing dynamic optimal adjustment of virtual routing notification time
CN101702681A (en) * 2009-11-26 2010-05-05 福建星网锐捷网络有限公司 Switching method and device of main/standby router in virtual route redundancy protocol
CN102469018A (en) * 2010-11-18 2012-05-23 中兴通讯股份有限公司 Equipment priority realization method and device in virtual router redundancy protocol (VRRP) backup group
CN105119822A (en) * 2015-09-08 2015-12-02 烽火通信科技股份有限公司 Backup group management method and system based on VRRP (Virtual Router Redundancy Protocol)
CN105227455A (en) * 2015-10-08 2016-01-06 北京星网锐捷网络技术有限公司 A kind of method and system of batch user web authentication active-standby switch
CN106656791A (en) * 2015-10-30 2017-05-10 华为技术有限公司 Device state switching method, device and system
CN105933142A (en) * 2016-04-08 2016-09-07 邦彦技术股份有限公司 Network element management method and device
CN108494675A (en) * 2018-02-07 2018-09-04 华为技术有限公司 Realize the method, apparatus and routing device of Virtual Router Redundacy Protocol backup group
CN110704245A (en) * 2019-09-29 2020-01-17 苏州浪潮智能科技有限公司 Service cluster implementation method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN111464438A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
US9042234B1 (en) Systems and methods for efficient network traffic forwarding
US8693344B1 (en) Systems and methods for generating packet forwarding rules based on network policy
US9001827B2 (en) Methods for configuring network switches
US10142160B1 (en) System and methods for managing network hardware address requests with a controller
US20160315845A1 (en) SDN Controller, Data Center System, and Routing Connection Method
US8503307B2 (en) Distributing decision making in a centralized flow routing system
EP2875614B1 (en) System and method for cluster link aggregation control in a network environment
US7760668B1 (en) Self-reconfiguring spanning tree
US20130003549A1 (en) Resilient Hashing for Load Balancing of Traffic Flows
US20130304915A1 (en) Network system, controller, switch and traffic monitoring method
US9008080B1 (en) Systems and methods for controlling switches to monitor network traffic
US7869439B1 (en) Varying packet switch behavior based on a quantity of virtual interfaces associated with a virtual switch
EP1798895B1 (en) A method and network element for forwarding data
US10291533B1 (en) Systems and methods for network traffic monitoring
US9537785B2 (en) Link aggregation group (LAG) link allocation
US20110194562A1 (en) Systems and Methods for Communication of Management Traffic Over Link Aggregation Group Interface for a Network Element with Distributed Architecture
CN105656645A (en) Decision making method and device for fault processing of stacking system
US9548900B1 (en) Systems and methods for forwarding network packets in a network using network domain topology information
US11336564B1 (en) Detection of active hosts using parallel redundancy protocol in software defined networks
US20230061491A1 (en) Improving efficiency and fault tolerance in a software defined network using parallel redundancy protocol
CN111464438B (en) Method and device for managing state of VRRP node, and method and device for improving equipment
US7187648B1 (en) Redundancy in packet routing devices
US9356838B1 (en) Systems and methods for determining network forwarding paths with a controller
US20170078193A1 (en) Communication system, control apparatus, communication apparatus, and communication method
US9497109B2 (en) Switching mesh with user-configurable paths

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518000 2101, No. 100, Zhihe Road, Dakang community, Yuanshan street, Longgang District, Shenzhen, Guangdong

Applicant after: BANGYAN TECHNOLOGY Co.,Ltd.

Address before: 518000 room 901, block B, building 5, Shenzhen software industry base, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: BANGYAN TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant