CN108199903B - Distributed aggregation system configuration method and device - Google Patents

Distributed aggregation system configuration method and device Download PDF

Info

Publication number
CN108199903B
CN108199903B CN201810073556.1A CN201810073556A CN108199903B CN 108199903 B CN108199903 B CN 108199903B CN 201810073556 A CN201810073556 A CN 201810073556A CN 108199903 B CN108199903 B CN 108199903B
Authority
CN
China
Prior art keywords
configuration
distributed aggregation
information
member device
aggregation member
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
CN201810073556.1A
Other languages
Chinese (zh)
Other versions
CN108199903A (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 CN201810073556.1A priority Critical patent/CN108199903B/en
Publication of CN108199903A publication Critical patent/CN108199903A/en
Application granted granted Critical
Publication of CN108199903B publication Critical patent/CN108199903B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings

Abstract

The present disclosure relates to a method and an apparatus for configuring a distributed aggregation system, which are applied to a first distributed aggregation member device in the distributed aggregation system, wherein the distributed aggregation system further includes a second distributed aggregation member device, and the first distributed aggregation member device and the second distributed aggregation member device have an associated distributed aggregation interface DR port, and the method includes: when configuration information of first distributed aggregation member equipment changes, acquiring the changed configuration information and a DR (digital radiography) port associated with the changed configuration information; generating configuration updating information according to the changed configuration information; and sending the configuration updating information to second distributed aggregation member equipment according to the DR interface. The method and the device reduce the information interaction amount among DR equipment, reduce the congestion rate of an internal control link, reduce the CPU occupancy rate of the equipment and improve the stability of the system.

Description

Distributed aggregation system configuration method and device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for configuring a distributed aggregation system.
Background
DRNI (Distributed resource Network Interconnect) is a cross-device link aggregation technology, and two physical devices are virtualized into one device on an aggregation layer to implement cross-device link aggregation, thereby providing device-level redundancy protection and traffic load sharing. Two physical devices in a DRNI typical networking are respectively used as a DR device (Distributed Relay device) to form a DR System (Distributed-Relay System) through ethernet link aggregation. On the network, two DR devices in the DR system appear as one device to the outside, and one of the two DR devices is a master device and one is a slave device. At present, the configurations of two pieces of DR equipment are required to be kept consistent, and by comparing the configurations of the two pieces of DR equipment, when the configurations at the two ends are inconsistent, a DR port on the slave equipment is down, so that a DR system cannot work continuously. Therefore, how to timely and efficiently ensure the consistency of the configuration information between two DR devices becomes an urgent problem to be solved in the distributed aggregation technology.
Disclosure of Invention
In view of this, the present disclosure provides a distributed aggregation system configuration method and apparatus.
According to an aspect of the present disclosure, there is provided a distributed aggregation system configuration method, which is applied to a first distributed aggregation member device in a distributed aggregation system, where the distributed aggregation system further includes a second distributed aggregation member device, and the first distributed aggregation member device and the second distributed aggregation member device have associated distributed aggregation interface DR ports, and the method includes:
when configuration information of first distributed aggregation member equipment changes, acquiring the changed configuration information and a DR (digital radiography) port associated with the changed configuration information;
generating configuration updating information according to the changed configuration information;
and sending the configuration updating information to second distributed aggregation member equipment according to the DR interface.
According to an aspect of the present disclosure, there is provided a distributed aggregation system configuration method, which is applied to a second distributed aggregation member device in a distributed aggregation system, where the distributed aggregation system further includes a first distributed aggregation member device, and the first distributed aggregation member device and the second distributed aggregation member device have an associated distributed aggregation interface DR port, and the method includes:
receiving configuration update information from a first distributed aggregation member device, wherein the configuration update information is generated by the first distributed aggregation member device according to changed configuration information;
determining a DR interface associated with the configuration update information;
and updating the configuration of the DR port in the second distributed aggregation member device according to the configuration updating information.
According to an aspect of the present disclosure, there is provided a distributed aggregation system configuration apparatus applied to a first distributed aggregation member device in a distributed aggregation system, where the distributed aggregation system further includes a second distributed aggregation member device, and the first distributed aggregation member device and the second distributed aggregation member device have an associated distributed aggregation interface DR port, the apparatus includes:
the information and interface acquisition module is used for acquiring changed configuration information and a DR (digital radiography) port associated with the changed configuration information when the configuration information of the first distributed aggregation member equipment is changed;
the configuration updating information generating module is used for generating configuration updating information according to the changed configuration information;
and the configuration updating information sending module is used for sending the configuration updating information to the second distributed aggregation member equipment according to the DR interface.
According to an aspect of the present disclosure, there is provided a distributed aggregation system configuration apparatus, applied to a second distributed aggregation member device in a distributed aggregation system, where the distributed aggregation system further includes a first distributed aggregation member device, and the first distributed aggregation member device and the second distributed aggregation member device have an associated distributed aggregation interface DR port, the apparatus includes:
a configuration update information receiving module, configured to receive configuration update information from a first distributed aggregation member device, where the configuration update information is generated by the first distributed aggregation member device according to changed configuration information;
an associated interface determining module, configured to determine a DR interface associated with the configuration update information;
and the configuration updating module is used for updating the configuration of the DR port in the second distributed aggregation member equipment according to the configuration updating information.
According to the method and the device, when the DR equipment has changed configuration information, only the updated part of the configuration information is sent to the opposite end equipment, not all the configuration information of the DR equipment is sent, and the configuration updated information is only sent to the DR port with changed configuration, so that the interaction of invalid messages among the DR equipment is reduced, and the stability of the system is improved.
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 illustrates a typical networking diagram of a DRNI in a distributed aggregation system configuration method according to another embodiment of the present disclosure;
fig. 2 illustrates a flowchart of a first distributed aggregation member device side in a distributed aggregation system configuration method according to an embodiment of the present disclosure;
fig. 3 illustrates a flowchart of a first distributed aggregation member device side in a distributed aggregation system configuration method according to another embodiment of the present disclosure;
fig. 4 illustrates a flowchart of a first distributed aggregation member device side in a distributed aggregation system configuration method according to another embodiment of the present disclosure;
fig. 5 illustrates a flowchart of a second distributed aggregation member device side in a distributed aggregation system configuration method according to another embodiment of the present disclosure;
fig. 6 illustrates a flow diagram of a second distributed aggregation member device side in a distributed aggregation system configuration method according to another embodiment of the present disclosure;
fig. 7 illustrates a block diagram of a distributed aggregation system configuration apparatus applied to a first distributed aggregation member device, according to an embodiment of the present disclosure;
fig. 8 illustrates a block diagram of a distributed aggregation system configuration apparatus applied to a first distributed aggregation member device, according to another embodiment of the present disclosure;
fig. 9 illustrates a block diagram of a distributed aggregation system configuration apparatus applied to a second distributed aggregation member device, according to an embodiment of the present disclosure;
fig. 10 illustrates a block diagram of a distributed aggregation system configuration apparatus applied to a second distributed aggregation member device, according to another embodiment of the present disclosure;
fig. 11 is a block diagram illustrating an apparatus for distributed aggregation system configuration 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 typical network configuration diagram of a DRNI in a distributed aggregation system configuration method according to another embodiment of the present disclosure, and as shown in fig. 1, a device a and a device B form a DR system. The two-layer aggregation interface 1 on the device a and the two-layer aggregation interface 2 on the device B belong to the same DR group (Distributed-Relay group). Device a and device B are referred to as DR devices, i.e., distributed aggregation member devices. The DR group is a distributed aggregation group to which a two-layer aggregation interface connecting member devices of the DR system and external devices belongs. The DR interface (Distributed Relay interface) is a two-layer aggregation interface for connecting the DR device and an external device, and is composed of multiple links. The device a and the device B transmit a packet through an IPL (Intra-Portal Link, internal control Link), and detect the state of the other party through a Keepalive Link (keep-alive Link of the DR system).
In order to compare the configurations of the two DR devices, each DR device needs to send configuration information related to consistency check of the local terminal to the opposite terminal. The DR device of the peer also needs to send configuration information related to consistency check to the peer. The consistency check is mainly to compare whether the configuration information related to the consistency check at the two ends is the same. Currently, configuration information of the DR device, which involves consistency check, is transmitted as a whole. Even if a certain configuration of a certain DR port is updated, the configuration of the other DR ports that has not changed is transmitted to the opposite end. Thus, when the configuration amount required to be sent is relatively large, the IPL link is easily congested and the CPU of the device is easily busy. If a certain VLAN associates all DR ports, and then deletes the VLAN, the VLAN configuration under all DR ports is retransmitted to the opposite end. When there are more associated VLANs and DR ports, a large number of messages will be generated.
Fig. 2 shows a flowchart of a first distributed aggregation member device side in a distributed aggregation system configuration method according to an embodiment of the present disclosure, and as shown in fig. 2, the method is applied to a first distributed aggregation member device in a distributed aggregation system, where the distributed aggregation system further includes a second distributed aggregation member device, and the first distributed aggregation member device and the second distributed aggregation member device have an associated distributed aggregation interface DR interface, and the method includes:
step S11, when the configuration information of the first distributed aggregation member device changes, acquiring the changed configuration information and the DR port associated with the changed configuration information.
Step S12, generating configuration update information according to the changed configuration information.
And step S13, sending the configuration updating information to a second distributed aggregation member device according to the DR interface.
In the present disclosure, a first distributed aggregation member device (hereinafter referred to as a first DR device) may acquire changed configuration information according to detection of a configuration change event. Or the changed configuration information can be obtained together according to the first overall configuration information stored by the device and the detected configuration change event. The configuration change event refers to a configuration change event generated by the relevant equipment in the DR system executing the configuration change instruction. Configuration change events may include, but are not limited to: configuration adding instructions executed by the DR equipment, configuration deleting instructions executed by the DR equipment and configuration modifying instructions executed by the DR equipment.
When the configuration information of the first DR device is changed and the changed configuration information is the configuration information requiring the consistency check, the first DR device acquires the changed configuration information. And, the first DR apparatus may determine a DR port associated therewith according to the changed configuration information. For example, when the first DR device deletes the VLAN100 on the DR1 port, the changed configuration information is: deleting the VLAN100, wherein the DR interface associated with the changed configuration information is as follows: DR1 port. The configuration update information generated according to the changed configuration information may be a separate new message or a new field added to an existing message.
When the message is transmitted between two DR devices through an IPL link, the message carries DR port identification information. When the first DR device sends the packet to the second distributed aggregation member device (hereinafter referred to as a second DR device), the packet may carry configuration update information and identification information of the DR port associated with the changed configuration information.
In the present disclosure, when the configuration information of the first DR device changes, all the configuration information that needs to be subjected to the consistency check is not sent to the second distributed aggregation member device (hereinafter, referred to as the second DR device), but the changed configuration information is sent to the second DR device. Because the unchanged configuration information is not repeatedly sent and the configuration updating information is only sent to the DR port with the changed configuration, the information interaction amount among DR devices is reduced, the congestion rate of an internal control link is reduced, the CPU occupancy rate of the devices is reduced, and the stability of the system is improved.
Fig. 3 shows a flowchart of a distributed aggregation system configuration method according to another embodiment of the present disclosure, and as shown in fig. 3, the method is applied to a first distributed member device, which is different from the above-mentioned embodiment in that step S12 of the method includes:
step S121, determining a change type field according to the changed configuration information, wherein the change type field comprises deletion or addition.
Step S122, determining a change content field according to the changed configuration information, wherein the change content field comprises the configuration change content of the DR interface.
Step S123, generating the configuration update information according to the change type field and the change content field.
In the present disclosure, the change type field (type field) may indicate whether the configuration update information is delete information or add information. The specific change type of the configuration information can be represented by writing a set number, letter, or the like in the type field. For example, a type field of 1 indicates that new configuration information is added, and a type field of 0 indicates that part of the configuration information is deleted. The change content field (value field) is filled with a specific configuration change value in the configuration update information, for example, the value field is: the identity VLAN100 of a certain VLAN that has changed.
According to the type field and the value field in the configuration update information, the first DR device informs the second DR device of the type of the change of the configuration information and the specific content of the change. And the second DR equipment correspondingly updates the self configuration corresponding to the configuration updating information according to the configuration updating information.
In one possible implementation manner, step S123 includes: determining a length field according to the change type field and the change content field; and generating the configuration updating information according to the change type field, the change content field and the length field.
In the present disclosure, to further improve the transmission efficiency, a length field (length field) is added to the configuration update information to indicate the length of the configuration update information. The second DR apparatus can rapidly determine the length of the value field to be extracted according to the length field. For example, a TLV (type length value) field is added to the packet, and the TLV field includes a type field, a length field, and a value field. Wherein a type field of 1 indicates addition and a type field of 0 indicates deletion; the length field indicates the length of the TLV, and the value field is filled with a specific value. The specific value filled in the value field may be, for example, the identification of a certain VLAN that is deleted or added.
In this embodiment, the configuration update information is transmitted by using a simple message field by setting a change type field, a change content field, and a length field, and the implementation manner is simple and reliable.
Fig. 4 shows a flowchart of a first distributed aggregation member device side in a distributed aggregation system configuration method according to another embodiment of the present disclosure, and as shown in fig. 4, the difference from the foregoing embodiment is that the method further includes:
step S14, receiving second global configuration information from the second distributed aggregation member device.
Step S15, performing consistency check according to the second overall configuration information.
Step S16, saving the second overall configuration information.
In the present disclosure, the DR system may enable the consistency check after the consistency check is enabled, and may also enable the consistency check after the IPP port is UP. The first DR apparatus holds first overall configuration information of itself. And after receiving the second overall configuration information from the second DR equipment, the first DR equipment carries out consistency check according to the first overall configuration information and the second overall configuration information. When the consistency check result is failure, the first DR equipment stores second overall configuration information; when the result of the consistency check is successful, the first DR apparatus may store the second overall configuration information, or may store the first overall configuration information of itself as the second overall configuration information.
And when receiving the configuration updating information sent by the second DR equipment, the first DR equipment updates the configuration of the first DR equipment by using the stored second overall configuration information and the received configuration updating information.
The first DR apparatus may also transmit its own first overall configuration information to the second DR apparatus. The first DR equipment takes the DR port as a unit and sends the configuration whole group package under the DR port to the second DR equipment. And the second DR equipment carries out consistency check according to the received first overall configuration information and the second overall configuration information of the second DR equipment.
Fig. 5 shows a flowchart of a second distributed aggregation member device side in a distributed aggregation system configuration method according to another embodiment of the present disclosure, and as shown in fig. 5, the method is applied to a second distributed aggregation member device in a distributed aggregation system, where the distributed aggregation system further includes a first distributed aggregation member device, and the first distributed aggregation member device and the second distributed aggregation member device have an associated distributed aggregation interface DR port, and the method includes:
step S21, receiving configuration update information from a first distributed aggregation member device, where the configuration update information is generated by the first distributed aggregation member device according to changed configuration information.
Step S22, determining a DR port associated with the configuration update information.
Step S23, updating the configuration of the DR port in the second distributed aggregation member device according to the configuration update information.
In the disclosure, the second DR device determines, according to a message that receives configuration update information sent by the first DR device, a DR port on the second DR device that is associated with the configuration update information, and updates the configuration of the determined DR port according to the change content in the configuration update information, so that the configurations of the second DR device and the first DR device that has undergone a configuration change are kept consistent. As described in the above embodiments, the content of the configuration update includes but is not limited to: configuration addition and configuration deletion.
The second DR equipment can rapidly and accurately complete the updating of the corresponding configuration information according to the received configuration updating information. The interaction of invalid messages between the first DR equipment and the second DR equipment is reduced, and the stability of the system is improved.
Fig. 6 shows a flowchart of a second distributed aggregation member device side in a distributed aggregation system configuration method according to another embodiment of the present disclosure, and as shown in fig. 6, the difference from the foregoing embodiment is that step S23 includes:
step S231, receiving the first overall configuration information from the first distributed aggregation member device.
Step S232, updating the configuration of the DR port in the second distributed aggregation member device according to the first overall configuration information and the configuration update information.
In the present disclosure, as described in the above embodiments, the second DR apparatus holds the second overall configuration information of itself. And after receiving the first overall configuration information from the first DR equipment, the second DR equipment carries out consistency check on the first overall configuration information and the second overall configuration information. When the consistency check result is failure, the second DR equipment stores the first overall configuration information; when the result of the consistency check is successful, the second DR apparatus may store the first overall configuration information, or may store second overall configuration information of itself as the first overall configuration information.
And when receiving the configuration updating information sent by the first DR equipment, the second DR equipment updates the configuration of the second DR equipment by using the stored first overall configuration information and the received configuration updating information.
The second DR device may also send its own second overall configuration information to the first DR device, so that the first DR device performs consistency check according to the second overall configuration information, and for a specific flow, refer to an embodiment in which the above-described distributed aggregation system configuration method is applied to the first DR device, and details are not described again.
In one possible implementation, the method may further include:
step S24, when the result of the consistency check is successful, modifying the result of the consistency check to be a failure according to the received configuration update information sent by the first distributed aggregation member device.
In the disclosure, when the result of the consistency check of the second DR device is successful, the change of the configuration information can be confirmed according to the received configuration update information sent by the first DR device, and the result of the consistency check is modified to be failed, instead of waiting until the message sending fails or when the consistency check is performed after the next start to find that the configuration is inconsistent, a corresponding measure of taking down the DR interface is taken. The time for judging the consistency between the first DR equipment and the second DR equipment is reduced.
And when the consistency check result of the second DR equipment is failure, performing configuration update according to the stored first overall configuration information sent by the first equipment and the received configuration update information, and then re-executing the consistency check.
Application example:
in this application example, taking as an example that a TLV field is added to a packet interacted inside a DR system to indicate configuration update, the distributed aggregation system configuration method may include the following procedures:
1) for two DR devices, the IPP port UP can be performed after the consistency check is enabled, or the consistency check function can be enabled after the IPP port UP. For each DR device, taking DR port as unit, sending the configuration whole package under DR port to the opposite end device, where the opposite end stores the configuration of the consistency check of the local end, and the local end also needs to store the configuration of the consistency check of the opposite end.
2) When the consistency check configuration under a certain DR port of a DR device is changed, the whole configuration information under the DR port is not sent to the opposite end, but only the changed configuration information is sent to the opposite end. For example, a TLV field carrying configuration update information is added to the packet, and the TVL includes a type field, a length field, and a value field. the type field is used to identify whether a change type of configuration is added or deleted. For example, a type field of 1 indicates addition, and a type field of 0 indicates deletion; the length field indicates the length of the TLV field, and the value field is filled with a specific value of the configuration change.
3) After receiving the message carrying the TLV, the DR equipment at the opposite end analyzes the message, and judges which DR port is according to the ID of the DR port carried in the message. The peer DR device then adds or deletes the corresponding configuration according to the contents of the TLVs. If the consistency check result before a certain DR device is successful, the configuration updating information is received from the opposite terminal, the consistency can not be judged any more, the locally stored configuration information of the opposite terminal is not updated, the consistency check result is directly modified to be failed, and the consistency judgment time can be reduced. And if the consistency check result is failed before, the consistency check process is carried out again after the consistency check result is updated according to the configuration updating information.
In this embodiment, taking the example that the local end DR device and the opposite end DR device associate with a VLAN, one VLAN occupies 2 bytes, and the DRNI system has 100 DR ports in total, and associates with VLANs 100 to 600, and has 500 VLANs in total. In the conventional configuration method of the distributed aggregation system, if the VLAN100 is deleted in the local DR device in the DRNI system, the configuration from the VLAN101 to the VLAN600 is also required to be sent to the peer DR device. The local end DR equipment has 100 DR ports in total, and the byte number of the message needing interaction is 2 × 600 × 100. The message content of 2 × 599 × 100 bytes is actually invalid.
After the method is applied, the local terminal DR equipment can store the configuration of the opposite terminal DR equipment, only the changed configuration needs to be updated, and other configurations are kept unchanged. Therefore, the local end DR equipment only needs to send 2 × 100 bytes of message content to the opposite end DR equipment, and message interaction between DRNI systems is greatly reduced. Because only the changed configuration is sent to the opposite terminal equipment, the interaction of messages in the DRNI system can be effectively reduced, the congestion of an IPL link and the occupancy rate of a CPU of the equipment are reduced, and the reliability of the DRNI system is improved.
Fig. 7 is a block diagram of an apparatus for configuring a distributed aggregation system applied to a first distributed aggregation member device, as shown in fig. 7, the apparatus is applied to the first distributed aggregation member device in the distributed aggregation system, the distributed aggregation system further includes a second distributed aggregation member device, and the first distributed aggregation member device and the second distributed aggregation member device have an associated distributed aggregation interface DR interface, and the apparatus includes:
an information and interface obtaining module 41, configured to, when configuration information of a first distributed aggregation member device changes, obtain the changed configuration information and a DR port associated with the changed configuration information;
a configuration update information generation module 42, configured to generate configuration update information according to the changed configuration information;
a configuration update information sending module 43, configured to send the configuration update information to the second distributed aggregation member device according to the DR interface.
Fig. 8 shows a block diagram of a distributed aggregation system configuration apparatus applied to a first distributed aggregation member device, according to another embodiment of the present disclosure, as shown in fig. 8,
in a possible implementation manner, the configuration update information generating module 42 includes:
a change type field generation submodule 421, configured to determine a change type field according to the changed configuration information, where the change type field includes deletion or addition;
a change content field generation submodule 422, configured to determine a change content field according to the changed configuration information, where the change content field includes configuration change content of the DR interface;
and the configuration update information generation sub-module 423 is configured to generate the configuration update information according to the change type field and the change content field.
In a possible implementation manner, the configuration update information generating sub-module 423 includes:
the length field generation submodule is used for determining a length field according to the change type field and the change content field;
and the information generation submodule is used for generating the configuration updating information according to the change type field, the change content field and the length field.
In one possible implementation, the apparatus further includes:
a second overall configuration information receiving module 44, configured to receive second overall configuration information from a second distributed aggregation member device;
a consistency check executing module 45, configured to perform consistency check according to the second overall configuration information;
and a second overall configuration information storage module 46, configured to store the second overall configuration information.
Fig. 9 is a block diagram of an apparatus for configuring a distributed aggregation system applied to a second distributed aggregation member device according to an embodiment of the present disclosure, as shown in fig. 9, the apparatus is applied to the second distributed aggregation member device in the distributed aggregation system, the distributed aggregation system further includes a first distributed aggregation member device, and the first distributed aggregation member device and the second distributed aggregation member device have an associated distributed aggregation interface DR port, and the apparatus includes:
a configuration update information receiving module 61, configured to receive configuration update information from a first distributed aggregation member device, where the configuration update information is generated by the first distributed aggregation member device according to changed configuration information;
an associated interface determining module 62, configured to determine a DR interface associated with the configuration update information;
a configuration updating module 63, configured to update the configuration of the DR port in the second distributed aggregation member device according to the configuration updating information.
Fig. 10 shows a block diagram of a distributed aggregation system configuration apparatus applied to a second distributed aggregation member device, according to another embodiment of the present disclosure, as shown in fig. 10,
in one possible implementation, the configuration update module 63 includes:
a first overall configuration information receiving sub-module 631, configured to receive first overall configuration information from the first distributed aggregation member device;
a configuration update submodule 632, configured to update the configuration of the DR port in the second distributed aggregation member device according to the first overall configuration information and the configuration update information.
In one possible implementation, the apparatus further includes:
and a consistency check result modifying module 64, configured to modify the result of the consistency check to be a failure according to the received configuration update information sent by the first distributed aggregation member device when the result of the consistency check is a success.
Fig. 11 is a block diagram illustrating an apparatus 900 for distributed aggregation system configuration in accordance with an example embodiment. Referring to fig. 11, 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 distributed aggregation system configuration method described above by reading machine executable instructions in the machine readable storage medium 902 corresponding to the distributed aggregation system configuration.
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 (10)

1. A distributed aggregation system configuration method, applied to a first distributed aggregation member device in a distributed aggregation system, where the distributed aggregation system further includes a second distributed aggregation member device, and the first distributed aggregation member device and the second distributed aggregation member device have associated distributed aggregation interface DR ports, the method including:
when configuration information of first distributed aggregation member equipment changes, acquiring the changed configuration information and a DR (digital radiography) port associated with the changed configuration information;
generating configuration updating information according to the changed configuration information;
and sending the configuration updating information to the second distributed aggregation member device according to the DR port, so that the second distributed aggregation member device determines the DR port on the second distributed aggregation member device associated with the configuration updating information according to the received configuration updating information, and updates the determined configuration of the DR port on the second distributed aggregation member device.
2. The method of claim 1, wherein generating configuration update information based on the changed configuration information comprises:
determining a change type field according to the changed configuration information, wherein the change type field comprises deletion or addition;
determining a change content field according to the changed configuration information, wherein the change content field comprises configuration change content of the DR interface;
and generating the configuration updating information according to the change type field and the change content field.
3. The method of claim 2, wherein generating the configuration update information according to the change type field and the change content field comprises:
determining a length field according to the change type field and the change content field;
and generating the configuration updating information according to the change type field, the change content field and the length field.
4. A distributed aggregation system configuration method, applied to a second distributed aggregation member device in a distributed aggregation system, where the distributed aggregation system further includes a first distributed aggregation member device, and the first distributed aggregation member device and the second distributed aggregation member device have an associated distributed aggregation interface DR port, and the method includes:
receiving configuration update information from a first distributed aggregation member device, wherein the configuration update information is generated by the first distributed aggregation member device according to changed configuration information;
determining a DR interface associated with the configuration update information;
and updating the configuration of the DR port in the second distributed aggregation member device according to the configuration updating information.
5. The method of claim 4, wherein updating the configuration of the DR ports in the second distributed aggregation member device according to the configuration update information comprises:
receiving first overall configuration information from a first distributed aggregation member device;
and updating the configuration of the DR interface in the second distributed aggregation member device according to the first overall configuration information and the configuration updating information.
6. A distributed aggregation system configuration apparatus, applied to a first distributed aggregation member device in a distributed aggregation system, where the distributed aggregation system further includes a second distributed aggregation member device, and the first distributed aggregation member device and the second distributed aggregation member device have an associated distributed aggregation interface DR port, the apparatus includes:
the information and interface acquisition module is used for acquiring changed configuration information and a DR (digital radiography) port associated with the changed configuration information when the configuration information of the first distributed aggregation member equipment is changed;
the configuration updating information generating module is used for generating configuration updating information according to the changed configuration information;
and the configuration update information sending module is used for sending the configuration update information to the second distributed aggregation member device according to the DR port, so that the second distributed aggregation member device determines the DR port on the second distributed aggregation member device associated with the configuration update information according to the received configuration update information, and updates the determined configuration of the DR port on the second distributed aggregation member device.
7. The apparatus of claim 6, wherein the configuration update information generation module comprises:
a change type field generation submodule for determining a change type field according to the changed configuration information, wherein the change type field includes deletion or addition;
a change content field generation submodule, configured to determine a change content field according to the changed configuration information, where the change content field includes configuration change content of the DR interface;
and the configuration updating information generating submodule is used for generating the configuration updating information according to the change type field and the change content field.
8. The apparatus of claim 7, wherein the configuration update information generation submodule comprises:
the length field generation submodule is used for determining a length field according to the change type field and the change content field;
and the information generation submodule is used for generating the configuration updating information according to the change type field, the change content field and the length field.
9. A distributed aggregation system configuration apparatus, applied to a second distributed aggregation member device in a distributed aggregation system, where the distributed aggregation system further includes a first distributed aggregation member device, and the first distributed aggregation member device and the second distributed aggregation member device have an associated distributed aggregation interface DR port, and the apparatus includes:
a configuration update information receiving module, configured to receive configuration update information from a first distributed aggregation member device, where the configuration update information is generated by the first distributed aggregation member device according to changed configuration information;
an associated interface determining module, configured to determine a DR interface associated with the configuration update information;
and the configuration updating module is used for updating the configuration of the DR port in the second distributed aggregation member equipment according to the configuration updating information.
10. The apparatus of claim 9, wherein the configuration update module comprises:
the first overall configuration information receiving submodule is used for receiving first overall configuration information from the first distributed aggregation member equipment;
and the configuration updating submodule is used for updating the configuration of the DR interface in the second distributed aggregation member device according to the first overall configuration information and the configuration updating information.
CN201810073556.1A 2018-01-25 2018-01-25 Distributed aggregation system configuration method and device Active CN108199903B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810073556.1A CN108199903B (en) 2018-01-25 2018-01-25 Distributed aggregation system configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810073556.1A CN108199903B (en) 2018-01-25 2018-01-25 Distributed aggregation system configuration method and device

Publications (2)

Publication Number Publication Date
CN108199903A CN108199903A (en) 2018-06-22
CN108199903B true CN108199903B (en) 2021-03-02

Family

ID=62590730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810073556.1A Active CN108199903B (en) 2018-01-25 2018-01-25 Distributed aggregation system configuration method and device

Country Status (1)

Country Link
CN (1) CN108199903B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109302326A (en) * 2018-11-30 2019-02-01 新华三技术有限公司 A kind of configuration method and device of qos policy
CN110086657B (en) * 2019-04-10 2020-04-03 北京华三通信技术有限公司 Configuration synchronization method and device
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
CN101742735A (en) * 2008-11-04 2010-06-16 中兴通讯股份有限公司 Method and system for realizing configuration information update
CN103023686A (en) * 2011-09-28 2013-04-03 中兴通讯股份有限公司 Interactive method among nodes in distributed link aggregation group system and nodes
CN105308912A (en) * 2013-04-23 2016-02-03 瑞典爱立信有限公司 A method and system for synchronizing with a neighbor in a distributed resilient network interconnect (DRNI) link aggregation group
CN106169964A (en) * 2016-09-28 2016-11-30 杭州迪普科技有限公司 Network equipments configuration synchronous method and device
CN106878065A (en) * 2017-01-18 2017-06-20 新华三技术有限公司 A kind of collocation method and device of distributed paradigmatic system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9967143B2 (en) * 2014-12-18 2018-05-08 Alcatel-Lucent Usa Inc. Method and apparatus for network interconnection
CN107547283B (en) * 2017-09-21 2021-03-02 新华三技术有限公司 Management method and device of distributed aggregation group

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101742735A (en) * 2008-11-04 2010-06-16 中兴通讯股份有限公司 Method and system for realizing configuration information update
CN103023686A (en) * 2011-09-28 2013-04-03 中兴通讯股份有限公司 Interactive method among nodes in distributed link aggregation group system and nodes
CN105308912A (en) * 2013-04-23 2016-02-03 瑞典爱立信有限公司 A method and system for synchronizing with a neighbor in a distributed resilient network interconnect (DRNI) link aggregation group
CN106169964A (en) * 2016-09-28 2016-11-30 杭州迪普科技有限公司 Network equipments configuration synchronous method and device
CN106878065A (en) * 2017-01-18 2017-06-20 新华三技术有限公司 A kind of collocation method and device of distributed paradigmatic system

Also Published As

Publication number Publication date
CN108199903A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
CN101702663B (en) Method and device for updating ring network topology information
CN110971516B (en) Method and device for processing routing information
CN108199903B (en) Distributed aggregation system configuration method and device
CN106059791B (en) Link switching method of service in storage system and storage device
US9515919B2 (en) Method and apparatus for protection switching in packet transport system
JP6027688B2 (en) Method and apparatus for automatic label assignment in ring network protection
CN101848171A (en) Data transmission method based on GRE tunnel, device and system
CN113132229A (en) Segment identifier determination method and device
WO2012075934A1 (en) Method for detecting message loop, routing agent apparatus and networking system
CN107547374B (en) Aggregation route processing method and device
CN111130982B (en) Message forwarding method and device, gateway equipment and readable storage medium
CN108768849B (en) Message processing method and device
CN104618189A (en) Link failure detection method and device
WO2014029287A1 (en) Method and device for sharing tunnel load
CN102055662A (en) Method and device for determining preset routing
US10581749B2 (en) Automatic discovery of maximum transmission unit size for a software defined network
CN103414591A (en) Method and system for fast converging when port failure is recovered
US10218609B2 (en) Method and device for synchronizing interface parameter
CN115152192B (en) PCE controlled network reliability
CN111130953B (en) VNF availability monitoring method, device and medium
CN108737189B (en) DR device role updating method and device
CN111669320B (en) Method for processing message and network equipment
CN112583570A (en) Method and device for synchronizing serial numbers
CN111901181A (en) Processing method for error rate detection and related equipment
CN113765783B (en) Communication 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