CN110086657A - A kind of configuration and synchronization method and device - Google Patents

A kind of configuration and synchronization method and device Download PDF

Info

Publication number
CN110086657A
CN110086657A CN201910285564.7A CN201910285564A CN110086657A CN 110086657 A CN110086657 A CN 110086657A CN 201910285564 A CN201910285564 A CN 201910285564A CN 110086657 A CN110086657 A CN 110086657A
Authority
CN
China
Prior art keywords
configuration
network equipment
interface
equipment
order
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910285564.7A
Other languages
Chinese (zh)
Other versions
CN110086657B (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.)
Beijing H3C Technologies Co Ltd
Original Assignee
Beijing 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 Beijing H3C Technologies Co Ltd filed Critical Beijing H3C Technologies Co Ltd
Priority to CN201910285564.7A priority Critical patent/CN110086657B/en
Publication of CN110086657A publication Critical patent/CN110086657A/en
Application granted granted Critical
Publication of CN110086657B publication Critical patent/CN110086657B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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
    • 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/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention provides a kind of configuration and synchronization method and device, which comprises establishes DR system with second network equipment of enabled DRNI;When the first network equipment is the main equipment of the DR system, the configuration order for determining that DR interface is enabled is instructed according to the configuration distributing received;The configuration order that the DR interface enables is synchronized to second network equipment, so that second network equipment issues corresponding configuration to the DR interface of second network equipment according to the configuration order.It can simplify the complexity of networking deployment using the embodiment of the present invention, reduce the performance cost of DR equipment.

Description

A kind of configuration and synchronization method and device
Technical field
The present invention relates to network communication technology field more particularly to a kind of configuration and synchronization methods and device.
Background technique
Distributed elastic network interconnection (English: Distributed Resilient Network Interconnect, letter Claim: DRNI) it is a kind of striding equipment link aggregation technology, two physical equipments are invented into an equipment in polymerization level to realize Striding equipment link aggregation, to provide device level redundancy protecting and flow load sharing.
In DRNI networking, two equipment for forming DR system (are properly termed as distributed polymerization (English: Distributed Relay, referred to as: DR) equipment) on aggregation port (being properly termed as DR interface) on protocol configuration needs be consistent.
Currently, mainly configuration distributing is carried out by using specific configuration management tool, to keep DR equipment in DR system DR interface protocol configuration it is consistent.
For using Puppet (a kind of configuration management tool), when needing to carry out configuration distributing, user is (as managed Member) configuration carried out to equipment will be needed to be write as script using Puppet language, and it is saved in Puppet server, then pass through Puppet server is issued to these scripts as the DR equipment in the DR system of Puppet agency, realizes to each in DR system The unified configuration distributing of DR equipment.
After DR equipment of the Puppet server into DR system issues configuration, the DR equipment in DR system can be based on matching Whether the configuration for setting consistency check functional check local device and opposite equip. is consistent, i.e., DR equipment can configure DR interface It is sent to opposite equip., and receives the DR interface configuration of opposite equip. transmission, more local DR interface configuration and opposite equip. DR Whether interface is consistent, if inconsistent, DR interface can be set to Down, or close the business function of corresponding business module.
However practice is found, and in above scheme, in order to keep the protocol configuration of DR interface of DR equipment in DR system consistent, When the configuration to DR equipment issues, deployment configuration administration tool service device is needed, and each DR equipment needs in DRNI networking Start configuration management tool agency to issue the configuration of DR equipment, to increase the complexity of networking deployment, and increase The performance cost of DR equipment is added.
Summary of the invention
In view of this, the present invention provides a kind of configuration and synchronization method and device, to solve group in existing configuration synchronization scheme Wet end administration is complicated, the big problem of DR equipment performance expense.
In a first aspect, the present invention provides a kind of configuration and synchronization method, it is described applied to the first network equipment of enabled DRNI Method includes:
Distribution, which is established, with second network equipment of enabled DRNI polymerize DR system;
When the first network equipment is the main equipment of the DR system, determined according to the configuration distributing instruction received The enabled configuration order of DR interface;
The configuration order that the DR interface enables is synchronized to second network equipment, so that second network equipment Corresponding configuration is issued to the DR interface of second network equipment according to the configuration order.
Second aspect, the present invention provide a kind of configuration synchronizing device, described applied to the first network equipment of enabled DRNI Device includes:
Unit is established, polymerize DR system for establishing distribution with second network equipment of enabled DRNI;
Receiving unit, for receiving configuration distributing and referring to when the first network equipment is the main equipment of the DR system It enables;
Determination unit, the configuration distributing for being received according to the receiving unit instruct the configuration for determining that DR interface is enabled Order;
Synchronization unit, the configuration order for enabling the DR interface is synchronized to second network equipment, so that institute It states second network equipment and corresponding configuration is issued to the DR interface of second network equipment according to the configuration order.
Using technical solution disclosed by the invention, the first network equipment of DRNI and the second net of enabled DRNI equipment are enabled Network equipment establishes DR system, when first network equipment is the main equipment of DR system, is instructed according to the configuration distributing received true Determine the enabled configuration order of DR interface, and the configuration order that the DR interface enables is synchronized to second network equipment (i.e. from setting It is standby) so that second network equipment (from equipment) connects according to the configuration order received to the DR of second network equipment (from equipment) Mouth issues corresponding configuration, is not needing additional deployment configuration administration tool service device, DR equipment does not need starting configuration pipe yet Under the premise of managing tool agent, the automatic synchronization of configuration order during configuration distributing is realized, DR in DR system is maintained and sets Standby protocol configuration is consistent, simplifies the complexity of networking deployment, and reduces the performance cost of DR equipment;Further, since not User is needed to be write configuration as script manually, this improves configure synchronous efficiency and accuracy during configuration distributing.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of configuration and synchronization method provided in an embodiment of the present invention;
Fig. 2 is a kind of configuration diagram of concrete application scene provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram for configuring synchronizing device provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another configuration synchronizing device provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another configuration synchronizing device provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another configuration synchronizing device provided in an embodiment of the present invention;
Fig. 7 is a kind of hardware structural diagram for configuring synchronizing device provided in an embodiment of the present invention.
Specific embodiment
Technical solution in embodiment in order to enable those skilled in the art to better understand the present invention, and make of the invention real The above objects, features, and advantages for applying example can be more obvious and easy to understand, with reference to the accompanying drawing to technical side in the embodiment of the present invention Case is described in further detail.
It referring to Figure 1, is a kind of flow diagram of configuration and synchronization method provided in an embodiment of the present invention, wherein this is matched Setting synchronous method can be applied to the network equipment (referred to herein as first network equipment) of any enabled DRNI, such as enabled DRNI Switch or router etc., as shown in Figure 1, the configuration and synchronization method may comprise steps of:
Second network equipment of step 101 and enabled DRNI establish DR system.
In the embodiment of the present invention, second network equipment and the network equipment for being not specific to a certain fixation, but may refer to The network equipment of any enabled DRNI except one network equipment, the embodiment of the present invention is subsequent no longer to be repeated.
In the embodiment of the present invention, what first network equipment and the second network established DR system specifically may refer to existing DRNI Associated description in technology, is illustrated below in conjunction with example, and this will not be repeated here for the embodiment of the present invention.
Step 102, when the main equipment that first network equipment is DR system, instructed according to the configuration distributing that receives and determine DR The enabled configuration order of interface.
In the embodiment of the present invention, when needing to carry out configuration distributing, it can be sent under configuration to the main equipment in DR system Send instructions, is configured without being repeated in each equipment in DR system.
It should be noted that in embodiments of the present invention, if non-specified otherwise, mentioned configuration distributing is referred both to for DR The configuration that interface issues.
Correspondingly, when first network equipment is the main equipment of DR system, first network equipment be can receive under configuration Send instructions, and instructs the configuration order for determining that DR interface is enabled according to the configuration distributing received.
The configuration order that identified DR interface enables is synchronized to second network equipment by step 103, so that the second network Equipment issues corresponding configuration to the DR interface of second network equipment according to the configuration order received.
In the embodiment of the present invention, in order to keep the protocol configuration of DR interface of DR equipment in DR system consistent, DR system When main equipment has determined DR interface enabled configuration order, it is such as directed to interface link type, the virtual LAN (English of DR interface Text: Virtual Local Area Network, referred to as: VLAN), Spanning-Tree Protocol (English: Spanning Tree Protocol, referred to as: STP) or Multiple Spanning Tree Protocol (English: Multiple Spanning Tree Protocol, referred to as The configuration order that identified DR interface enables can be synchronized to from equipment by the configuration order of network functions such as MST).
Correspondingly, in embodiments of the present invention, when first network equipment is the main equipment of DR system, first network equipment The configuration order that identified DR interface enables can be synchronized to second network equipment (i.e. the slave equipment of DR system).
When second network equipment receives first network equipment synchronous configuration order, it can be ordered according to the configuration received It enables to the DR interface of second network equipment and issues corresponding configuration.
As it can be seen that in method flow shown in Fig. 1, it will be according to the configuration distributing received by the main equipment in DR system The enabled configuration order active synchronization of the determining DR interface of instruction is given from equipment, so that the configuration synchronous according to main equipment from equipment It orders to the DR interface of itself (from equipment) and issues corresponding configuration, thus, do not needing additional deployment configuration management tool clothes Business device realizes the automatic synchronization of configuration order, keeps under the premise of DR equipment does not need starting configuration management tool agency yet The protocol configuration of DR equipment is consistent in DR system, simplifies the complexity of networking deployment, and the performance for reducing DR equipment opens Pin;Further, since not needing user is write configuration as script manually, it is thus possible to improve efficiency and accuracy that configuration is synchronous.
Optionally, the present invention in one embodiment, the enabled configuration of the above-mentioned DR interface by first network equipment Command synchronization gives second network equipment, may include:
The configuration order that the DR interface of first network equipment is enabled, according to the sequence from system view to the current command, Be converted to the configuration order of text formatting;
The configuration order of text formatting is synchronized to second network equipment.
In this embodiment, it is contemplated that the execution for the configuration order of DR interface is needed according to system view-DR interface View-specific instructions sequence (sequence referred to herein as from system view to the current command) executes, therefore, in order to realize DR The automatic synchronization of the enabled configuration order of interface, when first network equipment is the main equipment of DR system, first network equipment can It is set according to the sequence synchronization from system view to the current command to the second network with the configuration order for enabling the DR interface of itself It is standby.
It, may be due in addition, it is contemplated that when configuration order is synchronized to second network equipment in a manner of binary The incompatible version of first network equipment and second network equipment causes second network equipment that can not identify that first network equipment is same The configuration order of step, and then cause to configure synchronization failure, therefore, synchronous success rate is configured in order to improve, first network equipment can With configuration order that configuration order is converted to text formatting, (configuration order for enabling the DR interface of itself is according to from system The configuration order that is sequentially converted into text format of the view to the current command), and the configuration order of text format is synchronized to Second network equipment.
For example, first network equipment the configuration order of text format can be encapsulated as type lengths values (English: Type, Length, Value, abbreviation TLV) data, and be encapsulated in distributed polymerization control protocol (English: Distributed Relay Control Protocol, referred to as: DRCP) agreement data sync message in be sent to the second net Network equipment.
When second network equipment receives the data sync message, it can parse the TLV data wherein carried, to be matched Order is set, and executes the configuration order according to the sequence from system view to the current command, the DR interface of Xiang Zishen is issued and is somebody's turn to do The corresponding configuration of configuration order.
Optionally, the present invention in one embodiment, above-mentioned configuration and synchronization method can also include:
When first network equipment is the slave equipment of DR system, the synchronous configuration order of second network equipment is received;
Corresponding configuration is issued to the DR interface of first network equipment according to configuration order.
In this embodiment, when first network equipment is the slave equipment of DR system, first network equipment can receive DR The synchronous configuration order of the main equipment (i.e. second network equipment) of system.
Wherein, second network equipment may refer to above-mentioned implementation to the specific implementation of the synchronous configuration order of first network equipment Realization of the first network equipment described in example to the synchronous configuration order of second network equipment, the embodiment of the present invention is not done superfluous herein It states.
In this embodiment, it when first network equipment receives second network equipment synchronous configuration order, can execute The DR interface of the configuration order received, Xiang Zishen issues corresponding configuration.
Optionally, in one example, above-mentioned configuration order is the text according to the sequence from system view to the current command This format configuration order;
It is above-mentioned that corresponding configuration is issued to the DR interface of first network equipment according to configuration order, may include:
According to the sequence from system view to the current command, configuration order is executed, with to the DR interface of first network equipment Issue corresponding configuration.
In this example, second network equipment synchronizes the sequence from system view to the current command to first network equipment The specific implementation of text formatting configuration order may refer to first network equipment described in above-described embodiment and set to the second network The realization of the text formatting configuration order of the standby synchronous sequence from system view to the current command, the embodiment of the present invention are not done herein It repeats.
In this example, when first network equipment receive second network equipment it is synchronous slave system view to the current command Sequence text format configuration order when, first network equipment can according to the sequence from system view to the current command, Execute the configuration order that receives, the DR interface of Xiang Zishen issues corresponding configuration, and specific implementation can be below in association with Specific example is illustrated.
Further, in embodiments of the present invention, in order to preferably keep DR equipment in DR system DR interface agreement Configuration consistency, the slave equipment in DR system receive the synchronous configuration order of main equipment, and according to the configuration order received into After row configuration distributing, can also to main equipment return configuration result (configuration successful or configuration failure) so that main equipment according to The corresponding configuration that comes into force is determined whether from the configuration result of equipment.
Optionally, the present invention in one embodiment, the enabled configuration of the above-mentioned DR interface by first network equipment Command synchronization is given after second network equipment, can also include:
Receive the configuration result of second network equipment transmission;
If configuration result is configuration successful, according to the configuration order that the DR interface of first network equipment enables, to first The DR interface of the network equipment issues corresponding configuration.
In this embodiment, when the first network equipment of the main equipment as DR system is matched what the DR interface of itself enabled Command synchronization is set to after second network equipment, the configuration result of second network equipment transmission can also be received.
If the configuration result that second network equipment is sent is configuration successful, first network equipment can be according to itself DR The enabled configuration order of interface, issues corresponding configuration to the DR interface of first network equipment.
It should be noted that in this embodiment, if the configuration result that second network equipment is sent is configuration failure, the One network equipment can not the enabled configuration order of DR interface to itself carry out configuration distributing.In turn, first network equipment can To carry out configuration failure alarm, configuration failure log is such as generated, is taken as the case may be by user's (such as operation management personnel) Measure, alternatively, first network equipment can be in configuration order synchronization times not up to default maximum times, again by the first net The enabled configuration order of the DR interface of network equipment is synchronized to second network equipment, until receiving matching for second network equipment transmission Successful configuration result is set, alternatively, configuration failure alarm is carried out when configuration order synchronization times reach default maximum times, Specific implementation does not repeat them here herein.
It should be appreciated that in embodiments of the present invention, when the DR interface of above-mentioned main equipment enables configuration order, first not to matching It sets order and carries out configuration distributing, but be synchronized to from equipment, and determine whether to be matched according to from the configuration result of equipment Setting the realization issued is only a kind of specific example, and is not limiting the scope of the present invention, in the embodiment of the present invention In, when the DR interface of main equipment enables configuration order, configuration distributing can also be carried out to configuration order, and be synchronized to from setting It is standby, when receiving from the configuration result of equipment, if configuration result be configuration successful, keep configuring it is constant, if configuration result For configuration failure, then cancel the corresponding configuration of the configuration order issued, specific implementation does not repeat them here herein.
In order to make those skilled in the art more fully understand technical solution provided in an embodiment of the present invention, below with reference to specific Application scenarios are illustrated technical solution provided in an embodiment of the present invention.
Fig. 2 is referred to, is a kind of configuration diagram of concrete application scene provided in an embodiment of the present invention, as shown in Fig. 2, In the application scenarios, DRNI networking is set up based on equipment A and equipment B, equipment A and equipment B are as the DR equipment in DR system (assuming that equipment A is DR1, equipment B is DR2), and the DR interface on DR1 is DR interface 1, and the DR interface on DR2 is DR interface 2.
Between DR1 and DR2 even by internal control link port (English: Intra-Portal Port, abbreviation: IPP mouthfuls) It connects.Link between IPP mouthfuls is internal control link (English: Intra-Portal Link, abbreviation: internal control link), DR Equipment passes through IPL link interaction protocol message and transmitting data stream amount.
DRNI on IPL chain road by running distributed polymerization control protocol (English: Distributed Relay Control Protocol, referred to as: DRCP) come the relevant information for interacting distributed polymerization, to determine whether DR1 and DR2 can be with Form DR system.Run between the equipment of the agreement by the distributed polymerization control protocol data cell of mutually hair (English: Distributed Relay Control Protocol Data Unit, referred to as: the DRCPDU) phase to interact distributed polymerization Close information.
In this embodiment, DR1 is configured to the main equipment of DR system, DR2 is configured to for the slave equipment of DR system.
In this embodiment, the basic configuration of DRNI network is set up in DR2 configuration, and DR1 matches substantially except configuration DRNI network It sets outer, it is also necessary to carry out the network functions configuration such as interface link type, VLAN, STP or MST for DR interface.
Wherein, the basic configuration for setting up DRNI network may refer to the related description in existing DRNI technology, and the present invention is real It applies example and this is not repeated them here.
In this embodiment, it is contemplated that the configuration order of DR interface is the main equipment being handed down in DR system, and is set by master It is standby to be synchronized to from equipment, it, may if the enabled distributed aggregation configuration consistency check function of the master-slave equipment of DR system The configuration order that DR interface enables is synchronized to before equipment completion based on configuration conformance inspection by main equipment in DR system The configuration that Function detection goes out master-slave equipment is inconsistent, thus, cause main equipment that will be set to Down from the DR interface in equipment, or close The business function for closing corresponding business module influences the normal operation of DR system.
Correspondingly, in this embodiment it is possible to which the distributed aggregation configuration of master-slave equipment closing configured in DR system is consistent Property audit function (i.e. no longer carry out configuration conformance inspection), and enabled DRNI configuration synchronizing function (can be according to shown in Fig. 1 Method flow carries out configuration synchronization).
In this embodiment, the process of DR1 and DR2 establishment DR system is as follows:
1, after DR equipment completes DR systematic parameter configuration, terminal device (being DR1 and DR2 in the embodiment) passes through IPL Link periodically sends DRCP message.After local device receives the DRCP negotiation packet of opposite equip., judges DRCP and negotiate report Whether the DR interface index in text is identical with the number of local terminal DR interface.If they are the same, then this two DR equipment form DR system.
2, after successful matching, terminal device can determine whether out master slave mode: first comparing DR device role priority, is worth smaller excellent First grade is higher, and priority is high for main equipment;If priority is identical, compare two equipment bridge media access control (English: Media Access Control, referred to as: MAC) address, lesser bridge MAC Address is main equipment.
In the present embodiment, using DR1 as main equipment, DR2 is to be illustrated from equipment citing.
3, terminal device sends Keepalive (keep-alive) packet check neighbor state by IPL isl cycle.
4, after DR system starts, the information of meeting real-time synchronization opposite end between terminal device, such as MAC Address list item, Address resolution protocol (English: Address Resolution Protocol, abbreviation ARP) list item etc., thus any one equipment Failure all will not influence the forwarding of flow, guarantee that normal business will not interrupt.
5, DR1 carries out the synchronous process of configuration: each configuration order enabled for DR interface 1 to DR2, and DR1 can be according to Sequence from system view to the current command, decompiling are the configuration order of text formatting, are encapsulated as TLV data, then It is encapsulated in data sync message again and is sent to DR2.
When DR2 receives data sync message, parse TLV data, to obtain the synchronous configuration order of DR1, and according to from The sequence of system view to the current command executes, and issues corresponding configuration to DR interface 2.
For example, by taking DR interface 1 enables STP (i.e. STP enable order) as an example, the configuration order is according to from system The sequence of view to the current command is encapsulated as TLV data content, can be as shown in table 1:
Table 1
Wherein, three T fields in table 1 are a configuration orders according to system view, DR inter-face views, the current command Three orders that sequence is converted to, system characterizes system view, interface dr1 characterizes DR inter-face views.In the reality It applies in example, after DR2 carries out configuration distributing according to DR1 synchronous configuration order, configuration result can be encapsulated as to DRCP agreement Command result message be sent to DR1.
When DR1 receives the command result message, the configuration result of DR2 is parsed, if configuration successful, then by configuration order It is issued on DR interface 1;If configuration failure, then DR1 does not issue configuration order on DR interface 1, and returns Order configuration failure (as generated the log of order configuration failure).
Through above description as can be seen that in technical solution provided in an embodiment of the present invention, the first net of DRNI is enabled Second network equipment of network equipment and enabled DRNI equipment establishes DR system, when the main equipment that first network equipment is DR system When, the configuration order for determining that DR interface is enabled is instructed according to the configuration distributing received, and the configuration that the DR interface is enabled is ordered Order is synchronized to second network equipment (i.e. from equipment), so that second network equipment (i.e. from equipment) is according to the configuration order received Issue corresponding configuration to the DR interface of second network equipment (i.e. from equipment), by by DR interface configuration distributing in DR system Main equipment, and be synchronized to by main equipment from equipment, do not needing additional deployment configuration administration tool service device, DR equipment is not yet Under the premise of needing to start configuration management tool agency, the automatic synchronization of configuration order during configuration distributing is realized, is kept The protocol configuration of DR equipment is consistent in DR system, simplifies the complexity of networking deployment, and the performance for reducing DR equipment opens Pin;Further, since not needing user is write configuration as script manually, this improves synchronization is configured during configuration distributing Efficiency and accuracy.
Fig. 3 is referred to, provides a kind of structural schematic diagram for configuring synchronizing device for the embodiment of the present invention, wherein the device It can be applied to the first network equipment in above method embodiment, as shown in figure 3, the configuration synchronizing device may include:
Unit 310 is established, polymerize DR system for establishing distribution with second network equipment of enabled DRNI;
Receiving unit 320, for receiving configuration distributing when the first network equipment is the main equipment of the DR system Instruction;
Determination unit 330, the configuration distributing for being received according to the receiving unit, which instructs, determines what DR interface enabled Configuration order;
Synchronization unit 340, the configuration order for enabling the DR interface are synchronized to second network equipment, so that Second network equipment issues corresponding configuration to the DR interface of second network equipment according to the configuration order.
Such as scheme please also refer to Fig. 4 for the structural schematic diagram of another configuration synchronizing device provided in an embodiment of the present invention Shown in 4, on the basis of configuration synchronizing device shown in Fig. 3, configuration synchronizing device shown in Fig. 4 can also include:
Converting unit 350, the configuration order for enabling the DR interface, according to from system view to the current command Sequentially, the configuration order of text formatting is converted to;
The synchronization unit 320 is set specifically for the configuration order of the text formatting is synchronized to second network It is standby.
In an alternative embodiment, the receiving unit 320 is also used to when the first network equipment be the DR system When from equipment, the synchronous configuration order of second network equipment is received;
Such as scheme please also refer to Fig. 5 for the structural schematic diagram of another configuration synchronizing device provided in an embodiment of the present invention Shown in 5, on the basis of configuration synchronizing device shown in Fig. 3, configuration synchronizing device shown in Fig. 5 can also include:
First issuance unit 360, for being issued pair according to the configuration order to the DR interface of the first network equipment The configuration answered.
In an alternative embodiment, the configuration order is the text formatting according to the sequence from system view to the current command Configuration order;
First issuance unit 360, specifically for matching described in execution according to the sequence from system view to the current command Order is set, to issue corresponding configuration to the DR interface of the first network equipment.
In an alternative embodiment, the receiving unit 360 is also used to receive the configuration knot that second network equipment is sent Fruit;
Such as scheme please also refer to Fig. 6 for the structural schematic diagram of another configuration synchronizing device provided in an embodiment of the present invention Shown in 6, on the basis of configuration synchronizing device shown in Fig. 3, configuration synchronizing device shown in Fig. 6 can also include:
Second issuance unit 370, if being configuration successful for the configuration result, according to the first network equipment The enabled configuration order of DR interface, the DR interface of Xiang Suoshu first network equipment issue corresponding configuration.
Fig. 7 is referred to, for a kind of hardware structural diagram for configuring synchronizing device provided in an embodiment of the present invention.The configuration Synchronizing device may include processor 701, the machine readable storage medium 702 for being stored with machine-executable instruction.Processor 701 It can be communicated via system bus 703 with machine readable storage medium 702.Also, by reading and executing machine readable storage Jie The arrangements described above side of synchronization can be performed in machine-executable instruction corresponding with configuration synchronous logic, processor 701 in matter 702 Method.
Machine readable storage medium 702 referred to herein can be any electronics, magnetism, optics or other physical stores Device may include or store information, such as executable instruction, data, etc..For example, machine readable storage medium can be easily Lose memory, nonvolatile memory or similar storage medium.Specifically, machine readable storage medium 702 can be RAM (Radom Access Memory, random access memory), flash memory, memory driver (such as hard disk drive), solid state hard disk, Any kind of storage dish (such as CD, DVD) perhaps similar storage medium or their combination.
The embodiment of the invention also provides a kind of machine readable storage mediums including machine-executable instruction, such as Fig. 7 In machine readable storage medium 702, the machine-executable instruction can by the processor 701 in configuration synchronizing device execute with Realize configuration and synchronization method described above.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize the present invention program.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
As seen from the above-described embodiment, it enables the first network equipment of DRNI and second network equipment of enabled DRNI equipment is built Vertical DR system instructs according to the configuration distributing received when first network equipment is the main equipment of DR system and determines DR interface Enabled configuration order, and the configuration order that the DR interface enables is synchronized to second network equipment (from equipment), so that second The network equipment (from equipment) issues according to the configuration order received to the DR interface of second network equipment (from equipment) corresponding Configuration is not needing additional deployment configuration administration tool service device, and DR equipment does not need starting configuration management tool agency's yet Under the premise of, the automatic synchronization of configuration order during configuration distributing is realized, the protocol configuration of DR equipment in DR system is maintained Unanimously, the complexity of networking deployment is simplified, and reduces the performance cost of DR equipment;Further, since it is manual not need user Write configuration as script, this improves synchronous efficiency and accuracy are configured during configuration distributing.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (10)

1. a kind of configuration and synchronization method, applied to the first network equipment of enabled distributed elastic network interconnection DRNI, feature It is, which comprises
Distribution, which is established, with second network equipment of enabled DRNI polymerize DR system;
When the first network equipment is the main equipment of the DR system, is instructed according to the configuration distributing received and determine that DR connects The enabled configuration order of mouth;
By the DR interface enable configuration order be synchronized to second network equipment so that second network equipment according to The configuration order issues corresponding configuration to the DR interface of second network equipment.
2. the method according to claim 1, wherein the configuration order that the DR interface is enabled is synchronized to Second network equipment, comprising:
The configuration order that the DR interface enables is converted into text formatting according to the sequence from system view to the current command Configuration order;
The configuration order of the text formatting is synchronized to second network equipment.
3. the method according to claim 1, wherein the method also includes:
When the first network equipment is the slave equipment of the DR system, the synchronous configuration life of second network equipment is received It enables;
Corresponding configuration is issued to the DR interface of the first network equipment according to the configuration order.
4. according to the method described in claim 3, it is characterized in that, the configuration order is according to from system view to current life The text formatting configuration order of the sequence of order;
It is described that corresponding configuration is issued to the DR interface of the first network equipment according to the configuration order, comprising:
According to the sequence from system view to the current command, the configuration order is executed, with to the DR of the first network equipment Interface issues corresponding configuration.
5. the method according to claim 1, wherein the configuration order that the DR interface is enabled is synchronized to After second network equipment, the method also includes:
Receive the configuration result that second network equipment is sent;
If the configuration result is configuration successful, according to the configuration order that the DR interface enables, Xiang Suoshu first network is set Standby DR interface issues corresponding configuration.
6. a kind of configuration synchronizing device, applied to the first network equipment of enabled distributed elastic network interconnection DRNI, feature It is, described device includes:
Unit is established, polymerize DR system for establishing distribution with second network equipment of enabled DRNI;
Receiving unit, for receiving configuration distributing instruction when the first network equipment is the main equipment of the DR system;
Determination unit, the configuration distributing for being received according to the receiving unit instruct the configuration life for determining that DR interface is enabled It enables;
Synchronization unit, the configuration order for enabling the DR interface are synchronized to second network equipment, so that described the Two network equipments issue corresponding configuration to the DR interface of second network equipment according to the configuration order.
7. device according to claim 6, which is characterized in that described device further include:
Converting unit, the configuration order for enabling the DR interface turn according to the sequence from system view to the current command It is changed to the configuration order of text formatting;
The synchronization unit, specifically for the configuration order of the text formatting is synchronized to second network equipment.
8. device according to claim 6, which is characterized in that
The receiving unit is also used to receive described second when the first network equipment is the slave equipment of the DR system The synchronous configuration order of the network equipment;
Described device further include:
First issuance unit, for issuing corresponding match to the DR interface of the first network equipment according to the configuration order It sets.
9. device according to claim 8, which is characterized in that the configuration order is according to from system view to current life The text formatting configuration order of the sequence of order;
First issuance unit, specifically for executing the configuration order according to the sequence from system view to the current command, To issue corresponding configuration to the DR interface of the first network equipment.
10. device according to claim 6, which is characterized in that
The receiving unit is also used to receive the configuration result that second network equipment is sent;
Described device further include:
Second issuance unit, if being configuration successful for the configuration result, according to the DR interface of the first network equipment The DR interface of enabled configuration order, Xiang Suoshu first network equipment issues corresponding configuration.
CN201910285564.7A 2019-04-10 2019-04-10 Configuration synchronization method and device Active CN110086657B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910285564.7A CN110086657B (en) 2019-04-10 2019-04-10 Configuration synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910285564.7A CN110086657B (en) 2019-04-10 2019-04-10 Configuration synchronization method and device

Publications (2)

Publication Number Publication Date
CN110086657A true CN110086657A (en) 2019-08-02
CN110086657B CN110086657B (en) 2020-04-03

Family

ID=67414630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910285564.7A Active CN110086657B (en) 2019-04-10 2019-04-10 Configuration synchronization method and device

Country Status (1)

Country Link
CN (1) CN110086657B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117812026A (en) * 2024-02-28 2024-04-02 苏州元脑智能科技有限公司 Aggregation link configuration method, device, system, switch equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023686A (en) * 2011-09-28 2013-04-03 中兴通讯股份有限公司 Interactive method among nodes in distributed link aggregation group system and nodes
CN103873336A (en) * 2012-12-14 2014-06-18 中兴通讯股份有限公司 Distributed resilient network interconnection-based service bearing method and device
US20140369186A1 (en) * 2013-06-17 2014-12-18 Telefonaktiebolaget L M Ericsspm (publ) Methods and systems with enhanced robustness for multi-chassis link aggregation group
WO2015032046A1 (en) * 2013-09-05 2015-03-12 Telefonaktiebolaget L M Ericsson (Publ) Apparatus and method for communicating over a plurality of communication links
US20150188753A1 (en) * 2013-12-27 2015-07-02 Dell Products L.P. N-node virtual link trunking (vlt) systems fault management
CN105591819A (en) * 2015-12-24 2016-05-18 杭州华三通信技术有限公司 Method and device of configuring network equipment
CN105812180A (en) * 2016-03-09 2016-07-27 上海斐讯数据通信技术有限公司 Network device configuration system and method
CN108173757A (en) * 2017-12-26 2018-06-15 新华三技术有限公司 Port status setting method and device
CN108199903A (en) * 2018-01-25 2018-06-22 新华三技术有限公司 Distributed paradigmatic system configuration method and device
CN108923985A (en) * 2018-07-16 2018-11-30 四川长虹网络科技有限责任公司 The method of the batch upgrade network equipment in distributed network management system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023686A (en) * 2011-09-28 2013-04-03 中兴通讯股份有限公司 Interactive method among nodes in distributed link aggregation group system and nodes
CN103873336A (en) * 2012-12-14 2014-06-18 中兴通讯股份有限公司 Distributed resilient network interconnection-based service bearing method and device
US20140369186A1 (en) * 2013-06-17 2014-12-18 Telefonaktiebolaget L M Ericsspm (publ) Methods and systems with enhanced robustness for multi-chassis link aggregation group
WO2015032046A1 (en) * 2013-09-05 2015-03-12 Telefonaktiebolaget L M Ericsson (Publ) Apparatus and method for communicating over a plurality of communication links
US20150188753A1 (en) * 2013-12-27 2015-07-02 Dell Products L.P. N-node virtual link trunking (vlt) systems fault management
CN105591819A (en) * 2015-12-24 2016-05-18 杭州华三通信技术有限公司 Method and device of configuring network equipment
CN105812180A (en) * 2016-03-09 2016-07-27 上海斐讯数据通信技术有限公司 Network device configuration system and method
CN108173757A (en) * 2017-12-26 2018-06-15 新华三技术有限公司 Port status setting method and device
CN108199903A (en) * 2018-01-25 2018-06-22 新华三技术有限公司 Distributed paradigmatic system configuration method and device
CN108923985A (en) * 2018-07-16 2018-11-30 四川长虹网络科技有限责任公司 The method of the batch upgrade network equipment in distributed network management system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117812026A (en) * 2024-02-28 2024-04-02 苏州元脑智能科技有限公司 Aggregation link configuration method, device, system, switch equipment and storage medium
CN117812026B (en) * 2024-02-28 2024-04-30 苏州元脑智能科技有限公司 Aggregation link configuration method, device, system, switch equipment and storage medium

Also Published As

Publication number Publication date
CN110086657B (en) 2020-04-03

Similar Documents

Publication Publication Date Title
CN103051539B (en) A kind of net control implementation method based on DHT, System and Network controller
CN101573940B (en) System and method for TCP high availability
US9716616B2 (en) Active IP forwarding in an event driven virtual link aggregation (vLAG) system
US7460527B2 (en) Port aggregation for fibre channel interfaces
JP6283361B2 (en) Systems and methods for supporting degraded fat tree discovery and routing in a middleware machine environment
US7639605B2 (en) System and method for detecting and recovering from virtual switch link failures
US9608841B2 (en) Method for real-time synchronization of ARP record in RSMLT cluster
US20120311182A1 (en) System and method for supporting controlled re-routing in an infiniband (ib) network
EP2843906B1 (en) Method, apparatus, and system for data transmission
US9385944B2 (en) Communication system, path switching method and communication device
CN107078951A (en) From virtual port channel peer-to-peer fault recovery
CN112166579B (en) Multi-server architecture cluster providing virtualized network functionality
CN109587286A (en) A kind of equipment connection control method and device
WO2017000832A1 (en) Mac address synchronization method, device and system
US9984028B2 (en) Redundancy for port extender chains
CN105516292A (en) Hot standby method of cloud platform of intelligent substation
CN104618189B (en) Link failure detection method and device
WO2015157993A1 (en) Interconnection system and apparatus, and data transmission method
CN109495345A (en) A kind of BFD processing method and the network equipment
CN101145940A (en) A method for searching network element device and establishing topology connection in network management system
CN101599907B (en) Method and system for forwarding flow
WO2018004931A1 (en) Techniques for virtual ethernet switching of a multi-node fabric
CN114401274A (en) Communication line creating method, device, equipment and readable storage medium
CN110086657A (en) A kind of configuration and synchronization method and device
CN107528788B (en) Method and device for realizing automatic stacking between network devices

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
CB02 Change of applicant information

Address after: Room 101, 1st floor, No. 1 Building, No. 8 Courtyard, Yongjiabei Road, Haidian District, Beijing 100094

Applicant after: Beijing Huasan Communication Technology Co., Ltd.

Address before: Room 119, 1st floor, Building 2, Pioneer Road, Haidian District, Beijing 100085

Applicant before: Beijing Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant