CN107547283B - Management method and device of distributed aggregation group - Google Patents

Management method and device of distributed aggregation group Download PDF

Info

Publication number
CN107547283B
CN107547283B CN201710858988.9A CN201710858988A CN107547283B CN 107547283 B CN107547283 B CN 107547283B CN 201710858988 A CN201710858988 A CN 201710858988A CN 107547283 B CN107547283 B CN 107547283B
Authority
CN
China
Prior art keywords
aggregation group
distributed
distributed aggregation
identification information
interface
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
CN201710858988.9A
Other languages
Chinese (zh)
Other versions
CN107547283A (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 H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201710858988.9A priority Critical patent/CN107547283B/en
Publication of CN107547283A publication Critical patent/CN107547283A/en
Application granted granted Critical
Publication of CN107547283B publication Critical patent/CN107547283B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present disclosure relates to a management method and device for a distributed aggregation group, including: receiving a configuration change notification message reported by a device end; updating the local distributed aggregation group information according to the configuration change notification message, wherein updating the local distributed aggregation group information includes, in the case that the change action of the distributed aggregation group is an adding action: adding an aggregation interface corresponding to the aggregation interface identification information into the distributed aggregation group corresponding to the identification information of the distributed aggregation group; or, in the case that the change action of the distributed aggregation group is a deletion action, updating the local distributed aggregation group information includes: and searching an aggregation interface corresponding to the aggregation interface identification information in the distributed aggregation group corresponding to the identification information of the distributed aggregation group, and deleting the aggregation interface. According to the management method of the distributed aggregation group, the operation of the controller for maintaining the distributed aggregation group information can be simplified, and the maintenance efficiency of the local distributed aggregation group information is improved.

Description

Management method and device of distributed aggregation group
Technical Field
The present disclosure relates to the field of network technologies, and in particular, to a method and an apparatus for managing a distributed aggregation group.
Background
An IRF (Intelligent Resilient Framework) technology can combine a plurality of switching devices into a high-performance whole, so as to obtain as high network performance and network availability as possible with as little overhead as possible.
In the common link aggregation technology, only the ports located in the same device can join the same distributed aggregation group. Different from the common link aggregation technology, the distributed link aggregation technology can realize that ports on multiple devices are added into the same distributed aggregation group by using a private protocol, namely, cross-device aggregation is realized. The distributed aggregation group may include multiple aggregation interfaces corresponding to different network devices, and multiple member ports on the same device may form one aggregation interface.
In the distributed link aggregation network, the controller generates and issues the drainage table entry to the network device according to the locally maintained distributed aggregation group information, and the network device can forward data according to the drainage table entry. When a user configures a distributed aggregation group in a distributed link aggregation network by a method other than a controller (e.g., by a command line, a mib (Management Information Base), or the like) (e.g., adding an aggregation interface of a certain network device to the distributed aggregation group, or deleting an aggregation interface of a certain network device from the distributed aggregation group), in order to ensure that distributed aggregation group Information maintained locally by the controller is consistent with actual distributed aggregation group Information in the distributed link aggregation network, the controller needs to periodically acquire configuration Information of the network device, and maintain the local distributed aggregation group Information according to the configuration Information.
The existing method for maintaining the information of the local distributed aggregation group has low maintenance efficiency and is complex to operate.
Disclosure of Invention
In view of this, the present disclosure provides a method and an apparatus for managing a distributed aggregation group, so as to simplify the operation of a controller for maintaining distributed aggregation group information and improve the maintenance efficiency of local distributed aggregation group information.
According to an aspect of the present disclosure, there is provided a method for managing a distributed aggregation group, the method being applied to a controller in a distributed link aggregation network, and including:
receiving a configuration change notification message reported by a device end, wherein the configuration change notification message carries identification information of a distributed aggregation group, a change action of the distributed aggregation group and aggregation interface identification information of the device end;
updating local distributed aggregation group information according to the configuration change notification message,
wherein, in a case that the change action of the distributed aggregation group is an add action, updating the local distributed aggregation group information includes: adding an aggregation interface corresponding to the aggregation interface identification information into the distributed aggregation group corresponding to the identification information of the distributed aggregation group; alternatively, the first and second electrodes may be,
in a case that the change action of the distributed aggregation group is a deletion action, updating the local distributed aggregation group information includes: and searching the aggregation interface corresponding to the aggregation interface identification information in the distributed aggregation group corresponding to the identification information of the distributed aggregation group, and deleting the aggregation interface.
According to another aspect of the present disclosure, there is provided a method for managing a distributed aggregation group, the method being applied to a network device in a distributed link aggregation network, and including:
determining the changed aggregation interface identification information, the changed identification information of the distributed aggregation group and the change action of the distributed aggregation group under the condition that the configuration of the local distributed aggregation group is changed;
packaging the identification information of the distributed aggregation group, the change action of the distributed aggregation group and the aggregation interface identification information to obtain a configuration change notification message;
and sending the configuration change notification message to a controller.
According to another aspect of the present disclosure, there is provided a management apparatus of a distributed aggregation group, including: a receiving module, configured to receive a configuration change notification message reported by a device side, where the configuration change notification message carries identification information of a distributed aggregation group, a change action of the distributed aggregation group, and aggregation interface identification information of the device side;
an updating module for updating the local distributed aggregation group information according to the configuration change notification message,
the updating module is used for adding the aggregation interface corresponding to the aggregation interface identification information into the distributed aggregation group corresponding to the identification information of the distributed aggregation group under the condition that the change action of the distributed aggregation group is taken as an adding action; alternatively, the first and second electrodes may be,
and under the condition that the change action of the distributed aggregation group is taken as a deletion action, the updating module is used for searching the aggregation interface corresponding to the aggregation interface identification information in the distributed aggregation group corresponding to the identification information of the distributed aggregation group and deleting the aggregation interface.
According to another aspect of the present disclosure, there is provided a management apparatus of a distributed aggregation group, including:
the determining module is used for determining changed aggregation interface identification information, changed identification information of the distributed aggregation group and a change action of the distributed aggregation group under the condition that the configuration of the local distributed aggregation group is changed;
the encapsulation module is used for encapsulating the identification information of the distributed aggregation group, the change action of the distributed aggregation group and the aggregation interface identification information to obtain a configuration change notification message;
and the sending module is used for sending the configuration change notification message to the controller.
In this way, the controller receives the configuration change notification message about the distributed aggregation group sent by the device side, and can update the local distributed aggregation group information according to the configuration change notification message about the distributed aggregation group, so that when the configuration of the distributed aggregation group in the distributed link aggregation network changes, the controller actively updates the local distributed aggregation group information according to the received configuration change notification message about the distributed aggregation group.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 shows a flow chart of a method of managing a distributed aggregation group according to an embodiment of the present disclosure;
FIG. 2 illustrates a scenario diagram of a distributed link aggregation network of the present disclosure;
FIG. 3 illustrates a scenario diagram of a distributed link aggregation network according to the present disclosure;
fig. 4 shows a flow chart of a method of managing a distributed aggregation group according to an embodiment of the present disclosure;
fig. 5 shows a block diagram of a management apparatus of a distributed aggregation group according to an embodiment of the present disclosure;
fig. 6 shows a block diagram of a management apparatus of a distributed aggregation group according to an embodiment of the present disclosure;
fig. 7 shows a block diagram of a management apparatus of a distributed aggregation group according to an embodiment of the present disclosure;
fig. 8 is a block diagram illustrating a management apparatus 900 for a distributed aggregation group in accordance with an example embodiment.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
Fig. 1 shows a flowchart of a management method of a distributed aggregation group according to an embodiment of the present disclosure, which may be applied in a controller in a distributed link aggregation network. As shown in fig. 1, the method may include:
step 101, receiving a configuration change notification message reported by a device end, wherein the configuration change notification message carries identification information of a distributed aggregation group, a change action of the distributed aggregation group and aggregation interface identification information of the device end;
the device side may be a network device in a distributed link aggregation network, for example: a switch device. When the configuration change of the distributed aggregation group occurs, the device side sends a configuration change notification message to the controller, where the configuration change notification message may carry: identification information of a distributed aggregation group, change actions of the distributed aggregation group and aggregation interface identification information of the equipment terminal; the identification information of the distributed aggregation group may be identification information of a distributed aggregation group related to the device side configuration action, the change action of the distributed aggregation group may be an addition or deletion action of an aggregation interface of the distributed aggregation group, and the aggregation interface identification information may be identification information of an aggregation interface that is added to or deleted from the distributed aggregation group by the device side, for example: adding an aggregation interface 1 of an equipment end into a distributed aggregation group 1, wherein the equipment end sends a configuration change notification message to a controller, and the controller receives the configuration change notification message, wherein the configuration change notification message can carry identification information of the distributed aggregation group 1, identification information of the aggregation interface 1 and a change action of the distributed aggregation group: and (5) adding operation.
In a possible implementation manner, the identification information of the distributed aggregation group may include: a distributed aggregation group ID, and/or a distributed aggregation group MAC address. The identification information of the distributed aggregation group is information that can uniquely identify the distributed aggregation group, so the identification information of the distributed aggregation group may be a distributed aggregation group ID that can uniquely identify the distributed aggregation group, or may be a distributed aggregation group MAC address that can uniquely identify the distributed aggregation group, or may also be a combination of identification information of a distributed aggregation group ID and a distributed aggregation group MAC address that can uniquely identify the distributed aggregation group. The present disclosure does not specifically limit the identification information of the distributed aggregation group.
102, updating local distributed aggregation group information according to the configuration change notification message;
the local distributed aggregation group information may be information of a distributed aggregation group corresponding to the distributed link aggregation network, which is locally stored by the controller. For example, the distributed aggregation group information may include: the distributed aggregation groups in the distributed link aggregation network and the corresponding aggregation interfaces in each distributed aggregation group.
The controller may update the local distributed aggregation group information according to the configuration change notification message, for example, the device performs configuration of the distributed aggregation group (for example, an aggregation interface of the device is added to a specified distributed aggregation group, or an aggregation interface of the device is deleted from the specified distributed aggregation group), and the controller may update an aggregation interface in the distributed aggregation group corresponding to the identification information of the distributed aggregation group in the local distributed aggregation group information according to the configuration change notification message, for example: and adding the aggregation interface corresponding to the aggregation interface identification information to the distributed aggregation group corresponding to the identification information of the distributed aggregation group, or deleting the aggregation interface corresponding to the aggregation interface identification information from the distributed aggregation group corresponding to the identification information of the distributed aggregation group.
The step 102 may include:
in the case that the change action of the distributed aggregation group is an add action, updating the local distributed aggregation group information includes: adding an aggregation interface corresponding to the aggregation interface identification information into the distributed aggregation group corresponding to the identification information of the distributed aggregation group; alternatively, the first and second electrodes may be,
in a case that the change action of the distributed aggregation group is a deletion action, updating the local distributed aggregation group information includes: and searching the aggregation interface corresponding to the aggregation interface identification information in the distributed aggregation group corresponding to the identification information of the distributed aggregation group, and deleting the aggregation interface.
When the change action of the distributed aggregation group carried in the configuration change notification message is an adding action, the controller may add an aggregation interface corresponding to the aggregation interface identification information to the distributed aggregation group corresponding to the identification information of the distributed aggregation group. For example, the device side performs a configuration action of joining the aggregation interface into the distributed aggregation group, and the device side may assemble a configuration change notification message and report the configuration change notification message to the controller, for example: the identification information of the distributed aggregation group comprises a distributed aggregation group ID and a distributed aggregation group MAC address, a dr _ ID (distributed aggregation group ID) field of the configuration change notification message fills the added distributed aggregation group ID, a hw _ addr (distributed aggregation group MAC address) field fills the added distributed aggregation group MAC address, a PORT _ feature _ ex (change action of the distributed aggregation group) field fills OFP _ PORT _ EXFEATURE _ DRID (aggregation interface addition action), and a PORT _ no (aggregation interface) field fills the aggregation interface identification information of the added distributed aggregation group. After receiving the configuration change notification message, the controller may search for a corresponding distributed aggregation group in the distributed aggregation group information by using the dr _ id field and the hw _ addr field as indexes, and add an aggregation interface corresponding to aggregation interface identification information corresponding to the port _ no field to the distributed aggregation group.
In one possible implementation, the method may further include:
searching a corresponding distributed aggregation group according to the identification information of the distributed aggregation group;
and when the distributed aggregation group corresponding to the identification information of the distributed aggregation group is not found, the distributed aggregation group is created in the local distributed aggregation group information.
When the distributed aggregation group identified by the identification information of the distributed aggregation group is a newly created distributed aggregation group in the distributed link aggregation network, the local distributed aggregation group information of the controller does not have information about the distributed aggregation group, so that the controller can create the distributed aggregation group identified by the identification information of the distributed aggregation group in the distributed aggregation group information, and may add the aggregation interface identified by the aggregation interface identification information to the distributed aggregation group, such that, the consistency of the information of the local distributed aggregation group stored in the controller and the information of the actual distributed aggregation group in the distributed link aggregation network can be ensured, so that the accuracy of the drainage table entry generated and issued by the controller according to the information of the local distributed aggregation group can be ensured, and the accuracy of the data forwarding processing of the equipment end is further ensured.
In a case where the change action of the distributed aggregation group carried in the configuration change notification message is a deletion action, the controller may delete the aggregation interface corresponding to the aggregation interface identification information in the distributed aggregation group corresponding to the identification information of the distributed aggregation group. For example, the device side generates a configuration action in which the aggregation interface is deleted from the distributed aggregation group, and the device side may assemble a configuration change notification message according to information of the configuration action and report the configuration change notification message to the controller, for example: the identification information of the distributed aggregation group comprises a distributed aggregation group ID and a distributed aggregation group MAC address, the distributed aggregation group ID of an aggregation interface is filled in a dr _ ID field, the distributed aggregation group MAC address of the aggregation interface is filled in a hw _ addr field, the OFP _ PORT _ EXFEATURE _ DRID _ DEL is filled in a PORT _ feature _ ex field, and the identification information of the deleted aggregation interface is filled in a PORT _ no field. After receiving the configuration change notification message, the controller may search for a corresponding distributed aggregation group in the distributed aggregation group information by using the dr _ id field and the hw _ addr field as indexes, search for a corresponding aggregation interface from the distributed aggregation group by using the port _ no field as an index, and delete the aggregation interface from the distributed aggregation group.
In this way, the controller updates the information of the local distributed aggregation group according to the configuration change notification message of the distributed aggregation group sent by the receiving device, so that when the configuration of the distributed aggregation group in the distributed link aggregation network changes, the controller actively updates the information of the local distributed aggregation group according to the configuration change notification message of the received distributed aggregation group.
Fig. 2 shows a schematic view of a distributed link aggregation network according to the present disclosure.
For example, referring to fig. 2, the current distributed link aggregation network includes a network node a and a network node B, where the network node B includes a device DR1 and a device DR2, the device DR1 and the device DR2 both configure aggregation interfaces, and respectively configure aggregation interfaces corresponding to the device DR1 and the device DR2 into a distributed aggregation group, that is, the aggregation interfaces corresponding to the device DR1 and the device DR2 join the distributed aggregation group. At this time, the configuration action of the aggregation interface of the device DR1 and the configuration action of the aggregation interface of the device DR2 trigger the device DR1 and the device DR2 to report configuration change notification messages to the controller, respectively. The controller may change the local distributed aggregation group information according to the configuration change notification packet, and add the aggregation interface of the device DR1 and the aggregation interface of the device DR2 to the distributed aggregation group corresponding to the identification information of the distributed aggregation group, for example: the controller may store the correspondence between the distributed aggregation group and the aggregation interface of DR1 and the aggregation interface of device DR2 in a database corresponding to the local distributed aggregation group information. When the specific traffic needs to be drained to the network node a, the controller generates and issues drainage table entries corresponding to the device DR1 and the device DR2 in the network node B according to the local distributed aggregation group information, matches the specific traffic for the device DR1 and the device DR2, and the device DR1 and the device DR2 send the specific traffic to the node a from respective aggregation interfaces according to the drainage table entries.
Fig. 3 shows a schematic view of a distributed link aggregation network according to the present disclosure. As another example, referring to fig. 3, the device DR2 in the network node B in the current distributed aggregation network has two aggregation interfaces, respectively: aggregation interface 1 and aggregation interface 2, where aggregation interface 1 has joined distributed aggregation group 1 and is aggregation interface 1 corresponding to device DR 2. By the configuration, the aggregation interface 1 is deleted from the distributed aggregation group 1, and the aggregation interface 2 is added to the distributed aggregation group 1, thereby becoming the aggregation interface 2 corresponding to the device DR 2. After the configuration is completed, the device DR2 reports two configuration change notification messages to the controller, which are: a first configuration change notification message and a second configuration change notification message, where the first configuration change notification message carries identification information of the distributed aggregation group 1, identification information of the aggregation interface 1, and a change action of the distributed aggregation group: and (5) deleting the action. The second configuration change notification message carries the identification information of the distributed aggregation group 1, the identification information of the aggregation interface 2, and the change action of the distributed aggregation group: an action is added. After receiving the first configuration change notification message and the second configuration change notification message, the controller deletes the aggregation interface 1 from the distributed aggregation group 1 in the local distributed aggregation group information according to the first configuration change notification message, and adds the aggregation interface 2 to the distributed aggregation group 1 according to the second configuration change notification message.
In one possible implementation, the method may further include:
and under the condition that the change action of the distributed aggregation group is taken as an adding action, adding the aggregation interface corresponding to the aggregation interface identification information as an output interface of the drainage table entry corresponding to the equipment end.
The above-mentioned drainage table entry may be an information table entry which is generated by the controller according to the local distributed aggregation group information and is used for indicating the data traffic direction. The device side can determine a forwarding path of the data flow according to the drainage table entry issued by the controller. For example, referring to fig. 3, prior to a distributed link aggregation network configuration change, device DR2 in network node B has two aggregation interfaces: aggregation interface 1 and aggregation interface 2, where aggregation interface 1 has joined distributed aggregation group 1, and an outgoing interface of the drainage table entry for device DR2 stored in the controller at this time is aggregation interface 1. When data traffic forwarding to the network node a needs to be performed, the controller issues the above-mentioned drainage table entry to the device DR2 through the aggregation interface 1. After receiving the drainage table entry, the device DR2 may forward the data traffic to the network node a through the aggregation interface 1 according to the drainage table entry;
after a configuration change of the distributed link aggregation network is made, aggregation interface 2 of device DR2 has joined distributed aggregation group 1 and has deleted aggregation interface 1 from distributed aggregation group 1. The controller modifies the outgoing interface of the drain table entry corresponding to device DR2 to aggregate interface 2 in response to the configuration change. When data traffic forwarding to the network node a needs to be performed, the controller issues the above-mentioned drainage table entry to the device DR2 through the aggregation interface 2. The device DR2 receives the drainage table entry, and forwards the data traffic to the network node a through the aggregation interface 2 according to the drainage table entry.
Therefore, according to the management method of the distributed aggregation group in the embodiment of the disclosure, the drainage table entry corresponding to the device end can be maintained in real time, so that the information of the drainage table entry is consistent with that of the aggregation interface of the device end, and the accuracy of data flow forwarding is improved.
Fig. 4 shows a flowchart of a management method for a distributed aggregation group, which may be applied to a network device in a distributed link aggregation network according to an embodiment of the present disclosure. As shown in fig. 4, the method may include:
step 401, determining changed aggregation interface identification information, changed identification information of a distributed aggregation group, and a change action of the distributed aggregation group when a configuration of a local distributed aggregation group changes;
the configuration of the distributed aggregation group of the network device may be performed by static configuration or the like, for example, the configuration of the distributed aggregation group of the network device may be modified by a command line, mib or the like, for example: deleting the aggregation interface 1 from the distributed aggregation group 1 in a command line manner, wherein the configuration of the local distributed aggregation group of the network device changes at this time, and the identification information of the changed aggregation interface 1 can be determined: aggregation interface 1, identification information of the changed distributed aggregation group: distributed aggregation group 1, and change actions of the distributed aggregation group: and (5) deleting the action. Wherein the change action of the distributed aggregation group may include: add actions, or delete actions. The identification information of the distributed aggregation group may include: a distributed aggregation group ID, and/or a distributed aggregation group MAC address.
For example, when the user modifies the configuration of the distributed aggregation group of the network device by using a command line or a mib and the like, the configuration information corresponding to the command line or the mib may include changed aggregation interface identification information, changed identification information of the distributed aggregation group, and a change action of the distributed aggregation group, and the network device may configure the local distributed aggregation group in response to the configuration information corresponding to the command line or the mib. The network device may obtain and determine the changed aggregation interface identification information, the changed identification information of the distributed aggregation group, and the change action of the distributed aggregation group from the command line or the mib information.
Step 402, packaging the identification information of the distributed aggregation group, the change action of the distributed aggregation group and the aggregation interface identification information to obtain a configuration change notification message;
the network device may encapsulate the identification information of the distributed aggregation group, the change action of the distributed aggregation group, and the aggregation interface identification information according to a protocol established with the controller, to obtain a configuration change notification packet.
Step 403, sending the configuration change notification message to a controller.
The network device may send the configuration change notification message to the controller, so that the controller may perform management of the distributed aggregation group in the distributed link aggregation network according to the configuration change notification message.
For example, the configuration change notification message sent by the network device to the controller includes: identification information of the distributed aggregation group: aggregation group 1, change action of the distributed aggregation group: deleting and collecting the interface identification information of the equipment terminal: aggregation interface 1. The controller may delete the aggregation interface 1 from the aggregation group 1 in the local distributed aggregation group information according to the configuration change notification message.
For another example, the configuration change notification message sent by the network device to the controller includes: identification information of the distributed aggregation group: aggregation group 1, change action of the distributed aggregation group: adding and acquiring the aggregation interface identification information of the equipment end: aggregation interfaces 2. The controller may add, according to the configuration change notification message, the aggregation interface corresponding to the aggregation interface 2 to an aggregation group corresponding to an aggregation group 1 in the local distributed aggregation group information, and if there is no aggregation group corresponding to the aggregation group 1 in the local distributed aggregation group information, the controller may further establish an aggregation group corresponding to the aggregation group 1 in the local distributed aggregation group, and add, to an aggregation group corresponding to the aggregation group 1, an aggregation interface corresponding to the aggregation interface 2.
In this way, when the local distributed aggregation group changes, the network device may obtain the aggregation interface identification information corresponding to the change, the changed identification information of the distributed aggregation group, the change action of the distributed aggregation group, and other information, encapsulate the information to obtain a configuration change notification message, and report the configuration change notification message to the controller, so as to actively report the change of the distributed aggregation group to the controller, so that the controller may update the local distributed aggregation group information according to the configuration change notification message. According to the management method of the distributed aggregation group disclosed by the embodiment of the disclosure, the operation of the controller for maintaining the information of the local distributed aggregation group is simplified, and the maintenance efficiency of the information of the local distributed aggregation group is improved.
Fig. 5 is a block diagram illustrating a structure of a management apparatus of a distributed aggregation group according to an embodiment of the present disclosure, and as shown in fig. 5, the management apparatus of the distributed aggregation group may include: a receiving module 501 and an updating module 502; wherein the content of the first and second substances,
the receiving module 501 may be configured to receive a configuration change notification message reported by a device, where the configuration change notification message may carry identification information of a distributed aggregation group, a change action of the distributed aggregation group, and identification information of an aggregation interface of the device;
an updating module 502, configured to update the local distributed aggregation group information according to the configuration change notification message,
in a case that the change action of the distributed aggregation group is an addition action, the update module 502 may be configured to add an aggregation interface corresponding to the aggregation interface identification information to the distributed aggregation group corresponding to the identification information of the distributed aggregation group; alternatively, the first and second electrodes may be,
in a case that the change action of the distributed aggregation group is a deletion action, the update module 502 may be configured to search for an aggregation interface corresponding to the aggregation interface identification information in the distributed aggregation group corresponding to the identification information of the distributed aggregation group, and delete the aggregation interface.
In a possible implementation manner, the identification information of the distributed aggregation group includes: a distributed aggregation group ID, and/or a distributed aggregation group MAC address.
Fig. 6 shows a block diagram of a management apparatus of a distributed aggregation group according to an embodiment of the present disclosure.
In a possible implementation manner, referring to fig. 6, the apparatus may further include:
the searching module 503 may be configured to search a corresponding distributed aggregation group according to the identification information of the distributed aggregation group;
the creating module 504 may be configured to create the distributed aggregation group in the local distributed aggregation group information when the distributed aggregation group corresponding to the identification information of the distributed aggregation group is not found.
In a possible implementation manner, referring to fig. 6, the apparatus may further include:
the adding module 505 may be configured to, when the change action of the distributed aggregation group is an adding action, add the aggregation interface corresponding to the aggregation interface identification information as an output interface of the drainage table entry corresponding to the device side.
Fig. 7 shows a block diagram of a management apparatus of a distributed aggregation group according to an embodiment of the present disclosure. As shown in fig. 7, the management apparatus of the distributed aggregation group may include: a determining module 701, an encapsulating module 702, and a sending module 703. Wherein the content of the first and second substances,
the determining module 701 may be configured to determine, when the configuration of the local distributed aggregation group changes, changed aggregation interface identification information, changed identification information of the distributed aggregation group, and a change action of the distributed aggregation group;
an encapsulating module 702, configured to encapsulate the identifier information of the distributed aggregation group, the change action of the distributed aggregation group, and the identifier information of the aggregation interface to obtain a configuration change notification packet;
the sending module 703 may be configured to send the configuration change notification message to the controller.
In one possible implementation, the change action of the distributed aggregation group may include: an add action or a delete action, the identification information of the distributed aggregation group may include: a distributed aggregation group ID, and/or a distributed aggregation group MAC address.
Fig. 8 is a block diagram illustrating a management apparatus 900 for a distributed aggregation group in accordance with an example embodiment. Referring to fig. 8, the apparatus 900 may include a processor 901, a machine-readable storage medium 902 having stored thereon machine-executable instructions. The processor 901 and the machine-readable storage medium 902 may communicate via a system bus 903. Also, the processor 901 performs the above-described management method of the distributed aggregation group by reading machine-executable instructions in the machine-readable storage medium 902 corresponding to the management logic of the distributed aggregation group.
The machine-readable storage medium 902 referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (12)

1. A method for managing a distributed aggregation group, the method being applied to a controller in a distributed link aggregation network, the method comprising:
receiving a configuration change notification message reported by a device end, wherein the configuration change notification message carries identification information of a distributed aggregation group, a change action of the distributed aggregation group and aggregation interface identification information of the device end;
updating local distributed aggregation group information according to the configuration change notification message,
wherein, in a case that the change action of the distributed aggregation group is an add action, updating the local distributed aggregation group information includes: adding an aggregation interface corresponding to the aggregation interface identification information into the distributed aggregation group corresponding to the identification information of the distributed aggregation group; alternatively, the first and second electrodes may be,
in a case that the change action of the distributed aggregation group is a deletion action, updating the local distributed aggregation group information includes: and searching the aggregation interface corresponding to the aggregation interface identification information in the distributed aggregation group corresponding to the identification information of the distributed aggregation group, and deleting the aggregation interface.
2. The method of claim 1, further comprising:
searching a corresponding distributed aggregation group according to the identification information of the distributed aggregation group;
when the distributed aggregation group corresponding to the identification information of the distributed aggregation group is not found, the distributed aggregation group is created in the local distributed aggregation group information.
3. The method of claim 1 or 2, wherein the identification information of the distributed aggregation group comprises: a distributed aggregation group ID, and/or a distributed aggregation group MAC address.
4. The method of claim 1, further comprising:
and under the condition that the change action of the distributed aggregation group is taken as an adding action, adding the aggregation interface corresponding to the aggregation interface identification information as an output interface of the drainage table entry corresponding to the equipment end.
5. A method for managing a distributed aggregation group, the method being applied to a network device in a distributed link aggregation network, the method comprising:
determining the changed aggregation interface identification information, the changed identification information of the distributed aggregation group and the change action of the distributed aggregation group under the condition that the configuration of the local distributed aggregation group is changed;
packaging the identification information of the distributed aggregation group, the change action of the distributed aggregation group and the aggregation interface identification information to obtain a configuration change notification message;
and sending the configuration change notification message to a controller.
6. The method of claim 5, wherein the act of changing the distributed aggregation group comprises: adding or deleting an action, wherein the identification information of the distributed aggregation group comprises: a distributed aggregation group ID, and/or a distributed aggregation group MAC address.
7. An apparatus for managing a distributed aggregation group, the apparatus comprising:
a receiving module, configured to receive a configuration change notification message reported by a device side, where the configuration change notification message carries identification information of a distributed aggregation group, a change action of the distributed aggregation group, and aggregation interface identification information of the device side;
an updating module for updating the local distributed aggregation group information according to the configuration change notification message,
the updating module is used for adding the aggregation interface corresponding to the aggregation interface identification information into the distributed aggregation group corresponding to the identification information of the distributed aggregation group under the condition that the change action of the distributed aggregation group is taken as an adding action; alternatively, the first and second electrodes may be,
and under the condition that the change action of the distributed aggregation group is taken as a deletion action, the updating module is used for searching the aggregation interface corresponding to the aggregation interface identification information in the distributed aggregation group corresponding to the identification information of the distributed aggregation group and deleting the aggregation interface.
8. The apparatus of claim 7, further comprising:
the searching module is used for searching the corresponding distributed aggregation group according to the identification information of the distributed aggregation group;
and the creating module is used for creating the distributed aggregation group in the local distributed aggregation group information when the distributed aggregation group corresponding to the identification information of the distributed aggregation group is not found.
9. The apparatus of claim 7 or 8, wherein the identification information of the distributed aggregation group comprises: a distributed aggregation group ID, and/or a distributed aggregation group MAC address.
10. The apparatus of claim 7, further comprising:
and the adding module is used for adding the aggregation interface corresponding to the aggregation interface identification information as the output interface of the drainage table entry corresponding to the equipment end under the condition that the change action of the distributed aggregation group is taken as the adding action.
11. An apparatus for managing a distributed aggregation group, the apparatus comprising:
the determining module is used for determining changed aggregation interface identification information, changed identification information of the distributed aggregation group and a change action of the distributed aggregation group under the condition that the configuration of the local distributed aggregation group is changed;
the encapsulation module is used for encapsulating the identification information of the distributed aggregation group, the change action of the distributed aggregation group and the aggregation interface identification information to obtain a configuration change notification message;
and the sending module is used for sending the configuration change notification message to the controller.
12. The apparatus of claim 11, wherein the act of changing the distributed aggregation group comprises: adding or deleting an action, wherein the identification information of the distributed aggregation group comprises: a distributed aggregation group ID, and/or a distributed aggregation group MAC address.
CN201710858988.9A 2017-09-21 2017-09-21 Management method and device of distributed aggregation group Active CN107547283B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710858988.9A CN107547283B (en) 2017-09-21 2017-09-21 Management method and device of distributed aggregation group

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710858988.9A CN107547283B (en) 2017-09-21 2017-09-21 Management method and device of distributed aggregation group

Publications (2)

Publication Number Publication Date
CN107547283A CN107547283A (en) 2018-01-05
CN107547283B true CN107547283B (en) 2021-03-02

Family

ID=60964024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710858988.9A Active CN107547283B (en) 2017-09-21 2017-09-21 Management method and device of distributed aggregation group

Country Status (1)

Country Link
CN (1) CN107547283B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108199903B (en) * 2018-01-25 2021-03-02 新华三技术有限公司 Distributed aggregation system configuration method and device
CN108418709B (en) * 2018-02-09 2020-12-25 新华三技术有限公司 Port aggregation method and device
CN109088820B (en) * 2018-09-21 2021-05-18 锐捷网络股份有限公司 Cross-device link aggregation method and device, computing device and storage medium
CN110968806B (en) * 2019-11-15 2023-06-09 新华三半导体技术有限公司 Maintenance information searching method and device and network equipment
CN116366467B (en) * 2023-05-29 2023-08-08 北京大学 Server-agnostic distributed training software defined aggregate communication framework and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843285A (en) * 2011-06-24 2012-12-26 中兴通讯股份有限公司 Distributed link aggregation method and node for realizing same
CN103023814A (en) * 2011-09-20 2013-04-03 中兴通讯股份有限公司 Method and device for distributed link aggregation
CN103023686A (en) * 2011-09-28 2013-04-03 中兴通讯股份有限公司 Interactive method among nodes in distributed link aggregation group system and nodes
CN103248502A (en) * 2012-02-02 2013-08-14 中兴通讯股份有限公司 Method and device for topology discovery and fault processing of distributed link aggregation group
CN103501250A (en) * 2013-09-30 2014-01-08 杭州华三通信技术有限公司 Data flow processing method and device in distribution type link aggregation network
CN103905326A (en) * 2012-12-28 2014-07-02 迈普通信技术股份有限公司 Ethernet link aggregation packet forwarding control method and network equipment
CN104468358A (en) * 2013-09-25 2015-03-25 杭州华三通信技术有限公司 Message forwarding method and device of distributive virtual switch system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8730809B2 (en) * 2011-01-19 2014-05-20 Hewlett-Packard Development Company, L.P. Methods for packet forwarding through a communication link of a distributed link aggregation group using mesh tagging

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843285A (en) * 2011-06-24 2012-12-26 中兴通讯股份有限公司 Distributed link aggregation method and node for realizing same
CN103023814A (en) * 2011-09-20 2013-04-03 中兴通讯股份有限公司 Method and device for distributed link aggregation
CN103023686A (en) * 2011-09-28 2013-04-03 中兴通讯股份有限公司 Interactive method among nodes in distributed link aggregation group system and nodes
CN103248502A (en) * 2012-02-02 2013-08-14 中兴通讯股份有限公司 Method and device for topology discovery and fault processing of distributed link aggregation group
CN103905326A (en) * 2012-12-28 2014-07-02 迈普通信技术股份有限公司 Ethernet link aggregation packet forwarding control method and network equipment
CN104468358A (en) * 2013-09-25 2015-03-25 杭州华三通信技术有限公司 Message forwarding method and device of distributive virtual switch system
CN103501250A (en) * 2013-09-30 2014-01-08 杭州华三通信技术有限公司 Data flow processing method and device in distribution type link aggregation network

Also Published As

Publication number Publication date
CN107547283A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
CN107547283B (en) Management method and device of distributed aggregation group
KR101796405B1 (en) Communication system, base station, communication method, and non-transitory computer readable medium storing program
JP2019520763A (en) Network slice selection method, apparatus and system
US20160241474A1 (en) Technologies for modular forwarding table scalability
CN109039919B (en) Forwarding path determining method, device, system, computer equipment and storage medium
US20160036773A1 (en) Internet protocol address resolution
KR102392120B1 (en) Processing method, device and system for nf component abnormality
CN112152923B (en) User plane rerouting method and device
US20150236954A1 (en) Mobile Node Mapping Information Update Triggering Method, MS and MN
CN106878072B (en) Message transmission method and device
CN112887229B (en) Session information synchronization method and device
CN107547346B (en) Message transmission method and device
CN106302638B (en) Data management method, forwarding equipment and system
CN103095587B (en) A method for registration service, network group center control nodes and system
US11375354B2 (en) Method for resource creation and registration of application entity, and communication node device and terminal device
CN104780110A (en) Message transmission method in virtual machine migration, and device
CN112583736A (en) Signaling message distribution method, device, equipment and medium
CN107294849B (en) Method, device and system for establishing service path
CN112187635B (en) Message forwarding method and device
US11477174B2 (en) Method for re-registering a smart electricity meter
KR20160092382A (en) Method for Managing Domain Routing Table in Router on Network Structure Based on Hierarchical Domain
CN111385195B (en) Information processing method, device and storage medium
CN108418709B (en) Port aggregation method and device
CN114430310A (en) Information processing method and device, broadband access server and storage medium
US10623916B2 (en) Terminal management method and network device for context cluster processing

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