CN102255798B - Method and line card for synchronizing route forwarding table items - Google Patents

Method and line card for synchronizing route forwarding table items Download PDF

Info

Publication number
CN102255798B
CN102255798B CN201110160675.9A CN201110160675A CN102255798B CN 102255798 B CN102255798 B CN 102255798B CN 201110160675 A CN201110160675 A CN 201110160675A CN 102255798 B CN102255798 B CN 102255798B
Authority
CN
China
Prior art keywords
main control
message
routing convergence
control card
line card
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
CN201110160675.9A
Other languages
Chinese (zh)
Other versions
CN102255798A (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.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN201110160675.9A priority Critical patent/CN102255798B/en
Publication of CN102255798A publication Critical patent/CN102255798A/en
Application granted granted Critical
Publication of CN102255798B publication Critical patent/CN102255798B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and line card for synchronizing route forwarding table items for solves the problem in the prior art that the synchronization of a table item (S,G) on a main control card and a table item (S,G) on a line card consumes more processing resources. The method comprises the following steps of: after switching an active main control card to a standby main control card, determining route convergent sequence codes by the line card; copying a received message by the line card and sending the copy to the standby main control card; receiving route forwarding table item information which is generated and fed back by the standby main control card according to the message; updating information of a route forwarding table item which is stored in the line card according to the information, and storing the updated information and the determined route convergent sequence codes in the route forwarding table item which is stored in the line card; and determining and deleting stored information which does not correspond to the route convergent sequence codes in the route forwarding table item by the line card after receiving notification information that multicast route convergence is finished.

Description

The synchronous method of route forwarding table items and line card
Technical field
The present invention relates to message technical field of multicast, relate in particular to a kind of synchronous method and line card of route forwarding table items.
Background technology
When uninterrupted forwarding (nsf, no stop forwarding) refers to and has one or several node to break down in a plurality of nodes of the transceiving data comprising in data equipment, guarantee data message forwarding that a kind of technology of being interrupted can not occur.Usually, nsf comprises the nsf of unicast traffic, the nsf of flux of multicast, the nsf of mpls flow etc.
The nsf of flux of multicast will be introduced below.Before introducing the nsf of flux of multicast, need to introduce as follows some ABCs of multicast transmission:
The group membership that agreement in multicast transmission is divided between main frame-router is related to the multicast routing protocol between agreement and router-Router.Wherein, group membership is related to that agreement comprises Internet igmpinternet (IGMP); And multicast routing protocol is divided into multicast routing protocol and multicast between fields Routing Protocol in territory.Further, in territory, multicast routing protocol comprises the agreements such as PIM-SM (Protocol Independent Multicast-Sparse Mode), PIM-DM (Protocol Independent Multicast-Dense Mode), DVMRP (Distance Vector Multicast Routing Protocol); Multicast between fields Routing Protocol comprises the agreements such as MBGP (Multi-protocol BGP), MSDP (Multicast Source Discovery Protocol).
When carrying out multicast data packet forwarding, according to the relation information of multicast routing protocol in territory and multicast member, use certain multicast routing algorithm, just can construct multicast distribution tree and then between multicast member, carry out the forwarding of multicast data message.The multicast data message of take is example at the distributed system repeating that comprises line card and main control card, line card can add/leave a certain particular multicast group by sending IGMP report/leave message, now, the line card that receives this IGMP report/leave message can be by this message up sending main control card, main control card generates (*, G (Group)) list item and is handed down to each line card according to this message.Should be used for recording all line cards that corresponding multicast group comprises by (*, G) list item, and record the information of the outgoing interface in this multicast group, multicast data message being forwarded.Similar with (*, G) list item, (S, G) list item (is that route forwarding table items, (Source, Group list item) are also triggered and generated by data flow.At multicast data message, flow through before line card, on line card, be the corresponding (S of this multicast data message not, G) list item, only have when multicast data message is flowed through this line card, when line card did not generate (S, G) list item corresponding with this multicast data message before judging, this multicast data message can be sent to main control card, main control card generates corresponding (S, G) list item and sends to each line card according to this multicast data message.Wherein, (S, G) in list item except having integrated outside the information of the outgoing interface that (*, G) list item records, also recorded match information for mating with multicast data message (the match information here can be the information such as the sign of multicast data message or content) etc.
Based on above-mentioned distributed system, when being switched to standby main control card by primary main control card, the nsf of flux of multicast mainly will guarantee 2 points.The first will guarantee that the multicast data packet forwarding on line card does not interrupt, the 2nd, guarantee (S, G) list item on the current standby main control card of enabling will with line card on (S, G) list item synchronous.
Usually, above-mentioned the first point, guarantees that the multicast data message on line card does not interrupt forwarding than being easier to realization.Such as being switched to after standby main control card at primary main control card, do not delete (S, the G) list item on line card, and still according to the multicast data packet forwarding mode before switching, carry out the forwarding of multicast data message.And for above-mentioned second point, some solutions of currently available technology.Such as, by primary main control card, be switched to before standby main control card, by (the S of primary main control card, G) list item backups on standby main control card, thereby guarantees to safeguard and have (S, G) list item consistent with primary main control card always on standby main control card, therefore after switching, can guarantee the synchronous of (S, G) list item on standby main control card and (S, the G) list item on line card.But the problem that this scheme exists is, due to the opportunity that is difficult to predict that main control card switches, therefore needs just (S, the G) list item on main control board to be backuped on slave control board again at set intervals, thereby can expend more processing resource.
Summary of the invention
The embodiment of the present invention provides a kind of synchronous method and line card of route forwarding table items, in order to solve to adopt (the S on main control card that realizes that prior art provides, what G) the synchronous scheme of (S, the G) list item on list item and line card existed expends compared with the problem of multiprocessing resource.
The embodiment of the present invention is by the following technical solutions:
A synchronous method for route forwarding table items, comprising:
At primary main control card, be switched to after standby main control card, line card is determined routing convergence sequence code; Line card copies the message receiving, and the message copying is sent to standby main control card; Line card receives the route forwarding table items information that standby main control card generates and feeds back according to described message; And utilize the information in the route forwarding table items of described information updating storage, and in the route forwarding table items of storage the information and the described routing convergence sequence code determined of corresponding stored after upgrading; And line card finishes after notice message receiving the convergence of the Multicast Routing for update notifications route forwarding table items that standby main control card sends, from the route forwarding table items of storage, determine and delete the information not having with described routing convergence sequence code corresponding stored.
Optionally, line card sends to standby main control card by the message copying, and specifically comprises: the message that line card copies described in being arranges a sign of making an appointment with standby main control card, described sign be used to indicate be provided with described sign message without again forwarding; And line card by be provided with described sign described in the message that copies send to standby main control card.
Optionally, line card is determined routing convergence sequence code, specifically comprises: line card receives standby main control card and enabling the routing convergence message sending after Multicast Routing convergence timer; According to pre-stored routing convergence sequence initial code, determine described routing convergence sequence code.
Optionally, line card is determined routing convergence sequence code, specifically comprises: line card receives standby main control card and enabling the routing convergence message sending after Multicast Routing convergence timer; The default sequence code of default routing convergence is defined as to described routing convergence sequence code.
Optionally, the described Multicast Routing convergence that line card receives finishes notice message and is: the Multicast Routing convergence that standby main control card sends after the timing of determining described Multicast Routing convergence timer finishes finishes notice message.
Optionally, the described Multicast Routing convergence that line card receives finishes notice message and is: the described Multicast Routing convergence that standby main control card sends after finishing notice message based on agreement independent multicast Graceful Restart PIM GR protocol generation routing convergence finishes notice message.
A line card, comprising: convergent sequence code determining unit, for being switched to after standby main control card at primary main control card, determine routing convergence sequence code; Message copied cells, the message receiving for copying described line card; Packet sending unit, sends to standby main control card for the message that message copied cells is copied; Route forwarding table items information receiving unit, the route forwarding table items information that generates and feed back according to the message of packet sending unit transmission for receiving standby main control card; Corresponding stored unit, for utilizing the information of the route forwarding table items of the route forwarding table items information updating storage that route forwarding table items information receiving unit receives, and in the route forwarding table items of described line card storage information with the convergent sequence code determining unit definite described routing convergence sequence code of corresponding stored after upgrading; Information determining unit, for receive the convergence of the Multicast Routing for update notifications route forwarding table items of standby main control card transmission at described line card, finish after notice message, from the route forwarding table items of storage, determine the not information with described routing convergence sequence code corresponding stored by the execution of corresponding stored unit; Information deletion unit, for the route forwarding table items from described line card storage, deletes the definite information of information determining unit.
The beneficial effect of the embodiment of the present invention is as follows:
The such scheme that the embodiment of the present invention provides, by sending message to standby main control card by line card after primary main control card is switched to standby main control card, thereby assists standby main control card to regenerate (S, G) list item.And, line card is by upgrading the information in the route forwarding table items of storage, and the information after corresponding stored renewal and definite routing convergence sequence code, thereby after receiving the notification message of standby main control card transmission, line card from the route forwarding table items of storage, determine and deletes less than with the information of routing convergence sequence code corresponding stored, can realize route forwarding table items on standby main control card and line card synchronously.The scheme that the embodiment of the present invention provides, due to without regularly (S, the G) list item on main control board being backuped on slave control board, therefore can not expend this part and process resource.
Accompanying drawing explanation
The idiographic flow schematic diagram of the synchronous method of a kind of route forwarding table items that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 a is the context schematic diagram of two case points that provide in the embodiment of the present invention on time shaft;
The scheme that Fig. 2 b provides for embodiment of the present invention realization flow schematic diagram in actual applications;
The concrete structure schematic diagram of a kind of line card that Fig. 3 provides for the embodiment of the present invention.
Embodiment
In order to solve, adopt (the S on main control card that realizes that prior art provides, G) (the S on list item and line card, what G) the synchronous scheme of list item existed expends compared with the problem of multiprocessing resource, the embodiment of the present invention provides a kind of synchronization scenario of route forwarding table items of novelty, by sending message to standby main control card by line card after primary main control card is switched to standby main control card, assist standby main control card can regenerate (S, G) list item, and, line card is by upgrading the information in the route forwarding table items of storage, and the information after corresponding stored renewal and definite routing convergence sequence code, thereby after receiving the convergence of the Multicast Routing for the update notifications route forwarding table items end of standby main control card transmission, line card is determined and is deleted less than the information with routing convergence sequence code corresponding stored from the route forwarding table items of storage, can realize synchronous on standby main control card and line card of route forwarding table items.
Below in conjunction with accompanying drawing, the synchronization scenario of the route forwarding table items that the embodiment of the present invention is provided is elaborated.
First, the embodiment of the present invention provides a kind of synchronous method of route forwarding list item as shown in Figure 1, and the specific implementation flow process of the method comprises the following steps:
Step 11, is switched to after standby main control card at primary main control card, and line card is determined routing convergence sequence code;
In embodiments of the present invention, routing convergence sequence code can be concrete numeral, can be also a kind of symbol, and the embodiment of the present invention is not specifically limited the form of route convergent sequence code.
Optionally, line card determines that the detailed process of routing convergence sequence code can be: line card receives standby main control card and enabling the routing convergence message sending after Multicast Routing convergence timer; Then according to pre-stored routing convergence sequence initial code, determine routing convergence sequence code then.Here, according to pre-stored routing convergence sequence initial code, determine that the mode of routing convergence sequence code can be really to establish rules and carry out according to default a kind of routing convergence sequence code.Such as, when routing convergence sequence code is numeral, pre-defined rule can be: after receiving routing convergence message, line card is carried out routing convergence sequence initial code and added 1 operation, and the convergent sequence initial code adding after 1 is defined as to routing convergence sequence code.
Optionally, line card, when receiving standby main control card and enabling the routing convergence message sending after Multicast Routing convergence timer, also can directly be defined as above-mentioned routing convergence sequence code by the default sequence code of a routing convergence.Wherein, the default sequence code of said routing convergence generally pre-sets here.
Step 12, line card copies the message receiving, and the message copying is sent to standby main control card;
Optionally, for fear of standby main control card, this message copying is repeated the problem forwarding, in the embodiment of the present invention, line card can for this message copying arrange a sign of making an appointment with standby main control card (this sign be used to indicate be provided with sign message without again forwarding), then, line card sends to standby main control card by this message copying that is provided with this sign again.
Step 13, line card receives the route forwarding table items information that standby main control card generates and feeds back according to above-mentioned message;
Step 14, the information in the route forwarding table items of information updating that line card utilization receives storage, and in the route forwarding table items of storage the information of corresponding stored after upgrading and definite routing convergence sequence code;
Step 15, line card finishes after notice message receiving the convergence of the Multicast Routing for update notifications route forwarding table items that standby main control card sends, and determines and delete the information not having with routing convergence sequence code corresponding stored from the route forwarding table items of storage.Wherein, this Multicast Routing convergence for update notifications route forwarding table items that line card receives finishes to send after notice message can finish for the timing that standby main control card is restrained timer at definite described Multicast Routing; Also can be for sending after finishing notice message based on agreement independent multicast Graceful Restart (PIM GR, Protocol Independent Multicast Grace Restart) protocol generation routing convergence at standby main control card.
The said method that adopts the embodiment of the present invention to provide, by primary main control card, be switched to before standby main control card, without by (the S of primary main control card, G) list item backups on standby main control card and also can realize (the S on standby main control card, G) (the S on list item and line card, G) list item is synchronous, therefore can not exist owing to will backing up (S, G) list item and expend more processing resource.And, than the backup (S providing in prior art, G) scheme of list item, because the such scheme that the embodiment of the present invention provides is implemented after primary main control card is switched to standby main control card again, therefore, more can guarantee that (S, the G) list item on standby main control card is current up-to-date (S, G) list item.
The such scheme that the embodiment of the present invention of take below provides a concrete Application Example is in practice example, describes the implementation process of this scheme in detail.
In this concrete Application Example, according to actual needs, one " sign of routing convergence state " can be set, and for the setting of (S, G) list item " routing convergence sequence code ".
Above-mentioned " sign of routing convergence state " is used to indicate the whether commencement of commercial operation of standby main control card.Particularly, when primary main control card is switched to standby main control card, standby main control card can receive that primary main control card sends " hot standby switching message ", " sign of routing convergence state " is set to 0 simultaneously, after this after handover success, standby main control card can not send and be used for notifying line card to (S to line card, G) the Multicast Routing convergence that list item upgrades finishes notice message, until receive after " the routing convergence message " of primary main control card transmission, standby main control card just can be set to 1 by " sign of routing convergence state ", now standby main control card just starts commencement of commercial operation, primary main control card is out of service.
Above-mentioned " routing convergence sequence code " is the Digital ID being stored in (S, G) list item of line card, and the match information in (S, a G) list item and the information of outgoing interface can be distinguished corresponding one " routing convergence sequence code ".Particularly, whenever line card is received " the routing convergence message " that standby main control card is sent, just can, according to current " routing convergence sequence code " of self storing, determine new " a routing convergence sequence code ", or, can directly determine new " a routing convergence sequence code ".Such as, in a kind of definite mode, this new " routing convergence sequence code " can add " the routing convergence sequence code " obtaining after 1 for " the routing convergence sequence code " of line card storage.Line card according to multicast data message, igmp report/leave or pim report/leave message to (S, when G) list item upgrades, can be by new " routing convergence sequence code " corresponding stored of determining at (the S corresponding with this multicast message, G) in list item, thereby realized the renewal to " routing convergence sequence code ".Like this, at the follow-up (S that realizes standby main control card storage, G) (the S of list item and line card storage, when G) list item is synchronous, if find certain (S of line card storage, G) list item corresponding " routing convergence sequence code " is not this new " routing convergence sequence code ", show this (S, G) list item does not belong to primary main control card and is switched to the multicast data message forwarding after standby main control card corresponding (S, G) list item, therefore, in order to keep (S on standby main control card and line card, G) list item is synchronous, just can delete this (S, G) list item.
It should be noted that, due to (S, G) information of the match information in list item and outgoing interface can be distinguished corresponding one " routing convergence sequence code ", therefore, according to message, new " routing convergence sequence code " corresponding stored of determining is arrived to (S, G), in the time of in list item, may have multiple situation.
A kind of situation is: at primary main control card, be switched to after standby main control card, and when line card is determined new " a routing convergence sequence code " after receiving " the routing convergence message " that standby main control card is sent, if after this certain line card receives igmp report/leave message (or pim report/leave message), this igmp report/leave message (or pim report/leave message) can be sent to standby main control card.Standby main control card is after receiving this igmp report/leave message (or pim report/leave message), judge and self whether generated the match information corresponding with this igmp report/leave message (or pim report/leave message), if the determination result is NO, do not carry out the operation of upgrading any information, if the determination result is YES, according to this igmp report/leave message (or pim report/leave message), the corresponding outgoing interface information of this match information having generated is upgraded, and the outgoing interface information after upgrading is fed back to line card.Line card is after receiving this outgoing interface information, (the S that self is stored, G) the corresponding outgoing interface information in list item is upgraded, simultaneously can be for this outgoing interface information after upgrading, outgoing interface information after upgrading and new " the routing convergence sequence code " determined are carried out to corresponding stored, and, for match information, also can corresponding stored match information and this new " routing convergence sequence code ".That is to say, clamping is received in the situation of igmp report/leave or pim report/leave message online, and the outgoing interface information in (S, G) list item and match information are distinguished corresponding " routing convergence sequence code " and all may be upgraded.
Another kind of situation is: at primary main control card, be switched to after standby main control card, and when line card is determined new " a routing convergence sequence code " after receiving " the routing convergence message " that standby main control card is sent, if after this certain line card receives multicast data message, this multicast data message can be sent to standby main control card, and the match information of feeding back according to this multicast data message according to standby main control card, (S to this line card storage, G) the corresponding match information in list item is upgraded, can carry out corresponding stored to the match information after upgrading and this new " routing convergence sequence code " of determining simultaneously.That is to say, online clamping is received in the situation of multicast data message, match information, match information corresponding " routing convergence sequence code " in (S, G) list item can be upgraded, and outgoing interface information and corresponding " routing convergence sequence code " thereof can not upgraded.
In addition, in the present embodiment, also relate to a kind of timer.According to its function, can be by its called after " Multicast Routing convergence timer ".This Multicast Routing convergence timer starts after primary main control card is switched to standby main control card, and at line card, according to igmp report/leave, pim report/leave message or multicast data message, (S, G) list item is upgraded rear (after being Multicast Routing convergence) then.Usually, can configure based on experience value the timing length of this timer, be 120s such as its timing length can be set.In the present embodiment, the corresponding stage of this timing length can be called the Multicast Routing convergence phase.
In addition, in the present embodiment, can also provide two case points, for identifying the whole process of nsf.These two case points are as follows:
1) hot standby handover event point, is used to indicate the beginning of nsf process;
2) routing convergence case point, is used to indicate the end of nsf process.
The context schematic diagram of these two case points on time shaft as shown in Figure 2 a.
Based on above-mentioned setting, the specific implementation flow chart of the present embodiment as shown in Figure 2 b, mainly comprises the steps:
Step 21, when primary main control card need to be switched to standby main control card, primary main control card sends hot standby switching message to standby main control card;
Step 22, standby main control card, after receiving this hot standby switching message, is converted to operating state by self by resting state, and " sign of routing convergence state " is set to 0, now " the concussion phase " in switching, slave control board does not send Multicast Routing convergence and finishes notice message;
Step 23, primary main control card sends routing convergence message to standby main control card;
Step 24, standby main control card, after receiving routing convergence message, is set to 1 by " sign of routing convergence state ", and routing convergence message is sent to each line card;
Step 25, line card is after receiving routing convergence message, start Multicast Routing convergence timer, and carry out pre-stored " routing convergence sequence code " in line card and add 1 operation (usually, under init state when line card just starts, the initial value that is somebody's turn to do " routing convergence sequence code " can be 0), thus determine new " routing convergence sequence code ";
In this step, after starting Multicast Routing convergence timer, enter the Multicast Routing convergence phase as shown in Figure 2 a.
In the present embodiment, the initial value of supposing " routing convergence sequence code " is 0, and line card is receiving routing convergence message, and " routing convergence sequence code " is carried out after the operation that adds 1, should " routing convergence sequence code " become 1.
Step 26, line card, when receiving multicast data message, copies portion by the message receiving and sends to standby main control card;
Step 27, standby main control card, according to multicast protocol and the multicast data message receiving, generates (S, G) list item, and (S, the G) list item generating is sent to each line card;
Step 28, line card is according to (the S receiving, G) list item, (the S corresponding with this above-mentioned multicast data message that self is stored, G) list item upgrades (if do not store (the S corresponding with above-mentioned multicast data message, G) list item, the renewal here means and on line card, stores a brand-new (S, G) list item), and by new " the routing convergence sequence code " in step 25, determined respectively with upgrade after (S, G) list item in match information and outgoing interface information carry out corresponding stored;
Step 29, standby main control card judges whether the timing of Multicast Routing convergence timer finishes, and when the determination result is NO, performs step 26, otherwise, perform step 210;
Step 210, standby main control card sends and is used for notifying the Multicast Routing convergence that line card upgrades (S, G) list item to finish notice message to each line card;
Step 211, line card is after receiving Multicast Routing convergence end notice message, (the S storing from self, G) in list item, determine and new " routing convergence sequence code " inconsistent " routing convergence sequence code ", and be defined as " expired information " by that determine with new " routing convergence sequence code " inconsistent " routing convergence sequence code " corresponding information, thereby deleted, flow process finishes.
In step 211, when that determine, while being outgoing interface information with new " routing convergence sequence code " inconsistent " routing convergence sequence code " corresponding information, just only delete outgoing interface information; And when that determine while being outgoing interface information and match information with new " routing convergence sequence code " inconsistent " routing convergence sequence code " corresponding information, or determine while being match information with the new corresponding information of " routing convergence sequence code " inconsistent " routing convergence sequence code ", corresponding outgoing interface information and match information are all deleted.
The scheme being provided from embodiment of the present invention application in the above-described embodiments, the scheme that adopts the embodiment of the present invention to provide, without by (the S on primary main control card, G) list item backups on standby main control card, thereby can not produce due to needs regularly (S, G) thus list item backs up the problem that can expend more resource.
Optionally, in the present embodiment, the problem again being forwarded by standby main control card for fear of the message of above giving standby main control card, line card is when sending message to standby main control card, can for this message stamp one in advance with the label of standby main control card agreement, this label be used to indicate stamped this label message only for assisting standby main control card to generate (S, G) list item, and without being forwarded.
Optionally, Multicast Routing convergence timer also can be set in the present embodiment, but being equal to that the routing convergence based on agreement independent multicast Graceful Restart protocol generation finishes that notice message is considered as that above-mentioned Multicast Routing convergence timer timing finishes by standby main control card is alternative, thereby can using standby main control card, according to PIM GR protocol generation, this Multicast Routing convergence finishes notice message and to line card, sends the condition that Multicast Routing convergence finishes notice message as triggering standby main control card.It should be noted that, because PIM GR agreement is existing a kind of agreement that the accurate convergence end time can be provided in prior art, therefore, in the embodiment of the present invention, be no longer described in greater detail.
Correspondingly, the embodiment of the present invention also provides a kind of line card, and the concrete structure schematic diagram of this line card as shown in Figure 3, comprises following functions unit:
Convergent sequence code determining unit 31, for being switched to after standby main control card at primary main control card, determines routing convergence sequence code;
Message copied cells 32, the message of receiving for copied line clamping;
Packet sending unit 33, sends to standby main control card for the message that message copied cells 32 is copied;
Route forwarding table items information receiving unit 34, the route forwarding table items information that generates and feed back according to the message of packet sending unit 33 transmissions for receiving standby main control card;
Corresponding stored unit 35, for utilizing the information of the route forwarding table items of the route forwarding table items information updating storage that route forwarding table items information receiving unit 34 receives, and in the route forwarding table items of line card storage the information of corresponding stored after upgrading and the definite routing convergence sequence code of convergent sequence code determining unit 31;
Information determining unit 36, Multicast Routing for the update notifications route forwarding table items convergence of receiving standby main control card transmission for online clamping finishes after notice message, determines the not information with routing convergence sequence code corresponding stored by 35 execution of corresponding stored unit from the route forwarding table items of storage;
Information deletion unit 37, for the route forwarding table items from line card storage, deletes the definite information of information determining unit 36.
Optionally, corresponding to a kind of implementation of packet sending unit 33 functions, in the embodiment of the present invention, packet sending unit 33 specifically can be divided into following functions module, comprise:
Sign arranges module, and the message that is used to message copied cells 32 to copy arranges a sign of making an appointment with standby main control card, wherein, this sign be used to indicate be provided with described sign message without forwarding again; Message sending module, arranges this message copying that module is provided with above-mentioned sign and sends to standby main control card for identified.
Optionally, corresponding to a kind of implementation of convergent sequence code determining unit 31 functions, in the embodiment of the present invention, convergent sequence code determining unit 31 specifically can be divided into following functions module, comprise:
Routing convergence message sink module, for being switched to after standby main control card at primary main control card, receiving standby main control card and is enabling the routing convergence message sending after Multicast Routing convergence timer; Convergent sequence code determination module, for receiving after routing convergence message sink in routing convergence message sink module, determines routing convergence sequence code according to pre-stored routing convergence sequence initial code.
Optionally, corresponding to the another kind of implementation of convergent sequence code determining unit 31 functions, in the embodiment of the present invention, convergent sequence code determining unit 31 specifically can also be divided into following functions module, comprise:
Routing convergence message sink module, for being switched to after standby main control card at primary main control card, receiving standby main control card and is enabling the routing convergence message sending after Multicast Routing convergence timer; Convergent sequence code determination module, for receiving after described routing convergence message sink in routing convergence message sink module, is defined as routing convergence sequence code by the default sequence code of default routing convergence.
Optionally, the Multicast Routing convergence that line card receives finishes to send after notice message can finish for the timing that standby main control card is restrained timer at definite Multicast Routing; Also can after finishing notice message based on PIM GR protocol generation routing convergence, send for standby main control card.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (12)

1. a synchronous method for route forwarding table items, is characterized in that, comprising:
At primary main control card, be switched to after standby main control card, line card is determined routing convergence sequence code;
Line card copies the message receiving, and the message copying is sent to standby main control card;
Line card receive standby main control card according to described in the message that the copies route forwarding table items information that generates and feed back; And
Utilize the information in the route forwarding table items of described information updating storage, and in the route forwarding table items of storage the information and the described routing convergence sequence code determined of corresponding stored after upgrading; And
Line card finishes after notice message receiving the convergence of the Multicast Routing for update notifications route forwarding table items that standby main control card sends, and determines and delete the information not having with described routing convergence sequence code corresponding stored from the route forwarding table items of storage.
2. the method for claim 1, is characterized in that, line card sends to standby main control card by the message copying, and specifically comprises:
The message that line card copies described in being arranges a sign of making an appointment with standby main control card, described sign be used to indicate be provided with described sign message without again forwarding; And
Line card by be provided with described sign described in the message that copies send to standby main control card.
3. the method for claim 1, is characterized in that, line card is determined routing convergence sequence code, specifically comprises:
Line card receives standby main control card and is enabling the routing convergence message sending after Multicast Routing convergence timer;
According to pre-stored routing convergence sequence initial code, determine described routing convergence sequence code.
4. the method for claim 1, is characterized in that, line card is determined routing convergence sequence code, specifically comprises:
Line card receives standby main control card and is enabling the routing convergence message sending after Multicast Routing convergence timer;
The default sequence code of default routing convergence is defined as to described routing convergence sequence code.
5. the method as described in claim 3 or 4, is characterized in that, the described Multicast Routing convergence that line card receives finishes notice message and is:
The Multicast Routing convergence that standby main control card sends after the timing of determining described Multicast Routing convergence timer finishes finishes notice message.
6. method as claimed in claim 1 or 2, is characterized in that, the described Multicast Routing convergence that line card receives finishes notice message and is:
The described Multicast Routing convergence that standby main control card sends after finishing notice message based on agreement independent multicast Graceful Restart PIM GR protocol generation routing convergence finishes notice message.
7. a line card, is characterized in that, comprising:
Convergent sequence code determining unit, for being switched to after standby main control card at primary main control card, determines routing convergence sequence code;
Message copied cells, the message receiving for copying described line card;
Packet sending unit, sends to standby main control card for the message that message copied cells is copied;
Route forwarding table items information receiving unit, the route forwarding table items information that generates and feed back according to the message of packet sending unit transmission for receiving standby main control card;
Corresponding stored unit, for utilizing the information of the route forwarding table items of the route forwarding table items information updating storage that route forwarding table items information receiving unit receives, and in the route forwarding table items of described line card storage information with the convergent sequence code determining unit definite described routing convergence sequence code of corresponding stored after upgrading;
Information determining unit, for receive the convergence of the Multicast Routing for update notifications route forwarding table items of standby main control card transmission at described line card, finish after notice message, from the route forwarding table items of storage, determine the not information with described routing convergence sequence code corresponding stored by the execution of corresponding stored unit;
Information deletion unit, for the route forwarding table items from described line card storage, deletes the definite information of information determining unit.
8. line card as claimed in claim 7, is characterized in that, described packet sending unit specifically comprises:
Sign arranges module, and the message copying described in being used to arranges a sign of making an appointment with standby main control card, described sign be used to indicate be provided with described sign message without forwarding again;
Message sending module, for by identified arrange module be provided with described sign described in the message that copies send to standby main control card.
9. line card as claimed in claim 7, is characterized in that, described convergent sequence code determining unit specifically comprises:
Routing convergence message sink module, for being switched to after standby main control card at primary main control card, receiving standby main control card and is enabling the routing convergence message sending after Multicast Routing convergence timer;
Convergent sequence code determination module, for receiving after described routing convergence message in routing convergence message sink module, determines described routing convergence sequence code according to pre-stored routing convergence sequence initial code.
10. line card as claimed in claim 7, is characterized in that, described convergent sequence code determining unit specifically comprises:
Routing convergence message sink module, for being switched to after standby main control card at primary main control card, receiving standby main control card and is enabling the routing convergence message sending after Multicast Routing convergence timer;
Convergent sequence code determination module, for receiving after described routing convergence message in routing convergence message sink module, is defined as described routing convergence sequence code by the default sequence code of default routing convergence.
11. line cards as described in claim 9 or 10, is characterized in that, the described Multicast Routing convergence that line card receives finishes notice message and is:
The Multicast Routing convergence that standby main control card sends after the timing of determining described Multicast Routing convergence timer finishes finishes notice message.
12. line cards as claimed in claim 7 or 8, is characterized in that, the described Multicast Routing convergence that line card receives finishes notice message and is:
The described Multicast Routing convergence that standby main control card sends after finishing notice message based on agreement independent multicast Graceful Restart PIM GR protocol generation routing convergence finishes notice message.
CN201110160675.9A 2011-06-15 2011-06-15 Method and line card for synchronizing route forwarding table items Active CN102255798B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110160675.9A CN102255798B (en) 2011-06-15 2011-06-15 Method and line card for synchronizing route forwarding table items

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110160675.9A CN102255798B (en) 2011-06-15 2011-06-15 Method and line card for synchronizing route forwarding table items

Publications (2)

Publication Number Publication Date
CN102255798A CN102255798A (en) 2011-11-23
CN102255798B true CN102255798B (en) 2014-03-12

Family

ID=44982802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110160675.9A Active CN102255798B (en) 2011-06-15 2011-06-15 Method and line card for synchronizing route forwarding table items

Country Status (1)

Country Link
CN (1) CN102255798B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447634B (en) * 2011-12-29 2014-12-03 华为技术有限公司 Method, device and system for transmitting message
CN105306356B (en) * 2014-07-30 2019-04-30 上海博达数据通信有限公司 A kind of method that Multicast Routing realizes active-standby switch in distributed system
CN113095052A (en) * 2019-12-23 2021-07-09 中兴通讯股份有限公司 Table entry arrangement method, device, equipment and storage medium
CN111211927B (en) * 2019-12-31 2023-01-24 杭州迪普科技股份有限公司 Resource synchronization method and device
CN113765781B (en) * 2020-06-04 2022-07-12 华为技术有限公司 Method, communication device, storage medium and system for processing routing message
CN113422722B (en) * 2021-06-16 2023-10-24 锐捷网络股份有限公司 Routing processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064687A (en) * 2007-02-07 2007-10-31 中兴通讯股份有限公司 Routing convergence method
CN101340369A (en) * 2008-08-14 2009-01-07 杭州华三通信技术有限公司 Method and router for realizing virtual connection supported optimum restart
CN101980476A (en) * 2010-11-16 2011-02-23 北京星网锐捷网络技术有限公司 Warm backup method and network equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064687A (en) * 2007-02-07 2007-10-31 中兴通讯股份有限公司 Routing convergence method
CN101340369A (en) * 2008-08-14 2009-01-07 杭州华三通信技术有限公司 Method and router for realizing virtual connection supported optimum restart
CN101980476A (en) * 2010-11-16 2011-02-23 北京星网锐捷网络技术有限公司 Warm backup method and network equipment

Also Published As

Publication number Publication date
CN102255798A (en) 2011-11-23

Similar Documents

Publication Publication Date Title
CN102255798B (en) Method and line card for synchronizing route forwarding table items
CN107465767B (en) Data synchronization method and system
CN101588296B (en) Method, head node and tail node of forwarding multicasting message
CN103825817B (en) Routing Protocol restarts the implementation method uninterruptedly routeing afterwards and device
CN111131399B (en) Method and device for dynamically increasing consensus nodes in block chain
CN108664660A (en) Distributed implementation method, apparatus, equipment and the storage medium of time series database
CN109561022B (en) Multicast forwarding method and multicast router
CN102769640B (en) The update method of user profile, server and system
CN112540773B (en) Cloud game installation method and device, electronic equipment and storage medium
WO2022007828A1 (en) Redundant path resource reservation method, network device, and storage medium
CN104750738A (en) Data information updating method, data node, management node and system
CN104902444A (en) Dynamic restructuring method and system for cluster system
CN102447611B (en) Method and system for establishing bidirectional point-to-multipoint label switched path as well as method and system for removing bidirectional point-to-multipoint label switched path
US8307121B2 (en) Method and a type of transmit and receive ends for data synchronization
CN101296239A (en) Method for refreshing label exchange route and label exchange router
WO2017185962A1 (en) Distribution method, compensation method, system and device, and computer storage medium
JP2011130283A (en) Internetwork data distribution system, information communication terminal, and content distribution server
CN110740182B (en) Dynamic data communication method and device based on DDS technology
CN105553857B (en) A kind of IP Multicast Routings retransmission method and system
CN108881452B (en) Data synchronization method, device and storage medium
CN106161243B (en) State reporting control method and device
CN101453414A (en) Head node protection method, system and equipment for point to multiple points label switch path
CN114598593B (en) Message processing method, system, computing device and computer storage medium
JP2003032299A (en) Control method of rendezvous point in multicast network
CN102946332B (en) A kind of reverse path forwarding check method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 350002 19 Building, Citrus Industrial Park, 618 Jinshan Road, Cangshan District, Fuzhou, Fujian.

Patentee after: RUIJIE NETWORKS Co.,Ltd.

Address before: 350002 19 Building, Citrus Industrial Park, 618 Jinshan Road, Cangshan District, Fuzhou, Fujian.

Patentee before: Fujian Star Network Ruijie Networks Co.,Ltd.