CN107465632B - Method and device for switching flow of aggregation member port - Google Patents

Method and device for switching flow of aggregation member port Download PDF

Info

Publication number
CN107465632B
CN107465632B CN201710667586.0A CN201710667586A CN107465632B CN 107465632 B CN107465632 B CN 107465632B CN 201710667586 A CN201710667586 A CN 201710667586A CN 107465632 B CN107465632 B CN 107465632B
Authority
CN
China
Prior art keywords
port
target service
information
service board
lacp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710667586.0A
Other languages
Chinese (zh)
Other versions
CN107465632A (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

Images

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 method and a device for switching traffic of an aggregation member port, wherein the method comprises the following steps: sending an LACP message corresponding to a port of a target service board to the opposite terminal device, wherein the LACP message carries first information and second information, and deleting the port corresponding to the port of the target service board from a local aggregation group by the opposite terminal device based on the second information of the LACP message; deleting the port of the target service board from a local aggregation group based on the first information of the LACP message; and switching the traffic communicated with the opposite terminal equipment to other aggregation member ports in the local aggregation group. The method and the device solve the problem that packet loss occurs in convergence time due to long convergence time when the aggregation member ports in the aggregation group are updated.

Description

Method and device for switching flow of aggregation member port
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for switching traffic of an aggregation member port.
Background
The frame device can be inserted into the main control board, the service board and the interface board. The main control board can be responsible for managing the service function of the frame type equipment; the interface board can complete the basic forwarding function; the service board is responsible for special service handling functions such as: application firewall, application delivery, internet behavior management, flow control and the like.
The frame device may generally communicate with the peer device through link aggregation; the aggregation member port of the frame device is a port of each service board, and at this time, the service board can implement a forwarding function.
When the version of the operating system or software on the frame device is upgraded, the main control board and the service board may interrupt the service, and the upgrade is restarted and completed. In order to ensure that the flow of the frame device and the opposite-end device is not interrupted during the restart process, the main control board may respectively Upgrade each Service board by using an ISSU (In-Service Software Upgrade) technology.
Specifically, when the master control board upgrades each service board, the aggregation member port on the service board may be closed in sequence before restarting each service board. After the aggregation member port is closed, the message is reported to the main control board, so that the main control board deletes the aggregation member port from the aggregation group after receiving the message. When detecting that the aggregation member port of the frame device is closed, the peer device may close a port on the peer device corresponding to the aggregation member port, and then delete the port from the local aggregation group. At this time, the boxed device may communicate with the peer device based on the other aggregation member ports in the aggregation group. When the service board is upgraded, the frame device may open the port on the service board. The main control board confirms that the port is opened, can add the port into the aggregation group, and notifies the opposite terminal device to start the port corresponding to the port, and then reallocates the traffic to the service board.
However, after the aggregation member port is closed, the aggregation member port reports a message to the main control board, and the main control board deletes the aggregation member port from the aggregation group to update the aggregation group, so that the convergence time is long, and packet loss occurs within the convergence time.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for switching traffic of an aggregation member port, so as to solve the problem that packet loss occurs within a convergence time due to a long convergence time when updating an aggregation group and switching traffic of the aggregation member port in the prior art.
Specifically, the method is realized through the following technical scheme:
a method for switching traffic of a aggregation member port is applied to a frame device, where the frame device includes multiple service boards, and the frame device is connected to an opposite-end device through link aggregation, where a aggregation member port of the frame device is a port of each service board, and includes:
sending an LACP message corresponding to a port of a target service board to the opposite terminal device, wherein the LACP message carries first information and second information, and deleting the port corresponding to the port of the target service board from a local aggregation group by the opposite terminal device based on the second information of the LACP message;
deleting the port of the target service board from a local aggregation group based on the first information of the LACP message;
and switching the traffic communicated with the opposite terminal equipment to other aggregation member ports in the local aggregation group.
In the method for switching traffic of an aggregated member port, the method further comprises:
and upgrading the target service board.
In the method for switching traffic of an aggregated member port, the method further comprises:
if the target service board is upgraded, sending an LACP message corresponding to a port of the target service board to the opposite terminal equipment, wherein the LACP message carries third information and fourth information, and adding the port corresponding to the port of the target service board to a local aggregation group by the opposite terminal equipment based on the fourth information of the LACP message;
adding a port of the target service board to a local aggregation group based on the third information of the LACP message;
and distributing the flow communicated with the opposite terminal equipment to the port of the target service board.
In the method for switching traffic of an aggregated member port, the method further comprises:
and sequentially selecting the service boards as target service boards based on a preset sequence.
In the method for switching traffic of an aggregated member port, the method further comprises:
receiving an LACP message sent by opposite-end equipment; wherein, the LACP message carries the second information;
and deleting the port indicated by the partner port field of the LACP message from the local aggregation group.
A device for switching flow of a aggregation member port is applied to a frame device, the frame device includes a plurality of service plates, the frame device is connected with an opposite terminal device through link aggregation, wherein the aggregation member port of the frame device is a port of each service plate, and the device includes:
a sending unit, configured to send an LACP packet corresponding to a port of a target service board to the peer device, where the LACP packet carries first information and second information, and the peer device deletes the port corresponding to the port of the target service board from a local aggregation group based on the second information of the LACP packet;
a deleting unit, configured to delete the port of the target service board from a local aggregation group based on the first information of the LACP packet;
and the switching unit is used for switching the traffic communicated with the opposite terminal device to other aggregation member ports in the local aggregation group.
In the apparatus for switching traffic of an aggregated member port, the apparatus further comprises:
and the upgrading unit is used for upgrading the target service board.
In the apparatus for switching traffic of an aggregated member port, the apparatus further comprises:
the sending unit is further configured to send, to the opposite end device, an LACP packet corresponding to a port of the target service board if the target service board is upgraded, where the LACP packet carries third information and fourth information, so that the opposite end device adds, based on the fourth information of the LACP packet, the port corresponding to the port of the target service board to a local aggregation group;
an adding unit, configured to add, based on the third information of the LACP packet, a port of the target service board to a local aggregation group;
and the distribution unit is used for distributing the flow communicated with the opposite terminal device to the port of the target service board.
In the apparatus for switching traffic of an aggregated member port, the apparatus further comprises:
and the selection unit is used for sequentially selecting the service boards as target service boards based on a preset sequence.
In the apparatus for switching traffic of an aggregated member port, the apparatus further comprises:
a receiving unit, configured to receive an LACP message sent by an opposite-end device; wherein, the LACP message carries the second information;
the deleting unit is further configured to delete the port indicated by the partnerport field of the LACP packet from the local aggregation group.
In this embodiment of the present application, a frame device sends an LACP packet corresponding to a port of a target service board to an opposite device, where the LACP packet carries first information and second information, so that the opposite device deletes the port corresponding to the port of the target service board from a local aggregation group based on the second information of the LACP packet; the frame device deletes the port of the target service board from a local aggregation group based on the first information of the LACP message, and then switches the traffic communicated with the opposite terminal device to other aggregation member ports in the local aggregation group;
according to the scheme, after the frame type device interacts the LACP message with the opposite terminal device, the aggregation member port in the aggregation group is directly updated according to the LACP message, so that the convergence time of link aggregation is effectively reduced, the fast flow switching is realized, and the problem of packet loss in the convergence time is avoided.
Drawings
FIG. 1 is a schematic diagram of a network architecture shown in the present application;
fig. 2 is a flow chart illustrating a method for switching traffic of an aggregated member port according to the present application;
fig. 3 is a block diagram illustrating an embodiment of an apparatus for switching traffic of an aggregated member port;
fig. 4 is a hardware configuration diagram of an apparatus for switching traffic of an aggregation member port according to the present application.
Detailed Description
In order to make the technical solutions in the embodiments of the present invention better understood and make the above objects, features and advantages of the embodiments of the present invention more comprehensible, the following description of the prior art and the technical solutions in the embodiments of the present invention with reference to the accompanying drawings is provided.
The frame device may be generally inserted into a main control board, a service board and an interface board, where the service board may also implement a forwarding function. When the frame device communicates with the peer device through link aggregation, the aggregation member port of the aggregation group may be a port of each service board.
Referring to fig. 1, for a network architecture diagram shown in this application, as shown in fig. 1, a plurality of boards are inserted into a frame-type device, where a board a, a board B, a board C, and a board D are service boards, the frame-type device communicates with an opposite-end device through link aggregation, and aggregation member ports in an aggregation group of the frame-type device are a port 1 on the board a, a port 2 on the board B, a port 3 on the board C, and a port 4 on the board D; the aggregation member ports in the aggregation group of the peer device are port 5, port 6, port 7, and port 8.
When the version of the operating system or software on the frame device is upgraded, the service board may interrupt the service and restart to complete the upgrade. In order to ensure that the flow of the frame device and the opposite-end device is not interrupted during the restart process, the ISSU technology can be generally used to upgrade each service board respectively.
Specifically, when each service board is upgraded, the aggregation member port on the service board may be closed in sequence before restarting each service board. After the aggregation member port is closed, reporting a message to a main control board of the frame type equipment, so that the main control board deletes the aggregation member port from the aggregation group according to the message. When detecting that the aggregation member port of the frame device is closed, the peer device may close a port on the peer device corresponding to the aggregation member port, and then delete the port from the local aggregation group. At this time, the boxed device may communicate with the peer device based on the other aggregation member ports.
However, after the aggregation member port is closed, the port reports a message to the main control board, and the main control board deletes the aggregation member port from the aggregation group to update the aggregation group, so that the convergence time is long, and packet loss may occur within the convergence time.
In view of this, in this embodiment of the present application, before upgrading a target service board, a frame device may send an LACP packet corresponding to a port of the target service board to an opposite end device, so that the opposite end device deletes the port corresponding to the port of the target service board from a local aggregation group according to the LACP packet, and the frame device may delete the port of the target service board from the local aggregation group according to the LACP packet, and may then switch traffic communicated with the opposite end device to other aggregation member ports in the local aggregation group. Therefore, the flow can be switched rapidly, and the problem of packet loss in the convergence time due to long convergence time after the port of the aggregation member is closed is solved.
Referring to fig. 2, which is a flowchart of a method for switching traffic of an aggregation member port shown in the present application, the method is applied to a frame device, where the frame device is docked with an opposite device through link aggregation, where an aggregation member port of the frame device is a port of each service board, and the method includes the following steps:
step 201: and sending an LACP message corresponding to a port of a target service board to the opposite terminal device, wherein the LACP message carries first information and second information, and the opposite terminal device deletes the port corresponding to the port of the target service board from a local aggregation group based on the second information of the LACP message.
Step 202: and deleting the port of the target service board from a local aggregation group based on the first information of the LACP message.
Step 203: and switching the traffic communicated with the opposite terminal equipment to other aggregation member ports in the local aggregation group.
The frame device may include a frame Switch (e.g., a deep service switching gateway), or may include a VSM device that virtualizes a plurality of frame devices based on a VSM (Virtual Switch Matrix) technology.
In this embodiment, when a frame device needs to delete a port of a target service board from a local aggregation group, an LACP message corresponding to the port of the target service board may be sent to an opposite device through the port of the target service board, where the LACP message carries first information and second information. After receiving the LACP message, the peer device may delete the port corresponding to the port of the target service board from the local aggregation group based on the second information of the LACP message.
In an embodiment shown in the above, the first information may be a first preset value of an operator key field of an LACP message, and the second information may be a second preset value of a Synchronization field in an operator state of the LACP message. When the frame device needs to delete a port of a target service board, an LACP message corresponding to the port of the target service board may be constructed, and an operator key field therein may be set to a first preset value, where the first preset value may be 0; and setting a Synchronization field in the operator state to be a second preset value, wherein the second preset value can be NO.
After receiving the LACP message, the peer device may delete the port corresponding to the port of the target service board from the local aggregation group based on the second information in the LACP message.
Specifically, after receiving the LACP message, the peer device determines, based on the operator port field of the message and the Synchronization field in the operator state, that the port of the target service board is to be deleted from the aggregation group by the frame device, and further determines, based on the partner port field of the message, a port corresponding to the port of the target service board, and deletes the port from the local aggregation group.
Taking fig. 1 as an example, before upgrading the service board a, the frame device may construct an LACP packet of the port 1, set an operator key field of the LACP packet to 0, set a Synchronization field in an operator state to NO, and then send the LACP packet to the opposite-end device. After the opposite-end device receives the LACP message, it is determined that the port 1 will be deleted from the aggregation group by the frame device based on the operator port field of the message and the Synchronization field in the operator state, and then it is determined that the port 5 corresponding to the port 1 is determined based on the partner port field of the message, and then the port 5 is deleted from the local aggregation group.
In this embodiment of the present application, after the frame device sends the LACP packet corresponding to the port of the target service board to the opposite device, the port of the target service board may be deleted from the local aggregation group based on the first information of the LACP packet.
In an embodiment shown, the first information may be a first preset value of an operator key field of the LACP message, where the first preset value may be 0. The frame device may elect a aggregation member port in a local aggregation group after periodically sending the LACP packet, and when an operator key field of the LACP packet corresponding to the port of the target service board is set to 0, the port of the target service board is no longer elected as the aggregation member port in the election process in the current period. Therefore, after the frame device sends the LACP packet carrying the first information, the port of the target service board may be deleted from the local aggregation group. For a specific election process, reference may be made to the related art, and details are not described herein.
In this embodiment of the present application, after deleting, by the frame device, the port of the target service board from the local aggregation group, the traffic communicated with the peer device may be switched to another aggregation member port in the local aggregation group.
Still taking fig. 1 as an example, after the frame device deletes the port 1 from the aggregation group, the aggregation member ports in the local aggregation group are port 2, port 3, and port 4, and the frame device may send the packet to the opposite device through the aggregation member ports. And the opposite device deletes the port 5 corresponding to the port 1 from the local aggregation group, so that the opposite device sends the data packet to the boxed device through the port 6, the port 7 and the port 8. In this case, the traffic of the boxed device communicating with the peer device is switched to other aggregation member ports in the aggregation group of the boxed device.
By the measures, after the frame type equipment sends the LACP message corresponding to the port of the target service board, the frame type equipment and the opposite terminal equipment can quickly update the aggregation member port in the aggregation group, so that the convergence time is greatly reduced, and the problem of packet loss in the convergence time is avoided.
In this embodiment of the present application, if the frame device needs to upgrade the target service board, the port of the target service board may be deleted from the local aggregation group, and after completing the traffic switching, the target service board may be upgraded.
By the aid of the method, when the frame type equipment upgrades the local service board, packet loss caused by restarting of the service board is avoided, and influence of upgrading of the service board on service is reduced.
In this embodiment of the present application, after the frame device has upgraded the target service board, an LACP packet corresponding to a port of the target service board may be sent to an opposite device, where the LACP packet carries third information and fourth information. After receiving the LACP message, the peer device may add a port corresponding to the port of the target service board to a local aggregation group based on the third information of the LACP message.
In an embodiment shown in the above, the third information may be a third preset value of an operator key field of an LACP message, and the fourth information may be a fourth preset value of a Synchronization field in an operator state of the LACP message. When the frame device needs to add the port of the target service board to the local aggregation group, an LACP message corresponding to the port of the target service board may be constructed, a third preset value of the port of the target service board is obtained through calculation based on the rate and the working mode (for example, duplex) of the port of the target service board, and then the operator key field of the LACP message is filled with the third preset value; and setting a Synchronization field in an operator state of the LACP message as a fourth preset value, wherein the fourth preset value can be YES.
It should be noted that, in the embodiment of the frame device calculating and obtaining the third preset value based on the rate and the operating mode of the port of the target service board, reference may be made to the prior art, where the third preset value is consistent with values in the operator key fields of other aggregation member ports in the local aggregation group.
After receiving the LACP message, the peer device may add a port corresponding to the port of the target service board to a local aggregation group based on the fourth information in the LACP message.
Specifically, it is determined that the port of the target service board is to be added to the aggregation group by the frame device based on the operator port field of the packet and the Synchronization field in the operator state, and then it is determined that the port corresponding to the port of the target service board is determined based on the partner port field of the packet and added to the local aggregation group.
Taking fig. 1 as an example, after the frame device finishes upgrading the service board a, it may construct an LACP packet of the port 1, calculate and obtain a third preset value based on the rate and the working mode of the port 1, fill the operator key field of the LACP packet with the third preset value, set the Synchronization field in the operator state of the LACP packet to YES, and then send the LACP packet to the opposite device. After the opposite-end device receives the LACP message, it is determined that the port 1 will be added to the aggregation group by the frame device based on the operator port field of the message and the Synchronization field in the operator state, and then it is determined that the port 5 corresponding to the port 1 is determined based on the partner port field of the message, and then the port 5 is added to the local aggregation group.
In this embodiment, after the frame device sends the LACP packet to the peer device, the port of the target service board may be added to the local aggregation group based on the third information of the LACP packet.
In an embodiment shown in the present invention, the third information may be a third preset value of an operator key field of an LACP message, where the third preset value is calculated based on a rate and a working mode of a port of the target service board. The frame device may elect a aggregation member port in a local aggregation group after periodically sending the LACP message, and when a third preset value of an operator field of the LACP message corresponding to the port of the target service board is consistent with values of operator key field values of other local ports, the port of the target service board may be elected as the aggregation member port in the election process in the current period. Therefore, after the frame device sends the LACP packet carrying the third information, the port of the target service board may be added to the local aggregation group. For a specific election process, reference may be made to the related art, and details are not described herein.
In this embodiment, after adding the port of the target service board to the local aggregation group, the frame device may allocate a traffic for communicating with the peer device to the port of the target service board.
Still taking fig. 1 as an example, after the frame device adds the port 1 to the aggregation group, the aggregation member ports in the local aggregation group are the port 1, the port 2, the port 3, and the port 4, and the frame device may send the packet to the opposite device through the aggregation member ports. And the opposite device has added the port 5 corresponding to the port 1 to the local aggregation group, so that the opposite device sends the data packet to the frame device through the port 5, the port 6, the port 7 and the port 8. In this case, the port of the target service board participates in communication between the frame device and the opposite-end device, and further, the upgraded target service board participates in communication between the frame device and the opposite-end device.
In this embodiment of the present application, when the frame device needs to update the local service boards, the local service boards may be sequentially selected as target service boards based on a preset sequence, and then the process of switching and updating the traffic of the aggregation member port is performed.
In summary, in the technical solution of the present application, the frame device may send an LACP packet corresponding to a port of a target service board to an opposite device, where the LACP packet carries first information and second information; the opposite terminal device receives the LACP message, and may delete the port corresponding to the port of the target service board from the local aggregation group based on the second information in the LACP message; the frame device may delete the port of the target service board from the local aggregation group based on the first information of the LACP packet, and then switch the traffic communicated with the opposite end device to another aggregation member port in the local aggregation group;
in the application, after the frame device sends the LACP message, the port of the target service board can be directly deleted from the aggregation group, the opposite device can delete the port corresponding to the port of the target service board from the aggregation group based on the LACP message, and the frame device and the opposite device do not need to update the aggregation group when the reported message is reported after the port is closed, so that the convergence time is greatly shortened, and the problem of packet loss in the convergence time is avoided.
Corresponding to the foregoing embodiments of the method for switching traffic of an aggregation member port, the present application also provides embodiments of an apparatus for switching traffic of an aggregation member port.
Referring to fig. 3, a block diagram of an embodiment of an apparatus for switching traffic of an aggregation member port is shown in the present application:
as shown in fig. 3, the apparatus 30 for switching traffic of the aggregation member port includes:
a sending unit 310, configured to send an LACP packet corresponding to a port of a target service board to the peer device, where the LACP packet carries first information and second information, so that the peer device deletes the port corresponding to the port of the target service board from a local aggregation group based on the second information of the LACP packet.
A deleting unit 320, configured to delete the port of the target service board from the local aggregation group based on the first information of the LACP packet.
A switching unit 330, configured to switch traffic communicated with the peer device to other aggregation member ports in the local aggregation group.
In this example, the apparatus further comprises:
the upgrading unit 340 is configured to upgrade the target service board.
In this example, the apparatus further comprises:
the sending unit 310 is further configured to send, to the opposite end device, an LACP packet corresponding to a port of the target service board if the target service board is upgraded, where the LACP packet carries third information and fourth information, so that the opposite end device adds, based on the fourth information of the LACP packet, the port corresponding to the port of the target service board to a local aggregation group.
An adding unit 350, configured to add, based on the third information of the LACP packet, a port of the target service board to a local aggregation group.
An allocating unit 360, configured to allocate, to a port of the target service board, traffic for communicating with the peer device.
In this example, the apparatus further comprises:
a selecting unit 370, configured to sequentially select the service boards as target service boards based on a preset sequence.
In this example, the apparatus further comprises:
a receiving unit 380, configured to receive an LACP message sent by an opposite end device; wherein the LACP message carries the second information.
The deleting unit 320 is further configured to delete the port indicated by the partner port field of the LACP packet from the local aggregation group.
The embodiment of the device for switching the traffic of the aggregation member port can be applied to the frame type equipment. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. Taking a software implementation as an example, as a logical means, the device is formed by reading corresponding computer program instructions in the non-volatile memory into the memory for operation through the processor of the frame device where the device is located. In terms of hardware, as shown in fig. 4, the frame device in the embodiment may further include other hardware according to an actual function of the device for switching traffic of the aggregation member port, except for the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 4, where the frame device is a frame device where the device for switching traffic of the aggregation member port is located, and details of this are not repeated.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (6)

1. A method for switching flow of a aggregation member port is applied to a frame device, the frame device includes a plurality of service plates, the frame device is connected with an opposite terminal device through link aggregation, wherein the aggregation member port of the frame device is a port of each service plate, and the method includes:
sending an LACP message corresponding to a port of a target service board to an opposite terminal device through the port of the communication between the target service board and the opposite terminal device, wherein the LACP message carries first information and second information, and the opposite terminal device deletes the port corresponding to the port of the target service board from a local aggregation group based on the second information of the LACP message, the first information is an operator key field value and is a first preset value, and the second information is a synchronization field value and is a second preset value;
deleting the port of the target service board from a local aggregation group based on the first information of the LACP message;
switching traffic communicated with the opposite terminal device to other aggregation member ports in a local aggregation group; upgrading the target service board;
and sequentially selecting the service boards as target service boards based on a preset sequence.
2. The method of claim 1, further comprising:
if the target service board is upgraded, sending an LACP message corresponding to a port of the target service board to the opposite terminal equipment, wherein the LACP message carries third information and fourth information, and adding the port corresponding to the port of the target service board to a local aggregation group by the opposite terminal equipment based on the fourth information of the LACP message;
adding a port of the target service board to a local aggregation group based on the third information of the LACP message;
and distributing the flow communicated with the opposite terminal equipment to the port of the target service board.
3. The method of claim 1, further comprising:
receiving an LACP message sent by opposite-end equipment; wherein, the LACP message carries the second information;
and deleting the port indicated by the partner port field of the LACP message from the local aggregation group.
4. A device for switching flow of a polymerization member port is applied to a frame type device, the frame type device includes a plurality of service plates, the frame type device is connected with an opposite terminal device through link polymerization, wherein the polymerization member port of the frame type device is a port of each service plate, and the device is characterized by comprising:
a sending unit, configured to send, to an opposite end device through a port through which a target service board communicates with the opposite end device, an LACP packet corresponding to the port of the target service board, where the LACP packet carries first information and second information, and the opposite end device deletes, from a local aggregation group, the port corresponding to the port of the target service board based on the second information of the LACP packet, where an operator key field value is a first preset value, and a synchronization field value is a second preset value;
a deleting unit, configured to delete the port of the target service board from a local aggregation group based on the first information of the LACP packet;
a switching unit, configured to switch traffic communicated with the peer device to other aggregation member ports in a local aggregation group;
the upgrading unit is used for upgrading the target service board;
and the selection unit is used for sequentially selecting the service boards as target service boards based on a preset sequence.
5. The apparatus of claim 4, further comprising:
the sending unit is further configured to send, to the opposite end device, an LACP packet corresponding to a port of the target service board if the target service board is upgraded, where the LACP packet carries third information and fourth information, so that the opposite end device adds, based on the fourth information of the LACP packet, the port corresponding to the port of the target service board to a local aggregation group;
an adding unit, configured to add, based on the third information of the LACP packet, a port of the target service board to a local aggregation group;
and the distribution unit is used for distributing the flow communicated with the opposite terminal device to the port of the target service board.
6. The apparatus of claim 4, further comprising:
a receiving unit, configured to receive an LACP message sent by an opposite-end device; wherein, the LACP message carries the second information;
the deleting unit is further configured to delete the port indicated by the partner port field of the LACP packet from the local aggregation group.
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 CN107465632A (en) 2017-12-12
CN107465632B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083068B (en) * 2018-10-22 2024-06-21 中兴通讯股份有限公司 Aggregation link convergence method, device and storage medium
CN109194585B (en) * 2018-10-26 2022-05-10 新华三技术有限公司合肥分公司 Message forwarding method and network equipment
CN110912837B (en) * 2019-11-07 2021-09-21 杭州迪普科技股份有限公司 VSM system-based main/standby switching method and device
CN111614555B (en) * 2020-04-20 2022-05-03 北京百卓网络技术有限公司 Method, device and equipment for establishing service channel
CN112165429B (en) * 2020-09-11 2022-07-22 烽火通信科技股份有限公司 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 (5)

* 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
CN106533736A (en) * 2016-10-13 2017-03-22 杭州迪普科技股份有限公司 Network device reboot method and apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9553798B2 (en) * 2013-04-23 2017-01-24 Telefonaktiebolaget L M Ericsson (Publ) Method and system of updating conversation allocation in link aggregation
US9992102B2 (en) * 2015-08-28 2018-06-05 Ciena Corporation Methods and systems to select active and standby ports in link aggregation groups

Patent Citations (5)

* 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
CN106533736A (en) * 2016-10-13 2017-03-22 杭州迪普科技股份有限公司 Network device reboot method and apparatus

Also Published As

Publication number Publication date
CN107465632A (en) 2017-12-12

Similar Documents

Publication Publication Date Title
CN107465632B (en) Method and device for switching flow of aggregation member port
CN106301876B (en) Physical machine upgrade method, business migration method and device
US20170308503A1 (en) Virtual network optimizing a physical network
US10630508B2 (en) Dynamic customer VLAN identifiers in a telecommunications network
CN102693209A (en) Information processing system
CN108900384A (en) Network flow monitoring method, apparatus and system, computer readable storage medium
CN104618264A (en) Method and system for Adaptive Scheduling of Data Flows in Data Center Networks for Efficient Resource Utilization
KR20110074096A (en) Method, device and system for monitoring trouble of distributed home-network
JP7438355B2 (en) Node management method, device, equipment, storage medium and system
CN112416969B (en) Parallel task scheduling system in distributed database
CN106982133B (en) Method, equipment and system for changing configuration information of virtual network card
US10216593B2 (en) Distributed processing system for use in application migration
CN112653577A (en) Network element management method, device and storage medium
US20150071091A1 (en) Apparatus And Method For Monitoring Network Performance
EP3687112A1 (en) Communication method and communication device
CN104601470A (en) Flow table processing method and device
WO2015130199A1 (en) Method, computer program and node for management of resources
CN105307217A (en) Method and device for flexibly processing link between network elements
CN105933270B (en) A kind of processing method and processing device of cloud encryption equipment
CN109542841A (en) The method and terminal device of data snapshot are created in cluster
WO2016058409A1 (en) Method and apparatus for controlling message transmission and network function virtualization system
CN109343944A (en) Data processing method, device, terminal and the storage medium of eSIM card
CN110851186B (en) Network equipment restarting method and device, electronic equipment and readable storage medium
US20220206868A1 (en) Edge compute environment configuration tool
CN109672564B (en) Service board card management method and device

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