CN101296239B - Method for refreshing label exchange route and label exchange router - Google Patents

Method for refreshing label exchange route and label exchange router Download PDF

Info

Publication number
CN101296239B
CN101296239B CN200810115210XA CN200810115210A CN101296239B CN 101296239 B CN101296239 B CN 101296239B CN 200810115210X A CN200810115210X A CN 200810115210XA CN 200810115210 A CN200810115210 A CN 200810115210A CN 101296239 B CN101296239 B CN 101296239B
Authority
CN
China
Prior art keywords
router
label
forwarding
label binding
restart
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
CN200810115210XA
Other languages
Chinese (zh)
Other versions
CN101296239A (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 CN200810115210XA priority Critical patent/CN101296239B/en
Publication of CN101296239A publication Critical patent/CN101296239A/en
Application granted granted Critical
Publication of CN101296239B publication Critical patent/CN101296239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for refreshing label switch paths and a label switch router. The method of the invention comprises: a reset router receives the label allotted before the resetting of the reset router and sent by an upstream router; the reset router establishes label binding relationship on a control surface and establishes a forwarding table entry on a forwarding surface according to the forwarding equivalence class (FEC) corresponding to the label; the reset router transmits label mapping messages carrying the label binding relationship to the upstream router. The technical scheme provided by the invention causes the reset router to be independent of the forwarding information stored on the forwarding surface to extract the required label and can effectively solve the problem of reestablishment of LSP caused by being unable to extract the label from the forwarding information.

Description

The method of refreshing label exchange route and LSR
Technical field
The present invention relates to the smooth restarting technology, refer to a kind of method and LSR of restarting the router refreshing label exchange route especially.
Background technology
Smooth restarting (GR, Graceful Restart) is that a kind of data forwarding that guarantees when agreement is restarted is normally carried out, and guarantees professional unbroken technology.The core of GR mechanism is: when certain equipment carries out agreement when restarting, neighborhood and the route that can notify its peripheral equipment will arrive this equipment within a certain period of time keep stable.Agreement restart finish after, peripheral equipment assists it to carry out information synchronization, the state before in the as far as possible short time, this equipment being returned to restart, whole system can be transmitted data incessantly.
Disposed the equipment of GR attribute, be referred to as " possessing the GR ability ", promptly this equipment can be realized GR when Routing Protocol is restarted.GR is restarted router (Restarter), is meant by the keeper or because fault triggers to carry out the router that the GR ability is restarted, possessed to agreement.GR Helper is the neighbor device that GR is restarted router, can assist the GR of restarting to restart the stable of router maintenance routing relation.GRRestarter and GR Helper carry out information interaction in the agreement restarting process by the GR session (Session) of setting up.
At present, support the multiprotocol label switching (mpls) agreement of GR to comprise: tag distribution protocol (LDP) and resource reservation protocol (rsvp).When the GR technology is applied to LDP, mainly comprise two critical workflows, LDP session reconstruction and label switched path (LSP) refreshes.In the process that LSP refreshes, the downstream router of LSP needs the label binding relation of this LSP of router transmission upstream self distribution, and upstream router is set up LSP according to the label binding relation of receiving, the uninterrupted forwarding of realization message.Upstream router as described herein has the GR ability equally, and for restarting the GR Helper of router, both keep the stable of routing relation by GR.Downstream router is that forwarding equivalence class (FEC, Forwarding Equivalence Class) distributing labels sends to upstream router, and the corresponding relation of this FEC and label is exactly the label binding relation.The downstream router distributed labels for going into label, is outgoing label to upstream router for downstream router.
In refresh process, because restarting of equipment is stored in the label binding of restarting the router chain of command originally and concerns and will disappear.At this moment, restart FEC original distributed labels of extraction from the forwarding information that forwarding face is preserved that router will corresponding currently not be assigned with label, constitute the label binding relation, send to upstream router.Since the label binding that sends relation with restart before identical, therefore the LSP of foundation also is with original identical.
But, can't from forwarding information, extract original distributed labels when restarting router, perhaps restart router owing to restart when having lost the forwarding information of forwarding face preservation label can't be obtained, restart router and will distribute new label for FEC, set up new label binding relation, send to upstream router.So, not just restart router and upstream router, whole piece LSP successive router all needs to regenerate the label binding relation, and the LSP convergence time is also long under the long situation in LSP path, has strengthened time-delay.Simultaneously, because old label also discharges by aging, therefore if distribute new label, just requiring the device label capacity is 2 times of LSP quantity at least, otherwise will cause LSP to generate because number of labels is not enough.
Therefore, when the upstream router of restarting router does not change with respect to before restarting, keeping original neighborhood, if can't extract distributed labels this moment from the forwarding information of original preservation, will redistribute label and rebuild LSP owing to needs, will waste system resource greatly like this, be unfavorable for refreshing fast and effectively LSP, realize that the free of discontinuities of message is transmitted.
Summary of the invention
In view of this, the invention provides the method and the LSR of restarting the router refreshing label exchange route, use method provided by the present invention and can guarantee when the neighborhood of restarting router and upstream router does not change, can recover LSP fast and effectively.
A kind of method of restarting the router refreshing label exchange route,
What restart that router receives that upstream router sends describedly restarts router distributed labels binding relationship before restarting;
Describedly restart router and set up the label binding relation, set up forwarding-table item at chain of command at forwarding face according to the corresponding forwarding equivalence class FEC of described label binding relation; Wherein, setting up label binding relation at chain of command comprises: describedly restart router and will be saved to chain of command from the label binding relation that described upstream router is received;
Described restart router upstream router send label mapping message, carry the label binding relation of described foundation.
A kind of LSR is applied to restart in the smooth restarting router, and this label router comprises acquiring unit, control unit and performance element;
Described acquiring unit is used to receive the distributed labels binding relationship before restarting certainly that upstream router sends;
Described control unit, the label binding pass that is used for receiving according to described acquiring unit ties up to chain of command and sets up the label binding relation, sets up forwarding-table item at forwarding face; Wherein, the label binding of receiving according to described acquiring unit of described control unit is closed and tied up to chain of command and set up the label binding relation and comprise: the label binding relation that described control unit is received described acquiring unit is saved to chain of command;
Described performance element, the label binding relation that is used for described control unit is set up is sent to upstream router.
A kind of LSR is applied to the neighbor device in the smooth restarting, it is characterized in that, this LSR comprises Transmit-Receive Unit and processing unit;
Described processing unit is used to search to such an extent that restart the label binding relation that router sends to the downstream before restarting;
Described Transmit-Receive Unit is used to send described processing unit and searches the label binding relation that obtains.
Provided by the present inventionly restart router refreshing label exchange route and LSR, send and to restart the router distributed labels before restarting to restarting router by upstream router, restart router and set up the label binding relation, set up forwarding-table item at chain of command at forwarding face according to the forwarding equivalence class FEC of label correspondence; And upstream router sends label mapping message, carries described label binding relation.Technical scheme provided by the present invention, make the forwarding information of restarting router and no longer needing to rely on forwarding face to preserve extract required label, effectively solved and from forwarding information, to have extracted label and not preserve forwarding information, and caused rebuliding the problem of LSP.
Description of drawings
Fig. 1 is the exemplary process diagram of the inventive method;
Fig. 2 is the flow chart of the embodiment of the invention one method;
Fig. 3 is the structure chart of the embodiment of the invention one system;
Fig. 4 is the flow chart of the embodiment of the invention two methods;
Fig. 5 is the structure chart of embodiment of the invention two system.
Embodiment
Restart router and why can be the FEC distributing labels again, be owing to can't extract original distributed labels, and then can't make up label binding relation and corresponding forwarding-table item, realize unremitting forwarding from the forwarding face of self.Yet restarting router can be sent to upstream router with the label binding relation of setting up, and upstream router is not restarted, and can preserve the label binding relation of receiving.Like this, after upstream router is being restarted, still keeping the neighborhood identical, restarting router and just can obtain and restart preceding distributed labels, and then setting up label binding relation and corresponding forwarding-table item from this upstream router with restarting router.
Referring to Fig. 1, Fig. 1 is the exemplary process diagram of the inventive method.This exemplary flow specifically comprises: in step 101, what restart that router receives that upstream router sends describedly restarts router and is restarting preceding distributed labels.In step 102, describedly restart router and set up the label binding relation, set up forwarding-table item at chain of command at forwarding face according to the forwarding equivalence class FEC of described label correspondence.In step 103, described restart router upstream router send label mapping message, carry described label binding relation.
Wherein, restart the mode that router receives the label that upstream router sends and can be, upstream router be being restarted after router sets up the LDP session with described, initiatively sends and restarts the router distributed labels to restarting router.Be specially: describedly restart after router and upstream router set up tag distribution protocol LDP session, upstream router is restarted router and is sent and describedly restart router and restarting preceding distributed labels to described, describedly restarts router and receives described label.Also can be, restart router after setting up the LDP session with upstream router, initiatively upstream the router solicitation upstream router sends self distributed labels.Be specially: describedly restart router after setting up the LDP session, send label request message, be used for self sending to the label of upstream router to described upstream router request to described upstream router with upstream router; Describedly restart router and receive described upstream router and should ask the label that returns.。
Now enumerate embodiment respectively, technical scheme of the present invention is elaborated at these two kinds of execution modes of restarting router reception upstream router transmission label.
Embodiment one
The main upstream router of describing is initiatively to the situation of restarting router transmission label in embodiment one.
Referring to Fig. 2, Fig. 2 is the flow chart of present embodiment method.Specifically comprise:
In step 201, restart after router restarts, set up the LDP session with upstream router.From then on, restarting router can communicate by the LDP session of setting up and upstream router and refresh LSP.
In step 202, from restarting the label binding relation that router is received, send to and restart router before upstream router is searched and obtained restarting carrying the label binding relation of restarting the router distributing labels.
Restart and to set up the LDP session with neighbor device after router is restarted, and, determine to restart the upstream and downstream relation between router and the neighbor device by the routing iinformation that LDP session basis is preserved separately.Router just can concern according to upstream and downstream like this, searches to restart the list item that router sends as self downstream router.
In addition, restart router when restarting, its neighbor device will be searched at the control plane of self and restart router distributed labels binding relationship, and to the aging mark of label binding relationship marking.Therefore, in the technical scheme of present embodiment, upstream router can be searched the label binding relation that has marked aging (stale) sign, wherein label is sent to restart router.
Here, upstream router can send label to restarting router by following message.Expand according to RFC3036, newly-increased LDP type of message, as shown in Table 1.
Figure GSB00000468196500051
Figure GSB00000468196500061
Table one
Message structure is as follows, comprises FEC TLV and Label TLV:
Figure GSB00000468196500062
Wherein, the Label value in the message is for to restart the label that router sends before restarting, and the FEC value is the FEC of this label correspondence.This message that upstream router sends can be described as special tag request (Special Label Request) message.Restart router and can determine to have carried in this message required label according to the type of message of this message.
In step 203, restart the label that router receives that upstream router sends, for the FEC of described label correspondence sets up the label binding relation, sets up forwarding-table item at forwarding face at chain of command.
In the present embodiment, because what upstream router returned is label binding relation, therefore restart router and set up the concrete operations of label binding relation and forwarding-table item and can be: restarting router will be saved to chain of command from the label binding relation that upstream router is received; And when whether having preserved the forwarding-table item corresponding, if then deleting when restarting is the aging sign of forwarding-table item setting with described label binding relation according to the forwarding face that label binding relation is searched self; Otherwise, close the forwarding face that ties up to according to label binding and set up forwarding-table item.
At this moment, because label binding relation of setting up and forwarding-table item all with identical originally, are therefore restarted the LSP before router and upstream router have recovered to restart.
In step 204, restart router router transmission upstream label mapping (mapping) message, wherein carry the label binding relation of foundation.
At this moment, upstream the label binding relation that sends of router was identical with original link owing to restart router, so upstream router just can refresh LSP after receiving this label binding relation, and preceding LSP is restarted in recovery, need not to rebuild LSP.
In concrete the application, to restart after router restarts, the upstream router of restarting before router is restarted might not still keep the neighborhood identical with restarting router after restarting.Therefore, restarting after router sets up the LDP session, can start and restart the tag update timer that is provided with on the router; When the tag update timer arrives the tag update duration,, set up label binding relation and forwarding-table item for the current FEC distributing labels of not setting up the label binding relation; Upstream router sends label mapping message, carries the institute's label binding of setting up relation.Here, tag update duration value can be 2/3 reconnect timer (the FT Reconnect Timeout) time.
In addition, be not outlet LSR when (Egress LSR) when restarting router, can be according to the regulation of agreement, after receiving the label mapping message that downstream router sends, upstream router sends the operation of described label mapping message again.Simultaneously, if after recovery timer (Recovery Timer) is overtime, also do not receive the Mapping message that downstream router sends, then will restart the forwarding-table item deletion that markers is marked with stale.
Referring to Fig. 3, Fig. 3 is the system construction drawing of the embodiment of the invention.At least comprise that in this system restart router and this in the GR process restart the upstream router of router.
Wherein, restart router and comprise acquiring unit, control unit and performance element.Described acquiring unit is used to receive that upstream router sends from restarting preceding distributed labels; Described control unit is used for the label received according to described acquiring unit, sets up the label binding relation, sets up forwarding-table item at forwarding face at chain of command according to the forwarding equivalence class FEC of described label correspondence; Described performance element, the label binding relation that is used for described control unit is set up is sent to upstream router.
Upstream router comprises Transmit-Receive Unit and processing unit.Described processing unit is used to search to such an extent that restart the label that router sends to the downstream before restarting; Described Transmit-Receive Unit is used to send described processing unit and searches the label that obtains.
Concrete, processing unit in the upstream router, restarting after router sets up tag distribution protocol LDP session with the downstream, search before obtaining restarting from described and restart the label binding relation that router is received, send to the described router of restarting by described Transmit-Receive Unit carrying described label binding relation of restarting the router distributing labels.
Accordingly, restart the control unit in the router, what receive at described acquiring unit is to carry the place to restart the label binding of router distributing labels when concerning, will be saved to chain of command from the label binding relation of being received; And when whether having preserved the forwarding-table item corresponding, if then deleting when restarting is the aging sign of described forwarding-table item setting with described label binding relation according to the forwarding face that label binding relation is searched self; Otherwise, close the forwarding face that ties up to according to described label binding and set up forwarding-table item, to set up label binding relation and forwarding-table item.
In addition, in restarting router, control unit can also start the tag update timer further after setting up the LDP session with upstream router; When the tag update timer arrives the tag update duration,, set up label binding relation and forwarding-table item for the current FEC distributing labels of not setting up the label binding relation; Send label mapping message to described upstream router, carry the institute's label binding of setting up relation.
When restarting router not for egress router, performance element after receiving the label mapping message that downstream router sends, is just carried out the operation that described router upstream sends label mapping message.
Here, it should be noted that corresponding different route restarts the upstream router that may there be corresponding different routes in router.No matter restart the corresponding several upstream routers of router, the technical scheme of present embodiment all can be applied in this upstream router.
Embodiment two
The main description restarted the router situation of router solicitation label upstream in embodiment two.
Referring to Fig. 4, Fig. 4 is the flow chart of present embodiment method.Specifically comprise:
In step 401, restart after router restarts, set up the LDP session with upstream router.From then on, restarting router just can communicate by the LDP session of setting up and upstream router and refresh LSP.
In step 402, restart router upstream router send label request message, be used for upstream router solicitation and restart the required label of router.
Restart the current required label of router, the corresponding current FEC that is not assigned with label.Restart router and in label request message, carry the FEC that is not assigned with label.
Restarting router when being egress router, the FEC that is not assigned with label after restarting is meant the FEC that determines according to the route of having set up; Restarting router when being the No Exit router, the FEC that is not assigned with label after restarting is meant the FEC that carries in label mapping (mapping) message that downstream router sends.Preserved at forwarding face under the situation of forwarding information when restarting router, can from forwarding information, extract label earlier, extracted under the unsuccessful situation, at the label request message of router transmission upstream.Certainly, also can be directly upstream router send label request message.
Here, restarting the label request message that router sends can be following form.Expand according to RFC3036, newly-increased LDP type of message, as shown in Table 2.
Figure GSB00000468196500091
Table two
Message structure is as follows, comprises FEC TLV.This message also can become the GR label request message.
Figure GSB00000468196500092
Upstream router can determine that this message is by restarting the label request message that router sends according to the type of message of this message.
In step 403, upstream router is searched the label that obtains this FEC correspondence according to the FEC that carries in the label request message at the chain of command of this equipment, this label is sent to restarts router.
Upstream router can send and to restart router and search the label that obtains to restarting router by following message.Expand according to RFC3036, newly-increased LDP type of message, as shown in Table 3.
Figure GSB00000468196500093
Table three
Message structure is as follows, comprises FEC TLV and Label TLV.
In this message, can also carry and restart the FEC that router sends.Like this, be equivalent to return to restarting router that to restart router be upstream router distributed labels binding relationship.This message can be referred to as GR label mapping (Label Mapping) message.If do not preserve the label corresponding with FEC in the upstream router, then label value is set to full F in the GR label mapping message.Like this, restart router and just can after receiving this GR label mapping message, redistribute label.
In step 404, restart router and receive the label that upstream router returns, set up the label binding relation, set up forwarding-table item at chain of command at forwarding face.
Concrete is operating as: restart router and set up the label binding relation according to the corresponding FEC of the label of receiving at chain of command; And when whether having preserved the forwarding-table item corresponding with this label binding relation according to the forwarding face that this label binding relation is searched self, if exist, then deleting when restarting is the aging sign of described forwarding-table item setting; Otherwise, close the forwarding face that ties up to according to described label binding and set up forwarding-table item.In the present embodiment,, therefore can directly the label binding relation of FEC and corresponding label be saved to the chain of command of self, create the label binding relation owing to carried FEC in the GR label mapping message that upstream router returns.
If restarting the label that carries in the GR label mapping message that router receives is full F, then corresponding again FEC is that upstream router distributes new label, sets up label binding relation and forwarding-table item; Described label binding relation is sent to upstream router.
In step 405, restart router router transmission upstream label mapping (mapping) message, wherein carry the label binding relation of foundation.
At this moment, upstream the label binding relation that sends of router was identical with original link owing to restart router, so upstream router just can refresh LSP after receiving this label binding relation, and preceding LSP is restarted in recovery, need not to rebuild LSP.
In addition, restart router and be not outlet LSR when (Egress LSR), describedly restart router after receiving the label mapping message that downstream router sends, just carry out the operation that router upstream sends described label mapping message when described.Simultaneously, if after recovery timer (Recovery Timer) is overtime, also do not receive the Mapping message that downstream router sends, then will restart the forwarding-table item deletion that markers is marked with stale.
Below, the system of description present embodiment correspondence.The system construction drawing of present embodiment as shown in Figure 5.
Different is, concrete, restarts the acquiring unit in the router, after setting up the LDP session with described upstream router, sends label request message to described upstream router, is used for self sending to described upstream router request the label of upstream router; Receive described upstream router and should ask the label that returns.Acquiring unit carries the FEC that needs distributing labels in the label request message that sends.
Accordingly, the Transmit-Receive Unit in the upstream router receives the downstream and restarts the label request message that router sends, and sends to described processing unit; Described processing unit is searched according to the FEC that carries in the label request message and to be obtained corresponding label, restarts router and returns the label of being asked to described by described Transmit-Receive Unit.
Restart the control unit in the router, according to the label that described acquiring unit is received, corresponding FEC sets up the label binding relation, is saved to chain of command; And when whether having preserved the forwarding-table item corresponding, if then deleting when restarting is the aging sign of described forwarding-table item setting with described label binding relation according to the forwarding face that label binding relation is searched self; Otherwise, close the forwarding face that ties up to according to described label binding and set up forwarding-table item.Return corresponding FEC at upstream router, can directly the label binding relation of FEC and corresponding label be saved to the chain of command of self, created the label binding relation.
In addition, performance element when being not egress router, after receiving the label mapping message that downstream router sends, is carried out the operation that described router upstream sends label mapping message.
Equally, it should be noted that corresponding different route restarts the upstream router that may there be corresponding different routes in router.No matter restart the corresponding several upstream routers of router, the technical scheme of present embodiment all can be applied in this upstream router.
Technical scheme provided by the present invention, before restarting, the router transmission restarts the router distributed labels to restarting by upstream router, make the forwarding information of restarting router and no longer needing to rely on forwarding face to preserve extract required label, effectively solved and from forwarding information, to have extracted label and not preserve forwarding information, and caused rebuliding the problem of LSP.Use technical scheme provided by the present invention, only need restart router and upstream neighbor equipment refreshes LSP, other equipment do not need to refresh again on the path, can effectively shorten the convergence rate when rebuilding LSP, help refreshing fast and effectively LSP, realize that the free of discontinuities of message is transmitted.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (18)

1. a method of restarting the router refreshing label exchange route is characterized in that, this method comprises:
What restart that router receives that upstream router sends describedly restarts router distributed labels binding relationship before restarting;
Describedly restart router and close according to described label binding and tie up to chain of command and set up the label binding relation, set up forwarding-table item at forwarding face; Wherein, setting up label binding relation at chain of command comprises: describedly restart router and will be saved to chain of command from the label binding relation that described upstream router is received;
Described restart router upstream router send label mapping message, carry the label binding relation of described foundation.
2. method according to claim 1 is characterized in that, described restart that router receives that upstream router sends described restarted router distributed labels binding relationship before restarting and comprise:
Describedly restart after router and upstream router set up tag distribution protocol LDP session, upstream router to described restart router send described restart router restarting before the distributed labels binding relationship, describedly restart router and receive described label binding and concern.
3. method according to claim 2 is characterized in that, described upstream router to described restart router send described restart router restarting before the distributed labels binding relationship comprise:
Restart the label binding relation that router is received from described before described upstream router is searched and obtained restarting, the label binding relation that finds is sent to the described router of restarting.
4. method according to claim 3 is characterized in that, describedly restarts router and sets up forwarding-table item at forwarding face and comprise:
Search the forwarding face of self according to the label binding relation and whether preserved and the corresponding forwarding-table item of described label binding relation, if then deleting when restarting is the aging sign that described forwarding-table item is provided with; Otherwise, close the forwarding face that ties up to according to described label binding and set up forwarding-table item.
5. according to the described method of arbitrary claim in the claim 1 to 4, it is characterized in that this method further comprises:
Describedly restart router after setting up the LDP session, start the tag update timer with upstream router; When the tag update timer arrives the tag update duration,, set up label binding relation and forwarding-table item for the current forwarding equivalence class FEC distributing labels of not setting up the label binding relation; Send label mapping message to described upstream router, carry the institute's label binding of setting up relation.
6. method according to claim 1 is characterized in that, described restart that router receives that upstream router sends described restarted router distributed labels binding relationship before restarting and comprise:
Describedly restart router after setting up the LDP session, send label request message, be used for self sending to the label binding relation of upstream router to described upstream router request to described upstream router with upstream router;
Describedly restart router and receive the label binding relation that described upstream router should ask to return.
7. method according to claim 6 is characterized in that,
Describedly restart router and send label request message to described upstream router and comprise: describedly restart router and send label request message to described upstream router, described label request message carries the FEC of label correspondence;
Describedly restart router and receive the label binding relation that described upstream router returns and comprise: describedly restart router and receive described upstream router and search the label binding relation that obtains according to described FEC.
8. according to claim 6 or 7 described methods, it is characterized in that, describedly restart router and set up forwarding-table item at forwarding face and comprise:
Search the forwarding face of self according to the label binding relation and whether preserved and the corresponding forwarding-table item of described label binding relation, if then deleting when restarting is the aging sign that described forwarding-table item is provided with; Otherwise, close the forwarding face that ties up to according to described label binding and set up forwarding-table item.
9. according to claim 1,2,3,4,6 or 7 described methods, it is characterized in that,
Restart router when the egress router when described, describedly restart router after receiving the label mapping message that downstream router sends, carries out the operation of the described transmission of router upstream label mapping message.
10. a LSR is characterized in that, is applied to restart in the smooth restarting router, and this label router comprises acquiring unit, control unit and performance element;
Described acquiring unit is used to receive the distributed labels binding relationship before restarting certainly that upstream router sends;
Described control unit, the label binding pass that is used for receiving according to described acquiring unit ties up to chain of command and sets up the label binding relation, sets up forwarding-table item at forwarding face; Wherein, the label binding of receiving according to described acquiring unit of described control unit is closed and tied up to chain of command and set up the label binding relation and comprise: the label binding relation that described control unit is received described acquiring unit is saved to chain of command;
Described performance element, the label binding relation that is used for described control unit is set up is sent to upstream router.
11. LSR according to claim 10 is characterized in that,
Described control unit, what receive at described acquiring unit is to carry the place when restarting router distributed labels binding relationship, will be saved to chain of command from the label binding relation of being received; And when whether having preserved the forwarding-table item corresponding, if then deleting when restarting is the aging sign of described forwarding-table item setting with described label binding relation according to the forwarding face that label binding relation is searched self; Otherwise, close the forwarding face that ties up to according to described label binding and set up forwarding-table item, to set up label binding relation and forwarding-table item.
12. according to claim 10 or 11 described LSRs, it is characterized in that,
Described control unit further after setting up tag distribution protocol LDP session with upstream router, starts the tag update timer; When the tag update timer arrives the tag update duration,, set up label binding relation and forwarding-table item for the current forwarding equivalence class FEC distributing labels of not setting up the label binding relation; Send label mapping message to described upstream router, carry the institute's label binding of setting up relation.
13. LSR according to claim 10 is characterized in that,
Described acquiring unit after setting up the LDP session with described upstream router, sends label request message to described upstream router, is used for self sending to described upstream router request the label binding relation of upstream router; Receive the label binding relation that described upstream router should ask to return.
14. LSR according to claim 13 is characterized in that,
Described control unit is when concerning according to label binding whether the forwarding face of searching self has preserved the forwarding-table item corresponding with described label binding relation, if then deleting when restarting is the aging sign that described forwarding-table item is provided with; Otherwise, close the forwarding face that ties up to according to described label binding and set up forwarding-table item.
15. according to claim 10,11,13 or 14 described LSRs, it is characterized in that,
Described performance element when being not egress router, after receiving the label mapping message that downstream router sends, is carried out the operation that described router upstream sends label mapping message.
16. a LSR is characterized in that, is applied to the neighbor device in the smooth restarting, it is characterized in that, this LSR comprises Transmit-Receive Unit and processing unit;
Described processing unit is used to search to such an extent that restart the label binding relation that router sends to the downstream before restarting;
Described Transmit-Receive Unit is used to send described processing unit and searches the label binding relation that obtains.
17. LSR according to claim 16 is characterized in that,
Described processing unit, restarting after router sets up tag distribution protocol LDP session with the downstream, search before obtaining restarting from described and restart the label binding relation that router is received, described label binding relation is sent to the described router of restarting by described Transmit-Receive Unit.
18. LSR according to claim 16 is characterized in that,
Described Transmit-Receive Unit receives the downstream and restarts the label request message that router sends, and sends to described processing unit;
Described processing unit is searched the corresponding label binding relation that obtains according to the forwarding equivalence class FEC that carries in the label request message, restarts router and returns the label binding relation of being asked to described by described Transmit-Receive Unit.
CN200810115210XA 2008-06-18 2008-06-18 Method for refreshing label exchange route and label exchange router Active CN101296239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810115210XA CN101296239B (en) 2008-06-18 2008-06-18 Method for refreshing label exchange route and label exchange router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810115210XA CN101296239B (en) 2008-06-18 2008-06-18 Method for refreshing label exchange route and label exchange router

Publications (2)

Publication Number Publication Date
CN101296239A CN101296239A (en) 2008-10-29
CN101296239B true CN101296239B (en) 2011-10-26

Family

ID=40066251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810115210XA Active CN101296239B (en) 2008-06-18 2008-06-18 Method for refreshing label exchange route and label exchange router

Country Status (1)

Country Link
CN (1) CN101296239B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102195870A (en) * 2010-03-01 2011-09-21 中兴通讯股份有限公司 Pseudo wire migrating method and device
CN105634949B (en) * 2014-10-31 2019-01-01 ***通信集团公司 A kind of network tab distribution, device, system and the network equipment
CN105991480A (en) * 2015-02-27 2016-10-05 中兴通讯股份有限公司 Method and device for implementing RSVP-TE protocol message processing
CN107547386B (en) * 2017-06-23 2020-03-06 新华三技术有限公司 Message forwarding method and device
CN108322911A (en) * 2018-01-22 2018-07-24 上海康斐信息技术有限公司 A kind of wireless network control system and method
CN108696439A (en) * 2018-05-31 2018-10-23 安徽电信器材贸易工业有限责任公司 A kind of router method for restarting and router
US10680941B2 (en) * 2018-06-13 2020-06-09 Juniper Networks, Inc. Graceful restart procedures for label switched paths with label stacks
CN110191055B (en) * 2019-05-31 2021-11-02 新华三技术有限公司 Label distribution method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040013451A (en) * 2002-08-06 2004-02-14 삼성전자주식회사 method for recovery of CR-LSP in Multi Protocol Label Switching system
CN1801802A (en) * 2004-12-31 2006-07-12 华为技术有限公司 Node restarting method on universal multi protocol label exchange path
CN101047641A (en) * 2006-06-27 2007-10-03 华为技术有限公司 Stationary restart method of CR-LSR
US7359377B1 (en) * 2001-06-19 2008-04-15 Juniper Networks, Inc. Graceful restart for use in nodes employing label switched path signaling protocols

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7359377B1 (en) * 2001-06-19 2008-04-15 Juniper Networks, Inc. Graceful restart for use in nodes employing label switched path signaling protocols
KR20040013451A (en) * 2002-08-06 2004-02-14 삼성전자주식회사 method for recovery of CR-LSP in Multi Protocol Label Switching system
CN1801802A (en) * 2004-12-31 2006-07-12 华为技术有限公司 Node restarting method on universal multi protocol label exchange path
CN101047641A (en) * 2006-06-27 2007-10-03 华为技术有限公司 Stationary restart method of CR-LSR

Also Published As

Publication number Publication date
CN101296239A (en) 2008-10-29

Similar Documents

Publication Publication Date Title
CN101296239B (en) Method for refreshing label exchange route and label exchange router
CN100558055C (en) Reduce the method and the router of continuous duration of error smoothness rebooting status
CN101087207B (en) A processing method for multi-node communication failure
JP4434867B2 (en) MPLS network system and node
CN101459573B (en) Method, router and communication network for router smoothly restarting
CN100583827C (en) Method and equipment for multiple protocol label switching network flow switchover
US7130304B1 (en) Method and apparatus for graceful restart
CN101335695A (en) Head node protection method, apparatus and device for point-to-multipoint label switching path
CN103825817B (en) Routing Protocol restarts the implementation method uninterruptedly routeing afterwards and device
CN102136991B (en) Method and node for configuring tunnel on label switching path
CN101640637B (en) Resource reservation protocol tunnel management method based on flow rate engineering and system thereof
CN101505277B (en) Method, equipment and system for withdrawing from elegant restart
CN103581013A (en) Method and device for achieving non-stop routing of routing protocol
US20130242717A1 (en) Restart method and node device
CN101984600A (en) Graceful restart method, equipment and system of routing protocol
CN101222486B (en) Control method for routing restarting and recovery after node failure in automatic exchange optical network
CN100550840C (en) The steady method for restarting of CR-LSR
CN101123563A (en) A method, device and network for stable restart of multi-hop counterfeit wire
CN101420378B (en) Optimum restart implementing apparatus and method under resource reservation protocol flow engineering
CN101026473B (en) Method and system for realizing uninterrupted flow repeat of route exchange device
CN102546352B (en) A kind of method and system realizing point-to-multipoint label switch paths protection
CN102571616A (en) Methods for combining and separating tunnels, tunnel association device and router
CA2572940A1 (en) System and method for preserving multicast data forwarding during control failures in a router
CN101453414B (en) Head node protection method, system and equipment for point to multiple points label switch path
CN102055662A (en) Method and device for determining preset routing

Legal Events

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

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

Patentee after: Xinhua three Technology Co., Ltd.

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

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address