CN106789663A - A kind of message forwarding method and device - Google Patents

A kind of message forwarding method and device Download PDF

Info

Publication number
CN106789663A
CN106789663A CN201610102259.6A CN201610102259A CN106789663A CN 106789663 A CN106789663 A CN 106789663A CN 201610102259 A CN201610102259 A CN 201610102259A CN 106789663 A CN106789663 A CN 106789663A
Authority
CN
China
Prior art keywords
stack equipment
message
stack
equipment
stacking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610102259.6A
Other languages
Chinese (zh)
Other versions
CN106789663B (en
Inventor
梁学伟
闫丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201610102259.6A priority Critical patent/CN106789663B/en
Publication of CN106789663A publication Critical patent/CN106789663A/en
Application granted granted Critical
Publication of CN106789663B publication Critical patent/CN106789663B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/58Association of routers
    • H04L45/583Stackable routers
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/32Flooding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A kind of message forwarding method and device are the embodiment of the invention provides, the first stack equipment is applied to, methods described includes:After receiving the first isolation message of the second stack equipment transmission, stacking topology is updated;Wherein, the stacking topology after renewal does not include the second stack equipment;The first isolation message is that second stack equipment to get restart after software to be upgraded and sends before;According to the stacking topology after the renewal, the first stack equipment to the forward-path of other stack equipments in addition to the second stack equipment is calculated;Forward table is updated according to the forward-path, and is E-Packeted according to the forward table after renewal.In the embodiment of the present invention, after first stack equipment receives the isolation message of the second stack equipment transmission, second stack equipment can be deleted from stacking topology, therefore, first stack equipment is when the message to receiving is forwarded, the second stack equipment will not be forwarded the message to such that it is able to reduce the packet loss in message repeating process.

Description

A kind of message forwarding method and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of message forwarding method and device.
Background technology
ISSU (In-Service Software Upgrade, non-interrupting service upgrading) function is that one kind can be protected The card upgrading mode that business is not interrupted or the break period is shorter during device upgrade.For example, stacking system Any appliance in system can use ISSU functions, realize the upgrading of the equipment.Specifically, the equipment can To be restarted, and in restarting process loading upgrading software come complete upgrading.
In for any stack equipment escalation process in pile system, guarantee business can not be interrupted, stacking The service message that system is carried occurs without packet loss, it is necessary to take stacking aggregated links Zero packet loss technique.
Shown in system architecture such as Fig. 1 (a) of existing stacking aggregated links Zero packet loss technique, pile system can With including multiple stack equipments:Stack equipment 1, stack equipment 2 and stack equipment 3;Also, opposite end The port trunking being connected with each stack equipment in pile system in equipment, constitutes aggregation group.Set with stacking The process of stack equipment upgrading is illustrated as a example by standby 2.When stack equipment 2 completes upgrading software download, restart Before coming into force, the first message notifying opposite equip. 1 and opposite equip. 2 can be sent, by correspondence stacking in aggregation group The member port of equipment 2 is deleted.As shown in dotted line in Fig. 1 (b), when opposite equip. 1 and opposite equip. 2 After the member port of correspondence stack equipment 2 is deleted, the member port will not again share aggregation group traffic messages.
Afterwards, stack equipment 2 starts to restart, loading upgrading software.After the completion of restarting, stack equipment 2 The 3rd message notifying opposite equip. 1 and opposite equip. 2 are sent, the member port of correspondence stack equipment 2 is added Enter aggregation group, the member port can undertake the flow forwarding of aggregation group afterwards.Because stacking sets in pile system During standby upgrading, opposite equip. can by should the member port of stack equipment delete, opposite equip. will be by will Flow switch to correspondence other stack equipments member port, zero packet loss during upgrading so as to realize stack equipment.
As shown in Fig. 2 (a), between opposite equip. when message forwarding is carried out, such as message forwarding path is right End equipment 1 arrives opposite equip. 2.Opposite equip. 1 carries out aggregation group load balancing, and message is stacked from correspondence The member port of equipment 3 sends;After stack equipment 3 receives message, determine that the message needs to be forwarded to Opposite equip. 2, stack equipment 3 is by Hash calculation, if the path calculated is by stack equipment 1 Opposite equip. 2 is forwarded to, then as the path as shown in Fig. 2 (a), stack equipment 3 stacks message by it Mouth is sent to stack equipment 2, and message is sent to stack equipment 1 by stack equipment 2 by its stacking opening again, then Opposite equip. 2 is forwarded to by stack equipment 1.
But as shown in Fig. 2 (b), stack equipment 2 is when being upgraded, it is impossible to carry out message forwarding.Cause This, when stack equipment 3 is forwarded to the message that it is received, and forward-path is needed by stack equipment When 2, can be by the message dropping.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of message forwarding method and device, to reduce message forwarding During packet loss.Concrete technical scheme is as follows:
In a first aspect, the embodiment of the invention provides a kind of message forwarding method, methods described is applied to first Stack equipment, methods described includes:
After receiving the first isolation message of the second stack equipment transmission, stacking topology is updated;Wherein, update Stacking topology afterwards does not include second stack equipment;The first isolation message is that second stacking sets It is standby get software to be upgraded after restart what is sent before;
According to the stacking topology after the renewal, the first stack equipment is calculated in addition to the second stack equipment The forward-path of other stack equipments;
Forward table is updated according to the forward-path, and is E-Packeted according to the forward table after renewal.
Second aspect, the embodiment of the invention provides a kind of apparatus for forwarding message, and described device is applied to first Stack equipment, described device includes:
First update module, for after the first isolation message for receiving the transmission of the second stack equipment, updating heap Folded topology;Wherein, the stacking topology after renewal does not include second stack equipment;First isolation disappears Breath is that second stack equipment to get restart after software to be upgraded and sends before;
First computing module, for according to the stacking topology after the renewal, calculating the first stack equipment to removing The forward-path of other stack equipments outside the second stack equipment;
Performing module, for updating forward table according to the forward-path, and turns according to the forward table after renewal Transmit messages text.
A kind of message forwarding method and device are the embodiment of the invention provides, methods described is applied to the first stacking Equipment, methods described includes:After receiving the first isolation message of the second stack equipment transmission, stacking is updated Topology;Wherein, the stacking topology after renewal does not include second stack equipment;The first isolation message Second stack equipment to get restart after software to be upgraded and sends before;After the renewal Stacking topology, calculates the first stack equipment to the forwarding road of other stack equipments in addition to the second stack equipment Footpath;Forward table is updated according to the forward-path, and is E-Packeted according to the forward table after renewal.The present invention In embodiment, the first stack equipment is received will restart the isolation message that the second stack equipment of upgrading sends Afterwards, the second stack equipment can be deleted from stacking topology, and according to the heap deleted after the second stack equipment Folded topology updates forward table, therefore, the first stack equipment, will not when the message to receiving is forwarded Forward the message to the second stack equipment such that it is able to reduce the packet loss in message repeating process.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to implementing Example or the accompanying drawing to be used needed for description of the prior art are briefly described, it should be apparent that, describe below In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying On the premise of going out creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 (a), Fig. 1 (b) are the system architecture of existing stacking aggregated links Zero packet loss technique;
Fig. 2 (a), Fig. 2 (b) are existing stack equipment escalation process schematic diagram;
Fig. 3 is a kind of flow chart of message forwarding method provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of stack equipment upgrade method provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of apparatus for forwarding message provided in an embodiment of the present invention;
Fig. 6 is a kind of another structural representation of apparatus for forwarding message provided in an embodiment of the present invention;
Fig. 7 (a) -7 (c) is the stack equipment escalation process schematic diagram of the embodiment of the present invention.
Specific embodiment
In order to reduce the packet loss in message repeating process, a kind of message forwarding side is the embodiment of the invention provides Method and device.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, it is fully described by, it is clear that described embodiment is only a part of embodiment of the invention, rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation Property work under the premise of the every other embodiment that is obtained, belong to the scope of protection of the invention.
It should be noted that in the case where not conflicting, the embodiment in the present invention and the feature in embodiment Can be mutually combined.Describe the present invention in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
In order to reduce the packet loss in message repeating process, a kind of message forwarding side is the embodiment of the invention provides Method, is applied to the first stack equipment, as shown in figure 3, the process is comprised the following steps:
S301, after receiving the first isolation message of the second stack equipment transmission, updates stacking topology;Wherein, Stacking topology after renewal does not include second stack equipment;The first isolation message is second heap Stacking device restarts what is sent before after getting software to be upgraded.
In actual applications, stack equipment can carry out software upgrading.Specifically, stack equipment can be first Software to be upgraded is obtained, is then restarted, software to be upgraded is loaded in restarting process, so as to complete soft Part is upgraded.
It is appreciated that during stack equipment restarts upgrading, the upgrading stack equipment can not be to message Forwarded.
Therefore, in embodiments of the present invention, in order to reduce the packet loss in message repeating process, when the second heap Stacking device is got before restart after software to be upgraded, and it can send the first isolation and disappear to the first stack equipment Breath, to inform the first stack equipment, its own will carry out restarting upgrading.For example, above-mentioned first isolation message In can include the second stack equipment identification information and its whether the status information that will be restarted.
After first stack equipment receives the first isolation message of the second stack equipment transmission, can be according to first Isolation message obtains the status information that the second stack equipment will be restarted.Also, turn to reduce message Packet loss during hair, the message that will not receive is transmitted to the second stack equipment, and the first stack equipment can To update stacking topology, wherein, do not include the second stack equipment in the stacking topology after renewal.
It should be noted that in the embodiment of the present invention, above-mentioned second stack equipment can be in pile system Any stack equipment.That is, before any one stack equipment in pile system restarts upgrading, all can First is sent to the first stack equipment and isolate message, so that each the stack equipment liter in ensureing pile system During level, the first stack equipment can all update stacking topology.
S302, according to the stacking topology after the renewal, calculates the first stack equipment to except the second stack equipment Outside other stack equipments forward-path.
After first stack equipment updates stacking topology, it can be topological according further to the stacking after renewal, The first stack equipment to the forward-path of other stack equipments in addition to the second stack equipment is calculated, will be connect When the message for receiving is transmitted to other stack equipments, without the second stack equipment.
S303, updates forward table, and E-Packet according to the forward table after renewal according to the forward-path.
In actual applications, any one stack equipment is forwarded to other stack equipments in the message for being received When, the forward table that can be preserved according to itself is forwarded to the message for receiving.Specifically, stack equipment After it is determined that message needs to be forwarded from which stack equipment (referred to as purpose stack equipment), can be according to purpose The identification information of stack equipment, searches in forward table and obtains corresponding with the identification information of the purpose stack equipment Go out port numbers, and the message is forwarded from corresponding exit port.
Therefore, in embodiments of the present invention, be calculated the first stack equipment to except the second stack equipment it After the forward-path of other outer stack equipments, the first stack equipment can be according to the forwarding road being calculated Footpath updates forward table, and is E-Packeted according to the forward table after renewal.
Specifically, the first stack equipment can according to the forward-path being calculated, update in forward table it is each its The corresponding go out port numbers of its stack equipment.
Message forwarding method provided in an embodiment of the present invention, the first stack equipment is received will restart upgrading After the isolation message that second stack equipment sends, the second stack equipment can be deleted from stacking topology, and Stacking topology according to deleting after the second stack equipment updates forward table, therefore, the first stack equipment is in docking When the message for receiving is forwarded, the second stack equipment will not be forwarded the message to such that it is able to reduce message Packet loss in repeating process.
In a kind of implementation of the embodiment of the present invention, when the second stack equipment sends to the first stack equipment After first isolation message, the second stack equipment can start to restart upgrading after scheduled duration is waited.It is above-mentioned Scheduled duration can be to ensure that the first stack equipment can complete to update the duration of forward table, for example, can be 2 Second, 3 seconds, 5 seconds etc..
In another implementation, after more the first stack equipment of accurate guarantee completes to update forward table Second stack equipment just starts to restart upgrading, and the first stack equipment, can be to second after forward table is updated Stack equipment sends first and isolates completion message, so that the second stack equipment is restarted and loads software to be upgraded.
Further, in embodiments of the present invention, the first stack equipment can be topological according to the stacking before renewal, The first stack equipment to the forward-path of the second stack equipment is calculated, and according to the first stack equipment for calculating Forward-path to the second stack equipment updates forward table.
Further, in actual applications, when each stack equipment all normally runs, stacking topology is generally It is ring topology.Therefore, may ceaselessly be forwarded always for multicast message, that is, be likely to result in report Text forwarding storm.In order to prevent message from forwarding storm, corresponding source mistake is preserved in each stack equipment Filter table, defines in the source filter table of any one stack equipment and is filtered the message from which equipment, It is blocked, accordingly it is possible to prevent message forwarding storm.
In embodiments of the present invention, after the first stack equipment deletes the second stack equipment from stacking topology, Stacking topology after renewal has not been ring topology, therefore, be not in the problem of message forwarding storm.
Therefore, in embodiments of the present invention, the first stack equipment can be deleted after stacking topology is updated The source filter table for preventing message forwarding storm for itself preserving.
Further, stack equipment 1 can also upgrade to itself, refer to Fig. 4, the embodiment of the present invention The stack equipment upgrade method of offer can include:
S401, before restarting after getting software to be upgraded, to stacking outside opposite equip. send deletion disappear Breath, to cause that the opposite equip. deletes the member port of correspondence first stack equipment in aggregation group.
In actual applications, the port trunking being connected with each stack equipment in pile system on opposite equip., Constitute aggregation group.When opposite equip. sends message to pile system, load balancing is carried out in aggregation group, that is, led to Overload Sharing Algorithm, selects exit port from aggregation group, by the exit port, forwards the packet to stacking The stack equipment being connected with the exit port in system.
It is appreciated that during the first stack equipment restarts upgrading, it can not be forwarded to message. In this case, if the message that opposite equip. will be received is transmitted to the first stack equipment, it will cause packet loss.
Therefore, in embodiments of the present invention, in order to reduce message forwarding in the first stack equipment escalation process Packet loss, before restarting after the first stack equipment gets software to be upgraded, can to stacking outside opposite end Equipment sends deletes message, to cause that opposite equip. deletes the member end of the first stack equipment of correspondence in aggregation group Mouthful.
Before the first stack equipment restarts upgrading, it is sent by the opposite equip. outside to stacking and deletes message, So that opposite equip. deletes the member port of the first stack equipment of correspondence in aggregation group, so that opposite equip. connects The message from the member port forwarding of the first stack equipment of correspondence will not will would not be also somebody's turn to do when receiving message Message is transmitted to the first stack equipment, so as to packet loss will not be caused.
S402, sends second and isolates message to the 3rd stack equipment, to cause the 3rd stack equipment more After new complete forward table, send second to first stack equipment and isolate completion message.
Message is deleted when the first stack equipment sends to opposite equip., so that right in opposite equip. deletion aggregation group After answering the member port of the first stack equipment, it is ensured that opposite equip. does not forward the message to the first stacking and sets It is standby.But, in actual applications, other stack equipments in pile system when being forwarded to message, It is likely to may require that the message is forwarded by the first stack equipment.In this case, due to the first heap Stacking device is when being upgraded, it is impossible to carry out message forwarding, therefore, this occurs by the first stack equipment The message dropping of forwarding, causes substantial amounts of packet loss.
Therefore, in embodiments of the present invention, the first stack equipment, can also be to the 3rd before upgrading is restarted Stack equipment sends second and isolates message, to cause the 3rd stack equipment after forward table has been updated, to first Stack equipment sends second and isolates completion message.
It should be noted that in the embodiment of the present invention, above-mentioned 3rd stack equipment can be in pile system Any stack equipment.That is, the first stack equipment is before upgrading is restarted, can be to every in pile system One stack equipment sends second and isolates message, so as to each stack equipment in pile system updates turn Deliver, and second is sent to the first stack equipment and isolate completion message.
Specifically, the first stack equipment restart upgrading before, can to the 3rd stack equipment send second every From message, after the 3rd stack equipment receives the second isolation message of the first stack equipment transmission, can update Stacking topology, calculates itself to the path of other stack equipments in addition to the first stack equipment, and according to meter The routing update forward table for obtaining.Also, after the 3rd stack equipment has updated forward table, can be to first Stack equipment sends second and isolates completion message, so that the first stack equipment can start to restart upgrading.
It should be noted that above-mentioned steps S401 and step S402 can be performed simultaneously, can also be in sequence Perform, such as first carry out step S401, then perform step S402, or, step S402 is first carried out, then perform Step S401, the embodiment of the present invention is without limitation.
S403, after the second isolation completion message is received, restarts and loads the software to be upgraded.
After the first stack equipment receives the second isolation completion message, may indicate that the 3rd stack equipment is complete Into the renewal of forward table, that is to say, that the 3rd stack equipment will not forward the message to the first stack equipment, In this case, the first stack equipment can restart and load software to be upgraded, so as to complete upgrading.
Stack equipment upgrade method provided in an embodiment of the present invention, the first stack equipment before upgrading restart, Can to stacking outside opposite equip. send delete message so that opposite equip. delete aggregation group in correspondence the first heap The member port of stacking device, and the second isolation message is sent to the 3rd stack equipment, so that the 3rd stack equipment After forward table has been updated, send second to the first stack equipment and isolate completion message, the first stack equipment is Start to restart upgrading, therefore, during the first stack equipment restarts upgrading, message is not had and is entered by itself Row forwarding, so as to reduce the packet loss of message forwarding in stack equipment escalation process.
Further, in embodiments of the present invention, after the completion of upgrading software loading, the first stack equipment Can be sent to opposite equip. and add message, to cause opposite equip. by the member end of the first stack equipment of correspondence Mouth adds aggregation group.
After the member port of the first stack equipment of correspondence is added aggregation group by opposite equip., the first stack equipment is just The flow forwarding of aggregation group can be again undertaken, the flow transfer capability of aggregation group is lifted.
Further, in embodiments of the present invention, after the second stack equipment completes software upgrading, can again It is added in pile system, the first stack equipment can be found that the addition of the second stack equipment this pile system, Then according to the stacking topology before renewal, the first stack equipment to the forward-path of other stack equipments is calculated, And forward table is updated according to the forward-path of the first stack equipment for calculating to other stack equipments.Wherein, It was found that stack equipment adds the process of pile system same as the prior art, will not be repeated here.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides corresponding device embodiment.
Fig. 5 is a kind of apparatus for forwarding message provided in an embodiment of the present invention, and described device is applied to the first stacking Equipment, described device includes:
First update module 510, after for receiving the transmission of the second stack equipment first isolates message, more New stacking topology;Wherein, the stacking topology after renewal does not include second stack equipment;Described first every It is that second stack equipment to get restart after software to be upgraded and sends before from message;
First computing module 520, for according to the stacking topology after the renewal, calculating the first stack equipment To the forward-path of other stack equipments in addition to the second stack equipment;
Performing module 530, for updating forward table according to the forward-path, and according to the forwarding after renewal Table E-Packets.
Apparatus for forwarding message provided in an embodiment of the present invention, the first stack equipment is received will restart upgrading After the isolation message that second stack equipment sends, the second stack equipment can be deleted from stacking topology, and Stacking topology according to deleting after the second stack equipment updates forward table, therefore, the first stack equipment is in docking When the message for receiving is forwarded, the second stack equipment will not be forwarded the message to such that it is able to reduce message Packet loss in repeating process.
Further, described device also includes:
First sending module (not shown), for according to the forward-path update forward table after, First is sent to second stack equipment and isolate completion message, so that second stack equipment is restarted and added Carry the software to be upgraded.
Further, described device also includes:
Second computing module (not shown), for according to the stacking topology before renewal, calculating the first heap Forward-path of the stacking device to the second stack equipment;
Second update module (not shown), for according to the first stack equipment to the second heap for calculating The forward-path of stacking device updates forward table.
Further, described device also includes:
Removing module (not shown), for after stacking topology is updated, deleting the use of itself preservation In the source filter table for preventing message from forwarding storm.
Further, as shown in fig. 6, apparatus for forwarding message provided in an embodiment of the present invention, can also include:
Second sending module 610, for before restarting after getting software to be upgraded, to stacking outside it is right End equipment sends deletes message, to cause that correspondence first stacking sets during the opposite equip. deletes aggregation group Standby member port;
3rd sending module 620, message is isolated for sending second to the 3rd stack equipment, described to cause 3rd stack equipment sends second and isolates completion message after forward table has been updated, to first stack equipment;
Upgraded module 630, for after the second isolation completion message is received, restarting and loading and be described Software to be upgraded.
Further, described device also includes:
Module (not shown) is added, for after the completion of upgrading software loading, to the opposite equip. Send and add message, to cause that the opposite equip. adds the member port of correspondence first stack equipment Aggregation group.
The stack equipment upgrade method that the present invention is provided is carried out in detail with reference to a specific embodiment Explanation.
As shown in Fig. 7 (a), the pile system in the present embodiment can include multiple stack equipments:Stacking sets Standby 1, stack equipment 2, stack equipment 3, stack equipment 4 and stack equipment 5, constitute annular stacking; Also, the port trunking that opposite equip. 1, opposite equip. 2 are connected with each stack equipment in pile system, Constitute aggregation group.
The process of the stack equipment upgrading of the embodiment of the present invention is illustrated by taking stack equipment 2 as an example.When stacking sets Standby 2 complete software download to be upgraded, restart before coming into force, and can be sent to opposite equip. 1 and opposite equip. 2 Message is deleted, after opposite equip. 1 and opposite equip. 2 receive the deletion message of the transmission of stack equipment 2, can To delete the member port of correspondence stack equipment 2 in aggregation group.As shown in dotted line in Fig. 7 (b), work as opposite end After equipment 1 and opposite equip. 2 delete the member port of correspondence stack equipment 2 in aggregation group, the member port Aggregation group traffic messages will not again be shared.
Also, stack equipment 2 can be to the stack equipment of other in pile system (stack equipment 1, stacking Equipment 3, stack equipment 4 and stack equipment 5) isolation message is sent, with stack equipment 3 in the present embodiment Receive isolation message as a example by illustrate, when stack equipment 3 receive isolation message after, heap can be updated Folded topology, shown in such as Fig. 7 (c), to delete the stacking topoligical equivalence figure after stack equipment 2.Then, root Itself is calculated to the path of other stack equipments in addition to stack equipment 2, root according to the stacking topology after renewal Itself is calculated to the path of stack equipment 2 according to the topology before renewal, and is turned according to the routing update being calculated Deliver, and E-Packeted according to the forward table after renewal.Also, after stack equipment 3 has updated forward table, Isolation completion message, other institutes in stack equipment 2 receives pile system can be sent to stack equipment 2 After having the isolation completion message that stack equipment sends, start to restart upgrading.
Afterwards, stack equipment 2 starts to restart, loading upgrading software.After the completion of restarting, stack equipment 2 Send and add message to opposite equip. 1 and opposite equip. 2, opposite equip. 1 and opposite equip. 2 will correspondence heaps The member port of stacking device 2 adds aggregation group, and the member port can undertake the flow forwarding of aggregation group afterwards. When other stack equipments (such as stack equipment 3) in pile system find that stack equipment 2 rejoins heap After in folded system, itself is calculated to the path of other stack equipments according to the topology before renewal, and according to calculating The routing update forward table for obtaining, E-Packets according to the forward table after renewal.
It should be noted that herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these There is any this actual relation or order between entity or operation.And, term " including ", " bag Containing " or any other variant thereof is intended to cover non-exclusive inclusion, so that including a series of key elements Process, method, article or equipment not only include those key elements, but also including being not expressly set out Other key elements, or it is this process, method, article or the intrinsic key element of equipment also to include. In the case of there is no more limitations, the key element limited by sentence "including a ...", it is not excluded that including Also there is other identical element in the process of the key element, method, article or equipment.
Each embodiment in this specification is described by the way of correlation, identical phase between each embodiment As part mutually referring to what each embodiment was stressed is the difference with other embodiment. For especially for system embodiment, because it is substantially similar to embodiment of the method, so the comparing of description Simply, the relevent part can refer to the partial explaination of embodiments of method.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the scope of the present invention. All any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in In protection scope of the present invention.

Claims (12)

1. a kind of message forwarding method, it is characterised in that methods described is applied to the first stack equipment, institute The method of stating includes:
After receiving the first isolation message of the second stack equipment transmission, stacking topology is updated;Wherein, update Stacking topology afterwards does not include second stack equipment;The first isolation message is that second stacking sets It is standby get software to be upgraded after restart what is sent before;
According to the stacking topology after the renewal, the first stack equipment is calculated in addition to the second stack equipment The forward-path of other stack equipments;
Forward table is updated according to the forward-path, and is E-Packeted according to the forward table after renewal.
2. method according to claim 1, it is characterised in that turn being updated according to the forward-path After delivering, methods described also includes:
First is sent to second stack equipment and isolate completion message, so that second stack equipment is restarted And load the software to be upgraded.
3. method according to claim 1, it is characterised in that methods described also includes:
According to the stacking topology before renewal, the forward-path of the first stack equipment to the second stack equipment is calculated;
Forward-path according to the first stack equipment for calculating to the second stack equipment updates forward table.
4. method according to claim 1, it is characterised in that described after stacking topology is updated Method also includes:
Delete the source filter table for preventing message forwarding storm for itself preserving.
5. according to any described methods of claim 1-4, it is characterised in that methods described also includes:
Before restarting after getting software to be upgraded, to stacking outside opposite equip. send delete message, with So that the opposite equip. deletes the member port of correspondence first stack equipment in aggregation group;And
Second is sent to the 3rd stack equipment and isolate message, to cause that the 3rd stack equipment is updating turn After delivering, send second to first stack equipment and isolate completion message;
After the second isolation completion message is received, the software to be upgraded is restarted and loaded.
6. method according to claim 5, it is characterised in that methods described also includes:
After the completion of upgrading software loading, sent to the opposite equip. and add message, to cause the opposite end The member port of correspondence first stack equipment is added aggregation group by equipment.
7. a kind of apparatus for forwarding message, it is characterised in that described device is applied to the first stack equipment, institute Stating device includes:
First update module, for after the first isolation message for receiving the transmission of the second stack equipment, updating heap Folded topology;Wherein, the stacking topology after renewal does not include second stack equipment;First isolation disappears Breath is that second stack equipment to get restart after software to be upgraded and sends before;
First computing module, for according to the stacking topology after the renewal, calculating the first stack equipment to removing The forward-path of other stack equipments outside the second stack equipment;
Performing module, for updating forward table according to the forward-path, and turns according to the forward table after renewal Transmit messages text.
8. device according to claim 7, it is characterised in that described device also includes:
First sending module, for after forward table is updated according to the forward-path, to second heap Stacking device sends first and isolates completion message, so that second stack equipment is restarted and loaded described to be upgraded Software.
9. device according to claim 7, it is characterised in that described device also includes:
Second computing module, for according to the stacking topology before renewal, calculating the first stack equipment to the second heap The forward-path of stacking device;
Second update module, for the forwarding road according to the first stack equipment to the second stack equipment for calculating Footpath updates forward table.
10. device according to claim 7, it is characterised in that described device also includes:
Removing module, for update stacking topology after, delete itself preservation for preventing message from forwarding The source filter table of storm.
11. according to any described devices of claim 7-10, it is characterised in that described device also includes:
Second sending module, for before restarting after getting software to be upgraded, to stacking outside opposite end set Preparation send deletion message, to cause that the opposite equip. corresponds to first stack equipment in deleting aggregation group Member port;And
3rd sending module, message is isolated for sending second to the 3rd stack equipment, to cause the described 3rd Stack equipment sends second and isolates completion message after forward table has been updated, to first stack equipment;
Upgraded module, described waits to rise for after the second isolation completion message is received, restarting and loading Level software.
12. devices according to claim 11, it is characterised in that described device also includes:
Module is added, for after the completion of upgrading software loading, being sent to the opposite equip. and adding message, To cause that the member port of correspondence first stack equipment is added aggregation group by the opposite equip..
CN201610102259.6A 2016-02-24 2016-02-24 Message forwarding method and device Active CN106789663B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610102259.6A CN106789663B (en) 2016-02-24 2016-02-24 Message forwarding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610102259.6A CN106789663B (en) 2016-02-24 2016-02-24 Message forwarding method and device

Publications (2)

Publication Number Publication Date
CN106789663A true CN106789663A (en) 2017-05-31
CN106789663B CN106789663B (en) 2021-04-16

Family

ID=58972191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610102259.6A Active CN106789663B (en) 2016-02-24 2016-02-24 Message forwarding method and device

Country Status (1)

Country Link
CN (1) CN106789663B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107911250A (en) * 2017-11-28 2018-04-13 新华三技术有限公司 A kind of pile system and its method for preventing traffic loss
CN109560975A (en) * 2019-01-31 2019-04-02 新华三技术有限公司 Equipment update method and device
CN115426325A (en) * 2022-09-16 2022-12-02 杭州云合智网技术有限公司 Unicast zero packet loss method for restarting single Leaf device in stacking environment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699789A (en) * 2009-09-25 2010-04-28 江苏华丽网络工程有限公司 Design method of Ethernet device stack system
CN102148744A (en) * 2010-02-10 2011-08-10 杭州华三通信技术有限公司 Method and system for reducing package loss during restarting process of stacking device
CN102724109A (en) * 2012-05-23 2012-10-10 杭州华三通信技术有限公司 Flow forwarding method and equipment
CN102970157A (en) * 2012-10-31 2013-03-13 杭州华三通信技术有限公司 Link failure processing method, intelligent resilient framework (IRF) member device and data communication device
CN103546322A (en) * 2013-10-28 2014-01-29 杭州华三通信技术有限公司 Stack link failure processing method and device
CN103856357A (en) * 2014-03-21 2014-06-11 迈普通信技术股份有限公司 Stack system fault processing method and stack system
WO2014106438A1 (en) * 2013-01-06 2014-07-10 Hangzhou H3C Technologies Co., Ltd. Link problem handling
US8990619B1 (en) * 2012-02-21 2015-03-24 Cisco Technology, Inc. Method and systems to perform a rolling stack upgrade

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699789A (en) * 2009-09-25 2010-04-28 江苏华丽网络工程有限公司 Design method of Ethernet device stack system
CN102148744A (en) * 2010-02-10 2011-08-10 杭州华三通信技术有限公司 Method and system for reducing package loss during restarting process of stacking device
US8990619B1 (en) * 2012-02-21 2015-03-24 Cisco Technology, Inc. Method and systems to perform a rolling stack upgrade
CN102724109A (en) * 2012-05-23 2012-10-10 杭州华三通信技术有限公司 Flow forwarding method and equipment
CN102970157A (en) * 2012-10-31 2013-03-13 杭州华三通信技术有限公司 Link failure processing method, intelligent resilient framework (IRF) member device and data communication device
WO2014106438A1 (en) * 2013-01-06 2014-07-10 Hangzhou H3C Technologies Co., Ltd. Link problem handling
CN103546322A (en) * 2013-10-28 2014-01-29 杭州华三通信技术有限公司 Stack link failure processing method and device
CN103856357A (en) * 2014-03-21 2014-06-11 迈普通信技术股份有限公司 Stack system fault processing method and stack system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107911250A (en) * 2017-11-28 2018-04-13 新华三技术有限公司 A kind of pile system and its method for preventing traffic loss
CN109560975A (en) * 2019-01-31 2019-04-02 新华三技术有限公司 Equipment update method and device
CN109560975B (en) * 2019-01-31 2022-02-25 新华三技术有限公司 Equipment updating method and device
CN115426325A (en) * 2022-09-16 2022-12-02 杭州云合智网技术有限公司 Unicast zero packet loss method for restarting single Leaf device in stacking environment

Also Published As

Publication number Publication date
CN106789663B (en) 2021-04-16

Similar Documents

Publication Publication Date Title
CN103501250B (en) Data flow processing method in distributed aggregated link network and device
CN102790963B (en) Mobile ad hoc network system based on Android cell phone and construction method thereof
CN112040425B (en) Multi-group reorganization method and device
CN107547243A (en) A kind of message forwarding method and device
CN102347905A (en) Network equipment and forwarded information updating method
CN106789663A (en) A kind of message forwarding method and device
CN104660449B (en) The method and apparatus for preventing the more main equipment Master of stacking splitting
CN105939297A (en) TCP message reassembling method and TCP message reassembling device
CN103401707A (en) Link aggregation method and access equipment
CN103516531A (en) Method for automatically discovering network element and corresponding network element and network management devices
CN103701653B (en) The processing method of a kind of interface hot plug configuration data and network configuration server
CN103532851A (en) Method and device for processing data flow in distributed link aggregation network
CN106878190A (en) Automatic stacking method and device
CN102421073B (en) Method and device for processing short message
CN108667640B (en) Communication method and device, and network access system
CN103401708B (en) A kind of port configuration method and device
CN109728932A (en) Setting method, controller, interchanger and the computer readable storage medium of SDN
CN107547285A (en) A kind of configuration information store method and device
CN101800677A (en) Processing device and method of bidirectional forwarding detection (BFD) messages
CN106027419A (en) Data structure management method and device
CN110450189A (en) Abnormality eliminating method and device for robot
KR20160072718A (en) System and method for neighbor discovery based on ethernet in the software defined networks
CN104780138A (en) Transparent transmission method and device for STP (Spanning Tree Protocol)/RSTP (Rapid Spanning Tree Protocol) message in private redundancy protocol network
CN106664637A (en) Routing information configuration method and apparatus
CN114301989A (en) Information transmission method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant