CN105827533A - Message forwarding method and apparatus - Google Patents

Message forwarding method and apparatus Download PDF

Info

Publication number
CN105827533A
CN105827533A CN201610137343.1A CN201610137343A CN105827533A CN 105827533 A CN105827533 A CN 105827533A CN 201610137343 A CN201610137343 A CN 201610137343A CN 105827533 A CN105827533 A CN 105827533A
Authority
CN
China
Prior art keywords
lsr
link state
state update
lsdb
message
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
CN201610137343.1A
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.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN201610137343.1A priority Critical patent/CN105827533A/en
Publication of CN105827533A publication Critical patent/CN105827533A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/021Ensuring consistency of routing table updates, e.g. by using epoch numbers

Abstract

The embodiment of the invention provides a message forwarding method and apparatus. The method comprises: when a first management panel as a standby management panel receives a master/standby switching message and triggers the first management panel itself to be switched into a master management panel, link state updating (LSU) messages are sent to neighbor devices of all interfaces, wherein the LSU messages include link state records (LSR) of all devices in a network; messages that are made as a relay by the neighbor devices after processing based on the LSU messages are receives and are parsed, the LSRs of all devices in the network are learned, and an LSR in a link state database (LSDB) is updated; and according to the updated LSDB, routing is calculated and message forwarding is carried out. According to the invention, backup information loss can be prevented when an FC switch carries out master/standby switching; and a topological change of a network can be sensed rapidly.

Description

A kind of message forwarding method and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of message forwarding method and device.
Background technology
Optical-fibre channel (FibreChannel, FC) it is existing storage network (StorageAreaNetwork, SAN) support technology of main flow, FC itself defines a set of protocol stack following osi model, by FC related protocol standard implementation SAN server and the exchanging visit technology of storage device.
Fabric is in order to describe the topological structure of fibre channel media widely used between Connection Service device and storage device.Switch can cascade and connect and compose with loop network has the network system that height mixes, and is Fabric.
The SAN network framework of one application Fabric topology establishment is as shown in Figure 1, wherein, server and Magnetic Disk Controler front end are Fabric topologys, Fabric topology is made up of multiple stage FC switch, each of the links between FC switch is with its Link State of COST value metric, COST value is the highest, then it represents that its Link State is the poorest.
DomainID is used for identifying the FC switch in Fabric network.In a Fabric network, every FC switch has a unique DomainID.DomainID form is 8 bits.The DomainID that wherein can be used to identify FC switch has 239 (1~239), that is each Fabric network at most has 239 FC switches.
Fiber optic network OSPF (FabricShortestPathFirst, FSPF), finds mutually between the FC switch in Fabric network and calculates route.In FSPF agreement running, every FC switch will collect the link-state information of all FC switches in Fabric network, the shortest route arriving other FC switches is calculated again by SPF (ShortestPathFirst, SPF) algorithm.
The link state records (LinkStateRecord, LSR) that the FC switch of every support FSPF agreement utilizes the machine to generate describes the Link State between the machine and neighbours' FC switch.LSR comprises following information: number of links (NumberofLinks) that LSR head (LinkStateRecordHeader), LSR comprise, link descriptor (LinkDescriptor), each link descriptor represents the information entering steady statue link.Wherein, LSR head includes: 1) LSR type (LSRType);2) time through going through after LSRAge:LSR generates, unit is the second, maximum 3600.The LSR reaching 3600 is considered as expired LSR, floods deletion for notice.3) DomainID of the FC switch represented by LinkStateIdentifier:LSR.4) IncarnationNumber:LSR algebraically, is used for identifying the newness degree of LSR.Form is the signed integer of 4 bytes, span [0x80000001,0x7FFFFFFF].Algebraically is that the LSR of 0x80000000 represents invalid LSR.
FSPF agreement major function includes: 1) set up and keep neighborhood: by mutually sending HLO message between FC switch, sets up and keeps FSPF annexation, and the neighbor state machine setting up FSPF connection is in " FULL " state.Set up after connecting, between FC switch, need timing to send mutually FSPF neighbor keep-alive (HELLO, HLO) message.Once exceeding the certain intervals time (usually 80 seconds) does not receives the HLO message of neighbours, then FC switch is thought and the disconnecting of neighbours, and the state machine of neighbours becomes " neighbours' init state (INIT) " state from " neighbours have set up (FULL) " state.2) LSR is synchronized, set up LSD (LinkStateDatabase, LSDB): initialize and synchronize LSR, after FC switch finds neighbor switch, with neighbor switch by all of LSR in link state update (LinkStateUpdate, LSU) message interaction each LSDB.By study to up-to-date LSR be saved in self LSDB, wherein, a link state update packet can comprise one or more LSR;Change updates and synchronizes LSR, after the Link State of FC switch changes, new LSR is generated according to new Link State, wherein LSR algebraically adds one (here, after LSR algebraically arrives maximum, generation overturns, and is re-set as minima, thinks that the LSR of algebraically minima updates than the LSR of algebraic maximum in implementing).And by link state update packet, the LSR of renewal is sent to all neighbor switch.After neighbor switch receives this link state update packet, parse LSR, judge that this LSR is up-to-date LSR according to LSR algebraically, and this LSR is saved in the LSDB of self, forward this link state update packet to other neighbours of oneself simultaneously.3) router-level topology, carries out router-level topology according to LSDB, after the LSDB of FC switch changes, and the LSR information preserved according to LSDB, use SPF algorithm to calculate route.
In the FC switch supporting warm standby function, forwarding plane and service layer are separate, are processed by interface board and management board respectively.Management board includes main management plate and standby management board, and wherein service layer function is responsible for by main management plate, and by necessary information back-up to from management board.After main management plate breaks down, upgrading to main management plate from management board, take over original main management plate processing switch business, main management plate originally is then downgraded to from management board, and this process is referred to as active-standby switch.During active-standby switch, interface board can work on, and forwarding plane is unaffected.
Graceful Restart (GracefulRestart, GR) is to ensure that in network that message forwards the one with business unbroken high reliability technology, and it can ensure the normal forwarding of data when Routing Protocol is restarted, thus ensures that key business is not interrupted.
But, in order to persistently forward after realizing active-standby switch, need the management board of FC switch can learn after active-standby switch to correct FSPFLSR, and calculate correct FSPF route.Current implementation mainly uses the scheme that FSPF the machine is hot standby, which be by main management plate before there is active-standby switch, LSR information or routing iinformation are backuped to standby management board.After waiting active-standby switch, after standby management board switches to main management plate, recalculate FSPF route according to the LSR information of backup, thus realize persistently forwarding, but there are the following problems for which: firstly, there are the risk that backup information is lost.Main management plate needs LSR or routing iinformation backup to standby management board.There is the risk lost in the information back-up between management board, once backup information is lost, and standby management board just cannot receive the LSR consistent with main management plate or route, after causing active-standby switch, it is impossible to obtain correct route.Secondly, it is impossible to the change in topology that occurs during quick sensing active-standby switch also calculates correct route.During switch generation active-standby switch, if SAN network topology changes, then the link state update packet of the embodiment change in topology that other switches send cannot be received by this switch.After switch completes active-standby switch, calculate the network route of mistake according to old LSR information.Only wait that switch receives the link state update packet that neighbor switch retransmits, just can perceive change in topology, and wait that SPF calculates intervalometer and expires, recalculate correct route.
Summary of the invention
The embodiment provides a kind of message forwarding method and device, it is possible to prevent backup information from losing after FC switch carries out active-standby switch, and can quick sensing network topology change.
The invention provides following scheme:
A kind of message forwarding method, including:
When the first management board as standby management board receives active-standby switch message, trigger when self switching to main management plate, sending link state update link state update packet to the neighbor device of total interface, described link state update packet includes link state records LSR of all devices in network;
Receive the message of response after described neighbor device processes according to described link state update packet and resolve, the LSR of all devices in learning network, and the LSR in self LSD LSDB is updated;
Calculate route according to the LSDB after updating, carry out message forwarding.
A kind of apparatus for forwarding message, described device includes: link state update link state update packet transmitting element, packet parsing unit, LSD LSDB updating block and message retransmission unit;Wherein,
Described link state update packet transmitting element, for receiving active-standby switch message when the first management board as standby management board, triggering when self switching to main management plate, send link state update packet to the neighbor device of total interface, described link state update packet includes link state records LSR of all devices in network;
Described packet parsing unit, for receiving the message of response after described neighbor device processes according to described link state update packet and resolving, the LSR of all devices in learning network;
Described LSDB updating block, for being updated the LSR in LSDB;
Described message retransmission unit, for calculating route according to the LSDB after updating, carries out message forwarding.
The technical scheme provided by embodiments of the invention described above can be seen that, the message forwarding method of embodiment of the present invention offer and device, when being switched to main management plate by standby management board, i.e. send link state update packet, employ the message communication mechanism of standard definition, functional compatibility is strong, improves the reliability that message persistently forwards;And can be when FC switch carries out the switching of active and standby management board, obtain the LSR of all devices in network in time, carry out LSR synchronization, avoid backing up LSR contingent information dropout problem, can the conversion of quick sensing network topology, and calculate route according to the LSDB after updating, improve the correctness of router-level topology.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, in describing embodiment below, the required accompanying drawing used is briefly described, apparently, accompanying drawing in describing below is only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the SAN network configuration diagram that application Fabric topology is set up;
The flowchart of the message forwarding method that Fig. 2 provides for the embodiment of the present invention;
The message forwarding method learning LSR schematic diagram that Fig. 3 a-Fig. 3 b provides for the embodiment of the present invention;
The message forwarding method that Fig. 4 a-Fig. 4 c provides for the embodiment of the present invention updates LSDB schematic diagram;
The flowchart of the message forwarding method that Fig. 5 provides for the embodiment of the present invention one;
The structural representation of the apparatus for forwarding message that Fig. 6 provides for the embodiment of the present invention;
The structural representation of the apparatus for forwarding message that Fig. 7 provides for the embodiment of the present invention one.
Detailed description of the invention
For ease of the understanding to the embodiment of the present invention, as a example by several specific embodiments, it is further explained explanation below in conjunction with accompanying drawing, and each embodiment is not intended that the restriction to the embodiment of the present invention.
The flowchart of the message forwarding method that Fig. 2 provides for the embodiment of the present invention, as in figure 2 it is shown, the present embodiment comprises the steps:
Step 201, when the first management board as standby management board receives active-standby switch message, triggers when self switching to main management plate, sends link state update packet to the neighbor device of total interface, and described link state update packet includes link state records LSR of all devices in network;
Here, the neighbor device transmission to described interface includes the link state update packet of 239 LSR;Wherein, the DomainID of described 239 LSR is 1-239, and each LSR is provided that LSRAge field is maximum, is 3600 in the present embodiment;LSR algebraically is 0x80000000;LINK descriptor number is set to 0, and does not comprise any LINK descriptor.
Step 202, receives the message of response after described neighbor device processes according to described link state update packet and resolves, the LSR of all devices in learning network, and is updated the LSR in self LSDB;
When the LSDB of described neighbor device includes with the LSR of identical DomainID in described link state update packet, the link state update packet of LSR that receive described neighbor device response, that comprise described identical DomainID;
When the LSDB of described neighbor device include with described link state update packet in differ the LSR of DomainID time, receive the expression of described neighbor device response receive described with described link state update packet in differ Link State response message (LinkStateAcknowledgement, the LSA) message of LSR of DomainID.
The LSR algebraically of LSR identical for domainID with described LSDB in the LSR relatively received, is saved in LSR bigger for LSR algebraically in the LSDB of self.
Specifically, after referring to the switching of Fig. 3 a, FC switch A active and standby management board, FC switch A sends a link state update packet to all neighbor devices, carries out schematically illustrate with one of them neighbor device FC switch b in Fig. 3 a;This link state update packet includes 239 LSR, and the domainID scope comprised is 1-239.Owing to having contained up to 239 FC switches in a SAN network, therefore, the LSR that this link state update packet comprises covers all FC switches of the whole network.
Specify according to FSPF agreement, after neighbor device FC switch b receives link state update packet, need each LSR is carried out dissection process, being 3600 for Age field, algebraically is the LSR of 0X80000000, is considered as one and expires and invalid LSR, FC switch b does not preserve and does not the most forward invalid LSR, and according to the LSDB of self, be handled as follows, specifically refer to Fig. 3 b:
1) if self LSDB of FC switch b includes and receives the LSR of identical domainID in LSU, such as LSR1 and LSR2 in Fig. 3 b, then need these LSR responses to FC switch A, be i.e. Fig. 3 b includes the link state update packet of LSR1 and LSR2.
2) if switch b self LSDB does not include and receives the LSR of identical domainID in LSU, such as the LSR3~239 in Fig. 3 b, then need response LSA message, inform that FC switch A has received these LSR.
FC switch A is by receiving the response message of above-mentioned LSR1-LSR239, determine and complete alternately with FC switch b, and learn all LSR preserved to the LSDB of FC switch b, it is saved in the LSDB of self, specifically, LSR bigger for LSR algebraically can be saved in the LSDB of self by comparing the LSR algebraically of LSR identical for domainID with described LSDB in the LSR received.Algebraically according to each LSR judges that LSR's is new and old, LSR up-to-date in final preservation network topology.Such as, refer to Fig. 4 a-Fig. 4 c, FC switch b learns LSDB respectively from FC switch A and FC switch C, wherein, LSR1, LSR2, LSR4 are identical, and LSR3 has two versions of new and old, and FC switch judges the algebraically of the LSR3 received, judging LSR3 (new) the > LSR3 (old) obtained, therefore FC switch b retains LSR (new).
Step 203, calculates route according to the LSDB after updating, carries out message forwarding.
The flowchart of the message forwarding method that Fig. 5 provides for the embodiment of the present invention one;
Step 501, the first management board as standby management board receives the interface backup information that the second management board as main management plate sends;
Here, when the Interface status of described main management plate changes, in real time up-to-date interface backup information is sent to standby management board.
Step 502, when described first management board receives active-standby switch message, triggers when self switching to main management plate, and the neighbor device being in full state in described interface backup information sends HLO message.
In the embodiment of the present invention, when after active-standby switch, the neighbor device being in full state immediately in described interface backup information sends HLO message, it is spaced apart 80 seconds owing to FSPF connects default timeout, and carry out the time of active-standby switch much smaller than 80 seconds by software, ensure that FSPF annexation is not interrupted by sending HLO message immediately, improve the reliability that message persistently forwards.
Step 503, when the first management board as standby management board receives active-standby switch message, triggers when self switching to main management plate, sends link state update packet to the neighbor device of total interface, and described link state update packet includes link state records LSR of all devices in network;
Here, the neighbor device transmission to described interface includes the link state update packet of 239 LSR;Wherein, the DomainID of described 239 LSR is 1-239, and each LSR is provided that LSRAge field is maximum, is 3600 in the present embodiment;LSR algebraically is 0x80000000;LINK descriptor number is set to 0, and does not comprise any LINK descriptor.
Step 504, receives the message of response after described neighbor device processes according to described link state update packet and resolves, the LSR of all devices in learning network, and is updated the LSR in self LSDB;
When the LSDB of described neighbor device includes with the LSR of identical DomainID in described link state update packet, the link state update packet of LSR that receive described neighbor device response, that comprise described identical DomainID;
When the LSDB of described neighbor device include with described link state update packet in differ the LSR of DomainID time, receive the expression of described neighbor device response receive described with described link state update packet in differ the LSA message of LSR of DomainID.
The LSR algebraically of LSR identical for domainID with described LSDB in the LSR relatively received, is saved in LSR bigger for LSR algebraically in the LSDB of self.
Specifically, after referring to the switching of Fig. 3 a, FC switch A active and standby management board, FC switch A sends a link state update packet to all neighbor devices, carries out schematically illustrate with one of them neighbor device FC switch b in Fig. 3 a;This link state update packet includes 239 LSR, and the domainID scope comprised is 1-239.Owing to having contained up to 239 FC switches in a SAN network, therefore, the LSR that this link state update packet comprises covers all FC switches of the whole network.
Specify according to FSPF agreement, after neighbor device FC switch b receives link state update packet, need each LSR is carried out dissection process, being 3600 for Age field, algebraically is the LSR of 0X80000000, is considered as one and expires and invalid LSR, FC switch b does not preserve and does not the most forward invalid LSR, and according to the LSDB of self, be handled as follows, specifically refer to Fig. 3 b:
1) if self LSDB of FC switch b includes and receives the LSR of identical domainID in LSU, such as LSR1 and LSR2 in Fig. 3 b, then need these LSR responses to FC switch A, be i.e. Fig. 3 b includes the link state update packet of LSR1 and LSR2.
2) if switch b self LSDB does not include and receives the LSR of identical domainID in LSU, such as the LSR3~239 in Fig. 3 b, then need response LSA, inform that FC switch A has received these LSR.
FC switch A is by receiving the response message of above-mentioned LSR1-LSR239, determine and complete alternately with FC switch b, and learn all LSR preserved to the LSDB of FC switch b, it is saved in the LSDB of self, specifically, LSR bigger for LSR algebraically can be saved in the LSDB of self by comparing the LSR algebraically of LSR identical for domainID with described LSDB in the LSR received.Algebraically according to each LSR judges that LSR's is new and old, LSR up-to-date in final preservation network topology.Such as, refer to Fig. 4 a-Fig. 4 c, FC switch b learns LSDB respectively from FC switch A and FC switch C, wherein, LSR1, LSR2, LSR4 are identical, and LSR3 has two versions of new and old, and FC switch judges the algebraically of the LSR3 received, judging LSR3 (new) the > LSR3 (old) obtained, therefore FC switch b retains LSR (new).
Step 505, calculates route according to the LSDB after updating, carries out message forwarding.
Here, it will be appreciated that described step 502 and step 503 do not have strict sequencing.
The structural representation of the apparatus for forwarding message that Fig. 6 provides for the embodiment of the present invention, as shown in Figure 6, described apparatus for forwarding message includes: link state update packet transmitting element 61, packet parsing unit 62, LSDB updating block 63 and message retransmission unit 64;Wherein,
Described link state update packet transmitting element 61, for receiving active-standby switch message when the first management board as standby management board, triggering when self switching to main management plate, send link state update packet to the neighbor device of total interface, described link state update packet includes link state records LSR of all devices in network;
Described packet parsing unit 62, for receiving the message of response after described neighbor device processes according to described link state update packet and resolving, the LSR of all devices in learning network;
Described LSDB updating block 63, for being updated the LSR in LSDB;
Described message retransmission unit 64, for calculating route according to the LSDB after updating, carries out message forwarding.
Alternatively, as it is shown in fig. 7, described device also includes: HLO packet sending unit 65, for receiving active-standby switch message when described first management board, triggering when self switching to main management plate, the neighbor switch being in full state in the interface backup information received sends HLO message;Wherein, described interface backup information is the interface backup information that the second management board as main management plate received as the first management board during standby management board sends.
Further, described link state update packet transmitting element 61, specifically for sending the link state update packet including 239 link state records LSR to the neighbor device of described interface;Wherein, the DomainID of described 239 LSR is 1-239, and the LSRAge field of each LSR is maximum, and LSR algebraically is 0x80000000, and does not comprise any LINK descriptor.
Further, described packet parsing unit 62, specifically for when the LSDB of described neighbor device includes with the LSR of identical DomainID in described link state update packet, the link state update packet of LSR that receive described neighbor device response, that comprise described identical DomainID;When the LSDB of described neighbor device include with described link state update packet in differ the LSR of DomainID time, receive the expression of described neighbor device response receive described with described link state update packet in differ the LSA message of LSR of DomainID.
Further, described LSDB updating block 63, specifically for comparing the LSR algebraically of LSR identical for domainID with described LSDB in the LSR received, LSR bigger for LSR algebraically is saved in the LSDB of self.
Should be appreciated that the apparatus for forwarding message that the embodiment of the present invention provides realizes principle and process similar with the embodiment shown in above-mentioned Fig. 2 and Fig. 5, do not repeat them here.
The message forwarding method of embodiment of the present invention offer and device, when being switched to main management plate by standby management board, i.e. send link state update packet, employs the message communication mechanism of standard definition, and functional compatibility is strong, the reliability that raising message persistently forwards;And can be when FC switch carries out the switching of active and standby management board, obtain the LSR of all devices in network in time, carry out LSR synchronization, avoid backing up LSR contingent information dropout problem, can the conversion of quick sensing network topology, and calculate route according to the LSDB after updating, improve the correctness of router-level topology.
One of ordinary skill in the art will appreciate that: accompanying drawing is the schematic diagram of an embodiment, module or flow process in accompanying drawing are not necessarily implemented necessary to the present invention.
As seen through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to the present invention and realize.Based on such understanding, the part that prior art is contributed by technical scheme the most in other words can embody with the form of software product, this computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) perform each embodiment of the present invention or the method described in some part of embodiment.
Each embodiment in this specification all uses the mode gone forward one by one to describe, and between each embodiment, identical similar part sees mutually, and what each embodiment stressed is the difference with other embodiments.For device or system embodiment, owing to it is substantially similar to embodiment of the method, so describing fairly simple, relevant part sees the part of embodiment of the method and illustrates.Apparatus and system embodiment described above is only schematically, the wherein said unit illustrated as separating component can be or may not be physically separate, the parts shown as unit can be or may not be physical location, i.e. may be located at a place, or can also be distributed on multiple NE.Some or all of module therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.Those of ordinary skill in the art, in the case of not paying creative work, are i.e. appreciated that and implement.
The above; being only the present invention preferably detailed description of the invention, but protection scope of the present invention is not limited thereto, any those familiar with the art is in the technical scope that the invention discloses; the change that can readily occur in or replacement, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.

Claims (10)

1. a message forwarding method, it is characterised in that including:
When the first management board as standby management board receives active-standby switch message, trigger when self switching to main management plate, sending link state update link state update packet to the neighbor device of total interface, described link state update packet includes link state records LSR of all devices in network;
Receive the message of response after described neighbor device processes according to described link state update packet and resolve, the LSR of all devices in learning network, and the LSR in self LSD LSDB is updated;
Calculate route according to the LSDB after updating, carry out message forwarding.
Method the most according to claim 1, it is characterised in that described method also includes:
The first management board as standby management board receives the interface backup information that the second management board as main management plate sends;
When described first management board receives active-standby switch message, triggering when self switching to main management plate, the neighbor switch being in full state in described interface backup information sends HLO message.
Method the most according to claim 1, it is characterised in that the described neighbor device transmission link state update packet to total interface, described link state update packet includes 239 LSR, specifically includes:
The link state update packet including 239 link state records LSR is sent to the neighbor device of described interface;Wherein, the DomainID of described 239 LSR is 1-239, and the LSRAge field of each LSR is maximum, and LSR algebraically is 0x80000000, and does not comprise any LINK descriptor.
Method the most according to claim 3, it is characterised in that the message of described reception described neighbor device response, specifically includes:
When the LSDB of described neighbor device includes with the LSR of identical DomainID in described link state update packet, the link state update packet of LSR that receive described neighbor device response, that comprise described identical DomainID;
When the LSDB of described neighbor device include with described link state update packet in differ the LSR of DomainID time, receive the expression of described neighbor device response receive described with described link state update packet in differ the Link State response LSA message of LSR of DomainID.
Method the most according to claim 3, it is characterised in that the LSR in the described LSDB to self is updated, and specifically includes:
The LSR algebraically of LSR identical for domainID with described LSDB in the LSR relatively received, is saved in LSR bigger for LSR algebraically in the LSDB of self.
6. an apparatus for forwarding message, it is characterised in that described device includes: link state update link state update packet transmitting element, packet parsing unit, LSD LSDB updating block and message retransmission unit;Wherein,
Described link state update packet transmitting element, for receiving active-standby switch message when the first management board as standby management board, triggering when self switching to main management plate, send link state update packet to the neighbor device of total interface, described link state update packet includes link state records LSR of all devices in network;
Described packet parsing unit, for receiving the message of response after described neighbor device processes according to described link state update packet and resolving, the LSR of all devices in learning network;
Described LSDB updating block, for being updated the LSR in LSDB;
Described message retransmission unit, for calculating route according to the LSDB after updating, carries out message forwarding.
Device the most according to claim 6, it is characterized in that, described device also includes: HLO packet sending unit, for receiving active-standby switch message when described first management board, triggering when self switching to main management plate, the neighbor switch being in full state in the interface backup information received sends HLO message;Wherein, described interface backup information is the interface backup information that the second management board as main management plate received as the first management board during standby management board sends.
Device the most according to claim 6, it is characterised in that described link state update packet transmitting element, specifically for sending the link state update packet including 239 link state records LSR to the neighbor device of described interface;Wherein, the DomainID of described 239 LSR is 1-239, and the LSRAge field of each LSR is maximum, and LSR algebraically is 0x80000000, and does not comprise any LINK descriptor.
Device the most according to claim 8, it is characterized in that, described packet parsing unit, specifically for when the LSDB of described neighbor device includes with the LSR of identical DomainID in described link state update packet, the link state update packet of LSR that receive described neighbor device response, that comprise described identical DomainID;When the LSDB of described neighbor device include with described link state update packet in differ the LSR of DomainID time, receive the expression of described neighbor device response receive described with described link state update packet in differ the LSA message of LSR of DomainID.
Device the most according to claim 8, it is characterised in that described LSDB updating block, specifically for comparing the LSR algebraically of LSR identical for domainID with described LSDB in the LSR received, is saved in LSR bigger for LSR algebraically in the LSDB of self.
CN201610137343.1A 2016-03-10 2016-03-10 Message forwarding method and apparatus Pending CN105827533A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610137343.1A CN105827533A (en) 2016-03-10 2016-03-10 Message forwarding method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610137343.1A CN105827533A (en) 2016-03-10 2016-03-10 Message forwarding method and apparatus

Publications (1)

Publication Number Publication Date
CN105827533A true CN105827533A (en) 2016-08-03

Family

ID=56987972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610137343.1A Pending CN105827533A (en) 2016-03-10 2016-03-10 Message forwarding method and apparatus

Country Status (1)

Country Link
CN (1) CN105827533A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116667991A (en) * 2023-08-01 2023-08-29 北京国科天迅科技股份有限公司 FC-AE switching network time synchronization method and related equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487357A (en) * 2010-12-03 2012-06-06 杭州华三通信技术有限公司 Control method and device for continuous forwarding after main and standby switching

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487357A (en) * 2010-12-03 2012-06-06 杭州华三通信技术有限公司 Control method and device for continuous forwarding after main and standby switching

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116667991A (en) * 2023-08-01 2023-08-29 北京国科天迅科技股份有限公司 FC-AE switching network time synchronization method and related equipment

Similar Documents

Publication Publication Date Title
US7804770B2 (en) Method and apparatus for performing a graceful restart in a NSF-capable router without enhancing link state routing protocols
US7573811B2 (en) Network transparent OSPF-TE failover
US7490161B2 (en) Method and system for implementing OSPF redundancy
AU2005236835B2 (en) Routing system and method for transparently recovering routing states after a failover or during a software upgrade
US7317731B2 (en) System and method for distributed resource reservation protocol-traffic engineering (RSVP-TE) hitless restart in multi-protocol label switching (MPLS) network
US7155632B2 (en) Method and system for implementing IS-IS protocol redundancy
US7269133B2 (en) IS-IS high availability design
US8018844B2 (en) Reliable message transfer over an unreliable network
US7292535B2 (en) Highly-available OSPF routing protocol
KR100445374B1 (en) Topology propagation in a distributed computing environment with no topology message traffic in steady state
US7549078B2 (en) Redundancy in routing devices
KR20150056159A (en) A method operating of a controller and a switch to resolve network error, and the controller and the switch therefor
CN102342050B (en) LDP IGP synchronization for broadcast networks
CN105281947A (en) Techniques for transforming legacy networks into SDN-enabled networks
US8824275B2 (en) Route calculating after switching occurs from a primary main control board to a standby main control board
CN105340226B (en) The method and device thereof of the main preparation system switching of dynamic routing equipment
US20140043960A1 (en) Method, tor switch, and system for implementing protection switchover based on trill network
CN101753454B (en) Graceful restart method for router, router and network system
US8483049B2 (en) System and method for communications system routing component level high availability
CN109495345B (en) BFD processing method and network equipment
CN107547374B (en) Aggregation route processing method and device
CN110266587A (en) A kind of processing method and processing device of link-state information
CN109302328B (en) Hot standby switching method and system for VXLAN (virtual extensible local area network)
CN105827533A (en) Message forwarding method and apparatus
JP2003244197A (en) Route redundant system and method for minimizing communication disconnection time during partial failure in router

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160803