CN101599849A - Notifying method, system and the network equipment that network identity changes - Google Patents

Notifying method, system and the network equipment that network identity changes Download PDF

Info

Publication number
CN101599849A
CN101599849A CNA2008100859560A CN200810085956A CN101599849A CN 101599849 A CN101599849 A CN 101599849A CN A2008100859560 A CNA2008100859560 A CN A2008100859560A CN 200810085956 A CN200810085956 A CN 200810085956A CN 101599849 A CN101599849 A CN 101599849A
Authority
CN
China
Prior art keywords
network identity
lsa
router
changes
sign
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.)
Pending
Application number
CNA2008100859560A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNA2008100859560A priority Critical patent/CN101599849A/en
Publication of CN101599849A publication Critical patent/CN101599849A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention relates to the communications field, the notifying method, system and the network equipment that provide a kind of network identity to change, when the network identity of new network device more, LSA according in the network identity change notice message of adjacent network device transmission upgrades LSD and renewal and preserves the neighbor list that sign changes route-map.Thereby the restarting of the network equipment, wasting of resources etc. in the network of avoiding.

Description

Notifying method, system and the network equipment that network identity changes
Technical field
The present invention relates to the communications field, notifying method, system and the network equipment that particularly a kind of network identity changes.
Background technology
Network identity is for Routing Protocol such as OSPF (Open Shortest Path First, SPF), ISIS (Intermediate System-to-Intermediate System, a kind of linking status Routing Protocol), MPLS (exchange of Multi-Protocol Label Switching multi protocol label) etc. is extremely important, an AS (Autonomous System, autonomous system) in, do not allow to exist two identical network identities, if network identity changes, other the network equipment will be regarded it as a newcomer so.
When handling the network identity change at present, whole agreement can be restarted, business will be interrupted.
For example ospf process change network identity (Router ID) is realized by the mode that restarts agreement.Restart after the ospf process, can not announce other network equipment network identities and change incident, but set up neighborhood, produce LSA, calculate route etc., without any inheritance with new network identity and neighbours.
And MPLS and LDP (Label Distribution Protocol label distribution protocol) are for the change of LSR (Label Switched Router LSR) ID, deletion MPLS configuration earlier is configured then again, and all business will deletedly be rebuild then.
Handle the network identity change with the mode that restarts agreement adverse effect is arranged: after 1) agreement restarts, need rebulid business and neighborhood.On existing network, data volume is very big, and the business of rebuliding is a very slow process, and for example general ospf process restarts to returning to original operating state needs about 20 minutes; 2) after agreement is restarted, network identity has changed, the resource of creating possibly can't discharge in the past, after for example ospf process is restarted, previously generated LSA (Link State Advertise, the Link State declaration) arrive Max Age (as: 3600 seconds) before at Age (ageing time), can not be deleted, thus waste a large amount of memory spaces and cpu resource.
Summary of the invention
Notifying method, system and the network equipment that the embodiment of the invention provides a kind of network identity to change are to guarantee that forwarding of data is not interrupted.
Notifying method, system and the network equipment that the network identity that the embodiment of the invention provided changes are achieved through the following technical solutions:
The notifying method that a kind of network identity changes comprises:
Receive the network identity change notice message that sign changes router, described network identity changes notice message and includes the Link State declaration LSA that sign changes router;
LSA according in the described network identity change notice message upgrades LSD and renewal and preserves the neighbor list that sign changes route-map.
The embodiment of the invention provides a kind of network equipment, comprising:
Receiving element is used to receive the network identity change notice message that sign changes router, and described network identity changes notice message and includes the LSA that sign changes router;
Updating block, the LSA that is used for receiving according to described receiving element upgrades LSD and the neighbor list that sign changes route-map is preserved in renewal.
The embodiment of the invention provides a kind of network identity to change notification system, comprising:
First network equipment is used for sending the network identity change notice message that sign changes to second network equipment, and described network identity changes notice message and includes the LSA that sign changes router;
Second network equipment, the network identity that is used to receive first network equipment changes notice message, upgrades the neighbor list that first network equipment information is preserved in LSD and renewal according to the LSA of described notice message.
The technique effect of the embodiment of the invention is: according to the LSA in the network identity change notice message of adjacent network device transmission; Upgrade LSD and renewal and preserve the neighbor list that sign changes route-map.Thereby the restarting of the network equipment, wasting of resources etc. in the network of avoiding.
Description of drawings
The flow chart of the notifying method that the network identity that Fig. 1 provides for the embodiment of the invention changes;
The structural representation of the network equipment that Fig. 2 provides for the embodiment of the invention;
The structural representation of the notification system that the network identity that Fig. 3 provides for the embodiment of the invention changes.
Embodiment
The movable protocol process of each that move on router can be regarded a network equipment as, and each network equipment in an AS (Autonomous System, the autonomous system) scope all has unique network identity.This network identity is very important to route agreement such as ospf protocol, ISIS agreement, mpls protocol etc., this network identity is Router ID for ospf protocol, for this network identity of ISIS agreement is System ID, network identity is LSR ID for mpls protocol and LDP agreement, and network identity is the prerequisite of other protocol command of configuration.
At present a lot of new technology are being arranged aspect the data reliability forwarding, as: technology such as quick convergence, but changing this situation for network identity, it is powerless that these technology all seem, but but sometimes have to change network identity.With OSPF is example, and the change of network identity mainly has influence on three aspects, the inefficacy of (1) neighborhood, and (2) old LSA is to the waste in space, the interruption of (3) route.In case and network identity changes, may make a plurality of ospf protocol processes that occur having the identical network sign in the same scope just needs determine network identity for some ospf protocol processes again this time.
The notifying method and the network equipment that the embodiment of the invention provides a kind of network identity to change.When new network device more, the notice message that the sign that sends according to neighbouring device changes, upgrade the protocol information (as: LSA) of the network equipments all in the network and the annexation between renewal and the neighbouring device, thereby avoid the restarting of the network equipment in the network, the wasting of resources etc.
Be the technical scheme that example is described the embodiment of the invention in conjunction with the accompanying drawings in detail below with the ospf protocol, the flow chart of the notifying method that the network identity that Fig. 1 provides for the embodiment of the invention changes, the notifying method that this network identity changes comprises step:
101, the network identity of sign change router changes.
When the network identity of a router changes, this router enters transition stage, this moment, this router was called as sign change router, wherein, be called as transition stage from network identity change state to this stage that router steadily is returned to steady-working state if the network identity support of this router smoothly changes.
102, sign changes router transmission network identity and changes notice message.
Sign changes router and by its network identity of router that sends network identity change notice message advertising adjacent change has taken place, in the embodiment of the invention, sign changes router and need announce to adjacent router in the mode that sends network identity change notice message before sending any other message.In embodiments of the present invention, this network identity changes notice message and comprises that LSA (Link State Advertise, Link State declaration) and sign change old network identity of router and new network identity.
If 103 signs change routers and change from sign and support router to receive the own LSA that produces before the sign that changes, refresh network identity and lay equal stress on and newly send to sign and change and support router network sign change notice message.Support that router may also be simultaneously that sign changes router because sign changes, this step just changes in sign supports router to change the situation that router may occur when also network identity changes notice message taking place sign to change as sign simultaneously.
If changing router, sign support router to receive that oneself changes the LSA of the preceding generation of sign: at first from identifying change, check LSDB (the Link State Data Base of self, LSD) whether this LSA was refreshed, then need it is refreshed as crossing not refresh, the LSA that is about to receive replaces old LSA; Then, the LSA after will refreshing changes to sign and supports router to send.
Wherein refresh process specifically comprises:
No matter be to change router for sign, still identify to change and support router, all be suitable for following rule:
(1) under GR (graceful restart, Graceful Restart) pattern:
If the age of LSA equals MaxAge (as: 3600 seconds), then do not need to refresh.
When if the age of LSA is not equal to Max Age, keep the content of LSA constant, just refresh the head of LSA, again produce the sequence number of new LSA, wherein in embodiments of the present invention, regulation according to RFC2328 (OSTF Version 2, level agreement [version 2] that Open Shortest Path First) produces new sequence number again.
(2) under non-GR pattern:
If the age of LSA equals Max Age (as: 3600 seconds), then this LSA is refreshed (Flush).
If the age of LSA is not equal to Max Age,, produce LSA again then based on current state.
If this LSA is Router LSA or Network LSA, then produce a LSA again based on current link, the network identity of wherein issuing router is new network identity, and regenerates the sequence number of new LSA.Wherein in embodiments of the present invention, the regulation according to RFC2328 (OSTF Version 2, level agreement [version 2] that Open Shortest Path First) produces new sequence number again.
If this LSA is 3 class Summary (interregional) LSA or 5 class AS LSA or 7 class NSSA (Not-so-stubby-area, inferior stub zone) LSA, check then whether corresponding Intra (in the zone) route or corresponding Autonomy System-External route and corresponding IP Address range (polymerization of IP address) exist, if there is no, then with this LSA deletion; Otherwise produce LSA again, and regenerate the sequence number of new LSA.Wherein in embodiments of the present invention, the regulation according to RFC2328 (OSTFVersion 2, level agreement [version 2] that Open Shortest Path First) produces new sequence number again.
104, sign changes the network identity of supporting router reception sign to change router and changes notice message.
Sign changes support router reception sign and changes the network identity change notice message that router sends, and enters to identify to change the state of supporting router, and sign change support router may also be simultaneously a sign change router.
105, sign changes support router transmission response message.
After sign change support router received that network identity changes notice message, the sign change router transmission response message that the transmission network identity is changed notice message was replied.
106, sign changes the more network identity of new logo change router of support router.
Support that router is that certain identifies the neighbours that change router if sign changes, sign changes supports router that the network identity of this sign change router of its preservation is upgraded.
107, sign changes support router renewal LSA, and, upgrade relation (that is, the neighbor list that sign changes route-map is preserved in renewal) with sign change router.
Sign changes supports router to receive that sign changes the LSA that router produces, the network identity that changes router with old sign removes to search old LSA, if search successfully, then with the LSA deletion that finds, upgrade the LSD of oneself, promptly add new LSA in LSD.
108, the sign change is supported router and sign to change router and is withdrawed from sign change status of support and sign change state.
Sign change support router and sign change router and withdraw from change status of support and the sign change state of identifying, wherein: it is to withdraw from sign change state when satisfying one of following three conditions that sign changes router, that is: (1) if the transition stage time interval overtime, then withdraw from sign change state, this transition stage time interval is the time interval that transition stage continued; Perhaps, (2) when all adjacent routers all be LSA that FULL and all produce with old network identity be refreshed finish after, withdraw from sign change state; Perhaps, (3) are withdrawed from sign change state if ospf protocol restarts.After router withdrawed from sign change state, sign changes router will refresh the network identity change notice message that oneself produces.
It is to withdraw from sign change status of support when satisfying one of following two conditions that the sign change supports router to withdraw from sign change status of support, that is: (1) when changing router from sign and receive that the network identity that is refreshed changes notice message, sign changes to be supported router to withdraw from sign to change status of support; (2) overtime when the transition stage time interval of sign change router, sign changes supports router to withdraw from sign change status of support.
109, calculate route according to the LSD of upgrading.
If calculating route, no matter be to change router, still identify to change and support router for sign, all be suitable for following rule:
When route is calculated,, check that then this network identity is the new network identity that certain sign changes router, if then remove to search old LSA with identifying the new network identity that changes router if search less than LSA by network identity.
In the notifying method process that this network identity changes, when a plurality of network identities change notice messages and exist simultaneously in same scope, any one network identity change new network identity that notice message comprised cannot be with any one other network identity to change new network identity or old network identity that notice message comprised identical.If the network identity that router is received changes in the notice message information that can not discern is arranged, then ignore it.
The notifying method that above-mentioned network identity changes can produce following effect:
(1) network identity is changed event notification and go out, allow other routers know, so that take some measures, as: useless LSA is deleted from LSD, to save the space.
(2) carry out dynamic refresh for the LSA and the neighborhood (that is: protocol information) of old network identity, do not need to rebulid neighborhood and carry out link state database synchronization again, greatly saved Internet resources.Simultaneously can also support GR, in the process of GR, finish the change of network identity.
(3) owing to do not need to build again neighbours and carry out route calculating again, the notifying method that this network identity changes is greatly accelerated the speed of routing convergence under the situation that network identity changes.
Certainly, the change of network identity also can use other modes to announce,
With OSPF is example, as: the router that the network identity change takes place is not restarted process, but gives adjacent router by first and second class LSA Flush that will use old network identity, notifies adjacent router that the change of network identity has taken place.
In this case, can and not reach the neighboring router that identifies the change state at the neighboring router that reaches sign change state and adopt different disposal:
(1) reached the neighboring router that identifies the change state for the neighboring router state, refresh first and second class LSA, rebulid neighborhood with this neighboring router, and all LSA deletions relevant with sign change router with this locality, again carry out route and calculate, reach the purpose of upgrading LSA.
(2) for the adjacent router that does not reach sign change state, do not need to carry out refreshing of LSA, only need handle getting final product according to the neighbor state flow process.
The change incident of network identity also can be used other LSA announcements in addition, as: 9,10 classes etc.The minimum announcement scope of this incident is a zone, only in needs, just be communicated to other zones, such as: if change the router of network identity is ASBR (Autonomous System Border Router, Autonomous System Boundary Router, AS Boundary Router), then this incident is forwarded to other zone, can both reaches the technique effect of the embodiment of the invention by ASBR.
The notifying method that above-mentioned network identity changes is not only applicable to ospf protocol, other agreement (as: ISIS or MPLS) is handled the variation of using network identity be suitable for yet, and can reach same technique effect yet.
Accordingly, the embodiment of the invention also provides a kind of network equipment, as shown in Figure 2, this network equipment comprises: receiving element 21, be used to receive the network identity change notice message that sign changes router, described network identity changes notice message and includes the Link State declaration LSA that sign changes router, and the LSA that described sign changes router comprises that sign changes the new network identity and the old network identity of router.
Updating block 22 is used for preserving the neighbor list that sign changes route-map according to LSA renewal LSD and renewal that described receiving element 21 receives.And further, also be used for searching old LSA according to old network identity, if search successfully, the old LSA deletion that then will search is added the LSA that receives to LSD, if search failure, check then whether described network identity is the new network identity that sign changes router, if then the new network identity that changes router with described sign removes to search old LSA, and with the received old LSA of LSA replacement changing.
Selectable, the described network equipment also comprises route computing unit 23, is used for calculating the described network equipment and identifying the route that changes between the router according to the LSD of described renewal.
The embodiment of the invention also provides a kind of network identity to change notification system, and referring to Fig. 3, this system comprises:
First network equipment 31 is used for sending the network identity change notice message that sign changes to second network equipment, and described network identity changes notice message and includes the LSA that sign changes router;
Second network equipment 32, the network identity that is used to receive first network equipment 31 changes notice message, upgrades LSD and the neighbor list of first network equipment, 31 information is preserved in renewal according to the LSA of described notice message.
Further, described LSA also comprises the new network identity and the old network identity of first network equipment;
Described second network equipment 31 is used for upgrading LSD according to the new network identity of LSA or the old network identity of described network identity change notice message, and calculates route according to the LSD of described renewal.
More than a kind of network identity changes to the embodiment of the invention provided notifying method, system and the network equipment be described in detail, for one of ordinary skill in the art, thought according to the embodiment of the invention, part in specific embodiments and applications all can change, in sum, the content of this specification embodiment should not be construed as limitation of the present invention.

Claims (11)

1, a kind of notifying method of network identity change is characterized in that,
Receive the network identity change notice message that sign changes router, described network identity changes notice message and includes the Link State declaration LSA that sign changes router;
LSA according in the described network identity change notice message upgrades LSD and renewal and preserves the neighbor list that sign changes route-map.
2, the notifying method of network identity change as claimed in claim 1 is characterized in that, the LSA that described sign changes router comprises that sign changes the new network identity and the old network identity of router.
3, the notifying method of network identity change as claimed in claim 2, it is characterized in that, further comprise: calculate and identify the route that changes between the router according to the LSD of described renewal, wherein said renewal LSD specifically comprises: the old network identity that changes router according to sign is searched old LSA, with the old LSA deletion that finds, add the LSA that receives to described LSD.
4, the notifying method of network identity change as claimed in claim 3 is characterized in that, after the LSD calculating route according to described renewal, further comprises:
Can not find out LSA if change the old network identity of router by described sign, then:
Whether the network identity of checking described sign change router is the new network identity of neighbouring device, if then the new network identity with described sign change router removes to search corresponding LSA.
5, a kind of network equipment is characterized in that, comprising:
Receiving element is used to receive the network identity change notice message that sign changes router, and described network identity changes notice message and includes the LSA that sign changes router;
Updating block, the LSA that is used for receiving according to described receiving element upgrades LSD and the neighbor list that sign changes route-map is preserved in renewal.
6, the network equipment as claimed in claim 5 is characterized in that, the LSA that described sign changes router comprises that sign changes the new network identity and the old network identity of router.
7, the network equipment as claimed in claim 5 is characterized in that, described updating block also is used to upgrade LSD.
8, the network equipment as claimed in claim 7 is characterized in that, also comprises route computing unit, is used for calculating the described network equipment and identifying the route that changes between the router according to the LSD of described renewal.
9, the network equipment as claimed in claim 8, it is characterized in that, described updating block, also be used for searching old LSA according to old network identity, if search successfully, the old LSA deletion that then will search, add the LSA that receives to LSD, if search failure, check then whether described network identity is the new network identity that sign changes router, if then the new network identity that changes router with described sign removes to search old LSA, and with the received old LSA of LSA replacement changing.
10, a kind of network identity changes notification system, it is characterized in that, comprising:
First network equipment is used for sending the network identity change notice message that sign changes to second network equipment, and described network identity changes notice message and includes the LSA that sign changes router;
Second network equipment, the network identity that is used to receive first network equipment changes notice message, upgrades the neighbor list that first network equipment information is preserved in LSD and renewal according to the LSA of described notice message.
11, network identity as claimed in claim 10 changes notification system, it is characterized in that comprise: described LSA also comprises the new network identity and the old network identity of first network equipment;
Described second network equipment is used for new network identity or old network identity renewal LSD according to the LSA of described network identity change notice message, and calculates route according to the LSD of described renewal.
CNA2008100859560A 2008-06-06 2008-06-06 Notifying method, system and the network equipment that network identity changes Pending CN101599849A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100859560A CN101599849A (en) 2008-06-06 2008-06-06 Notifying method, system and the network equipment that network identity changes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100859560A CN101599849A (en) 2008-06-06 2008-06-06 Notifying method, system and the network equipment that network identity changes

Publications (1)

Publication Number Publication Date
CN101599849A true CN101599849A (en) 2009-12-09

Family

ID=41421115

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100859560A Pending CN101599849A (en) 2008-06-06 2008-06-06 Notifying method, system and the network equipment that network identity changes

Country Status (1)

Country Link
CN (1) CN101599849A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571605A (en) * 2012-02-17 2012-07-11 杭州华三通信技术有限公司 Method and device for preventing traffic from interrupting
CN104320277A (en) * 2014-10-30 2015-01-28 杭州华三通信技术有限公司 Method and device for allocating router identifier
CN107517163A (en) * 2017-09-22 2017-12-26 杭州迪普科技股份有限公司 A kind of method and device of switching OSPF Router Distinguishers
CN107959627A (en) * 2016-10-14 2018-04-24 华为技术有限公司 A kind of address transfer approach and the network equipment
CN113037633A (en) * 2021-02-25 2021-06-25 杭州迪普科技股份有限公司 Notification processing method, device, equipment and computer readable storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571605A (en) * 2012-02-17 2012-07-11 杭州华三通信技术有限公司 Method and device for preventing traffic from interrupting
CN102571605B (en) * 2012-02-17 2015-03-18 杭州华三通信技术有限公司 Method and device for preventing traffic from interrupting
CN104320277A (en) * 2014-10-30 2015-01-28 杭州华三通信技术有限公司 Method and device for allocating router identifier
CN104320277B (en) * 2014-10-30 2018-09-04 新华三技术有限公司 Distribute the method and device of Router Distinguisher
CN107959627A (en) * 2016-10-14 2018-04-24 华为技术有限公司 A kind of address transfer approach and the network equipment
CN107959627B (en) * 2016-10-14 2021-02-12 华为技术有限公司 Address transmission method and network equipment
CN107517163A (en) * 2017-09-22 2017-12-26 杭州迪普科技股份有限公司 A kind of method and device of switching OSPF Router Distinguishers
CN113037633A (en) * 2021-02-25 2021-06-25 杭州迪普科技股份有限公司 Notification processing method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US9397925B2 (en) Method and apparatus for advertising border connection information of autonomous system
CN101517998B (en) Method for announcing border connecting information of autonomous system and boundary nodes
CN102624635B (en) Method and device for realizing graceful restart
US8842577B2 (en) Enabling media access control address mobility in an ethernet virtual private network
US9276805B2 (en) Method for backing up link state advertisement
US9954735B2 (en) Realizing graceful restart in IS-IS network
CN105340226B (en) The method and device thereof of the main preparation system switching of dynamic routing equipment
CN102999571B (en) The implementation method of unit multinode in a kind of cluster
CN101599849A (en) Notifying method, system and the network equipment that network identity changes
CN103581013A (en) Method and device for achieving non-stop routing of routing protocol
US20060268853A1 (en) Methods and apparatus for distributing label information
CN107517163B (en) Method and device for switching OSPF router identification
CN102412984B (en) Management method and equipment for forwarded table entry
CN107872383B (en) Parameter notification method, parameter acquisition method and parameter acquisition device
CN103001872B (en) A kind of label distribution method and polymerization unit
CN102457407B (en) Method and equipment for detecting IP address conflict in autonomous system
CN100596087C (en) FTN matching management method
CN102769571B (en) Graceful restart realization method and equipment
CN102292936A (en) Synchronization detection method for link state database, and routing device
CN115051947B (en) Communication state switching method, port configuration method, communication system and medium
CN113037636B (en) Router link updating method, router and storage medium
US20220103425A1 (en) Systems and methods for convergence of network traffic after an interruption of a network device's link
US20180024843A1 (en) Method and associated apparatus for performing wake-up management on network devices
CN101764820A (en) Information synchronizing method, device and system of link state database of GR (Graceful Restart) scene
CN101651617B (en) Method for selecting stable route from Internet route

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20091209