CN101645768A - Router and main/standby switch method thereof - Google Patents

Router and main/standby switch method thereof Download PDF

Info

Publication number
CN101645768A
CN101645768A CN 200910169909 CN200910169909A CN101645768A CN 101645768 A CN101645768 A CN 101645768A CN 200910169909 CN200910169909 CN 200910169909 CN 200910169909 A CN200910169909 A CN 200910169909A CN 101645768 A CN101645768 A CN 101645768A
Authority
CN
China
Prior art keywords
router
mode
nsf
starting mode
starting
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
CN 200910169909
Other languages
Chinese (zh)
Other versions
CN101645768B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN 200910169909 priority Critical patent/CN101645768B/en
Publication of CN101645768A publication Critical patent/CN101645768A/en
Application granted granted Critical
Publication of CN101645768B publication Critical patent/CN101645768B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a router and a main/standby switch method thereof, relating to the data network communication field. The main/standby switch method of the invention comprises the following steps: allocating non-stop forwarding (NSF) starting mode in an intermediate system-intermediate system (IS-IS) example running in the router, while the NSF starting mode is graceful restart (GR) and/ora non-stop routing (NSR) mode; and starting the IS-IS example according to the NSF starting mode of the IS-IS example when the router performs main/standby switch. The technical scheme of the invention not only can realize flexibility of user allocation, but also enable a device to choose the optimal starting mode according to user allocation and device running state to realize non-stop forwardingof flow as far as possible and have higher intelligence capacity and reliability in the process of main/standby switch of the router.

Description

A kind of router and main thereof
Technical field
The present invention relates to data network communication field, relate in particular to a kind of router and main thereof.
Background technology
NSF (Non-Stop Forwarding; uninterrupted forwarding) be a kind of scheme that improves network operation reliability, it can guarantee that forwarding plane is unaffected when the Equipment Control aspect goes wrong; data forwarding can not interrupted, thereby the key business on the protection equipment is unaffected.Generally, for the consideration of reliability, hardware generally adopts the method for master-slave redundancy backup to realize the NSF technology to telecom carrier-class device, and control plane separates with Forwarding plane usually.After breaking down in the master control plane, needing only this fault does not influence Forwarding plane, just can have mechanism to guarantee that Forwarding plane is unaffected, and after being equipped with the control of control plane adapter to system by the time, this fault can be resumed.Like this, when equipment breaks down, can't have influence on user's business.Thereby improved the reliability of the network operation.
At present, realize NSF, have following two kinds of mature technique available.
One, GR (graceful-restart, Graceful Restart) mode
GR is the expansion to former protocols having.After the control plane of equipment begins to switch, start in case be equipped with control plane, agreement notifies its control plane of neighbor device to restart this fact at once, and the request neighbor device helps it to finish level and smooth reversed process.Simultaneously, the Forwarding plane of equipment still uses original transmitting, and for Forwarding plane, its flow forwarding capability can not be affected like this.After neighbor device knows that the equipment that adjacency is arranged begins to switch, maintain the neighborhood between two equipment and notify switching equipment the network description information known to own again, like this for switching equipment, before and after switching, its description situation or perhaps cognitive situation for network is consistent.Collect the descriptor of network fully when switching equipment after, can recomputate route according to these information, renewal is transmitted, and thinks and smoothly switch end.At this moment, can replace the control of original main adapter system fully.Like this, before and after smoothly switching, the routing condition that calculation of equipments goes out is without any variation.Thereby can any influence not arranged to service traffics.For the switching equipment neighbours, because it has maintained the neighborhood between two equipment, so route does not have any variation yet on it.
But the shortcoming of GR mode is, requires network to have an other equipment at least, finish GR with the equipment that helps masterslave switchover, and two equipment all needs to support the GR function; The service of connection devices can't be real affirmation GR equipment whether recovered forwarding of flow really; And the service of connection devices must be to GR equipment feedback network topology information, and this process may be long, if network topology changes in this process, perhaps routing condition changes in the network, then can produce flow black hole or traffic loops; In addition, if the service of connection devices had also lost efficacy, then the GR mode does not just have any effect; At last, behind the masterslave switchover, slave board starts needs the regular hour, after equipment GR begins, if neighbours fall short of the retention time, then when slave board is not also started working, its syntople has just disconnected, and therefore need determine neighbours' retention time according to the applied environment difference to the GR mode.
Two, NSR (Non-Stop Routing, non-interruption route) mode
The NSR mode is relatively independent mode, need not to carry out the mutual of information between two routers, the thinking of this mode is: slave board just maintained protocol data and the relevant information on the mainboard before mainboard is switched, these data and information comprise: the Routing Protocol example, interface, neighbours and Link State descriptor, after mainboard is switched, slave board is taken over mainboard at once and is started working, and enter the NSR mode, in this manner, it is constant at first to keep local device to transmit, and guarantees that service traffics are unaffected, and secondly the syntople of maintenance and neighbor router is constant, thereby guarantee that neighbor router can not detect local device and switch this fact, and then guarantee that the neighbor router routing condition is constant.Once more, switch preceding agreement run time behaviour according to network description information that writes down before and relevant configuration information restorer, and calculate route, renewal is transmitted.At this moment, slave board can replace the control of original main adapter system.Because slave board is the recovery of running status before mainboard is switched, therefore the route that calculates this moment is consistent with switching preceding routing condition.Switch the end back like this service traffics are not just had any influence.
Also there is shortcoming in the NSR mode, and this mode needs slave board also to move the ISIS agreement, has increased complexity.But, as seen from the above, the NSR mode is compared with the GR mode, still has some following advantages.
The NSR mode does not need the help of miscellaneous equipment, and self just can realize NSF.Because the NSR mode before masterslave switchover, has been preserved needed all information of agreement operation on the slave board, therefore, slave board replaces mainboard, toggle speed is faster, has solved because start-up time is slow, and adjacent device is owing to can not receive the problem of hello packet neighbours chain rupture for a long time.Simultaneously, because toggle speed is very fast, the NSR mode can be handled the variation of the network information very first time, so flow black hole or traffic loops can not occur in the NSR start-up course.In addition, because GR is expansion to former protocols having, special RFC is arranged, the user disposes IS-IS GR, need to understand related protocol, and NSR does not have related protocol, so the NSR mode dispose simpler, also more transparent to the user.
From as can be seen last, all there are certain pros and cons in two kinds of implementations that the NSF technology is adopted, therefore, need to propose a kind of router masterslave switchover scheme, transmit unbroken reliability to guarantee flow.
Summary of the invention
Technical problem to be solved by this invention is, a kind of router and main thereof are provided, thereby in router masterslave switchover process, realize that the nothing of Intermediate System-to-Intermediate System (Intermediate-system to Intermediate-system) Routing Protocol interrupts transmitting.
In order to address the above problem, the invention discloses a kind of router main, comprising:
Intermediate system-the intermediate system that moves in the router (IS-IS) exemplary configuration uninterrupted forwarding (NSF) Starting mode, described NSF Starting mode are Graceful Restart (GR) and/or non-interruption route (NSR) mode;
When described router masterslave switchover,, start described IS-IS example according to the NSF Starting mode of described IS-IS example.
Further, in the said method,, when described router masterslave switchover, preferentially start described IS-IS example according to the NSR mode if the NSF Starting mode of IS-IS example is GR and NSR mode in the described router.
Wherein, when described router starts described IS-IS example according to the NSR mode,, then start described IS-IS example according to the GR mode if start failure.
When in the described router during a plurality of IS-IS example of operation, for each IS-IS example disposes the NSF Starting mode respectively.
Described router is according to the NSF Starting mode of described IS-IS example, when starting described IS-IS example, if start failure, then reloads the Intermediate System to Intermediate System configuration, restarts described ISIS example.
The invention also discloses a kind of router, comprise dispensing unit and processing unit, wherein:
Described dispensing unit is used to intermediate system-intermediate system (IS-IS) exemplary configuration uninterrupted forwarding (NSF) Starting mode of moving in the router, and described NSF Starting mode is Graceful Restart (GR) and/or non-interruption route (NSR) mode;
Described processing unit when described router masterslave switchover, reads the NSF Starting mode of IS-IS example in the described dispensing unit, and starts described IS-IS example according to the NSF Starting mode that is read.
Further, in the above-mentioned router, described dispensing unit is for the NSF Starting mode of IS-IS exemplary configuration in the described router is GR and NSR mode;
Described processing unit when described router masterslave switchover, reads the NSF Starting mode of IS-IS example in the described dispensing unit, preferentially starts described IS-IS example according to the NSR mode.
Wherein, described processing unit when starting described IS-IS example according to the NSR mode, if start failure, then starts described IS-IS example according to the GR mode.
When in the described router during a plurality of IS-IS example of operation, described dispensing unit is for each IS-IS example disposes the NSF Starting mode respectively.
Described processing unit according to the NSF Starting mode of the IS-IS example that is read, when starting described IS-IS example, if start failure, then reloads the Intermediate System to Intermediate System configuration from described dispensing unit, restart described IS-IS example.
Pass through technical solution of the present invention, in router masterslave switchover process, both can realize user configured flexibility, can allow equipment select optimum Starting mode again according to user's configuration and equipment operation condition, the maximum to the greatest extent flow forwarding that may realize is not interrupted, and has higher intelligent and reliability.
Description of drawings
Fig. 1 is the structural representation of router in the present embodiment;
Fig. 2 is the flow chart of router masterslave switchover in the present embodiment;
Fig. 3 is for having disposed the schematic network structure of IS-IS NSF in the present embodiment.
Embodiment
Main design of the present invention is, because GR and NSR mode are to realize two kinds of mature technologies of NSF, and separate between the two, it is not mutually exclusive neither to interdepend yet, and cuts both ways, therefore, in needing the network environment of NSF, the user can these two kinds of Starting mode of flexible configuration, promptly behind the masterslave switchover, router can be selected optimum Starting mode according to prior configuration and equipment operation condition.
Below in conjunction with drawings and the specific embodiments technical solution of the present invention is described in further detail.
A kind of router can realize that the nothing of Intermediate System to Intermediate System interrupts transmitting, and its structure comprises dispensing unit and processing unit as shown in Figure 1.Introduce the function of each unit below.
Dispensing unit is used for according to network environment, is the IS-IS exemplary configuration NSF Starting mode of moving in the router;
Wherein, the NSF Starting mode is GR and/or NSR mode, and when in the router during a plurality of IS-IS example of operation, dispensing unit disposes the NSF Starting mode respectively for each IS-IS example;
Processing unit is used for reading the NSF Starting mode of IS-IS example in the dispensing unit when the router masterslave switchover, and starts the IS-IS example according to the NSF Starting mode that is read;
Wherein, when the NSF of IS-IS example Starting mode was the GR mode, processing unit was restarted the IS-IS example according to the GR mode, if restart failure, restarted IS-IS example (promptly reload the Intermediate System to Intermediate System configuration, restart described ISIS example) according to common mode again;
When the NSF of IS-IS example Starting mode was the NSR mode, processing unit was restarted the IS-IS example according to the NSR mode, if restart failure, restarted the IS-IS example according to common mode again;
When the NSF of IS-IS example Starting mode was GR and NSR mode, processing unit was preferentially restarted the IS-IS example according to the NSR mode, if restart failure, restarted the IS-IS example according to the GR mode again, if restart failure again, restarted the IS-IS example according to common mode again.
Introduce above-mentioned router below and realize the process of masterslave switchover, as shown in Figure 2, may further comprise the steps:
Step 201: the user is configuration of routers NSF Starting mode according to network environment;
In this step, the user can dispose different NSF Starting mode for different IS-IS examples, and promptly the NSF Starting mode can be selected GR or NSR, also can select GR and NSR simultaneously;
For example, in networking shown in Figure 3, router R2 has moved three IS-IS examples, be in the IS-IS example 1, router R2 is with router R1 butt joint, in the IS-IS example 2, router R2 is with router R3 butt joint, in the IS-IS example 3, router R2 does not have adjacent device, in these three IS-IS examples, the user can be according to the different NSF Starting mode of networking demand configuration, for example, because the reliability requirement of IS-IS example 1 than higher, just disposes GR and NSR Starting mode simultaneously; In the IS-IS example 2, reliability is taken second place, and adjacent device R3 support GR, then can only dispose the GR Starting mode; In the IS-IS example 3, do not have adjacent device or reliability requirement not high, then can not dispose the NSF Starting mode.
Step 202: after router carries out masterslave switchover, judge whether Starting mode, if enter step 203, otherwise enter step 205 into IS-IS exemplary configuration NSF;
Step 203 (a): when the NSF Starting mode was configured to NSR, router started according to the NSR mode, and judged whether startup is successful, if, process ends, otherwise enter step 205;
Step 203 (b): when the NSF Starting mode was configured to GR, router started according to the GR mode, and judged whether startup is successful, if, process ends, otherwise enter step 205;
Step 203 (c): when the NSF Starting mode was configured to NSR and GR mode, router elder generation attempted carrying out NSR and starts, and judged whether startup is successful, if, process ends, otherwise enter step 204;
Step 204: carry out GR again and start, and judge whether startup is successful, if, process ends, otherwise enter step 205;
Step 205: router reloads user's Intermediate System to Intermediate System configuration, restarts the IS-IS example, process ends.
From the foregoing description as can be seen, compared with the prior art, technical solution of the present invention has following characteristics:
1) user configured flexibility: the user can be the IS-IS exemplary configuration NSF Starting mode of each operation, and different examples can dispose different NSF Starting mode, and the NSF Starting mode can be selected GR or NSR, also can select GR and NSR simultaneously;
2) behind the masterslave switchover, slave board is selected the intelligent of Starting mode: behind the masterslave switchover, each example of Intermediate System to Intermediate System can be selected optimum separately Starting mode according to user's configuration and equipment operation condition, and flow is transmitted does not interrupt in maximum to the greatest extent may realizing.The Starting mode of slave board Intermediate System to Intermediate System example may be following three kinds: NSR starts, GR starts and common startup, and common startup is meant that equipment reloads the Intermediate System to Intermediate System configuration, restarts the ISIS agreement, the interruption that common startup can cause flow to transmit.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1, a kind of router main is characterized in that, this method comprises:
Intermediate system-the intermediate system that moves in the router (IS-IS) exemplary configuration uninterrupted forwarding (NSF) Starting mode, described NSF Starting mode are Graceful Restart (GR) and/or non-interruption route (NSR) mode;
When described router masterslave switchover,, start described IS-IS example according to the NSF Starting mode of described IS-IS example.
2, the method for claim 1 is characterized in that,
If the NSF Starting mode of IS-IS example is GR and NSR mode in the described router, when described router masterslave switchover, preferentially start described IS-IS example according to the NSR mode.
3, method as claimed in claim 2 is characterized in that,
When described router starts described IS-IS example according to the NSR mode,, then start described IS-IS example according to the GR mode if start failure.
4, as each described method of claim 1 to 3, it is characterized in that,
When in the described router during a plurality of IS-IS example of operation, for each IS-IS example disposes the NSF Starting mode respectively.
5, as each described method of claim 1 to 3, it is characterized in that,
Described router is according to the NSF Starting mode of described IS-IS example, when starting described IS-IS example, if start failure, then reloads the Intermediate System to Intermediate System configuration, restarts described ISIS example.
6, a kind of router is characterized in that, this router comprises dispensing unit and processing unit, wherein:
Described dispensing unit is used to intermediate system-intermediate system (IS-IS) exemplary configuration uninterrupted forwarding (NSF) Starting mode of moving in the router, and described NSF Starting mode is Graceful Restart (GR) and/or non-interruption route (NSR) mode;
Described processing unit when described router masterslave switchover, reads the NSF Starting mode of IS-IS example in the described dispensing unit, and starts described IS-IS example according to the NSF Starting mode that is read.
7, router as claimed in claim 6 is characterized in that,
Described dispensing unit is for the NSF Starting mode of IS-IS exemplary configuration in the described router is GR and NSR mode;
Described processing unit when described router masterslave switchover, reads the NSF Starting mode of IS-IS example in the described dispensing unit, preferentially starts described IS-IS example according to the NSR mode.
8, router as claimed in claim 7 is characterized in that,
Described processing unit when starting described IS-IS example according to the NSR mode, if start failure, then starts described IS-IS example according to the GR mode.
9, as each described router of claim 6 to 8, it is characterized in that,
When in the described router during a plurality of IS-IS example of operation, described dispensing unit is for each IS-IS example disposes the NSF Starting mode respectively.
10, as each described router of claim 6 to 8, it is characterized in that,
Described processing unit according to the NSF Starting mode of the IS-IS example that is read, when starting described IS-IS example, if start failure, then reloads the Intermediate System to Intermediate System configuration from described dispensing unit, restart described IS-IS example.
CN 200910169909 2009-09-08 2009-09-08 Router and main/standby switch method thereof Active CN101645768B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910169909 CN101645768B (en) 2009-09-08 2009-09-08 Router and main/standby switch method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910169909 CN101645768B (en) 2009-09-08 2009-09-08 Router and main/standby switch method thereof

Publications (2)

Publication Number Publication Date
CN101645768A true CN101645768A (en) 2010-02-10
CN101645768B CN101645768B (en) 2013-02-27

Family

ID=41657496

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910169909 Active CN101645768B (en) 2009-09-08 2009-09-08 Router and main/standby switch method thereof

Country Status (1)

Country Link
CN (1) CN101645768B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185718A (en) * 2011-05-12 2011-09-14 杭州华三通信技术有限公司 System upgrading method and device
CN103475518A (en) * 2013-09-06 2013-12-25 杭州华三通信技术有限公司 Method and equipment for realizing IS-IS GR on multi-point fault scenarios
WO2014015744A1 (en) * 2012-07-25 2014-01-30 Hangzhou H3C Technologies Co., Ltd. Non-stop routing of routing protocol
CN106972951A (en) * 2017-02-27 2017-07-21 杭州天宽科技有限公司 A kind of automatic maintenance implementation method based on multiple related function module abnormality detections
CN117395189A (en) * 2023-12-08 2024-01-12 新华三技术有限公司 Routing processing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949767A (en) * 2005-10-11 2007-04-18 华为技术有限公司 Method for switching master-slave back-up route apparatus based on virtual router redundant protocol
US7804769B1 (en) * 2005-12-01 2010-09-28 Juniper Networks, Inc. Non-stop forwarding in a multi-chassis router
CN100391164C (en) * 2005-12-31 2008-05-28 华为技术有限公司 Internal storage warning processing method and route of converting without discontinuous

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185718A (en) * 2011-05-12 2011-09-14 杭州华三通信技术有限公司 System upgrading method and device
WO2014015744A1 (en) * 2012-07-25 2014-01-30 Hangzhou H3C Technologies Co., Ltd. Non-stop routing of routing protocol
CN103581013A (en) * 2012-07-25 2014-02-12 杭州华三通信技术有限公司 Method and device for achieving non-stop routing of routing protocol
CN103581013B (en) * 2012-07-25 2017-02-15 杭州华三通信技术有限公司 Method and device for achieving non-stop routing of routing protocol
CN103475518A (en) * 2013-09-06 2013-12-25 杭州华三通信技术有限公司 Method and equipment for realizing IS-IS GR on multi-point fault scenarios
CN103475518B (en) * 2013-09-06 2017-02-15 杭州华三通信技术有限公司 Method and equipment for realizing IS-IS GR on multi-point fault scenarios
CN106972951A (en) * 2017-02-27 2017-07-21 杭州天宽科技有限公司 A kind of automatic maintenance implementation method based on multiple related function module abnormality detections
CN106972951B (en) * 2017-02-27 2019-11-08 杭州天宽科技有限公司 A kind of automatic maintenance implementation method based on multiple related function module abnormality detections
CN117395189A (en) * 2023-12-08 2024-01-12 新华三技术有限公司 Routing processing method and device

Also Published As

Publication number Publication date
CN101645768B (en) 2013-02-27

Similar Documents

Publication Publication Date Title
CN110912780B (en) High-availability cluster detection method, system and controlled terminal
JP4449903B2 (en) Router device and network connection method
CN102624635B (en) Method and device for realizing graceful restart
CN101170459B (en) Failure detection and link recovery method based on bidirectional forward link
CN100527716C (en) Method and gateway equipment for resuming service after switching status of main/standby gateway device
CN101340369B (en) Method and router for realizing virtual connection supported optimum restart
CN102137017B (en) Working method and device used for virtual network unit
CN101860492A (en) Quick switching method, device and system
US20140146661A1 (en) Method and apparatus for facilitating process restart in an is-is system
CN101340380B (en) Method and apparatus for uninterrupted forwarding of bi-directional forwarding detection in master-slave switch implementation
US20040078619A1 (en) Method and system for implementing IS-IS protocol redundancy
JP5941404B2 (en) Communication system, path switching method, and communication apparatus
US8830825B2 (en) Method and system for priority based (1:1)n ethernet protection
JP2005503055A (en) Method and system for implementing OSPF redundancy
EP2424186B1 (en) Dual-computer hot-standby method, device and system
CN101645768B (en) Router and main/standby switch method thereof
CN103581013A (en) Method and device for achieving non-stop routing of routing protocol
CN103825817A (en) Achieving method and device of ceaseless routing after routing protocol restarting
JP2015204533A (en) Open flow switch and fault recovery method of open flow network
CN103354521A (en) LDP-based optimization method and device for LSP update
CN102857316A (en) Method and system for realizing source looped network protection
CN101827035B (en) Method for ensuring graceful restarting and dual master control network device
CN100409619C (en) Data network equipment and its management controlling method
CN103081406B (en) Method and apparatus for restoring a connection through a provider network upon request
CN102769571B (en) Graceful restart realization method and equipment

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