CN103457779A - Method and device for path switching according to memory alarms - Google Patents

Method and device for path switching according to memory alarms Download PDF

Info

Publication number
CN103457779A
CN103457779A CN201310410659XA CN201310410659A CN103457779A CN 103457779 A CN103457779 A CN 103457779A CN 201310410659X A CN201310410659X A CN 201310410659XA CN 201310410659 A CN201310410659 A CN 201310410659A CN 103457779 A CN103457779 A CN 103457779A
Authority
CN
China
Prior art keywords
network equipment
internal storage
critical
memory space
free memory
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
CN201310410659XA
Other languages
Chinese (zh)
Other versions
CN103457779B (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 CN201310410659.XA priority Critical patent/CN103457779B/en
Publication of CN103457779A publication Critical patent/CN103457779A/en
Application granted granted Critical
Publication of CN103457779B publication Critical patent/CN103457779B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and device for path switching according to memory alarms. When residual free memory space of a network device is smaller than or equal to a third-level memory alarming threshold, a critical mark is added, and when the residual free memory space of the network device is larger than or equal to a normal operation threshold, the critical mark is deleted. The method includes the steps that whether the residual free memory space of the network device is smaller than or equal to a second-level memory alarming threshold and larger than the third-level memory alarming threshold is judged; if yes, whether the critical mark exists is judged; if the critical mark does not exist, the network device adopts the control strategy of maintaining neighbor network devices and triggering flow of the neighbor network devices to be transferred to a standby path. According to the method, when the device enters a memory insufficiency state, the IGP informs the neighbor network devices to transfer the flow and switch the flow to the standby path, and therefore smooth flow transfer under the system memory insufficiency state of the device can be achieved.

Description

A kind of method and device thereof that carries out the path switching according to internal storage warning
Technical field
The present invention relates to the internal storage warning field of IGP agreement, relate in particular to a kind of method and device thereof that carries out the path switching according to internal storage warning.
Background technology
The free memory of monitoring residue in real time size in the IGP agreement, when condition reaches, just produce corresponding alarm or alarm and remove notice, in order to notify associated business module or process to take appropriate measures, in order to utilize to greatest extent internal memory, can guarantee again the normal operation of equipment.Equipment is supported one-level, secondary and three grades of other internal storage warning thresholdings of three levels, and corresponding residue free memory is fewer and feweri, and urgency level is more and more serious, and relating module can be taked different responses according to the alarm of the different stage of receiving.Under normal operating condition, the thresholding of the Installed System Memory of equipment in normal operation.When the residue free memory space of the network equipment is less than or equal to the one-level thresholding, while being greater than twice gated service, send the minor alarm, enter the minor state; Memory headroom is less than or equal to twice gated service, while being greater than three grades of thresholdings, sends the severe alarm, enters the severe state; When memory headroom is less than or equal to three grades of thresholdings, send the critical alarm, enter the critical state; Memory headroom is more than or equal to twice gated service, sends the critical alarm and removes notice, leaves the critical state; Memory headroom is more than or equal to the one-level thresholding, sends the severe alarm and removes notice, leaves the severe state; Memory headroom is more than or equal to normal operation thresholding, sends the minor alarm and removes notice, leaves the minor state.
The processing of the Installed System Memory event of IGP protocol responses equipment is as follows:
1) Installed System Memory of a response to network equipment enters critical state and the processing of leaving the minor state.
When 2) Installed System Memory of the network equipment enters the critical state, the dynamic operation data clear all; After leaving the minor state, relearn route;
When 3) Installed System Memory of the network equipment enters the critical state, the dynamic operation data that clear all are in order to protect as far as possible equipment, assurance equipment when low memory, can be because of low memory abnormal or restart.
Referring to Fig. 1, the shortest path priority route protocol (OSPF) of take in the IGP agreement is example, and the described network equipment is router, and router-A, router B, router C and router D equipment all move ospf protocol.Router-A passes through router B to the flow of router D, when router B low memory, as enter the critical state, the router B dynamic operation data that clear all, router-A perceive and router B between ospf neighbor disconnect after, re-start route and calculate, flow is switched to this paths of router C from this paths of router B.During this period, because router B has removed whole dynamic operation data, cause the flow of router-A to router D, have a large amount of packet losses.
Summary of the invention
In view of this, the purpose of this invention is to provide a kind of method and device thereof that carries out the path switching according to internal storage warning, when it enters the low memory state at equipment, IGP notice of settlement neighbours carry out the flow migration, be switched to backup path, realize the flow smooth migration under the not enough state of Installed System Memory of equipment.
For achieving the above object, the invention provides technical scheme as follows:
A kind of method of carrying out the path switching according to internal storage warning, be applied to the network equipment, the described network equipment supports one-level, secondary and three grades of other internal storage warning thresholdings of three levels and normally moves thresholding, and reduce successively in the corresponding residue of other internal storage warning thresholding of described three levels free memory space.When the residue free memory space of the described network equipment is less than or equal to three grades of internal storage warning thresholdings, additional critical indicates, the residue free memory space of the described network equipment is more than or equal to normal operation thresholding, deletes the critical sign.Described method comprises:
Whether the residue free memory space that 301, judges the described network equipment is less than or equal to secondary internal storage warning thresholding, is greater than three grades of internal storage warning thresholdings.
302 if further judge whether to have the critical sign.
If 303 do not have flow that critical sign, the described network equipment are taked to maintain neighbor networks equipment and trigger neighbor networks equipment to move to the control strategy of backup path.
Described control strategy further comprises:
According to described network device interface or neighbours' configuration, the breaking part neighbours, and delete corresponding route.
Also comprise step after described step 303:
Whether the residue free memory space that 304, judges the described network equipment is more than or equal to one-level internal storage warning thresholding.
305 if further judge whether to have the critical sign.
If 306 do not have critical sign, the described network equipment strategy of removing controls.
Shortest path priority route protocol if, described control strategy is:
The network equipment enters the stub state, and in network equipment LSA, the link cost value of non-stub is set to the limiting access value.
The described strategy of removing controls is:
The network equipment recovers from the stub state, the link cost value of non-stub in network equipment LSA is arranged to the cost value that reverts to original described link corresponding interface from the limiting access value.
The routing protocol of Intermediate System-to-Intermediate System if, described control strategy is:
The overload position is set in the LSA by 0 burst.
The described strategy of removing controls is:
Remove the overload position in 0 burst LSA.
Described method also comprises step:
Whether the residue free memory space that 401, judges the described network equipment is reduced to less than or equals one-level internal storage warning thresholding and be greater than secondary internal storage warning thresholding.
402 if further judge whether to have the critical sign.
If 403 do not have the critical sign, the described network equipment does not allow newly to set up neighbor networks equipment.
After described step 403, also comprise:
Whether the residue free memory space that 404, judges the described network equipment is increased to and is more than or equal to normal operation thresholding.
405 if further judge whether to have the critical sign.
If 406 do not have the critical sign, the described network equipment allows newly to set up neighbor networks equipment.
A kind of device that carries out the path switching according to internal storage warning, be applied to the network equipment, the described network equipment supports one-level, secondary and three grades of other internal storage warning thresholdings of three levels and normally moves thresholding, and reduce successively in the corresponding residue of other internal storage warning thresholding of described three levels free memory space.Described device comprises:
Critical flag operation unit, be less than or equal to three grades of internal storage warning thresholdings for the residue free memory space when the described network equipment, additional critical indicates, the residue free memory space of the described network equipment is more than or equal to normal operation thresholding, deletes the critical sign.
Whether severe state judging unit, be less than or equal to secondary internal storage warning thresholding for the residue free memory space that judges the described network equipment, is greater than three grades of internal storage warning thresholdings.
Critical indicates judging unit, for when described severe state judging unit, determining that the residue free memory space of the described network equipment is less than or equal to secondary internal storage warning thresholding, while being greater than three grades of internal storage warning thresholdings, further judge whether to have the critical sign.
The control strategy operating unit, determine while there is no the critical sign when described critical sign judging unit, controls the control strategy that flow that the described network equipment takes to maintain neighbor networks equipment and trigger neighbor networks equipment moves to backup path.
Described control strategy further comprises:
According to described network device interface or neighbours' configuration, the breaking part neighbours, and delete corresponding route.
When described control strategy operating unit is taked control strategy to the network equipment,
Whether described severe state judging unit further also is more than or equal to one-level internal storage warning thresholding for the residue free memory space that judges the described network equipment.
Described critical sign judging unit, further also for when described severe state judging unit determines that the residue free memory space of the described network equipment is more than or equal to one-level internal storage warning thresholding, judges whether to have the critical sign.
Described control strategy operating unit is further also for determining when described critical sign judging unit while there is no the critical sign, controls the described network equipment strategy of removing controls.
Shortest path priority route protocol if, described control strategy is:
The network equipment enters the stub state, and in network equipment LSA, the link cost value of non-stub is set to the limiting access value.
The described strategy of removing controls is:
The network equipment recovers from the stub state, the link cost value of non-stub in network equipment LSA is arranged to the cost value that reverts to original described link corresponding interface from the limiting access value.
The routing protocol of Intermediate System-to-Intermediate System if, described control strategy is:
The overload position is set in the LSA by 0 burst.
The described strategy of removing controls is:
Remove the overload position in 0 burst LSA.
Described device also comprises:
Whether minor state judging unit, be reduced to less than or equal one-level internal storage warning thresholding for the residue free memory space that judges the described network equipment and be greater than secondary internal storage warning thresholding.
Described critical sign judging unit is further also for determining that when described minor state judging unit the residue free memory space of the described network equipment is reduced to less than or when equaling one-level internal storage warning thresholding and being greater than secondary internal storage warning thresholding, judging whether to have critical and indicate.
Newly-built neighbours' control unit, while for determining when described critical sign judging unit, there is no the critical sign, control the described network equipment and do not allow newly to set up neighbor networks equipment.
Whether described minor state judging unit further also is increased to and is more than or equal to normal operation thresholding for the residue free memory space that judges the described network equipment.
Described critical sign judging unit is further also for determining that when described minor state judging unit the residue free memory space of the described network equipment is increased to while being more than or equal to normal operation thresholding, judges whether to have critical and indicates.
Described newly-built neighbours' control unit is further also controlled the described network equipment and is allowed newly to set up neighbor networks equipment while there is no the critical sign for determining when described critical sign judging unit.
When not enough with the Installed System Memory of the network equipment in prior art, the alarm when Installed System Memory of response to network equipment is less than or equal to three grades of internal storage warning thresholdings, can't notify in time neighbours to carry out the flow migration compares, the present invention takes full advantage of multilevel memory alarm notification mechanism, rank according to different internal storage warnings, carry out the migration of neighbours' flow, thereby realize the flow smooth migration under the not enough state of Installed System Memory of equipment, avoided the data packet loss in the switching of path.
The accompanying drawing explanation
Fig. 1 is the schematic diagram that shortest path priority route protocol (OSPF) adopts prior art to carry out the path switching;
Fig. 2 is the method flow diagram of the embodiment of the present invention;
Fig. 3 is the method flow diagram of another embodiment of the present invention;
Fig. 4 is the structure chart of apparatus of the present invention.
Embodiment
Below in conjunction with accompanying drawing, describe the present invention.
When not enough for the Installed System Memory of the network equipment in prior art, the Installed System Memory of response to network equipment enters the internal storage warning of three grades (critical) and compares, the present invention takes full advantage of multilevel memory alarm notification mechanism, rank according to different internal storage warnings, carry out in advance the migration of neighbours' flow, thereby realize the flow smooth migration under the not enough state of Installed System Memory of equipment, avoided the data packet loss in the switching of path.
The present invention is applied to the network equipment, and the described network equipment supports one-level, secondary and three grades of other internal storage warning thresholdings of three levels and normally move thresholding, and reduce successively in the corresponding residue of other internal storage warning thresholding of described three levels free memory space.When the residue free memory space of the described network equipment is less than or equal to three grades of internal storage warning thresholdings, additional critical indicates, the residue free memory space of the described network equipment is more than or equal to normal operation thresholding, deletes the critical sign.
Referring to Fig. 2, the embodiment of the present invention provides a kind of method of carrying out the path switching according to internal storage warning, and described method comprises:
Whether the residue free memory space that 201, judges the described network equipment is less than or equal to secondary internal storage warning thresholding is greater than three grades of internal storage warning thresholdings.
202 if further judge whether to have the critical sign.
If 203 do not have flow that critical sign, the described network equipment are taked to maintain neighbor networks equipment and trigger neighbor networks equipment to move to the control strategy of backup path.
The present invention is less than or equal to secondary internal storage warning thresholding in the residue free memory space of the network equipment and is greater than three grades of internal storage warning thresholdings, and reduce in the residue free memory space of the described network equipment, enters the severe state.And there is no the critical sign, although mean not remove the dynamic operation data or removed the dynamic operation data, trigger again and introduce route and calculate, again receive and dispatch message, the study route.At this moment, just start to take control strategy, carry out neighbours' flow and move to backup path.
Like this, if the residue free memory space of the network equipment is continued to be reduced to less than and is equaled three grades of internal storage warning thresholdings, enter the critical state,, owing to neighbours' flow being moved to backup path before, the network equipment is removed all dynamic operation data and can't be caused the data packet loss in the switching of path.
And prior art is not processed when in above-mentioned residue free memory space, reducing and entering the severe state.But when directly in the residue free memory space of the network equipment, continuing to be reduced to less than or equaling three grades of internal storage warning thresholdings, enter the critical state, and the dynamic operation data that directly clear all, thus the data packet loss in the switching of path caused.
The present invention can also comprise step 207, when the residue free memory space of the network equipment is less than or equal to secondary internal storage warning thresholding, is greater than three grades of internal storage warning thresholdings, and reduce in the residue free memory space of the described network equipment, enters the severe state.But, there is the critical sign, once in the critical state, and the residue free memory space of the described network equipment did not enter the normal state from the critical state, again not triggering and introduce route after the dynamic operation data that clear all calculates, again receive and dispatch message, the study route.Likely reenter again the critical state although now memory headroom continuation reduces, removed the dynamic operation data during due to the critical state, so do not need as the prior art to carry out any operational processes.
Likely continue to change in the residue free memory space of the network equipment of the present invention, if be greater than three grades of internal storage warning thresholdings but still be less than or equal to secondary internal storage warning thresholding, be the residue free memory space of the described network equipment still in the severe state, now no longer carry out any other operation.Equal three grades of internal storage warning thresholdings if continue to be reduced to less than, enter the critical state, the network equipment is removed all dynamic operation data.
Control strategy in described step 203 also further comprises:
According to described network device interface or neighbours' configuration, the breaking part neighbours, and delete corresponding route.
If described memory headroom does not continue to reduce, but increases, and is increased to the severe state that leaves, described method further comprises after step 203:
Whether the residue free memory space that 204, judges the described network equipment is more than or equal to one-level internal storage warning thresholding.
205 if further judge whether to have the critical sign.
If 206 do not have critical sign, the described network equipment strategy of removing controls.
Be more than or equal to one-level internal storage warning thresholding when the residue free memory space of the described network equipment is increased to, leave the severe state, and there is no critical sign, the strategy of removing controls.
Certainly, the present invention can also comprise step 208, if being increased to, the residue free memory space of the described network equipment is more than or equal to one-level internal storage warning thresholding, leave the severe state, but there is the critical sign, once in the critical state, and the residue free memory space of the described network equipment did not enter the normal state from the critical state, again do not trigger and introduce route after the dynamic operation data that clear all and calculate, again receive and dispatch message, the study route.Although now the residue free memory space of the network equipment increases, be not increased to and be more than or equal to normal operation thresholding, so still can not delete the critical sign, also just can not again trigger and introduce route and calculate, again receive and dispatch message, the study route.Therefore, still do not need as the prior art to carry out any operational processes.
Shortest path priority route protocol (OSPF) if, the control strategy in described step 203 is:
The network equipment enters the stub state, and in network equipment LSA (LSA), the link cost value of non-stub is set to the limiting access value, is generally 65535.
Shortest path priority route protocol (OSPF) if, the strategy of removing controls in described step 206 is:
The network equipment recovers from the stub state, the link cost value of non-stub in network equipment LSA (LSA) is arranged to the cost value that reverts to original described link corresponding interface from limiting access value 65535.
The routing protocol of Intermediate System-to-Intermediate System (IS-IS) if, the control strategy in described step 203 is:
The overload position is set in the LSP by 0 burst.
The routing protocol of Intermediate System-to-Intermediate System (IS-IS) if, the strategy of removing controls in described step 206 is:
Remove the overload position in 0 burst LSP.
Referring to Fig. 3, described method can further include step:
Whether the residue free memory space that 301, judges the described network equipment is reduced to less than or equals one-level internal storage warning thresholding and be greater than secondary internal storage warning thresholding.
302 if further judge whether to have the critical sign.
If 303 do not have the critical sign, the described network equipment does not allow newly to set up neighbor networks equipment.
The present invention is reduced to less than or equals one-level internal storage warning thresholding in the residue free memory space of the described network equipment and is greater than secondary internal storage warning thresholding, and reduce in the residue free memory space of the described network equipment, and enter the minor state.And there is no the critical sign, although mean not remove the dynamic operation data or removed the dynamic operation data, trigger again and introduce route and calculate, again receive and dispatch message, the study route.At this moment, the described network equipment does not just allow newly to set up neighbor networks equipment, has avoided newly setting up the residue free memory space of the system that neighbor networks equipment causes and has further reduced.
The present invention can also comprise step 307, and the residue free memory space of the network equipment is reduced to less than or equals one-level internal storage warning thresholding and is greater than secondary internal storage warning thresholding, and reduce in the residue free memory space of the described network equipment, and enter the minor state.But, there is the critical sign, once in the critical state, and the residue free memory space of the described network equipment did not enter the normal state from the critical state, again not triggering and introduce route after the dynamic operation data that clear all calculates, again receive and dispatch message, the study route.Although now memory headroom continues to reduce, and has removed the dynamic operation data during due to the critical state, so do not need as the prior art to carry out any operational processes.
Likely continue to change in the residue free memory space of the network equipment of the present invention, if be greater than secondary internal storage warning thresholding but still be less than or equal to one-level internal storage warning thresholding, be the residue free memory space of the described network equipment still in the minor state, now no longer carry out any other operation.If the continuation minimizing is less than or equal to secondary internal storage warning thresholding and is greater than three grades of internal storage warning thresholdings, the residue free memory space of the described network equipment enters the severe state, performs step 201.
If described memory headroom does not continue to reduce, but increases, and is increased to the minor state that leaves, described method further comprises after step 303:
Whether the residue free memory space that 304, judges the described network equipment is increased to and is more than or equal to normal operation thresholding;
305 if further judge whether to have the critical sign.
If 306 do not have the critical sign, the described network equipment allows newly to set up neighbor networks equipment.
The residue free memory space of the network equipment is increased to and is more than or equal to normal operation thresholding, shows not had the problem of memory headroom deficiency.And there is no the critical sign, although do not remove the dynamic operation data or removed the dynamic operation data, trigger again and introduce route and calculate, again receive and dispatch message, the study route, can allow newly to set up neighbor networks equipment.
The present invention can also comprise step 308, if being increased to, the residue free memory space of the network equipment is more than or equal to normal operation thresholding, as there is critical sign, delete the critical sign, and again triggering and introduce route as prior art calculates, again receive and dispatch message, the study route.There is the critical sign and show that the residue free memory space of the described network equipment once was less than or equal to three grades of internal storage warning thresholdings before, namely once in the critical state, the all dynamic operation data of the network equipment all have been eliminated, and the residue free memory space of the described network equipment did not enter the normal state from the critical state, again not triggering and introduce route after the dynamic operation data that clear all calculates, again receive and dispatch message, the study route.
Described method also comprises step:
If being reduced to less than, the residue idle systems internal memory of the 401 described network equipments equals three grades of internal storage warning thresholdings, the described network equipment dynamic operation data that clear all after the scheduled time.
Like this, when the network equipment enters the critical state, can configure through a scheduled time, then the dynamic operation data that clear all the data packet loss that the path switching that the dynamic operation data of so just can further avoiding directly clearing all cause causes.
The described scheduled time is 0.
The acquiescence scheduled time is 0, means directly to clear all the dynamic operation data.
Referring to Fig. 4, describedly according to internal storage warning, carry out the application of installation of path switching in the network equipment, the described network equipment supports one-level, secondary and three grades of other internal storage warning thresholdings of three levels and normally moves thresholding, and reduce successively in the corresponding residue of other internal storage warning thresholding of described three levels free memory space.From in logic, this device comprises:
Critical flag operation unit, be less than or equal to three grades of internal storage warning thresholdings for the residue free memory space when the described network equipment, additional critical indicates, the residue free memory space of the described network equipment is more than or equal to normal operation thresholding, deletes the critical sign.The basic hardware framework of the described network equipment comprises CPU, internal memory, input input equipment, nonvolatile memory (for example hard disk) and other hardware.
Whether severe state judging unit, be less than or equal to secondary internal storage warning thresholding for the residue free memory space that judges the described network equipment, is greater than three grades of internal storage warning thresholdings.
Critical indicates judging unit, for when described severe state judging unit, determining that the residue free memory space of the described network equipment is less than or equal to secondary internal storage warning thresholding, while being greater than three grades of internal storage warning thresholdings, further judge whether to have the critical sign.
The control strategy operating unit, determine while there is no the critical sign when described critical sign judging unit, controls the control strategy that flow that the described network equipment takes to maintain neighbor networks equipment and trigger neighbor networks equipment moves to backup path.
Described control strategy further comprises:
According to described network device interface or neighbours' configuration, the breaking part neighbours, and delete corresponding route.
When described control strategy operating unit is taked control strategy to the network equipment,
Whether described severe state judging unit further also is more than or equal to one-level internal storage warning thresholding for the residue free memory space that judges the described network equipment.
Described critical sign judging unit, further also for when described severe state judging unit determines that the residue free memory space of the described network equipment is more than or equal to one-level internal storage warning thresholding, judges whether to have the critical sign.
Described control strategy operating unit is further also for determining when described critical sign judging unit while there is no the critical sign, controls the described network equipment strategy of removing controls.
Shortest path priority route protocol if, described control strategy is:
The network equipment enters the stub state, and in network equipment LSA, the link cost value of non-stub is set to the limiting access value.
Shortest path priority route protocol if, the described strategy of removing controls is:
The network equipment recovers from the stub state, the link cost value of non-stub in network equipment LSA is arranged to the cost value that reverts to original described link corresponding interface from the limiting access value.
The routing protocol of Intermediate System-to-Intermediate System if, described control strategy is:
The overload position is set in the LSA by 0 burst.
The routing protocol of Intermediate System-to-Intermediate System if, the described strategy of removing controls is:
Remove the overload position in 0 burst LSA.
Described device also comprises:
Whether minor state judging unit, be reduced to less than or equal one-level internal storage warning thresholding for the residue free memory space that judges the described network equipment and be greater than secondary internal storage warning thresholding.
Described critical sign judging unit is further also for determining that when described minor state judging unit the residue free memory space of the described network equipment is reduced to less than or when equaling one-level internal storage warning thresholding and being greater than secondary internal storage warning thresholding, judging whether to have critical and indicate.
Newly-built neighbours' control unit, while for determining when described critical sign judging unit, there is no the critical sign, control the described network equipment and do not allow newly to set up neighbor networks equipment.
Whether described minor state judging unit further also is increased to and is more than or equal to normal operation thresholding for the residue free memory space that judges the described network equipment.
Described critical sign judging unit is further also for determining that when described minor state judging unit the residue free memory space of the described network equipment is increased to while being more than or equal to normal operation thresholding, judges whether to have critical and indicates.
Described newly-built neighbours' control unit is further also controlled the described network equipment and is allowed newly to set up neighbor networks equipment while there is no the critical sign for determining when described critical sign judging unit.
Described device also comprises:
The dynamic data clearing cell, be reduced to less than while equaling three grades of internal storage warning thresholdings for the residue idle systems internal memory when the described network equipment, controls the described network equipment dynamic operation data that clear all after the scheduled time.
Below with a specific embodiment, further illustrate the present invention.
The shortest path priority route protocol (OSPF) of take in the IGP agreement is example, and the described network equipment is router, and router-A, router B, router C and router D all move ospf protocol, router id is respectively 1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4.
Router-A and router B, the interface COST between router B and router D is 1.
Router-A and router C, the interface COST between router C and router D is 10.
Router D has issued the address of 1W entry, and on router-A, the path that shortest path priority route protocol calculates this 1W bar route is router-A----> router B----> and router D.
The Installed System Memory of router B is 4G, and the Installed System Memory thresholding is as follows:
The first thresholding: 300M, the second thresholding: 200M, the 3rd thresholding: 128M, normally move thresholding: 350M.For ease of explanation, suppose that the residue idle systems internal memory of router B was not less than or equal to 128M, namely before do not enter the critical state, do not there is the critical sign.
When the residue idle systems internal memory of router B is less than or equal to 300M, the ospf protocol of router B does not allow newly to set up neighbours again.
When the residue idle systems internal memory of router B is less than or equal to 200M, the OSPF of router B enters stub router state, and the cost to the link of 4.4.4.4 and 1.1.1.1 in router lsa is changed into to 65535, sends this LSA to router-A and router D.
When router-A receives this LSA, re-start route and calculate, the 1W bar routed path to router D is changed to router-A----> router C----> router D, realize the smooth migration of flow.
When router B residue idle systems internal memory is less than or equal to 128M, delete all neighbours and LSDB, and routing iinformation (supposing that the scheduled time is 0).
When router B residue idle systems internal memory is more than or equal to 350M, OSPF just resumes operation, and again triggers and introduces route and calculate, and again receives and dispatches message, the study route.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (12)

1. a method of carrying out the path switching according to internal storage warning, be applied to the network equipment, the described network equipment is supported one-level, secondary and three grades of other internal storage warning thresholdings of three levels and normally move thresholding, reduce successively in the corresponding residue of other internal storage warning thresholding of described three levels free memory space, it is characterized in that, when the residue free memory space of the described network equipment is less than or equal to three grades of internal storage warning thresholdings, additional critical indicates, the residue free memory space of the described network equipment is more than or equal to normal operation thresholding, delete the critical sign, described method comprises:
Whether the residue free memory space that 301, judges the described network equipment is less than or equal to secondary internal storage warning thresholding, is greater than three grades of internal storage warning thresholdings;
302 if further judge whether to have the critical sign;
If 303 do not have flow that critical sign, the described network equipment are taked to maintain neighbor networks equipment and trigger neighbor networks equipment to move to the control strategy of backup path.
2. the method for claim 1, is characterized in that, described control strategy further comprises:
According to described network device interface or neighbours' configuration, the breaking part neighbours, and delete corresponding route.
3. method as claimed in claim 2, is characterized in that, also comprises step after described step 303:
Whether the residue free memory space that 304, judges the described network equipment is more than or equal to one-level internal storage warning thresholding;
305 if further judge whether to have the critical sign;
If 306 do not have critical sign, the described network equipment strategy of removing controls.
4. method as claimed in claim 3, is characterized in that, shortest path priority route protocol if, and described control strategy is:
The network equipment enters the stub state, and in network equipment LSA, the link cost value of non-stub is set to the limiting access value;
The described strategy of removing controls is:
The network equipment recovers from the stub state, the link cost value of non-stub in network equipment LSA is arranged to the cost value that reverts to original described link corresponding interface from the limiting access value;
The routing protocol of Intermediate System-to-Intermediate System if, described control strategy is:
The overload position is set in the LSA by 0 burst;
The described strategy of removing controls is:
Remove the overload position in 0 burst LSA.
5. the method for claim 1, is characterized in that, described method also comprises step:
Whether the residue free memory space that 401, judges the described network equipment is reduced to less than or equals one-level internal storage warning thresholding and be greater than secondary internal storage warning thresholding;
402 if further judge whether to have the critical sign;
If 403 do not have the critical sign, the described network equipment does not allow newly to set up neighbor networks equipment.
6. method as claimed in claim 5, is characterized in that, after described step 403, also comprises:
Whether the residue free memory space that 404, judges the described network equipment is increased to and is more than or equal to normal operation thresholding;
405 if further judge whether to have the critical sign;
If 406 do not have the critical sign, the described network equipment allows newly to set up neighbor networks equipment.
7. a device that carries out the path switching according to internal storage warning, be applied to the network equipment, the described network equipment is supported one-level, secondary and three grades of other internal storage warning thresholdings of three levels and is normally moved thresholding, reduce successively in the corresponding residue of other internal storage warning thresholding of described three levels free memory space, it is characterized in that, described device comprises:
Critical flag operation unit, be less than or equal to three grades of internal storage warning thresholdings for the residue free memory space when the described network equipment, additional critical indicates, the residue free memory space of the described network equipment is more than or equal to normal operation thresholding, delete the critical sign
Whether severe state judging unit, be less than or equal to secondary internal storage warning thresholding for the residue free memory space that judges the described network equipment, is greater than three grades of internal storage warning thresholdings;
Critical indicates judging unit, for when described severe state judging unit, determining that the residue free memory space of the described network equipment is less than or equal to secondary internal storage warning thresholding, while being greater than three grades of internal storage warning thresholdings, further judge whether to have the critical sign;
The control strategy operating unit, determine while there is no the critical sign when described critical sign judging unit, controls the control strategy that flow that the described network equipment takes to maintain neighbor networks equipment and trigger neighbor networks equipment moves to backup path.
8. device as claimed in claim 7, is characterized in that, described control strategy further comprises:
According to described network device interface or neighbours' configuration, the breaking part neighbours, and delete corresponding route.
9. device as claimed in claim 8, is characterized in that, when described control strategy operating unit is controlled the described network equipment and is taked control strategy,
Whether described severe state judging unit further also is more than or equal to one-level internal storage warning thresholding for the residue free memory space that judges the described network equipment;
Described critical sign judging unit, further also for when described severe state judging unit determines that the residue free memory space of the described network equipment is more than or equal to one-level internal storage warning thresholding, judges whether to have the critical sign;
Described control strategy operating unit is further also for determining when described critical sign judging unit while there is no the critical sign, controls the described network equipment strategy of removing controls.
10. device as claimed in claim 9, is characterized in that, shortest path priority route protocol if, and described control strategy is:
The network equipment enters the stub state, and in network equipment LSA, the link cost value of non-stub is set to the limiting access value;
The described strategy of removing controls is:
The network equipment recovers from the stub state, the link cost value of non-stub in network equipment LSA is arranged to the cost value that reverts to original described link corresponding interface from the limiting access value;
The routing protocol of Intermediate System-to-Intermediate System if, described control strategy is:
The overload position is set in the LSA by 0 burst;
The described strategy of removing controls is:
Remove the overload position in 0 burst LSA.
11. device as claimed in claim 7, is characterized in that, described device also comprises:
Whether minor state judging unit, be reduced to less than or equal one-level internal storage warning thresholding for the residue free memory space that judges the described network equipment and be greater than secondary internal storage warning thresholding;
Described critical sign judging unit is further also for determining that when described minor state judging unit the residue free memory space of the described network equipment is reduced to less than or when equaling one-level internal storage warning thresholding and being greater than secondary internal storage warning thresholding, judging whether to have critical and indicate;
Newly-built neighbours' control unit, while for determining when described critical sign judging unit, there is no the critical sign, control the described network equipment and do not allow newly to set up neighbor networks equipment.
12. method as claimed in claim 11, is characterized in that,
Whether described minor state judging unit further also is increased to and is more than or equal to normal operation thresholding for the residue free memory space that judges the described network equipment;
Described critical sign judging unit is further also for determining that when described minor state judging unit the residue free memory space of the described network equipment is increased to while being more than or equal to normal operation thresholding, judges whether to have critical and indicates;
Described newly-built neighbours' control unit is further also controlled the described network equipment and is allowed newly to set up neighbor networks equipment while there is no the critical sign for determining when described critical sign judging unit.
CN201310410659.XA 2013-09-10 2013-09-10 A kind of method and device thereof carrying out path switching according to internal storage warning Active CN103457779B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310410659.XA CN103457779B (en) 2013-09-10 2013-09-10 A kind of method and device thereof carrying out path switching according to internal storage warning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310410659.XA CN103457779B (en) 2013-09-10 2013-09-10 A kind of method and device thereof carrying out path switching according to internal storage warning

Publications (2)

Publication Number Publication Date
CN103457779A true CN103457779A (en) 2013-12-18
CN103457779B CN103457779B (en) 2016-08-10

Family

ID=49739766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310410659.XA Active CN103457779B (en) 2013-09-10 2013-09-10 A kind of method and device thereof carrying out path switching according to internal storage warning

Country Status (1)

Country Link
CN (1) CN103457779B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109150760A (en) * 2018-09-07 2019-01-04 北京邮电大学 A kind of network resource reservation based on moving speed method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6571285B1 (en) * 1999-12-23 2003-05-27 Accenture Llp Providing an integrated service assurance environment for a network
CN1758633A (en) * 2004-10-10 2006-04-12 中兴通讯股份有限公司 Method for controlling communication flow of network management system
CN1870527A (en) * 2005-12-31 2006-11-29 华为技术有限公司 Internal storage warning processing method and route of converting without discontinuous
CN1901467A (en) * 2006-06-30 2007-01-24 华为技术有限公司 Method and system for quick processing warning
CN101145895A (en) * 2007-09-20 2008-03-19 中兴通讯股份有限公司 Master/slave device switching method
CN101764719A (en) * 2009-11-30 2010-06-30 福建星网锐捷网络有限公司 Method, device and network device for processing memory alarm and network device
US7836354B2 (en) * 2007-07-02 2010-11-16 Verizon Patent And Licensing Inc. Method and system for providing automatic disabling of network debugging

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6571285B1 (en) * 1999-12-23 2003-05-27 Accenture Llp Providing an integrated service assurance environment for a network
CN1758633A (en) * 2004-10-10 2006-04-12 中兴通讯股份有限公司 Method for controlling communication flow of network management system
CN1870527A (en) * 2005-12-31 2006-11-29 华为技术有限公司 Internal storage warning processing method and route of converting without discontinuous
CN1901467A (en) * 2006-06-30 2007-01-24 华为技术有限公司 Method and system for quick processing warning
US7836354B2 (en) * 2007-07-02 2010-11-16 Verizon Patent And Licensing Inc. Method and system for providing automatic disabling of network debugging
CN101145895A (en) * 2007-09-20 2008-03-19 中兴通讯股份有限公司 Master/slave device switching method
CN101764719A (en) * 2009-11-30 2010-06-30 福建星网锐捷网络有限公司 Method, device and network device for processing memory alarm and network device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
韩晓刚: "基于MPLS流量工程的故障管理实现方法", 《电信快报》, 10 March 2011 (2011-03-10), pages 30 - 34 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109150760A (en) * 2018-09-07 2019-01-04 北京邮电大学 A kind of network resource reservation based on moving speed method and device
CN109150760B (en) * 2018-09-07 2020-06-26 北京邮电大学 Network resource reservation method and device

Also Published As

Publication number Publication date
CN103457779B (en) 2016-08-10

Similar Documents

Publication Publication Date Title
EP2178251B1 (en) Method, apparatus and system for ring protection
CN104980349A (en) Relay System and Switching Device
US20160134467A1 (en) Method and apparatus for switching between master device and backup device
EP2632081B1 (en) Path switch-back method and apparatus in transport network
WO2009090723A1 (en) Packet transmission device and its control circuit
CN104980372A (en) Relay System And Switching Device
WO2013065477A1 (en) Communication system
CN102088415A (en) Method and device for MAC (media access control) address withdrawal
JP2011066564A (en) Data relay apparatus, and ring-type communication system
CN107005469A (en) A kind of method of route, relevant device and system
CN111130821B (en) Power failure alarm method, processing method and device
CN101997750A (en) Method and system for segment protection of Ethernet tunnel
US9912527B2 (en) Communication device, communication system, method for determining path, and program
CN102882757B (en) Point-to-multipoint service protecting method for ring network and upper ring node in ring network
CN102571458A (en) Switching method and device for tunnel protection sets
CN114157609A (en) PFC deadlock detection method and device
CN103457779A (en) Method and device for path switching according to memory alarms
CN101304544A (en) Service maintaining method as well as communication system and related equipment
US8392755B2 (en) Providing protection switching via failure prediction
KR20150104435A (en) Method of performing transition of operation mode for a routing processor
CN108259082B (en) Protection switching method and control service board
CN103001810B (en) Network path protection changing method and system
CN103051374B (en) Protect restoration methods and device
WO2014040470A1 (en) Alarm message processing method and device
CN101179504B (en) Method, system and network appliance to restrain routing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for 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