CN101764719A - Method, device and network device for processing memory alarm and network device - Google Patents

Method, device and network device for processing memory alarm and network device Download PDF

Info

Publication number
CN101764719A
CN101764719A CN200910205970A CN200910205970A CN101764719A CN 101764719 A CN101764719 A CN 101764719A CN 200910205970 A CN200910205970 A CN 200910205970A CN 200910205970 A CN200910205970 A CN 200910205970A CN 101764719 A CN101764719 A CN 101764719A
Authority
CN
China
Prior art keywords
label
ldp
internal storage
announcement
storage warning
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
CN200910205970A
Other languages
Chinese (zh)
Other versions
CN101764719B (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.)
Beijing Zhigu Tech Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN2009102059704A priority Critical patent/CN101764719B/en
Publication of CN101764719A publication Critical patent/CN101764719A/en
Application granted granted Critical
Publication of CN101764719B publication Critical patent/CN101764719B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method, a device and a network device for processing memory alarm. The method comprises the step that when an LDP module in network switching equipment receives an announcement that a system memory of the network switching equipment is in the alarm state, the LDP module keeps forwarding of a multiprotocol label switching (MPLS) service on a currently existing label switched path (LSP) and stops generating a novel LSP. In the embodiment of the invention, when the network device is in the system memory alarm state, the LDP module keeps forwarding of the MPLS service on the currently existing LSP and stops related processes of generating the novel LSP, so that when in the system memory state, the network device can keep forwarding of the MPLS service on the existing LSP and simultaneously as the novel LSP is not generated, the burden of the system memory cannot be increased on the basis of the conventional memory consumption.

Description

A kind of internal storage warning processing method, device and the network equipment
Technical field
The present invention relates to the computer network communication technology field, relate in particular to a kind of internal storage warning processing method, device and the network equipment.
Background technology
For the router or the three-tier switch product of high reliability, under any extreme condition, the reasonable operation that still can guarantee equipment is an important visual angle of check product quality.Such as Device memory exhausts under the situation, how to present its acceptable equipment running status to the user, directly influences confidence and the public praise of user to product.
Guarantee that in order to reach above function system can handle accordingly when detecting memory consumption and reach certain threshold value, Here it is internal storage warning.Internal storage warning mechanism is illustrated in fig. 1 shown below, router or switch are provided with internal storage warning line and internal storage warning releasing line, after system memory usage surpasses the internal storage warning line, enter the Installed System Memory alarm status, at this moment system's each module announcement that can move in system enters the internal storage warning state, and the internal storage warning that each module is carried out is respectively separately handled; Be lower than after internal storage warning removes line when the Installed System Memory use amount returns to, the internal storage warning state is removed, and at this moment system can remove to each module announcement internal storage warning state, each module carry out respectively separately withdraw from the internal storage warning state processing.
According to existing common processing method, tag distribution protocol (Label Distribution Protocol, LDP) module the system that receives send enter the announcement of internal storage warning the time, can disconnect all LDP neighbours of its connection, discharge all routing iinformations, stop to carry out the LDP agreement, wait for a period of time or etc. the Installed System Memory alarm status restart the LDP agreement again after removing.When this processing method can cause entering internal storage warning in system, and all label switched paths (Label Switched Path, LSP) tunnel interrupts, and MPLS label forwarding business is unavailable before the LDP agreement is recovered.
Summary of the invention
The embodiment of the invention provides a kind of internal memory alarm processing method, device and the network equipment, and the processing method of the network switching equipment when entering the Installed System Memory alarm status can cause the disabled problem of all MPLS label forwarding service disconnection in the prior art in order to solve.
The processing method of a kind of internal storage warning that the embodiment of the invention provides comprises:
When the tag distribution protocol LDP module in the network switching equipment receives this network switching equipment Installed System Memory when entering the announcement of alarm status, described LDP module keeps the forwarding of multiprotocol label switching MPLS business on the current existing label switching path LSP, and stops to generate new LSP.
The embodiment of the invention also provides a kind of internal storage warning processing unit, comprising:
Receiving element is used for the announcement that the receiving system internal memory enters alarm status;
Service Processing Unit is used for keeping the forwarding of multiprotocol label switching MPLS business on the current existing label switching path LSP, and stopping to generate new LSP receiving Installed System Memory when entering the announcement of alarm status.
The embodiment of the invention also provides a kind of network equipment, and this equipment comprises the above-mentioned internal storage warning processing unit that the embodiment of the invention provides.
The beneficial effect of the embodiment of the invention comprises:
A kind of internal storage warning processing method that the embodiment of the invention provides, the device and the network equipment, do not adopt in the prior art when the Installed System Memory alarm occurring, disconnect all LDP neighbours, discharge all routing iinformations, stop the processing mode of the operation of LDP agreement, but when the network equipment enters the Installed System Memory alarm status, the LDP module of the network equipment keeps the forwarding of the MPLS business on the current existing LSP, and stop to generate the related procedure of new LSP, make when entering the Installed System Memory state, can keep the forwarding that existing LSP goes up the MPLS business, simultaneously, because the new LSP of regeneration on the basis of existing memory consumption, can not increase the burden of Installed System Memory again.
Description of drawings
Fig. 1 is the schematic diagram of internal storage warning mechanism in the network switching equipment in the prior art;
The process chart of the Routing Protocol module that Fig. 2 provides for embodiment of the invention LDP module when LDP module announcement Interior Gateway Protocol IGP route;
The process chart of LDP module when the LDP neighbours that Fig. 3 provides for the embodiment of the invention send label mapping message to the LDP of network switching equipment module;
The process chart of LDP module when receiving that Installed System Memory enters the announcement of removing alarm status that Fig. 4 provides for the embodiment of the invention;
The structural representation of the internal storage warning processing unit that Fig. 5 provides for the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of processing method, device and the network equipment of a kind of internal storage warning provided by the invention is described in detail.
The processing method of a kind of internal storage warning that the embodiment of the invention provides, when the LDP module in the network switching equipment receives this network switching equipment Installed System Memory when entering the announcement of alarm status, the LDP module does not adopt processing method of the prior art, but the forwarding that keeps multiprotocol label switching MPLS business on the current existing label switching path LSP stops to generate new LSP.
According to above-mentioned processing method of the present invention, it is constant that the LDP module can maintain current memory consumption, and can not increase new memory consumption burden again, simultaneously, can also make existing lsp tunnel keep the forwarding of MPLS business, alleviate of the influence of Installed System Memory alarm condition to a certain extent the MPLS business.
The processing method of the internal storage warning that the embodiment of the invention provides is described with a preferable instantiation below.
In this example, the LDP module of the network switching equipment is receiving this network switching equipment Installed System Memory when entering the announcement of alarm status, and this LDP module is announced according to this, and self current state is set to the internal storage warning state.
In practice, the inventor finds, when Installed System Memory enters alarm status, the emphasis that causes new memory consumption mainly is present in to LDP neighbours and distributes label mapping message, handles label mapping message that LDP neighbours send etc. and set up on the handling process of new lsp tunnel, therefore, in order to solve the processing method of the network switching equipment when entering the Installed System Memory alarm status in the prior art, can cause the disabled problem of all MPLS label forwarding service disconnection, preferably, need be under the state of internal storage warning in the LDP module, improve relevant handling process.
Therefore, in this example,, as shown in Figure 2, comprise the steps: when the Routing Protocol module of the network switching equipment during to LDP module announcement Interior Gateway Protocol IGP route
S201, LDP module receive the Interior Gateway Protocol IGP route of the Routing Protocol module announcement of the network switching equipment;
S202, LDP module are at this IGP routing iinformation of local record;
S203, LDP module are judged the current internal storage warning state that whether is in; If, execution in step S204; If not, carry out S205;
S204, the IGP routing iinformation of record put do not distribute label mapping message sign;
S205, send label mapping message to all LDP neighbours according to prior art.
In the flow process of above-mentioned S201~S205, the IGP routing iinformation of record put do not distribute after the label mapping message sign, can this IGP routing iinformation not generated label mapping message and send to all LDP neighbours, thereby can therefore not generate new LSP as prior art.
When the LDP of network switching equipment module sent label mapping message, as shown in Figure 3, this example comprised the steps: LDP neighbours
S301, LDP module receive the label mapping message that its LDP neighbours send;
S302, judge the current internal storage warning state that whether is in, if, carry out S303, if not, carry out S304;
S303, the routing iinformation corresponding with label information in the described label mapping message of local record put label release message sign, carry out S305 then;
S304, carry out the processing of label mapping message according to prior art.
S305, respond label release message to the LDP neighbours that send label mapping message.
In the flow process of above-mentioned S301~S305, when the LDP module is in the internal storage warning state, not according to the label mapping message of prior art recorder and for example handle under label distribution control model in order upstream to label mapping message that LDP neighbours send label mapping message, but the LDP neighbours that send label mapping message are responded label release message, notify these LDP neighbours to discharge corresponding label.
After the above-mentioned handling process that initiatively sends label mapping message and reception label mapping message is optimized, when LDP is in the internal storage warning state, can not generate new LSP, just can further not cause the consumption of internal memory yet, increase the internal memory burden of system.
When the Installed System Memory consumption of the network switching equipment return to be lower than the internal storage warning line after, Installed System Memory enters the internal storage warning disarm state, correspondingly, in this example, the handling process of LDP module in the network switching equipment when receiving that Installed System Memory enters the announcement of removing alarm status comprises the steps: as shown in Figure 4
S401, LDP module receive this network switching equipment Installed System Memory and enter the announcement of removing alarm status;
The internal storage warning status indicator that S402, the cancellation of LDP module have been provided with; Distinguish execution in step S403 and S404 then;
S403, be equipped with the routing iinformation of not distributing the label mapping message sign, generate label mapping message and also be sent to all LDP neighbours what preserved this locality;
S404, with the routing iinformation that is equipped with the label release message sign that preserve this locality, generate label request message and also be sent to downstream LDP neighbours.
From above-mentioned flow process as can be seen, process is not to distributing the route distribution label mapping message of label mapping message, and the routing iinformation of putting label release message sign regenerated label request message, make the LDP module in the self-recovery soon during in the alarm disarm state of the route mapping message of the routing iinformation of handling during the internal storage warning state of not distributing label mapping message and reception.
Based on same inventive concept, a kind of internal storage warning processing unit also is provided in the embodiment of the invention, because the principle of this device solves problem is similar to aforementioned a kind of internal storage warning processing method, so the enforcement of this device can repeat part and not give unnecessary details referring to the enforcement of method.
A kind of internal storage warning processing unit that the embodiment of the invention provides as shown in Figure 5, comprising: receiving element 501 and Service Processing Unit 502; Wherein:
Receiving element 501 is used for the announcement that the receiving system internal memory enters alarm status;
Service Processing Unit 502 is used for keeping the forwarding of multiprotocol label switching MPLS business on the current existing label switching path LSP, and stopping to generate new LSP receiving Installed System Memory when entering the announcement of alarm status.
The internal storage warning processing unit that the embodiment of the invention provides, as shown in Figure 5, also comprise further: state set unit 503 is used for its current state being set being set to the internal storage warning state when receiving element 501 receiving system internal memories enter the announcement of alarm status.
The Service Processing Unit 502 that the embodiment of the invention provides, when being further used for the Interior Gateway Protocol IGP route when the Routing Protocol module announcement that receives the network switching equipment, at this IGP routing iinformation of local record, and judge the current internal storage warning state that whether is in, if the described IGP routing iinformation that then will write down is put and is not distributed the label mapping message sign.
The Service Processing Unit 502 that the embodiment of the invention provides, be further used for when receiving the label mapping message of LDP neighbours' transmission, judge the current internal storage warning state that whether is in, if, then the routing iinformation corresponding with label information in the described label mapping message of local record put the label release message sign, and responded label release message to these LDP neighbours.
The receiving element 501 that the embodiment of the invention provides also is used for the receiving system internal memory and enters the announcement of removing alarm status;
Service Processing Unit 502 also is used for receiving Installed System Memory when entering the announcement of alarm status at receiving element 501, recovers to carry out the flow process that generates new LSP.
The state set unit 503 that the embodiment of the invention provides also is used for removing announcement according to the internal storage warning state of system advertises, the internal storage warning status indicator that cancellation has been provided with;
Service Processing Unit 502 also is used for when state set unit 503 is cancelled the internal storage warning status indicator that has been provided with, and the routing iinformation of not distributing the label mapping message sign that is equipped with this locality preservation generates label mapping message and also is sent to upstream LDP neighbours; With the routing iinformation that is equipped with the label release message sign that preserve this locality, generate label request message and be sent to downstream LDP neighbours.
The embodiment of the invention also provides a kind of network equipment, includes the above-mentioned internal storage warning device that the embodiment of the invention provides in this network equipment.
A kind of internal storage warning processing method that the embodiment of the invention provides, the device and the network equipment, do not adopt in the prior art when the Installed System Memory alarm occurring, disconnect all LDP neighbours, discharge all routing iinformations, stop the processing mode of the operation of LDP agreement, when the network equipment enters the Installed System Memory alarm status, the LDP module keeps the forwarding of the MPLS business on the current existing LSP, and stop to generate the related procedure of new LSP, make when entering the Installed System Memory state, can keep the forwarding that existing LSP goes up the MPLS business, simultaneously, because the new LSP of regeneration on the basis of existing memory consumption, can not increase the burden of Installed System Memory again.
Further, the internal storage warning processing method that the embodiment of the invention provides, device and the network equipment, when the Installed System Memory alarm status is removed, the routing iinformation of preserving of not distributing label information is regenerated label mapping message and distribution, the routing iinformation of the response label release message preserved is regenerated label request message be sent to LDP neighbours, can recover corresponding handling process soon when making route mapping message in the routing iinformation of handling during the internal storage warning state of not distributing label mapping message and reception in the alarm disarm state.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (13)

1. the processing method of an internal storage warning is characterized in that, comprising:
When the tag distribution protocol LDP module in the network switching equipment receives this network switching equipment Installed System Memory when entering the announcement of alarm status, described LDP module keeps the forwarding of multiprotocol label switching MPLS business on the current existing label switching path LSP, and stops to generate new LSP.
2. the method for claim 1 is characterized in that, the LDP module receives this network switching equipment Installed System Memory when entering the announcement of alarm status, also comprises:
LDP module in the described network switching equipment is according to the announcement of Installed System Memory alarm status, and its current state is set to the internal storage warning state.
3. method as claimed in claim 2 is characterized in that, when the Installed System Memory of the described network switching equipment entered alarm status, described LDP module stopped to generate new LSP, comprising:
When the LDP module receives the Interior Gateway Protocol IGP route of Routing Protocol module announcement of the described network switching equipment, described LDP module is at this IGP routing iinformation of local record, and judge the current internal storage warning state that whether is in, if the described IGP routing iinformation that then will write down is put and is not distributed the label mapping message sign.
4. method as claimed in claim 2 is characterized in that, when the Installed System Memory of the described network switching equipment entered alarm status, described LDP module stopped to generate new LSP, comprising:
When the LDP module receives the label mapping message of its LDP neighbours' transmission, judge the current internal storage warning state that whether is in, if, then the routing iinformation corresponding with label information in the described label mapping message of local record put the label release message sign, and responded label release message to described LDP neighbours.
5. method as claimed in claim 2 is characterized in that, also comprises:
When described LDP module receives this network switching equipment Installed System Memory when entering the announcement of removing alarm status, the flow process that generates new LSP is carried out in described LDP module recovery.
6. method as claimed in claim 5 is characterized in that, the flow process that generates new LSP is carried out in the LDP module recovery, comprising:
Described LDP module is removed announcement according to the internal storage warning state of system advertises, the internal storage warning status indicator that cancellation has been provided with;
The routing iinformation of not distributing the label mapping message sign that is equipped with this locality preservation generates label mapping message and also is sent to LDP neighbours;
With the routing iinformation that is equipped with the label release message sign that preserve this locality, generate label request message and be sent to downstream LDP neighbours.
7. an internal storage warning processing unit is characterized in that, comprising:
Receiving element is used for the announcement that the receiving system internal memory enters alarm status;
Service Processing Unit is used for keeping the forwarding of multiprotocol label switching MPLS business on the current existing label switching path LSP, and stopping to generate new LSP receiving Installed System Memory when entering the announcement of alarm status.
8. device as claimed in claim 7 is characterized in that, also comprises:
State set unit is used for when described receiving element receiving system internal memory enters the announcement of alarm status, and it is the internal storage warning state that its current state is set.
9. device as claimed in claim 8, it is characterized in that, described Service Processing Unit, when being further used for the Interior Gateway Protocol IGP route when the Routing Protocol module announcement that receives the described network switching equipment, at this IGP routing iinformation of local record, and judge the current internal storage warning state that whether is in, if the described IGP routing iinformation that then will write down is put and is not distributed the label mapping message sign.
10. device as claimed in claim 8, it is characterized in that, described Service Processing Unit, be further used for when receiving the label mapping message of LDP neighbours' transmission, judge the current internal storage warning state that whether is in, if then the routing iinformation corresponding with label information in the described label mapping message of local record put the label release message sign, and responded label release message to these LDP neighbours.
11. device as claimed in claim 8 is characterized in that, described receiving element also is used for the receiving system internal memory and enters the announcement of removing alarm status;
Described Service Processing Unit also is used for receiving Installed System Memory when entering the announcement of alarm status at described receiving element, recovers to carry out the flow process that generates new LSP.
12. device as claimed in claim 11 is characterized in that, described state set unit also is used for removing announcement according to the internal storage warning state of system advertises, the internal storage warning status indicator that cancellation has been provided with;
Described Service Processing Unit also is used for when described state set unit is cancelled the internal storage warning status indicator that has been provided with, and the routing iinformation of not distributing the label mapping message sign that is equipped with this locality preservation generates label mapping message and also is sent to LDP neighbours; With the routing iinformation that is equipped with the label release message sign that preserve this locality, generate label request message and be sent to downstream LDP neighbours.
13. a network equipment is characterized in that, comprises as claim 7 to each described internal storage warning processing unit of claim 12.
CN2009102059704A 2009-11-30 2009-11-30 Method, device and network device for processing memory alarm and network device Active CN101764719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102059704A CN101764719B (en) 2009-11-30 2009-11-30 Method, device and network device for processing memory alarm and network device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102059704A CN101764719B (en) 2009-11-30 2009-11-30 Method, device and network device for processing memory alarm and network device

Publications (2)

Publication Number Publication Date
CN101764719A true CN101764719A (en) 2010-06-30
CN101764719B CN101764719B (en) 2012-06-27

Family

ID=42495715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102059704A Active CN101764719B (en) 2009-11-30 2009-11-30 Method, device and network device for processing memory alarm and network device

Country Status (1)

Country Link
CN (1) CN101764719B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103457779A (en) * 2013-09-10 2013-12-18 杭州华三通信技术有限公司 Method and device for path switching according to memory alarms

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8185615B1 (en) * 2000-11-28 2012-05-22 Verizon Business Global Llc Message, control and reporting interface for a distributed network access system
CN100490397C (en) * 2007-02-14 2009-05-20 华为技术有限公司 Alarm processing method and alarming system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103457779A (en) * 2013-09-10 2013-12-18 杭州华三通信技术有限公司 Method and device for path switching according to memory alarms

Also Published As

Publication number Publication date
CN101764719B (en) 2012-06-27

Similar Documents

Publication Publication Date Title
CN101558609B (en) Method, device and system for ring protection
US8027247B2 (en) Method and router for controlling graceful restart status
CN102769568B (en) A kind of flow forwarding method based on virtual switch cluster and system
CN103825817B (en) Routing Protocol restarts the implementation method uninterruptedly routeing afterwards and device
CN101399737A (en) Protection method and apparatus used for link convergence group of loop Ethernet
CN105471610B (en) Method and device for protecting HQoS (high-quality QoS) by using multiple board cards
CN102752093B (en) Based on the data processing method of distributed file system, equipment and system
CN101232428A (en) Ethernet loop protection method and apparatus
CN101917290A (en) method, device and network equipment for processing label transmitting path fault as well as network equipment
CN102088415A (en) Method and device for MAC (media access control) address withdrawal
CN101227399A (en) Message transmission method, system and forwarding node
CN103354521A (en) LDP-based optimization method and device for LSP update
CN102609327A (en) Method and device for improving reliability of multi-core processor
CN103297338B (en) A kind of VPN route advertising method and equipment
CN102143011B (en) Device and method for realizing network protection
CN102857362A (en) Fault processing method, device and system
CN104252221B (en) A kind of data-updating method and processor and system
CN102857399B (en) MAC address deleting method, device and system of VPLS dual homing network
CN101764719B (en) Method, device and network device for processing memory alarm and network device
CN103001872B (en) A kind of label distribution method and polymerization unit
CN101552729B (en) Method for preventing label switch path oscillating and interim label switching router
CN102904816A (en) Service traffic protection method and device
CN101702684B (en) Method for realizing to refresh Ethernet ring network forwarding database and device
CN102104489A (en) Method, device and system for protecting communication link
CN102868616B (en) Method for establishing virtual MAC (Media Access Control) address table item in network as well as router and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: BEIJING Z-GOOD TECHNOLOGY SERVICE CO., LTD.

Free format text: FORMER OWNER: FUJIAN XINGWANGRUIJIE NETWORK CO., LTD.

Effective date: 20141127

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 350002 FUZHOU, FUJIAN PROVINCE TO: 100085 HAIDIAN, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20141127

Address after: 100085 Beijing city Haidian District No. 33 Xiaoying Road 1 1F06 room

Patentee after: BEIJING ZHIGU TECHNOLOGY SERVICES CO., LTD.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park building 19#

Patentee before: Fujian Xingwangruijie Network Co., Ltd.

EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20100630

Assignee: Fujian Xingwangruijie Network Co., Ltd.

Assignor: BEIJING ZHIGU TECHNOLOGY SERVICES CO., LTD.

Contract record no.: 2015990000030

Denomination of invention: Method, device and network device for processing memory alarm and network device

Granted publication date: 20120627

License type: Common License

Record date: 20150116

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model