CN107465632A - A kind of method and device for the flow for switching polymerization member port - Google Patents

A kind of method and device for the flow for switching polymerization member port Download PDF

Info

Publication number
CN107465632A
CN107465632A CN201710667586.0A CN201710667586A CN107465632A CN 107465632 A CN107465632 A CN 107465632A CN 201710667586 A CN201710667586 A CN 201710667586A CN 107465632 A CN107465632 A CN 107465632A
Authority
CN
China
Prior art keywords
port
target service
service plate
information
opposite equip
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
CN201710667586.0A
Other languages
Chinese (zh)
Other versions
CN107465632B (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.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech 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 Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201710667586.0A priority Critical patent/CN107465632B/en
Publication of CN107465632A publication Critical patent/CN107465632A/en
Application granted granted Critical
Publication of CN107465632B publication Critical patent/CN107465632B/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
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/41Flow control; Congestion control by acting on aggregated flows or links

Landscapes

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

Abstract

The application provides a kind of method and device for the flow for switching polymerization member port, and methods described includes:LACP messages corresponding with the port of target service plate are sent to the opposite equip., wherein described LACP messages carry the first information and the second information, to delete port corresponding with the port of the target service plate from the aggregation group of local based on second information of the LACP messages as the opposite equip.;Based on the first information of the LACP messages, the port of the target service plate is deleted from the aggregation group of local;Other it will polymerize member port with the aggregation group of the flow switch that the opposite equip. communicates to local.Present application addresses in the polymerization member port in updating aggregation group, because convergence time is longer, the problem of causing packet loss occurs in convergence time.

Description

A kind of method and device for the flow for switching polymerization member port
Technical field
The application is related to communication technical field, the more particularly to a kind of method and dress of the flow for switching polymerization member port Put.
Background technology
Frame type equipment may be inserted into master control borad, business board and interface board.Wherein, master control borad can be responsible for frame type equipment Business function;Interface board can complete basic forwarding capability;Business board is responsible for special service processing function, such as:Should With fire wall, application delivery, network log-in management and stream control etc..
Frame type equipment can generally be communicated by link aggregation with opposite equip.;Wherein, frame type equipment aggregates into Member port is the port of each business board, and now, business board can realize forwarding capability.
When the operating system on frame type equipment or software carry out edition upgrading, master control borad and business board may interrupt industry Business, restart completion upgrading.In order to ensure that the flow of frame type equipment and opposite equip. does not interrupt in restarting process, master control borad can profit Each business board is upgraded respectively with ISSU (In-Service Software Upgrade, non-interrupting service upgrading) technology.
Specifically, master control borad, can be successively before each business board be restarted, by the business when upgrading to each business board Polymerization member's port shutdown on plate.After polymerizeing member's port shutdown, meeting reporting message is to master control borad, to be received by master control borad The polymerization member port is deleted from aggregation group after to message.And opposite equip. is detecting that the above-mentioned of frame type equipment aggregate into During member's port shutdown, can by port shutdown corresponding with the polymerization member port on opposite equip., then by the port from this Deleted in the aggregation group on ground.Now, frame type equipment can be entered based on other polymerization member ports in aggregation group with opposite equip. Row communication.Completed when above-mentioned business board upgrades, frame type equipment can be by the port open on above-mentioned business board.Master control borad confirms should Port open, the port can be added in aggregation group, and notify opposite equip. to enable port corresponding with the port, then Again by assignment of traffic to above-mentioned business board.
However, after polymerization member's port shutdown, by polymerization member port reporting message to master control borad, then will by master control borad Above-mentioned polymerization member port is deleted from aggregation group to update the mode of aggregation group, and convergence time is longer, and in convergence time, Packet loss can occur.
The content of the invention
In view of this, the application provides a kind of method and device for the flow for switching polymerization member port, existing to solve When having technology in renewal aggregation group, and switching the flow of polymerization member port, convergence time is longer, causes to send out in convergence time The problem of raw packet loss.
Specifically, the application is achieved by the following technical solution:
A kind of method for the flow for switching polymerization member port, applied to frame type equipment, the frame type equipment includes multiple Business board, the frame type equipment are connected by link aggregation with opposite equip., wherein, the polymerization member port of the frame type equipment For the port of each business board, including:
LACP messages corresponding with the port of target service plate are sent to the opposite equip., wherein the LACP messages are taken The band first information and the second information, to be gathered by the opposite equip. based on second information of the LACP messages from local It is charge-coupled middle to delete corresponding with the port of target service plate port;
Based on the first information of the LACP messages, by the port of the target service plate from the aggregation group of local Delete;
Other it will polymerize member port with the aggregation group of the flow switch that the opposite equip. communicates to local.
In the method for the flow of the switching polymerization member port, methods described also includes:
The target service plate is upgraded.
In the method for the flow of the switching polymerization member port, methods described also includes:
If the target service plate upgrading is completed, the port pair with the target service plate is sent to the opposite equip. The LACP messages answered, wherein the LACP messages carry the 3rd information and the 4th information, it is described to be based on by the opposite equip. The 4th information of LACP messages addition port corresponding with the port of the target service plate into the aggregation group of local;
The 3rd information based on the LACP messages, the polymerization by the port of the target service plate added to local Group;
The flow to be communicated to the port assignment of the target service plate with the opposite equip..
In the method for the flow of the switching polymerization member port, methods described also includes:
Based on default order, the business board is elected as target service plate successively.
In the method for the flow of the switching polymerization member port, methods described also includes:
Receive the LACP messages of opposite equip. transmission;Wherein, the LACP messages carry second information;
The port of the partner port fields instruction of the LACP messages is deleted from the aggregation group of local.
A kind of device for the flow for switching polymerization member port, applied to frame type equipment, the frame type equipment includes multiple Business board, the frame type equipment are connected by link aggregation with opposite equip., wherein, the polymerization member port of the frame type equipment For the port of each business board, including:
Transmitting element, for sending LACP messages corresponding with the port of target service plate to the opposite equip., wherein The LACP messages carry the first information and the second information, with by described second of the opposite equip. based on the LACP messages Information deletes port corresponding with the port of the target service plate from the aggregation group of local;
Delete unit, for the first information based on the LACP messages, by the port of the target service plate from Deleted in local aggregation group;
Switch unit, for by with other polymerizeing in the aggregation group of the flow switch that the opposite equip. communicates to local Member port.
In the device of the flow of the switching polymerization member port, described device also includes:
Upgrade unit, for upgrading to the target service plate.
In the device of the flow of the switching polymerization member port, described device also includes:
The transmitting element, complete if being further used for the target service plate upgrading, sent to the opposite equip. LACP messages corresponding with the port of the target service plate, wherein the LACP messages carry the 3rd information and the 4th information, To be added and the target into the aggregation group of local based on the 4th information of the LACP messages from the opposite equip. Port corresponding to the port of business board;
Adding device, for the 3rd information based on the LACP messages, the port of the target service plate is added Add to local aggregation group;
Allocation unit, for the flow to be communicated to the port assignment of the target service plate with the opposite equip..
In the device of the flow of the switching polymerization member port, described device also includes:
Selecting unit, for based on default order, electing the business board as target service plate successively.
In the device of the flow of the switching polymerization member port, described device also includes:
Receiving unit, for receiving the LACP messages of opposite equip. transmission;Wherein, the LACP messages carry described the Two information;
The deletion unit, it is further used for deleting the partnerport of the LACP messages from the aggregation group of local The port of field instruction.
In the embodiment of the present application, frame type equipment sends LACP corresponding with the port of target service plate to opposite equip. and reported Text, wherein the LACP messages carry the first information and the second information, with by the opposite equip. based on the LACP messages Second information deletes port corresponding with the port of the target service plate from the aggregation group of local;Frame type equipment is based on The first information of the LACP messages, the port of the target service plate is deleted from the aggregation group of local, then will Other it polymerize member port with flow switch to the aggregation group of local of opposite equip. communication;
Due in application scheme, after frame type equipment with opposite equip. by interacting LACP messages, directly being reported according to LACP Polymerization member port in text renewal aggregation group, effectively reduces the convergence time of link aggregation, realizes that flow is switched fast, keep away The problem of having exempted from that packet loss occurs in convergence time.
Brief description of the drawings
Fig. 1 is a kind of network architecture schematic diagram shown in the application;
Fig. 2 is a kind of flow chart of the method for the flow of switching polymerization member port shown in the application;
Fig. 3 is a kind of embodiment block diagram of the device of the flow of switching polymerization member port shown in the application;
Fig. 4 is a kind of hardware structure diagram of the device of the flow of switching polymerization member port shown in the application.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the embodiment of the present invention, and make of the invention real Apply the above-mentioned purpose of example, feature and advantage can be more obvious understandable, below in conjunction with the accompanying drawings to prior art and the present invention Technical scheme in embodiment is described in further detail.
Frame type equipment generally may be inserted into master control borad, business board and interface board, wherein, business board can also realize forwarding work( Energy.When frame type equipment is communicated by link aggregation with opposite equip., the polymerization member port of aggregation group can be each industry The port of business plate.
It is a kind of network architecture diagram shown in the application referring to Fig. 1, as shown in figure 1, frame type equipment inserts multiple boards, Wherein, board A, board B, board C and board D are business board, and frame type equipment is communicated by link aggregation with opposite equip., Polymerization member port in the aggregation group of frame type equipment is the port 1 on board A, the port 2 on board B, the port on board C Port 4 on 3 and board D;Polymerization member port-for-port 5, port 6, port 7 and port 8 in the aggregation group of opposite equip..
When the operating system on frame type equipment or software carry out edition upgrading, the possible interrupting service of business board, restart Into upgrading.In order to ensure that the flow of frame type equipment and opposite equip. does not interrupt in restarting process, ISSU technologies can be generally utilized Each business board is upgraded respectively.
Specifically, can be successively before each business board be restarted, by the business board when upgrading to each business board It polymerize member's port shutdown.After polymerization member's port shutdown, the master control borad of reporting message to frame type equipment, with by master control borad root The polymerization member port is deleted from aggregation group according to above-mentioned message.And opposite equip. is detecting the above-mentioned polymerization of frame type equipment When member port is closed, can by port shutdown corresponding with the polymerization member port on opposite equip., then by the port from Deleted in local aggregation group.Now, frame type equipment can be communicated based on other polymerization member ports with opposite equip..
However, after polymerization member's port shutdown, by port reporting message to master control borad, then by master control borad by above-mentioned polymerization Member port is deleted from aggregation group to update the mode of aggregation group, and convergence time is longer, in convergence time, it may occur however that loses Bag.
In view of this, in the embodiment of the present application, frame type equipment can be set before upgrading to target service plate to opposite end Preparation send LACP messages corresponding with the port of the target service plate, with by opposite equip. according to above-mentioned LACP messages from local Port corresponding with the port of above-mentioned target service plate is deleted in aggregation group, and frame type equipment can incite somebody to action according to above-mentioned LACP messages The port of above-mentioned target service plate is deleted from the aggregation group of local, then can cut the flow to be communicated with above-mentioned opposite equip. The other polymerization member ports shifted in local aggregation group.Flow is switched fast so as to realize, avoids polymerization member port After closing, because convergence time is longer, the problem of causing packet loss occurs in convergence time.
Referring to Fig. 2, for a kind of flow chart of the method for the flow of switching polymerization member port shown in the application, the side Method is applied to frame type equipment, and the frame type equipment is docked by link aggregation with opposite equip., wherein, the frame type equipment gathers The port that member port is each business board is closed, the described method comprises the following steps:
Step 201:LACP messages corresponding with the port of target service plate are sent to the opposite equip., wherein described LACP messages carry the first information and the second information, with by second information of the opposite equip. based on the LACP messages Port corresponding with the port of the target service plate is deleted from the aggregation group of local.
Step 202:Based on the first information of the LACP messages, by the port of the target service plate from local Deleted in aggregation group.
Step 203:Other it will polymerize member with the aggregation group of the flow switch that the opposite equip. communicates to local Port.
Wherein, above-mentioned frame type equipment can include frame-type switch (such as:Depth operation exchange gateway), it can also include The VSM equipment for being invented more frame type equipments based on VSM (Virtual Switch Matrix, virtual switch matrix) technology.
In the embodiment of the present application, frame type equipment is needing the port of the delete target business board from the aggregation group of local When, LACP corresponding with the port of above-mentioned target service plate can be sent to opposite equip. by the port of above-mentioned target service plate Message, wherein, above-mentioned LACP messages carry the first information and the second information., can after opposite equip. receives above-mentioned LACP messages With above-mentioned second information based on above-mentioned LACP messages, the port pair with above-mentioned target service plate is deleted from the aggregation group of local The port answered.
In a kind of embodiment shown, the above-mentioned first information can be the of the actor key fields of LACP messages One preset value, above-mentioned second information can be second of the Synchronization fields in the actor state of LACP messages Preset value.When frame type equipment needs the port of delete target business board, can construct corresponding with the port of the target service plate LACP messages, and actor key fields therein are set to the first preset value, wherein, the first preset value can be 0;And Synchronization fields in actor state are set to the second preset value, wherein, the second preset value can be NO.
After opposite equip. receives above-mentioned LACP messages, can based on above-mentioned second information in above-mentioned LACP messages, from Port corresponding with the port of above-mentioned target service plate is deleted in local aggregation group.
Specifically, after opposite equip. receives above-mentioned LACP messages, actor port fields and actor based on the message Synchronization fields in state determine that the port of above-mentioned target service plate can be deleted by frame type equipment from aggregation group Remove, and then the partner port fields based on the message determine port corresponding with the port of above-mentioned target service plate, and will Deleted from the aggregation group of local the port.
By taking Fig. 1 as an example, frame type equipment before upgrading to business board A, can construct the LACP messages of port 1, and should The actor key fields of LACP messages are set to 0, the Synchronization fields in actor state are set into NO, then The LACP messages are sent to opposite equip..After opposite equip. receives the LACP messages, the actor port based on the message Synchronization fields in field and actor state determine that port 1 can be deleted by frame type equipment from aggregation group, And then the partner port fields based on the message determine port 5 corresponding with port 1, then port 5 is gathered from local Charge-coupled middle deletion.
In the embodiment of the present application, frame type equipment by LACP messages corresponding with the port of above-mentioned target service plate send to After opposite equip., can the first information based on above-mentioned LACP messages, by the port of above-mentioned target service plate from local polymerization Deleted in group.
In a kind of embodiment shown, the above-mentioned first information can be the of the actor key fields of LACP messages One preset value, wherein, the first preset value can be 0.Frame type equipment can gather after periodicity sends LACP messages to local Polymerization member port in charge-coupled conducts an election, as the actor key of LACP messages corresponding to the port of above-mentioned target service plate Field is set to 0, and in the election process in current period, the port of above-mentioned target service plate can not be elected as aggregating into again Member port.Therefore, can be by the end of above-mentioned target service plate after frame type equipment sends the LACP messages for carrying the above-mentioned first information Mouth is deleted from the aggregation group of local.Specific election process is referred to existing correlation technique, will not be repeated here.
In the embodiment of the present application, frame type equipment deletes the port of above-mentioned target service plate from the aggregation group of local Afterwards, other member port will can be polymerize with the aggregation group of the flow switch that above-mentioned opposite equip. communicates to local.
Still by taking Fig. 1 as an example, after frame type equipment deletes port 1 from aggregation group, the polymerization member in local aggregation group Port-for-port 2, port 3 and port 4, frame type equipment can send data by above-mentioned polymerization member port to opposite equip. Bag.And opposite equip. has deleted port 5 corresponding with port 1 from the aggregation group of local, therefore, opposite equip. can pass through end Mouth 6, port 7 and port 8 send packet to frame type equipment.In this case, the stream that frame type equipment communicates with opposite equip. Amount is switched to other polymerization member ports in the aggregation group of frame type equipment.
By above-mentioned measure, after frame type equipment sends LACP messages corresponding with the port of target service plate, frame type equipment The polymerization member port in aggregation group can be updated rapidly with opposite equip., considerably reduce convergence time, avoid convergence The problem of packet loss occurs in time.
In the embodiment of the present application, can be will be above-mentioned if frame type equipment needs to upgrade target service plate The port of target service plate is deleted from the aggregation group of local, and after completing flow switch, above-mentioned target service plate is carried out Upgrading.
By the measure, when the business board to local upgrades, will not restart because of business board causes frame type equipment Packet loss, reduce business board upgrading influence to caused by business.
In the embodiment of the present application, frame type equipment has upgraded to above-mentioned target service plate, can to opposite equip. send with LACP messages corresponding to the port of above-mentioned target service plate, wherein, above-mentioned LACP messages carry the 3rd information and the 4th information.It is right After end equipment receives above-mentioned LACP messages, can above-mentioned 3rd information based on above-mentioned LACP messages, to local aggregation group It is middle to add port corresponding with the port of above-mentioned target service plate.
In a kind of embodiment shown, above-mentioned 3rd information can be the of the actor key fields of LACP messages Three preset values, above-mentioned 4th information can be the 4 of the Synchronization fields in the actor state of LACP messages Preset value.When frame type equipment is needed the port of above-mentioned target service plate added to local aggregation group, can construct with being somebody's turn to do LACP messages corresponding to the port of target service plate, and the speed of the port based on the target service plate and mode of operation (such as: Duplex) calculate obtain the target service plate port the 3rd preset value, the 3rd preset value is then inserted into LACP messages Actor key fields;And the Synchronization fields in the actor state of LACP messages are set to the 4th and preset Value, wherein, the 4th preset value can be YES.
Obtained it should be noted that the speed and mode of operation of port of the frame type equipment based on above-mentioned target service plate calculate The embodiment of 3rd preset value is referred to prior art, and the 3rd preset value polymerize with other in the aggregation group of local Value in the actor key fields of member port is consistent.
After opposite equip. receives above-mentioned LACP messages, can based on above-mentioned 4th information in above-mentioned LACP messages, to Addition port corresponding with the port of above-mentioned target service plate in local aggregation group.
Specifically, the Synchronization fields in actor port fields and actor state based on the message Determining the port of above-mentioned target service plate can be added in aggregation group by frame type equipment, and then the partner based on the message Port fields determine port corresponding with the port of above-mentioned target service plate, and are added in local aggregation group.
By taking Fig. 1 as an example, frame type equipment can construct the LACP messages of port 1, and base after upgrading is completed to business board A Speed and mode of operation in port 1, which calculate, obtains the 3rd preset value, and the 3rd preset value is inserted to the actor of LACP messages Key fields, and, the Synchronization fields in the actor state of LACP messages are set to YES, then should LACP messages are sent to opposite equip..After opposite equip. receives the LACP messages, the actor port fields based on the message Determine that port 1 can be added in aggregation group by frame type equipment with the Synchronization fields in actor state, and then Partner port fields based on the message determine port 5 corresponding with port 1, then gather port 5 added to local It is charge-coupled.
In the embodiment of the present application, frame type equipment sends above-mentioned LACP messages to opposite equip., can be based on above-mentioned Above-mentioned 3rd information of LACP messages, the aggregation group by the port of above-mentioned target service plate added to local.
In a kind of embodiment shown, above-mentioned 3rd information can be the of the actor key fields of LACP messages Three preset values, wherein, the 3rd preset value is that the speed of the port based on above-mentioned target service plate and mode of operation are calculated.Frame Formula equipment can conduct an election after periodicity sends LACP messages to the polymerization member port in the aggregation group of local, when above-mentioned 3rd preset value of the actorkey fields of LACP messages corresponding to the port of target service plate and the actor of local other ports The value of key field values is consistent, then in the election process in current period, the port of above-mentioned target service plate can be elected as gathering Close member port.Therefore, can be by above-mentioned target service plate after frame type equipment sends the LACP messages for carrying above-mentioned 3rd information Port be added in local aggregation group.Specific election process is referred to existing correlation technique, will not be repeated here.
In the embodiment of the present application, after the port of above-mentioned target service plate to be added to frame type equipment local aggregation group, The flow that can be communicated to the port assignment of above-mentioned target service plate with above-mentioned opposite equip..
Still by taking Fig. 1 as an example, after port 1 is added in aggregation group by frame type equipment, the polymerization member in local aggregation group Port-for-port 1, port 2, port 3 and port 4, frame type equipment can be sent by above-mentioned polymerization member port to opposite equip. Packet.And port 5 corresponding with port 1 has been added in local aggregation group by opposite equip., therefore, opposite equip. can lead to Cross port 5, port 6, port 7 and port 8 and send packet to frame type equipment.In this case, above-mentioned target service plate Port take part in the communication of frame type equipment and opposite equip., and further, the above-mentioned target service plate after upgrading take part in frame The communication of equipment and opposite equip..
In the embodiment of the present application, when frame type equipment needs to upgrade the business board of local, can be based on default Sequentially, elect the business board of local as target service plate successively, then perform the flow and liter of above-mentioned switching polymerization member port The process of level.
In summary, in technical scheme, frame type equipment can be sent and target service plate to opposite equip. LACP messages corresponding to port, wherein above-mentioned LACP messages carry the first information and the second information;Opposite equip. receives above-mentioned LACP messages, it can be deleted and above-mentioned target service plate from the aggregation group of local based on the second information in above-mentioned LACP messages Port corresponding to port;Frame type equipment can the first information based on above-mentioned LACP messages, by the end of above-mentioned target service plate Mouthful deleted from the aggregation group of local, then by with its in the flow switch that above-mentioned opposite equip. communicate to local aggregation group It polymerize member port;
, can be directly by the port of target service plate from polymerization after frame type equipment sends LACP messages due in the application Deleted in group, and opposite equip. can be deleted port corresponding with the port of target service plate based on LACP messages from aggregation group Removing, frame type equipment and opposite equip. all need not update aggregation group again until the message reported after port shutdown, therefore greatly Reduce convergence time, avoid the problem of packet loss occurs in convergence time.
It is corresponding with the embodiment of the method for the flow of foregoing switching polymerization member port, it is poly- present invention also provides switching Close the embodiment of the device of the flow of member port.
Referring to Fig. 3, for a kind of embodiment block diagram of the device of the flow of switching polymerization member port shown in the application:
As shown in figure 3, the device 30 of the flow of switching polymerization member port includes:
Transmitting element 310, for sending LACP messages corresponding with the port of target service plate to the opposite equip., its Described in LACP messages carry the first information and the second information, with by described the of the opposite equip. based on the LACP messages Two information delete port corresponding with the port of the target service plate from the aggregation group of local.
Unit 320 is deleted, for the first information based on the LACP messages, by the port of the target service plate Deleted from the aggregation group of local.
Switch unit 330, for by with the flow switch that the opposite equip. communicates to local aggregation group in it is other It polymerize member port.
In this example, described device also includes:
Upgrade unit 340, for upgrading to the target service plate.
In this example, described device also includes:
The transmitting element 310, complete if being further used for the target service plate upgrading, sent out to the opposite equip. LACP messages corresponding with the port of the target service plate are sent, wherein the LACP messages carry the 3rd information and the 4th letter Breath, to be added and the mesh into the aggregation group of local based on the 4th information of the LACP messages from the opposite equip. Mark port corresponding to the port of business board.
Adding device 350, for the 3rd information based on the LACP messages, by the port of the target service plate Added to the aggregation group of local.
Allocation unit 360, for the flow to be communicated to the port assignment of the target service plate with the opposite equip..
In this example, described device also includes:
Selecting unit 370, for based on default order, electing the business board as target service plate successively.
In this example, described device also includes:
Receiving unit 380, for receiving the LACP messages of opposite equip. transmission;Wherein, the LACP messages carry institute State the second information.
The deletion unit 320, it is further used for deleting the partner of the LACP messages from the aggregation group of local The port of port fields instruction.
The embodiment that the application switches the device of the flow of polymerization member port can be applied on frame type equipment.Device is real Applying example can be realized by software, can also be realized by way of hardware or software and hardware combining.Exemplified by implemented in software, make It is by corresponding meter in nonvolatile memory by the processor of frame type equipment where it for the device on a logical meaning Calculation machine programmed instruction reads what operation in internal memory was formed.For hardware view, as shown in figure 4, switching polymerization for the application A kind of hardware structure diagram of frame type equipment where the device of the flow of member port, except the processor shown in Fig. 4, internal memory, net Outside network interface and nonvolatile memory, the frame type equipment in embodiment where device aggregates into generally according to the switching The actual functional capability of the device of the flow of member port, can also include other hardware, this is repeated no more.
The function of unit and the implementation process of effect specifically refer to and step are corresponded in the above method in said apparatus Implementation process, it will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality Need to select some or all of module therein to realize the purpose of application scheme.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
The preferred embodiment of the application is the foregoing is only, not limiting the application, all essences in the application God any modification, equivalent substitution and improvements done etc., should be included within the scope of the application protection with principle.

Claims (10)

1. a kind of method for the flow for switching polymerization member port, applied to frame type equipment, the frame type equipment includes multiple industry Business plate, the frame type equipment are connected by link aggregation with opposite equip., wherein, the polymerization member port of the frame type equipment is The port of each business board, it is characterised in that including:
Corresponding with the port of target service plate LACP messages are sent to the opposite equip., wherein LACP messages carrying the One information and the second information, with the aggregation group by the opposite equip. based on second information of the LACP messages from local It is middle to delete port corresponding with the port of the target service plate;
Based on the first information of the LACP messages, the port of the target service plate is deleted from the aggregation group of local Remove;
Other it will polymerize member port with the aggregation group of the flow switch that the opposite equip. communicates to local.
2. according to the method for claim 1, it is characterised in that methods described also includes:
The target service plate is upgraded.
3. according to the method for claim 2, it is characterised in that methods described also includes:
If the target service plate upgrading is completed, sent to the opposite equip. corresponding with the port of the target service plate LACP messages, wherein the LACP messages carry the 3rd information and the 4th information, to be based on the LACP by the opposite equip. The 4th information of message addition port corresponding with the port of the target service plate into the aggregation group of local;
The 3rd information based on the LACP messages, the aggregation group by the port of the target service plate added to local;
The flow to be communicated to the port assignment of the target service plate with the opposite equip..
4. according to the method for claim 2, it is characterised in that methods described also includes:
Based on default order, the business board is elected as target service plate successively.
5. according to the method for claim 1, it is characterised in that methods described also includes:
Receive the LACP messages of opposite equip. transmission;Wherein, the LACP messages carry second information;
The port of the partner port fields instruction of the LACP messages is deleted from the aggregation group of local.
6. a kind of device for the flow for switching polymerization member port, applied to frame type equipment, the frame type equipment includes multiple industry Business plate, the frame type equipment are connected by link aggregation with opposite equip., wherein, the polymerization member port of the frame type equipment is The port of each business board, it is characterised in that including:
Transmitting element, for sending LACP messages corresponding with the port of target service plate to the opposite equip., wherein described LACP messages carry the first information and the second information, with by second information of the opposite equip. based on the LACP messages Port corresponding with the port of the target service plate is deleted from the aggregation group of local;
Unit is deleted, for the first information based on the LACP messages, by the port of the target service plate from local Aggregation group in delete;
Switch unit, for the aggregation group of the flow switch that the opposite equip. communicates to local other member will to be polymerize Port.
7. device according to claim 6, it is characterised in that described device also includes:
Upgrade unit, for upgrading to the target service plate.
8. device according to claim 7, it is characterised in that described device also includes:
The transmitting element, completed if being further used for the target service plate upgrading, to opposite equip. transmission and institute State LACP messages corresponding to the port of target service plate, wherein the LACP messages carry the 3rd information and the 4th information, with by The opposite equip. addition and target service into the aggregation group of local based on the 4th information of the LACP messages Port corresponding to the port of plate;
Adding device, for the 3rd information based on the LACP messages, the port of the target service plate is added to Local aggregation group;
Allocation unit, for the flow to be communicated to the port assignment of the target service plate with the opposite equip..
9. device according to claim 7, it is characterised in that described device also includes:
Selecting unit, for based on default order, electing the business board as target service plate successively.
10. device according to claim 6, it is characterised in that described device also includes:
Receiving unit, for receiving the LACP messages of opposite equip. transmission;Wherein, the LACP messages carry second letter Breath;
The deletion unit, it is further used for deleting the partner port fields of the LACP messages from the aggregation group of local The port of instruction.
CN201710667586.0A 2017-08-07 2017-08-07 Method and device for switching flow of aggregation member port Active CN107465632B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710667586.0A CN107465632B (en) 2017-08-07 2017-08-07 Method and device for switching flow of aggregation member port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710667586.0A CN107465632B (en) 2017-08-07 2017-08-07 Method and device for switching flow of aggregation member port

Publications (2)

Publication Number Publication Date
CN107465632A true CN107465632A (en) 2017-12-12
CN107465632B CN107465632B (en) 2020-12-29

Family

ID=60547459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710667586.0A Active CN107465632B (en) 2017-08-07 2017-08-07 Method and device for switching flow of aggregation member port

Country Status (1)

Country Link
CN (1) CN107465632B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194585A (en) * 2018-10-26 2019-01-11 新华三技术有限公司合肥分公司 Message forwarding method and the network equipment
CN110912837A (en) * 2019-11-07 2020-03-24 杭州迪普科技股份有限公司 VSM system-based main/standby switching method and device
CN111083068A (en) * 2018-10-22 2020-04-28 中兴通讯股份有限公司 Aggregation link convergence method, device and storage medium
CN111614555A (en) * 2020-04-20 2020-09-01 北京百卓网络技术有限公司 Method, device and equipment for establishing service channel
CN112165429A (en) * 2020-09-11 2021-01-01 烽火通信科技股份有限公司 Link aggregation convergence method and device for distributed switching equipment
CN112511421A (en) * 2020-11-02 2021-03-16 三明学院 Switching method, device and apparatus of aggregation link, and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420332A (en) * 2008-12-12 2009-04-29 杭州华三通信技术有限公司 Notifying method and network device for member terminal port configuring condition
CN101984606A (en) * 2010-11-15 2011-03-09 中兴通讯股份有限公司 Device-level redundancy protection method and system based on LACP
CN102882704A (en) * 2012-09-03 2013-01-16 杭州华三通信技术有限公司 Link protection method and apparatus in soft restart upgrade process of ISSU (in-service software upgrade)
CN105490970A (en) * 2015-12-08 2016-04-13 迈普通信技术股份有限公司 Fast link convergence method, apparatus and system
US20170063672A1 (en) * 2015-08-28 2017-03-02 Ciena Corporation Methods and systems to select active and standby ports in link aggregation groups
CN106533736A (en) * 2016-10-13 2017-03-22 杭州迪普科技股份有限公司 Network device reboot method and apparatus
US20170142003A1 (en) * 2013-04-23 2017-05-18 Telefonaktiebolaget Lm Ericsson (Publ) Method and system of updating conversation allocation in link aggregation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420332A (en) * 2008-12-12 2009-04-29 杭州华三通信技术有限公司 Notifying method and network device for member terminal port configuring condition
CN101984606A (en) * 2010-11-15 2011-03-09 中兴通讯股份有限公司 Device-level redundancy protection method and system based on LACP
CN102882704A (en) * 2012-09-03 2013-01-16 杭州华三通信技术有限公司 Link protection method and apparatus in soft restart upgrade process of ISSU (in-service software upgrade)
US20170142003A1 (en) * 2013-04-23 2017-05-18 Telefonaktiebolaget Lm Ericsson (Publ) Method and system of updating conversation allocation in link aggregation
US20170063672A1 (en) * 2015-08-28 2017-03-02 Ciena Corporation Methods and systems to select active and standby ports in link aggregation groups
CN105490970A (en) * 2015-12-08 2016-04-13 迈普通信技术股份有限公司 Fast link convergence method, apparatus and system
CN106533736A (en) * 2016-10-13 2017-03-22 杭州迪普科技股份有限公司 Network device reboot method and apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周家庆: "《网络工程——交换与路由技术》", 31 January 2014 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083068A (en) * 2018-10-22 2020-04-28 中兴通讯股份有限公司 Aggregation link convergence method, device and storage medium
CN109194585A (en) * 2018-10-26 2019-01-11 新华三技术有限公司合肥分公司 Message forwarding method and the network equipment
CN109194585B (en) * 2018-10-26 2022-05-10 新华三技术有限公司合肥分公司 Message forwarding method and network equipment
CN110912837A (en) * 2019-11-07 2020-03-24 杭州迪普科技股份有限公司 VSM system-based main/standby switching method and device
CN110912837B (en) * 2019-11-07 2021-09-21 杭州迪普科技股份有限公司 VSM system-based main/standby switching method and device
CN111614555A (en) * 2020-04-20 2020-09-01 北京百卓网络技术有限公司 Method, device and equipment for establishing service channel
CN112165429A (en) * 2020-09-11 2021-01-01 烽火通信科技股份有限公司 Link aggregation convergence method and device for distributed switching equipment
CN112511421A (en) * 2020-11-02 2021-03-16 三明学院 Switching method, device and apparatus of aggregation link, and storage medium

Also Published As

Publication number Publication date
CN107465632B (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN107465632A (en) A kind of method and device for the flow for switching polymerization member port
US11757913B2 (en) Creating aggregate network flow time series in network anomaly detection systems
CN102576343B (en) Department of computer science unifies virtual machine migration method
CN102123069B (en) Data communication system and method for same
CN102055667B (en) Methods and apparatus for configuring virtual network switch
CN104468358B (en) The message forwarding method and equipment of the distributed virtual switch system
CN108040057B (en) Working method of SDN system suitable for guaranteeing network security and network communication quality
CN104079492B (en) The methods, devices and systems that flow table is configured in a kind of OpenFlow networks
CN103370911B (en) Streaming communication system
KR101810340B1 (en) Information system, control device, communication method and recording medium
CN108900384A (en) Network flow monitoring method, apparatus and system, computer readable storage medium
CN104125088A (en) Method of interaction information between systems in same terminal of DRNI and system thereof
CN105978817B (en) It is used for transmission method, memory and the network adapter of data
CN105763472B (en) Cross-board forwarding method and device
CN104852828B (en) A kind of network delay detection method, apparatus and system
CN102523113B (en) Chip realization method for MEP configuration on cross-chip aggregated link in Ethernet network OAM and chip realization system
CN108075936A (en) VxLAN detection methods and device
CN104283802A (en) Neighbor discovery method and device
CN111953661A (en) SDN-based east-west flow security protection method and system
CN101370009B (en) Construction method for virtual network block frame based on Linux kernel network subsystem
WO2013176607A1 (en) Method and first network node for managing an ethernet network
CN110417687A (en) A kind of message sends and receives method and device
EP1997280B1 (en) Method and network element for limiting the number of virtual local area networks
CN104618491A (en) Proxy server and data forwarding method
JP2002515217A (en) Predicted bandwidth allocation method and apparatus

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