CN104301141B - A kind of method, apparatus and system for preserving configuration information - Google Patents

A kind of method, apparatus and system for preserving configuration information Download PDF

Info

Publication number
CN104301141B
CN104301141B CN201410531261.6A CN201410531261A CN104301141B CN 104301141 B CN104301141 B CN 104301141B CN 201410531261 A CN201410531261 A CN 201410531261A CN 104301141 B CN104301141 B CN 104301141B
Authority
CN
China
Prior art keywords
network equipment
configuration
information
configuration information
identification information
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
CN201410531261.6A
Other languages
Chinese (zh)
Other versions
CN104301141A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410531261.6A priority Critical patent/CN104301141B/en
Publication of CN104301141A publication Critical patent/CN104301141A/en
Application granted granted Critical
Publication of CN104301141B publication Critical patent/CN104301141B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks

Abstract

The embodiment of the present invention provides a kind of method, apparatus and system for preserving configuration information, is related to the communications field, for the configuration information of the network equipment to be stored in into other connected network equipments, so as to reduce the cost of NMS.Methods described, including:What first network equipment second network equipment of reception was sent carries the identification information of second network equipment and the message of configuration information;Wherein, the configuration information includes:The username information of the network segment information of route and second network equipment corresponding to the network protocol IP address of second network equipment, second network equipment;The first network equipment and second network equipment are neighbor device;The first network equipment parses the message, obtains and stores the identification information of second network equipment and the configuration information.

Description

A kind of method, apparatus and system for preserving configuration information
Technical field
The present invention relates to the communications field, more particularly to a kind of method, apparatus and system for preserving configuration information.
Background technology
In NMS, if the network equipment is more outmoded or when breaking down, it usually needs will be outmoded or occur former The network equipment of barrier replaces with the new network equipment, when replacing, it is necessary to which the step of of execution includes:Operating personnel are by new network Equipment is attached according to the connected mode of original outmoded or failure the network equipment, and then the new network equipment is set Configuration information is put, wherein, configuration information includes:IP (Internet Protocol, procotol) address, the network segment letter of route Breath and username information etc..Finally original network that is outmoded or breaking down is sent to the new network equipment from gateway device to set Configuration file during standby normal operation, to cause the new network equipment according to this configuration file normal operation.
In the prior art, set the method for configuration information as follows the new network equipment:Gateway device obtains itself institute The configuration information of the all-network equipment of management, and by the IP address in the configuration information of the network equipment of acquisition, the net of route The identification information of segment information and username information etc. and the network equipment, which corresponds, to be stored.When original outmoded or appearance event When the network equipment of barrier is replaced by the new network equipment, because the new network equipment is according to original outmoded or failure The circuit of the network equipment be attached, so the identification information of the new network equipment with it is original outmoded or break down The identification information of the network equipment is identical, then the new network equipment is sent to gateway device carries original outmoded or failure The network equipment identification information configuration request message, to cause gateway device when receiving this configuration request message, to look into The configuration information with the identification information match of original outmoded or failure the network equipment is looked for, and this configuration information is sent To the new network equipment, to cause the new network equipment according to the IP address received in configuration information, the network segment information of route And username information etc. is configured accordingly, so as to complete configuration process.
But in above-mentioned implementation, gateway device needs to obtain and store the all-network equipment that itself is managed Configuration information, so gateway device needs to have the function for the configuration information for obtaining the network equipment, and when gateway device management When the network equipment is a lot, it is desirable to which gateway device needs enough memory spaces and carrys out the configuration information of storage networking device, and matches somebody with somebody Confidence ceases the corresponding relation with the identification information of the network equipment, thus it is higher to the performance requirement of gateway device, cause network pipe The cost increase of reason system.
The content of the invention
Embodiments of the invention provide a kind of method, apparatus and system for preserving configuration information, for by the network equipment Configuration information is stored in other connected network equipments, so as to reduce the cost of NMS.
To reach above-mentioned purpose, embodiments of the invention adopt the following technical scheme that:
In a first aspect, the embodiment of the present invention provides a kind of method for preserving configuration information, including:First network equipment receives What second network equipment was sent carries the identification information of second network equipment and the message of configuration information;Wherein, it is described Configuration information includes:The net of route corresponding to the network protocol IP address of second network equipment, second network equipment The username information of segment information and second network equipment;The first network equipment and second network equipment are neighbours Equipment;The first network equipment parses the message, obtains and stores the identification information of second network equipment and described Configuration information.
With reference in a first aspect, in the first possible implementation of first aspect, in the first network equipment solution The message is analysed, after obtaining and storing identification information and the configuration information of second network equipment, in addition to:It is described First network equipment receives the configuration request message that the 3rd network equipment is sent;Wherein, carried in the configuration request message The identification information of second network equipment;The first network equipment is according to the identification information of second network equipment, really The fixed configuration information corresponding with the identification information of second network equipment;The first network equipment is to the 3rd net Network equipment send configuration request response;Wherein, carry in the configuring request response message and set with second network The configuration information corresponding to standby identification information.
With reference in a first aspect, or first aspect the first possible implementation, may at second of first aspect In the mode of realization, the message includes Link Layer Discovery Protocol LLDP messages.
Second aspect, the embodiment of the present invention provide a kind of method for preserving configuration information, including:Second network equipment is to extremely Few first network equipment sends the message of the identification information and configuration information that carry second network equipment;Wherein, The configuration information includes:It is route corresponding to the network protocol IP address of second network equipment, second network equipment Network segment information and second network equipment username information;Second network equipment and at least one first net Network equipment is neighbor device.
The third aspect, the embodiment of the present invention provide a kind of method for preserving configuration information, including:3rd network equipment is to extremely A few first network equipment send configuration request message;Wherein, second network equipment is carried in the configuration request message Identification information;3rd network equipment receives at least one configuring request that at least one first network equipment is sent Response message;Wherein, carried in the configuring request response message corresponding with the identification information of second network equipment Configuration information;3rd network equipment is according at least one configuring request response message received, it is determined that during configuration The configuration information used;The configuration information used when 3rd network equipment is according to the configuration of determination is configured.
With reference to the third aspect, in the first implementation of the third aspect, the 3rd network equipment is according to receiving At least one configuring request response message, it is determined that the configuration information that uses includes during configuration:Set in the 3rd network It is standby receive a configuring request response message in the case of, by what is carried in the configuring request response message, with described the The configuration information that the identification information of two network equipments is corresponding is defined as the configuration information used during configuration;Or the described 3rd In the case that the network equipment receives at least two configuring request response messages, by least two configuring requests response message Middle carrying, compared with the configuration information corresponding with the identification information of second network equipment, and by described at least two Carried in configuring request response message, it is identical with the configuration information that the identification information of second network equipment is corresponding most Configuration information is defined as the configuration information used during configuration.
With reference to the first possible implementation of the third aspect, or the third aspect, second in the third aspect may Implementation in, in the 3rd network equipment to before at least one first network equipment send configuration request message, also Including:3rd network equipment determines that the configuration information of itself whether there is;3rd network equipment is at least one One network equipment send configuration request message includes:The feelings that the configuration information of itself is not present are determined in the 3rd network equipment Under condition, the 3rd network equipment sends the configuration request message at least one first network equipment.
Fourth aspect, the embodiment of the present invention provide a kind of network equipment, including:Receiving unit, for receiving the second network What equipment was sent carries the identification information of second network equipment and the message of configuration information;Wherein, the configuration information Including:The network segment information of route corresponding to the network protocol IP address of second network equipment, second network equipment and The username information of second network equipment;The network equipment and second network equipment are neighbor device;Processing is single Member, the message received for parsing the receiving unit, and obtain the identification information of second network equipment and described match somebody with somebody Confidence ceases;Memory cell, the identification information of second network equipment got for storing the processing unit and described Configuration information.
With reference to fourth aspect, in the first possible implementation of fourth aspect, in addition to:Transmitting element, it is described Receiving unit, it is additionally operable to receive the configuration request message that the 3rd network equipment is sent;Wherein, carried in the configuration request message There is the identification information of second network equipment;The processing unit, it is additionally operable to according to receiving the receiving unit The identification information of second network equipment, it is determined that the configuration information corresponding with the identification information of second network equipment;Hair Unit is sent, for the 3rd network equipment send configuration request response;Wherein, in the configuring request response message Carry the configuration information corresponding with the identification information of second network equipment.
With reference to the first possible implementation of fourth aspect, or fourth aspect, second in fourth aspect may Implementation in, the message includes Link Layer Discovery Protocol LLDP messages.
5th aspect, the embodiment of the present invention provide a kind of network equipment, including:Transmitting element, at least one One network equipment sends the message of the identification information and configuration information that carry the network equipment;Wherein, the configuration information Including:The network segment information of route and the network corresponding to the network protocol IP address of the network equipment, the network equipment The username information of equipment;The network equipment and at least one first network equipment are neighbor device.
6th aspect, the embodiment of the present invention provide a kind of network equipment, including:Transmitting element, at least one One network equipment send configuration request message;Wherein, the mark letter of second network equipment is carried in the configuration request message Breath;Receiving unit, at least one configuring request response message sent for receiving at least one first network equipment;Its In, the configuration information corresponding with the identification information of second network equipment is carried in the configuring request response message;Place Unit is managed, at least one configuring request response message received according to the receiving unit, it is determined that making during configuration Configuration information;The processing unit, the configuration information for being additionally operable to use during the configuration according to determination are configured.
With reference to the 6th aspect, in the first possible implementation of the 6th aspect, the processing unit, it is specifically used for In the case where the network equipment receives a configuring request response message, will be carried in the configuring request response message , the configuration information corresponding with the identification information of second network equipment is defined as the configuration information used during configuration;Or In the case where the network equipment receives at least two configuring request response messages, at least two configuring request is rung Answer what is carried in message, compared with the configuration information corresponding with the identification information of second network equipment, and by described in extremely Carried in few two configuring request response messages, it is identical with the configuration information that the identification information of second network equipment is corresponding Most configuration informations is defined as the configuration information used during configuration.
With reference to the 6th aspect, or the first possible implementation of the 6th aspect, second at the 6th aspect may Implementation in, the processing unit, be additionally operable to determine that the configuration information of the network equipment whether there is;It is described to send list Member, in the case that the configuration information specifically for determining the network equipment in the processing unit is not present, at least one First network equipment sends the configuration request message.
7th aspect, the embodiment of the present invention provide a kind of system for preserving configuration information, including described in above-described embodiment First network equipment, second network equipment and the 3rd network equipment.
The embodiments of the invention provide a kind of method, apparatus and system for preserving configuration information, first network equipment is connecing Receive second network equipment transmission carry the identification information of second network equipment and the message of configuration information after, parse this report Text, the identification information and configuration information of second network equipment are obtained, and by the identification information and configuration information of second network equipment One-to-one corresponding is stored, and without the participation of gateway device, i.e. gateway device need not possess the institute for obtaining and itself being managed There is the ability of the configuration information of the network equipment, it is not required that the configuration information of storage all-network equipment, so to gateway device Performance requirement it is relatively low, so as to reduce the cost of NMS.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art The required accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are only some realities of the present invention Example is applied, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of computer and network equipment provided in an embodiment of the present invention, between the network equipment and the network equipment Connection diagram;
Fig. 2 is a kind of schematic flow sheet of method for preserving configuration information provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another method for preserving configuration information provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another method for preserving configuration information provided in an embodiment of the present invention;
Fig. 5 is a kind of functional schematic of the network equipment provided in an embodiment of the present invention;
Fig. 6 is the functional schematic of another network equipment provided in an embodiment of the present invention;
Fig. 7 is the functional schematic of another network equipment provided in an embodiment of the present invention;
Fig. 8 is the functional schematic of another network equipment provided in an embodiment of the present invention;
Fig. 9 is a kind of structural representation of the network equipment provided in an embodiment of the present invention;
Figure 10 is the structural representation of another network equipment provided in an embodiment of the present invention;
Figure 11 is the structural representation of another network equipment provided in an embodiment of the present invention;
Figure 12 is a kind of structural representation of system for preserving configuration information provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
The present invention is applied to the scene of preservation configuration information between neighbor device.As shown in figure 1, it sets for computer and network It is standby, and the connection diagram between the network equipment and the network equipment.Including first network equipment, second network equipment, network Device A, network equipment B, network equipment C, computer A, computer B and computer C.As seen from Figure 1, computer A with First network equipment is connected, and computer B is connected with second network equipment, and computer C is connected with network equipment C, and first network is set Back-up is not connected with second network equipment and network equipment B, and second network equipment is also connected with network equipment A, C points of the network equipment It is not connected with network equipment A with network equipment B.Therefore, it can be deduced that:The neighbor device of first network equipment is that the second network is set Standby and network equipment B;The neighbor device of second network equipment is first network equipment and network equipment A;Network equipment A neighbours Equipment is network equipment B (network equipment C and second network equipment;Network equipment B neighbor device is network equipment A, network Equipment C and first network equipment;Network equipment C neighbor device is network equipment A and network equipment B.
The embodiments of the invention provide a kind of method for preserving configuration information, as shown in Fig. 2 including:
201st, first network equipment receives the mark for carrying second network equipment letter that second network equipment is sent The message of breath and configuration information.
Wherein, the configuration information includes:IP (Internet Protocol, the network association of second network equipment View) address, the username information of the network segment information of route and second network equipment corresponding to second network equipment;Institute It is neighbor device that first network equipment, which is stated, with second network equipment.
It should be noted that the identification information of second network equipment be usually it is pre-defined being capable of the net of unique mark second The information of network equipment, such as:The identification information of second network equipment is Router1, and the identification information of first network equipment is Router2, it can thus distinguish first network equipment and second network equipment.The network segment information of route is usually default gateway Address, such as:Network equipment A IP address is 192.168.0.5, then the network segment information that route corresponding with network equipment A is 192.168.0.1;Network equipment B IP address is 192.168.1.5, then the network segment information routeing corresponding with network equipment B For 192.168.1.1.Username information refers to the user-defined information for being used to identify user identity, such as: Administrator, Zhangsan etc..
It should be noted that first network equipment is interchanger or router, second network equipment is interchanger or route Device, the present invention are without limitation.
It should be noted that second network equipment to the message that at least one first network equipment is sent can be LLDP (Link Layer Discovery, Link Layer Discovery Protocol) message, or HGMP (Huawei Group Management Protocol, Huawei's igmpinternet) message etc., the present invention is without limitation.
It should be noted that configuration information can also include encrypted message corresponding with username information etc., the present invention is right This is not limited.
202nd, the first network equipment parses the message, obtains and stores the identification information of second network equipment And the configuration information.
Specifically, first network equipment is receiving the mark for carrying second network equipment of second network equipment transmission During the message of information and configuration information, this message is parsed, obtains identification information, the IP of second network equipment of second network equipment Address, the network segment information of route and username information, and by the identification information of second network equipment and the IP of second network equipment Address, the network segment information of route and username information, which correspond, to be stored.
The embodiments of the invention provide a kind of method for preserving configuration information, first network equipment is receiving the second network After what equipment was sent carries the identification information of second network equipment and the message of configuration information, this message is parsed, obtains second The identification information and configuration information of the network equipment, and the identification information of second network equipment and configuration information are corresponded and carried out Storage, without the participation of gateway device, i.e. gateway device need not possess the all-network equipment that acquisition is managed itself The ability of configuration information, it is not required that the configuration information of storage all-network equipment, so to the performance requirement of gateway device compared with It is low, so as to reduce the cost of NMS.
The embodiments of the invention provide a kind of method for preserving configuration information, including:
301st, second network equipment sends the mark for carrying second network equipment at least one first network equipment Know the message of information and configuration information.
Wherein, the configuration information includes:Corresponding to the IP address of second network equipment, second network equipment The username information of the network segment information of route and second network equipment.Second network equipment and described at least one the One network equipment is neighbor device.
It should be noted that the identification information of second network equipment be usually it is pre-defined being capable of the net of unique mark second The information of network equipment, such as:The identification information of second network equipment is Router1, and the identification information of first network equipment is Router2, it can thus distinguish first network equipment and second network equipment.The network segment information of route is usually default gateway Address, such as:Network equipment A IP address is 192.168.0.5, then the network segment information that route corresponding with network equipment A is 192.168.0.1;Network equipment B IP address is 192.168.1.5, then the network segment information routeing corresponding with network equipment B For 192.168.1.1.Username information refers to the user-defined information for being used to identify user identity, such as: Administrator, Zhangsan etc..
It should be noted that second network equipment can be that LLDP is reported to the message that at least one first network equipment is sent Text, or HGMP messages etc., the present invention are without limitation.
Carried specifically, second network equipment is sent by the way of broadcast or multicast at least one first network equipment There are the identification information of second network equipment and the message of configuration information.And second the network equipment carry the second network in messages and set Standby identification information and the method for configuration information are also different according to the difference of message format, the method for carrying.
So that message is LLDP messages as an example, the identification information of second network equipment and the side of configuration information are carried in messages Method has following several method:
First method, second network equipment is respectively by the identification information of second network equipment, IP address, the network segment of route The information such as information and username information changes into character string, by the identification information of second network equipment of string format, IP Location, the network segment information of route and username information etc. are added in a TLV field, then will carry this TLV (Type) Length) Value, type) length) value) the LLDP messages of field are sent at least one first network equipment.
Second method, second network equipment carry identification information, the IP address of the network equipment defined in LLDP messages, The TLV fields of the network segment information of route and username information etc., and this TLV field is divided into different sub- TLV fields, i.e. network The sub- TLV fields of identification information of equipment, the sub- TLV fields of IP address, the sub- TLV fields of network segment information and username information of route TLV fields, then the identification information of second network equipment is added in the sub- TLV fields of identification information of the network equipment respectively, IP address is added in the sub- TLV fields of IP address, the sub- TLV fields of network segment information by the network segment information of route added to route In, user name is added in the sub- TLV fields of username information, then the LLDP messages for carrying this TLV field are sent at least One first network equipment.
It should be noted that configuration information can also include encrypted message corresponding with username information etc..That is the second net Encrypted message corresponding to username information can also be carried in the message that network equipment is sent at least one first network equipment, this Invent without limitation.
It should be noted that second network equipment is sent at least one first network equipment carries second network The identification information of equipment and the message of configuration information, can be sent according to predetermined period;Can also only send once, this hair It is bright without limitation.
The embodiments of the invention provide it is a kind of preserve configuration information method, second network equipment to itself be connected to Few first network equipment sends the message of the identification information and configuration information that carry second network equipment, to cause first The network equipment receive second network equipment transmission carry the identification information of second network equipment and the report of configuration information Wen Hou, this message is parsed, obtain the identification information and configuration information of second network equipment, and the mark of second network equipment is believed Breath is corresponded with configuration information and stored, and without the participation of gateway device, i.e. gateway device need not possess and be obtained from The ability of the configuration information for the all-network equipment that body is managed, it is not required that the configuration information of storage all-network equipment, institute It is relatively low with the performance requirement to gateway device, so as to reduce the cost of NMS.
The embodiments of the invention provide a kind of method for preserving configuration information, as shown in figure 3, including:
401st, the 3rd network equipment is at least one first network equipment send configuration request message.
Wherein, the 3rd network equipment can be second network equipment, or the replacement of second network equipment is set It is standby;The identification information of second network equipment is carried in the configuration request message.
It should be noted that when the 3rd network equipment is the replacement equipment of second network equipment, because the 3rd network is set Standby be attached according to the circuit of second network equipment, then all information used when the 3rd network equipment is run are with the All information that two network equipments use when running are identical, so, the identification information of the 3rd network equipment also sets for the second network Standby identification information, the identification information of the network equipment carried in the configuration request message that the 3rd network equipment is sent is second The identification information of the network equipment.
Specifically, when the 3rd network equipment is the replacement equipment of second network equipment, because the 3rd network equipment is firm Information is configured without when installing successfully in system, then needs to obtain itself by connected at least one first network equipment Required configuration information during configuration, so needing to disappear to connected at least one first network equipment send configuration request Breath, required configuration information during causing connected at least one first network equipment to be sent to configuration.
When the 3rd network equipment is second network equipment, however, it is determined that the configuration information of second network equipment is due to occurring event When barrier causes to lose, then the 3rd network equipment is to connected at least one first network equipment send configuration request message, Required configuration information during causing connected at least one first network equipment to be sent to configure.
It should be noted that the configuration request message that the 3rd network equipment is sent at least one first network equipment, can It is used for the configured information for indicating request send configuration information with carrying, to cause at least one network equipment receiving carrying use When the configuration request message of the configured information of instruction request send configuration information, it is known that the letter that the 3rd network equipment needs Breath is any information;Any information can not also be added in the respective field for representing configuration information, to cause at least one net Network equipment receive represent configuration information respective field in do not add the configuration request message of any information when, parse this Configuration request message, it is determined that represent configuration information respective field in information be space-time, to the 3rd network equipment transmission match somebody with somebody Confidence ceases.
402nd, the 3rd network equipment receives at least one configuration that at least one first network equipment is sent and asked Seek response message.
Wherein, carried in the configuring request response message and the identification information of second network equipment is corresponding matches somebody with somebody Confidence ceases.
403rd, the 3rd network equipment is according at least one configuring request response message received, it is determined that configuration When the configuration information that uses.
Specifically, the 3rd network equipment is different according to the number of the configuring request response message received, it is determined that during configuration The method of the configuration information used is also different, specific as follows:
In the case where the 3rd network equipment receives a configuring request response message, the configuring request is rung Answer what is carried in message, what the configuration information corresponding with the identification information of second network equipment was defined as using during configuration matches somebody with somebody Confidence ceases.
In the case where the 3rd network equipment receives at least two configuring request response messages, at least two by described in Carried in individual configuring request response message, the configuration information corresponding with the identification information of second network equipment is compared Compared with, and will be carried at least two configuring requests response message, it is with the identification information of second network equipment corresponding The identical most configuration information of configuration information be defined as the configuration information that uses during configuration.
Exemplary, it is assumed that the 3rd network equipment receives 3 configuration request messages, then by this 3 configuring request responses Message is parsed, and then can get 3 configuration informations corresponding with the identification information of second network equipment, labeled as with Confidence breath 1, configuration information 2 and configuration information 3, are then respectively compared configuration information 1, configuration information 2 and configuration information 3 Compared with, if configuration information 1, configuration information 2 and all same of configuration information 3, then by configuration information 1, configuration information 2 and configuration information 3 In any configuration information be defined as the configuration information that uses during configuration;If configuration information 1 is identical with configuration information 2, configuration information 3 Differed with configuration information 1 and configuration information 2, be then defined as configuring by any configuration information in configuration information 1 and configuration information 2 When the configuration information that uses;If configuration information 1 is identical with configuration information 3, configuration information 2 and configuration information 1 and configuration information 3 are not It is identical, then any configuration information in configuration information 1 and configuration information 3 is defined as to the configuration information used during configuration;If configuration Information 2 is identical with configuration information 3, and configuration information 1 differs with configuration information 2 and configuration information 3, then by configuration information 2 and matches somebody with somebody Any configuration information is defined as the configuration information used during configuration in confidence breath 3.
It should be noted that if configuration information 1, configuration information 2 and configuration information 3 differ, then the 3rd network equipment Configuration information 1 can be chosen, the configuration used when any one configuration information in configuration information 2 and configuration information 3 is as configuration Information;Can also be again to connected at least one network equipment send configuration request message, until the configuration received Untill information has identical, that is, step 401) 403 is repeated, untill the configuration information received has identical.
It should be noted that in the case where the 3rd network equipment receives at least two configuring request response messages, the Three network equipments will can also carry at least two configuring request response messages that received, the mark with second network equipment The configuration information that any one configuration information in configuration information corresponding to information is defined as using during configuration is known, without that will receive At least two configuring request response messages in carry, the configuration information corresponding with the identification information of second network equipment is carried out Compare.
404th, the configuration information that uses is configured when the 3rd network equipment is according to the configuration of determination.
Specifically, after the configuration information that the 3rd network equipment uses when it is determined that configuring, that is, get what is used during configuration IP address, after the network segment information and username information of route, the IP address of acquisition is added to the position of IP address information input; The position that the network segment information of the network segment information of the route of acquisition added to route is inputted;Username information is added to user name The position of information input, so as to complete the configuration to configuration information.
The embodiments of the invention provide it is a kind of preserve configuration information method, the 3rd network equipment to itself be connected to Few first network equipment sends the configuration request message for the identification information for carrying second network equipment, to cause the first net Network equipment receive the 3rd network equipment transmission the identification information for carrying second network equipment configuration request message after, The configuring request response for carrying the configuration information corresponding with the identification information of second network equipment is sent to the 3rd network equipment Message, now, the 3rd network equipment get the configuration information of itself, and are configured according to the configuration information of acquisition, and nothing The participation of gateway device is needed, i.e. gateway device need not possess the configuration information for the all-network equipment that acquisition is managed itself Ability, it is not required that the configuration information of storage all-network equipment, thus it is relatively low to the performance requirement of gateway device, so as to reduce The cost of NMS.
The embodiments of the invention provide a kind of method for preserving configuration information, as shown in figure 4, including:
501st, second network equipment sends the mark for carrying second network equipment at least one first network equipment Know the message of information and configuration information.First network equipment receives second network that carries that second network equipment is sent and set Standby identification information and the message of configuration information.
Wherein, the configuration information includes:Corresponding to the IP address of second network equipment, second network equipment The username information of the network segment information of route and second network equipment;The first network equipment is set with second network Standby is neighbor device.
Specifically, referring to step 201 and step 301, the present invention will not be repeated here.
502nd, the first network equipment parses the message, obtains and stores the identification information of second network equipment And the configuration information.
Specifically, referring to step 202, the present invention will not be repeated here.
It is also different the step of following execution it should be noted that according to the difference of the state of the 3rd network equipment, the 3rd The network equipment then performs step 503 to break down, and in the case of second network equipment of recovery failure;In the 3rd network In the case of replacement equipment of the equipment for second network equipment, then step 503 is not performed.
503rd, the 3rd network equipment determines that the configuration information of itself whether there is.
Specifically, the 3rd network equipment searches the configuration information of itself, i.e. IP address, routing network in corresponding Information The information such as network information and username information, if finding the information such as IP address, route network information and username information, it is determined that The configuration information of itself is present;If do not find the information such as IP address, route network information and username information, it is determined that from The configuration information of body is not present.
It should be noted that in the case where the 3rd network equipment determines that the configuration information of itself is not present, then step is performed Rapid 504) 508;In the presence of the 3rd network equipment determines the configuration information of itself, then following either steps are not performed.
504th, the 3rd network equipment sends the configuration request message at least one first network equipment.Described One network equipment receives the configuration request message that the 3rd network equipment is sent.
Wherein, the identification information of second network equipment is carried in the configuration request message.
It should be noted that the configuration request message that the 3rd network equipment is sent at least one first network equipment, can It is used for the configured information for indicating request send configuration information with carrying, to cause at least one network equipment receiving carrying use When the configuration request message of the configured information of instruction request send configuration information, it is known that the letter that the 3rd network equipment needs Breath is any information;Any information can not also be added in the respective field for representing configuration information, to cause at least one net Network equipment receive represent configuration information respective field in do not add the configuration request message of any information when, parse this Configuration request message, it is determined that represent configuration information respective field in information be space-time, to the 3rd network equipment transmission match somebody with somebody Confidence ceases.
It should be noted that when the 3rd network equipment is the replacement equipment of second network equipment, because the 3rd network is set Standby be attached according to the circuit of second network equipment, then all information used when the 3rd network equipment is run are with the All information that two network equipments use when running are identical, so, the identification information of the 3rd network equipment also sets for the second network Standby identification information, the identification information of the network equipment carried in the configuration request message that the 3rd network equipment is sent is second The identification information of the network equipment.
505th, the first network equipment is according to the identification information of second network equipment, it is determined that with second network The configuration information corresponding to the identification information of equipment.
Specifically, first network equipment parses this and matched somebody with somebody when receiving the configuration request message of the 3rd network equipment transmission Request message is put, obtains the identification information of second network equipment, and according to the identification information of second network equipment, is stored before The identification information of the network equipment and the corresponding relation of configuration information in, search it is corresponding with the identification information of this second network equipment Configuration information, that is, determine the configuration information corresponding with the identification information of second network equipment.
506th, the first network equipment is to the 3rd network equipment send configuration request response.3rd net Network equipment receives at least one configuring request response message that at least one first network equipment is sent.
Wherein, the institute corresponding with the identification information of second network equipment is carried in the configuring request response message State configuration information.
507th, the 3rd network equipment is according at least one configuring request response message received, it is determined that configuration When the configuration information that uses.
Specifically, the 3rd network equipment is different according to the number of the configuring request response message received, it is determined that during configuration The method of the configuration information used is also different, specific as follows:
In the case where the 3rd network equipment receives a configuring request response message, the configuring request is rung Answer what is carried in message, what the configuration information corresponding with the identification information of second network equipment was defined as using during configuration matches somebody with somebody Confidence ceases.
In the case where the 3rd network equipment receives at least two configuring request response messages, at least two by described in Carried in individual configuring request response message, the configuration information corresponding with the identification information of second network equipment is compared Compared with, and will be carried at least two configuring requests response message, it is with the identification information of second network equipment corresponding The identical most configuration information of configuration information be defined as the configuration information that uses during configuration.
Specifically, the method for the configuration information that the 3rd network equipment determines to use during configuration refers to step 403, the present invention It will not be repeated here.
It should be noted that in the case where the 3rd network equipment receives at least two configuring request response messages, the Three network equipments will can also carry at least two configuring request response messages that received, the mark with second network equipment The configuration information that any one configuration information in configuration information corresponding to information is defined as using during configuration is known, without that will receive At least two configuring request response messages in carry, the configuration information corresponding with the identification information of second network equipment is carried out Compare.
508th, the configuration information that uses is configured when the 3rd network equipment is according to the configuration of determination.
Specifically, after the configuration information that the 3rd network equipment uses when it is determined that configuring, that is, get what is used during configuration IP address, after the network segment information and username information of route, the IP address of acquisition is added to the position of IP address information input; The position that the network segment information of the network segment information of the route of acquisition added to route is inputted;Username information is added to user name The position of information input, so as to complete the configuration to configuration information.
It should be noted that the first network equipment in Fig. 4 can be a network equipment;Can also be at least two nets Network equipment, the present invention are without limitation.
The embodiments of the invention provide a kind of method for preserving configuration information, first network equipment is receiving the second network After what equipment was sent carries the identification information of second network equipment and the message of configuration information, this message is parsed, obtains second The identification information and configuration information of the network equipment, and the identification information of second network equipment and configuration information are corresponded and carried out Storage, and in the configuration request message for the identification information for carrying second network equipment for receiving the transmission of the 3rd network equipment When, corresponding configuration information, and the configuration that this configuration information will be carried are determined according to the identification information of second network equipment Request response is sent to the 3rd network equipment, make it that the 3rd network equipment is configured according to this configuration information, and nothing The participation of gateway device is needed, i.e. gateway device need not possess the configuration information for the all-network equipment that acquisition is managed itself Ability, it is not required that the configuration information of storage all-network equipment, thus it is relatively low to the performance requirement of gateway device, further drop The low cost of NMS.
As shown in figure 5, it provides a kind of functional schematic of the network equipment for the embodiment of the present invention, should with reference to shown in figure 5 The network equipment includes:Receiving unit 601, processing unit 602 and memory cell 603.
The receiving unit 601, the mark for carrying second network equipment sent for receiving second network equipment Know the message of information and configuration information.The message includes LLDP messages.
Wherein, the configuration information includes:Corresponding to the IP address of second network equipment, second network equipment The username information of the network segment information of route and second network equipment;The network equipment is with second network equipment Neighbor device.
The processing unit 602, the message received for parsing the receiving unit 601, and obtain second net The identification information of network equipment and the configuration information.
The memory cell 603, the mark of second network equipment got for storing the processing unit 602 Information and the configuration information.
Further, the receiving unit 601, it is additionally operable to receive the configuration request message that the 3rd network equipment is sent.
Wherein, the identification information of second network equipment is carried in the configuration request message.
The processing unit 602, it is additionally operable to the mark of second network equipment received according to the receiving unit 601 Information is known, it is determined that the configuration information corresponding with the identification information of second network equipment.
Further, the network equipment, as shown in fig. 6, also including:Transmitting element 604.
The transmitting element 604, for the 3rd network equipment send configuration request response.
Wherein, the institute corresponding with the identification information of second network equipment is carried in the configuring request response message State configuration information.
The embodiment of the present invention provides a kind of network equipment, and the network equipment is receiving taking for second network equipment transmission Identification information with second network equipment and after the message of configuration information, parses this message, obtains the mark of second network equipment Know information and configuration information, and the identification information of second network equipment is corresponded with configuration information and stored, without The participation of gateway device, i.e. gateway device need not possess the energy for the configuration information for obtaining the all-network equipment itself managed Power, it is not required that the configuration information of storage all-network equipment, thus it is relatively low to the performance requirement of gateway device, so as to reduce The cost of NMS.
As shown in fig. 7, it provides a kind of functional schematic of the network equipment for the embodiment of the present invention, should with reference to shown in figure 7 The network equipment includes:Transmitting element 701.
The transmitting element 701, the mark of the network equipment is carried for being sent at least one first network equipment Know the message of information and configuration information.
Wherein, the configuration information includes:The net of route corresponding to the IP address of the network equipment, the network equipment The username information of segment information and the network equipment;The network equipment and at least one first network equipment are neighbours Equipment.
The embodiment of the present invention provides a kind of network equipment, and the network equipment is at least one first net being connected with itself Network equipment sends the message of the identification information and configuration information that carry the network equipment, to cause first network equipment connecing After receive that the network equipment sends carries the identification information of the network equipment and the message of configuration information, this report is parsed Text, obtains the identification information and configuration information of the network equipment, and by the identification information and configuration information of the network equipment One-to-one corresponding is stored, and without the participation of gateway device, i.e. gateway device need not possess the institute for obtaining and itself being managed There is the ability of the configuration information of the network equipment, it is not required that the configuration information of storage all-network equipment, so to gateway device Performance requirement it is relatively low, so as to reduce the cost of NMS.
As shown in figure 8, it provides a kind of functional schematic of the network equipment for the embodiment of the present invention, should with reference to shown in figure 8 The network equipment includes:Transmitting element 801, receiving unit 802 and processing unit 803.
The transmitting element 801, at least one first network equipment send configuration request message.
Wherein, the identification information of second network equipment is carried in the configuration request message.
The receiving unit 802, please for receiving at least one configuration that at least one first network equipment is sent Seek response message.
Wherein, carried in the configuring request response message and the identification information of second network equipment is corresponding matches somebody with somebody Confidence ceases.
The processing unit 803, at least one configuring request for being received according to the receiving unit 802 are rung Message is answered, it is determined that the configuration information used during configuration.
The processing unit 803, the configuration information for being additionally operable to use during the configuration according to determination are configured.
The processing unit 803, the feelings specifically for receiving a configuring request response message in the network equipment Under condition, by what is carried in the configuring request response message, corresponding with the identification information of second network equipment matches somebody with somebody confidence Breath is defined as the configuration information used during configuration.Or
In the case where the network equipment receives at least two configuring request response messages, described at least two are matched somebody with somebody Put what is carried in request response, compared with the configuration information corresponding with the identification information of second network equipment, and By what is carried at least two configuring requests response message, the configuration corresponding with the identification information of second network equipment The identical most configuration information of information is defined as the configuration information used during configuration.
Further, the processing unit 803, it is additionally operable to determine that the configuration information of the network equipment whether there is.
The transmitting element 801, specifically for determining the configuration information of the network equipment not in the processing unit 803 In the presence of, send the configuration request message at least one first network equipment.
The embodiment of the present invention provides a kind of network equipment, and the network equipment is at least one first net being connected with itself Network equipment sends the configuration request message for the identification information for carrying second network equipment, to cause first network equipment receiving After the configuration request message of the identification information for carrying second network equipment sent to the network equipment, set to the network Preparation send the configuring request response message for carrying the configuration information corresponding with the identification information of second network equipment, now, institute State the network equipment and get the configuration information of itself, and configured according to the configuration information of acquisition, without gateway device Participate in, i.e., gateway device need not possess the ability for the configuration information for obtaining the all-network equipment itself managed, also be not required to The configuration information of all-network equipment is stored, thus it is relatively low to the performance requirement of gateway device, so as to reduce network management The cost of system.
As shown in figure 9, a kind of structural representation of its network equipment provided by the embodiment of the present invention, with reference to the institute of figure 9 Show, the network equipment includes:Receiver 901, transmitter 902, memory 903, and respectively with receiver 901, transmitter 902nd, the processor 904 that memory 903 connects.
Wherein, batch processing code is stored in memory 903, and processor 904 is used to call what is stored in memory 903 Program code.Receiver 901, transmitter 902 and processor 904 are used to perform following operation:
The receiver 901, the mark for carrying second network equipment sent for receiving second network equipment The message of information and configuration information.The message includes LLDP messages.
Wherein, the configuration information includes:Corresponding to the IP address of second network equipment, second network equipment The username information of the network segment information of route and second network equipment;The network equipment is with second network equipment Neighbor device.
The processor 904, the message received for parsing the receiver 901, and obtain second network and set Standby identification information and the configuration information.
The memory 903, the identification information of second network equipment got for storing the processor 904 And the configuration information.
Further, the receiver 901, it is additionally operable to receive the configuration request message that the 3rd network equipment is sent.
Wherein, the identification information of second network equipment is carried in the configuration request message.
The processor 904, it is additionally operable to the mark letter of second network equipment received according to the receiver 901 Breath, it is determined that the configuration information corresponding with the identification information of second network equipment.
The transmitter 902, for the 3rd network equipment send configuration request response.
Wherein, the institute corresponding with the identification information of second network equipment is carried in the configuring request response message State configuration information.
The embodiment of the present invention provides a kind of network equipment, and the network equipment is receiving taking for second network equipment transmission Identification information with second network equipment and after the message of configuration information, parses this message, obtains the mark of second network equipment Know information and configuration information, and the identification information of second network equipment is corresponded with configuration information and stored, without The participation of gateway device, i.e. gateway device need not possess the energy for the configuration information for obtaining the all-network equipment itself managed Power, it is not required that the configuration information of storage all-network equipment, thus it is relatively low to the performance requirement of gateway device, so as to reduce The cost of NMS.
As shown in Figure 10, the structural representation of its a kind of network equipment provided by the embodiment of the present invention, with reference to figure 10 Shown, the network equipment includes:Transmitter 1001 and memory 1002.
Wherein, batch processing code is stored in memory 1002, and transmitter 1001 is used to call to deposit in memory 1002 The program code of storage.Transmitter 1002 is used to perform following operation:
The transmitter 1001, the mark of the network equipment is carried for being sent at least one first network equipment The message of information and configuration information.
Wherein, the configuration information includes:The net of route corresponding to the IP address of the network equipment, the network equipment The username information of segment information and the network equipment;The network equipment and at least one first network equipment are neighbours Equipment.
The embodiment of the present invention provides a kind of network equipment, and the network equipment is at least one first net being connected with itself Network equipment sends the message of the identification information and configuration information that carry the network equipment, to cause first network equipment connecing After receive that the network equipment sends carries the identification information of the network equipment and the message of configuration information, this report is parsed Text, obtains the identification information and configuration information of the network equipment, and by the identification information and configuration information of the network equipment One-to-one corresponding is stored, and without the participation of gateway device, i.e. gateway device need not possess the institute for obtaining and itself being managed There is the ability of the configuration information of the network equipment, it is not required that the configuration information of storage all-network equipment, so to gateway device Performance requirement it is relatively low, so as to reduce the cost of NMS.
As shown in figure 11, the structural representation of its a kind of network equipment provided by the embodiment of the present invention, with reference to figure 11 Shown, the network equipment includes:Transmitter 1101, receiver 1102, memory 1103, and respectively with transmitter 1101, connect Receive device 1102, the processor 1104 that memory 1103 connects.
Wherein, batch processing code is stored in memory 1103, and processor 1104 is used to call to deposit in memory 1103 The program code of storage.Transmitter 1101, receiver 1102 and processor 1104 are used to perform following operation:
The transmitter 1101, at least one first network equipment send configuration request message.
Wherein, the identification information of second network equipment is carried in the configuration request message.
The receiver 1102, at least one configuring request sent for receiving at least one first network equipment Response message.
Wherein, carried in the configuring request response message and the identification information of second network equipment is corresponding matches somebody with somebody Confidence ceases.
The processor 1104, at least one configuring request for being received according to the receiver 1102 respond Message, it is determined that the configuration information used during configuration.
The processor 1104, the configuration information for being additionally operable to use during the configuration according to determination are configured.
The processor 1104, the situation specifically for receiving a configuring request response message in the network equipment Under, by what is carried in the configuring request response message, the configuration information corresponding with the identification information of second network equipment It is defined as the configuration information used during configuration.Or
In the case where the network equipment receives at least two configuring request response messages, described at least two are matched somebody with somebody Put what is carried in request response, compared with the configuration information corresponding with the identification information of second network equipment, and By what is carried at least two configuring requests response message, the configuration corresponding with the identification information of second network equipment The identical most configuration information of information is defined as the configuration information used during configuration.
Further, the processor 1104, it is additionally operable to determine that the configuration information of the network equipment whether there is.
The transmitter 1101, specifically for determining that the configuration information of the network equipment is not deposited in the processor 1104 In case, the configuration request message is sent at least one first network equipment.
The embodiment of the present invention provides a kind of network equipment, and the network equipment is at least one first net being connected with itself Network equipment sends the configuration request message for the identification information for carrying second network equipment, to cause first network equipment receiving After the configuration request message of the identification information for carrying second network equipment sent to the network equipment, set to the network Preparation send the configuring request response message for carrying the configuration information corresponding with the identification information of second network equipment, now, institute State the network equipment and get the configuration information of itself, and configured according to the configuration information of acquisition, without gateway device Participate in, i.e., gateway device need not possess the ability for the configuration information for obtaining the all-network equipment itself managed, also be not required to The configuration information of all-network equipment is stored, thus it is relatively low to the performance requirement of gateway device, so as to reduce network management The cost of system.
The embodiment of the present invention provides a kind of system for preserving configuration information, as shown in figure 12, including:First network equipment 1201, second network equipment 1202 and the 3rd network equipment 1203.
Wherein,
The first network equipment 1201 is the network equipment described in above-described embodiment.
Second network equipment 1202 is the network equipment described in above-described embodiment.
3rd network equipment 1203 is the network equipment described in above-described embodiment.
The embodiments of the invention provide a kind of system for preserving configuration information, including first network equipment, the second network to set Standby and the 3rd network equipment, first network equipment are receiving the mark for carrying second network equipment of second network equipment transmission After the message for knowing information and configuration information, this message is parsed, obtains the identification information and configuration information of second network equipment, and will The identification information of second network equipment is corresponded with configuration information and stored, and is receiving the transmission of the 3rd network equipment When carrying the configuration request message of the identification information of second network equipment, according to the identification information of second network equipment determine with Its corresponding configuration information, and the configuring request response message for carrying this configuration information is sent to the 3rd network equipment, so that Obtain the 3rd network equipment to be configured according to this configuration information, without the participation of gateway device, i.e. gateway device need not have The ability of the standby configuration information for obtaining the all-network equipment itself managed, it is not required that the configuration of storage all-network equipment Information, thus it is relatively low to the performance requirement of gateway device, it reduce further the cost of NMS.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That the independent physics of unit includes, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in one and computer-readable deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are causing a computer The network equipment (can be personal computer, server, or network equipment etc.) performs each embodiment methods described of the present invention Part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read) Only Memory, referred to as ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc. are various to store The medium of program code.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (13)

  1. A kind of 1. method for preserving configuration information, it is characterised in that including:
    First network equipment receives the identification information and the configuration that carry second network equipment that second network equipment is sent The message of information;Wherein, the configuration information includes:The network protocol IP address of second network equipment, second net The username information of the network segment information of route and second network equipment corresponding to network equipment;The first network equipment and institute It is neighbor device to state second network equipment;
    The first network equipment parses the message, obtains and stores the identification information of second network equipment and described match somebody with somebody Confidence ceases;
    The first network equipment receives the configuration request message that the 3rd network equipment is sent;Wherein, the configuration request message In carry the identification information of second network equipment;
    The first network equipment is according to the identification information of second network equipment, it is determined that the mark with second network equipment Know the configuration information corresponding to information;
    The first network equipment is to the 3rd network equipment send configuration request response;Wherein, the configuring request The configuration information corresponding with the identification information of second network equipment is carried in response message.
  2. 2. according to the method for claim 1, it is characterised in that the message includes Link Layer Discovery Protocol LLDP messages.
  3. A kind of 3. method for preserving configuration information, it is characterised in that including:
    Second network equipment at least one first network equipment send carry second network equipment identification information and The message of configuration information, to enable the first network equipment according to the identification information of second network equipment to the 3rd The network equipment sends the configuration information of second network equipment;Wherein, the configuration information includes:Second network equipment Network protocol IP address, the user of the network segment information of route and second network equipment corresponding to second network equipment Name information;Second network equipment and at least one first network equipment are neighbor device.
  4. A kind of 4. method for preserving configuration information, it is characterised in that including:
    3rd network equipment is at least one first network equipment send configuration request message;Wherein, the configuration request message In carry the identification information of second network equipment;
    3rd network equipment receives at least one configuring request response that at least one first network equipment is sent and disappeared Breath;Wherein, carried in the configuring request response message and corresponding with the identification information of second network equipment match somebody with somebody confidence Breath;
    3rd network equipment is according at least one configuring request response message received, it is determined that using during configuration Configuration information;
    The configuration information used when 3rd network equipment is according to the configuration of determination is configured.
  5. 5. according to the method for claim 4, it is characterised in that the 3rd network equipment according to receive it is described at least One configuring request response message, it is determined that the configuration information used during configuration includes:
    In the case where the 3rd network equipment receives a configuring request response message, configuring request response is disappeared Carried in breath, what the configuration information corresponding with the identification information of second network equipment was defined as using during configuration matches somebody with somebody confidence Breath;Or
    In the case where the 3rd network equipment receives at least two configuring request response messages, described at least two are matched somebody with somebody Put what is carried in request response, compared with the configuration information corresponding with the identification information of second network equipment, and By what is carried at least two configuring requests response message, the configuration corresponding with the identification information of second network equipment The identical most configuration information of information is defined as the configuration information used during configuration.
  6. 6. the method according to claim 4 or 5, it is characterised in that in the 3rd network equipment at least one first Before network equipment send configuration request message, in addition to:
    3rd network equipment determines that the configuration information of itself whether there is;
    3rd network equipment includes at least one first network equipment send configuration request message:
    In the case where the 3rd network equipment determines that the configuration information of itself is not present, the 3rd network equipment is at least One first network equipment sends the configuration request message.
  7. A kind of 7. network equipment, it is characterised in that including:
    Receiving unit, the identification information and the configuration that carry second network equipment sent for receiving second network equipment The message of information;Wherein, the configuration information includes:The network protocol IP address of second network equipment, second net The username information of the network segment information of route and second network equipment corresponding to network equipment;The network equipment and described the Two network equipments are neighbor device;
    Processing unit, the message received for parsing the receiving unit, and obtain the mark letter of second network equipment Breath and the configuration information;
    Memory cell, the identification information of second network equipment got for storing the processing unit and the configuration Information;
    The receiving unit, it is additionally operable to receive the configuration request message that the 3rd network equipment is sent;Wherein, the configuring request disappears The identification information of second network equipment is carried in breath;
    The processing unit, the identification information of second network equipment received according to the receiving unit is additionally operable to, really The fixed configuration information corresponding with the identification information of second network equipment;
    The network equipment also includes transmitting element, and the transmitting element is used to ask to the 3rd network equipment send configuration Response message;Wherein, carried in the configuring request response message corresponding with the identification information of second network equipment The configuration information.
  8. 8. the network equipment according to claim 7, it is characterised in that the message is reported including Link Layer Discovery Protocol LLDP Text.
  9. A kind of 9. network equipment, it is characterised in that including:
    Transmitting element, identification information and the configuration of the network equipment are carried for being sent at least one first network equipment The message of information, to enable the first network equipment according to the identification information of the network equipment to the 3rd network equipment Send the configuration information of the network equipment;Wherein, the configuration information includes:The procotol IP of the network equipment The username information of the network segment information of route and the network equipment corresponding to location, the network equipment;The network equipment with At least one first network equipment is neighbor device.
  10. A kind of 10. network equipment, it is characterised in that including:
    Transmitting element, at least one first network equipment send configuration request message;Wherein, the configuration request message In carry the identification information of second network equipment;
    Receiving unit, at least one configuring request response message sent for receiving at least one first network equipment; Wherein, the configuration information corresponding with the identification information of second network equipment is carried in the configuring request response message;
    Processing unit, at least one configuring request response message received according to the receiving unit, it is determined that matching somebody with somebody The configuration information used when putting;
    The processing unit, the configuration information for being additionally operable to use during the configuration according to determination are configured.
  11. 11. the network equipment according to claim 10, it is characterised in that
    The processing unit, will in the case of receiving a configuring request response message in the network equipment Carried in the configuring request response message, the configuration information corresponding with the identification information of second network equipment is defined as The configuration information used during configuration;Or
    , please by described at least two configurations in the case where the network equipment receives at least two configuring request response messages Ask what is carried in response message, compared with the configuration information corresponding with the identification information of second network equipment, and by institute State what is carried at least two configuring request response messages, the configuration information corresponding with the identification information of second network equipment Identical most configuration information is defined as the configuration information used during configuration.
  12. 12. the network equipment according to claim 10 or 11, it is characterised in that
    The processing unit, it is additionally operable to determine that the configuration information of the network equipment whether there is;
    The transmitting element, the situation that the configuration information specifically for determining the network equipment in the processing unit is not present Under, send the configuration request message at least one first network equipment.
  13. A kind of 13. system for preserving configuration information, it is characterised in that including:First network equipment, second network equipment and the 3rd The network equipment;Wherein,
    The first network equipment is the network equipment described in claim 7 or 8;
    Second network equipment is the network equipment described in claim 9;
    3rd network equipment is the network equipment any one of claim 10-12.
CN201410531261.6A 2014-10-10 2014-10-10 A kind of method, apparatus and system for preserving configuration information Active CN104301141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410531261.6A CN104301141B (en) 2014-10-10 2014-10-10 A kind of method, apparatus and system for preserving configuration information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410531261.6A CN104301141B (en) 2014-10-10 2014-10-10 A kind of method, apparatus and system for preserving configuration information

Publications (2)

Publication Number Publication Date
CN104301141A CN104301141A (en) 2015-01-21
CN104301141B true CN104301141B (en) 2018-02-09

Family

ID=52320720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410531261.6A Active CN104301141B (en) 2014-10-10 2014-10-10 A kind of method, apparatus and system for preserving configuration information

Country Status (1)

Country Link
CN (1) CN104301141B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110580767A (en) * 2018-06-11 2019-12-17 山东新北洋信息技术股份有限公司 configuration management method and device for vending machine

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581747A (en) * 2015-01-22 2015-04-29 小米科技有限责任公司 Network expansion method and device
CN106888132B (en) * 2017-04-28 2020-09-08 杭州迪普科技股份有限公司 Method and device for managing configuration information
CN109391316B (en) * 2017-08-11 2020-06-02 维沃移动通信有限公司 Frequency band state processing method and equipment
CN109495285B (en) * 2017-09-13 2020-12-15 华为技术有限公司 Network equipment configuration method and network equipment
CN108123833A (en) * 2017-12-15 2018-06-05 成都盯盯科技有限公司 The method of automatic recovery configuring file based on LAN
CN110011820B (en) * 2018-01-04 2022-03-18 中兴通讯股份有限公司 Method and device for connecting systems and computer storage medium
CN110324246B (en) 2018-03-31 2021-12-24 华为技术有限公司 Communication method and device
CN110417582B (en) * 2019-07-03 2021-01-29 华为技术有限公司 Router configuration method, terminal and router
CN111885215A (en) * 2020-07-10 2020-11-03 济南浪潮数据技术有限公司 Configuration method, device, system and medium for IP address of storage equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006132487A1 (en) * 2005-06-06 2006-12-14 Samsung Electronics Co., Ltd. Method for discovering neighbor networks in mobile station and network system for enabling the method
CN101682618A (en) * 2007-05-17 2010-03-24 诺基亚公司 A node and method to provide and keep real-time up-to-date data in a distributed hash table
CN101764734A (en) * 2008-12-25 2010-06-30 中兴通讯股份有限公司 Method for improving neighbor discovery safety in IPv6 (Internet Protocol Version 6) environment and broadband access equipment
CN103117913A (en) * 2013-01-31 2013-05-22 杭州华三通信技术有限公司 Method and equipment for informing MAC (media access control) address information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2015535A1 (en) * 2007-07-10 2009-01-14 Panasonic Corporation Detection of mobility functions implemented in a mobile node

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006132487A1 (en) * 2005-06-06 2006-12-14 Samsung Electronics Co., Ltd. Method for discovering neighbor networks in mobile station and network system for enabling the method
CN101682618A (en) * 2007-05-17 2010-03-24 诺基亚公司 A node and method to provide and keep real-time up-to-date data in a distributed hash table
CN101764734A (en) * 2008-12-25 2010-06-30 中兴通讯股份有限公司 Method for improving neighbor discovery safety in IPv6 (Internet Protocol Version 6) environment and broadband access equipment
CN103117913A (en) * 2013-01-31 2013-05-22 杭州华三通信技术有限公司 Method and equipment for informing MAC (media access control) address information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110580767A (en) * 2018-06-11 2019-12-17 山东新北洋信息技术股份有限公司 configuration management method and device for vending machine

Also Published As

Publication number Publication date
CN104301141A (en) 2015-01-21

Similar Documents

Publication Publication Date Title
CN104301141B (en) A kind of method, apparatus and system for preserving configuration information
US11528226B2 (en) Network validation with dynamic tunneling
EP2568670B1 (en) Method for message forwarding and device for deep packet inspection
CN103404084B (en) MAC Address forces retransmission unit and method
CN103997414A (en) Configuration information generation method and network control unit
US9973427B2 (en) Method for determining management domain, network device, and virtual cluster
CN104869057A (en) OpeFlow switch graceful restart processing method, device and OpeFlow controller
EP3257205B1 (en) Discovering links between operating domains in a communication network
CN107615710A (en) Direct reply action in SDN switch
CN101631060B (en) Method and device for managing edge port
CN105207909B (en) A kind of method and network equipment sending information
US10084656B2 (en) TRILL network establishing method, node, and system
CN105812221B (en) The device and method of data transmission in virtual expansible Local Area Network
CN107888711B (en) Cross-network-segment equipment searching and communication method
CN107465621A (en) A kind of router finds method, SDN controllers, router and network system
US20210377125A1 (en) Network Topology Discovery Method, Device, and System
CN107786441B (en) Communication method, OpenFlow switch and communication system
CN112217680A (en) Controller capability benchmark test method and device based on software-defined wide area network
CN103227733A (en) Topology discovery method and topology discovery system
CN110830295B (en) Equipment management method and system
CN110109933B (en) Information maintenance method, configuration management database system and storage medium
CN108418709B (en) Port aggregation method and device
CN106936900B (en) Clustered node statistical method and device
CN104219126A (en) Automatic learning method and equipment for subring protocol VLAN (virtual local area network) in virtual channel mode
CN107306202A (en) A kind of network management, server, client and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant