CN104301141A - Method, device and system for storing configuration information - Google Patents

Method, device and system for storing configuration information Download PDF

Info

Publication number
CN104301141A
CN104301141A CN201410531261.6A CN201410531261A CN104301141A CN 104301141 A CN104301141 A CN 104301141A CN 201410531261 A CN201410531261 A CN 201410531261A CN 104301141 A CN104301141 A CN 104301141A
Authority
CN
China
Prior art keywords
network equipment
configuration information
information
message
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410531261.6A
Other languages
Chinese (zh)
Other versions
CN104301141B (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 invention provides a method, device and system for storing configuration information and relates to the field of communication. The method, device and system for storing the configuration information are used for storing the configuration information of a network device in other network devices connected with the network device so that cost of a network management system can be reduced. The method includes the steps that the first network device receives a message which is sent by the second network device and carries identification information and configuration information of the second network device, wherein the configuration information comprises a networking protocol IP address of the second network device, network segment information of a route corresponding to the second network device and user name information of the second network device, and the first network device is adjacent to the second network device; the first network device analyzes the message and obtains and stores the identification information and the configuration information of the second network device.

Description

A kind of method, Apparatus and system preserving configuration information
Technical field
The present invention relates to the communications field, particularly relate to a kind of method, the Apparatus and system of preserving configuration information.
Background technology
In network management system, if the network equipment is more outmoded or when breaking down, usually the network equipment that is outmoded or that break down is needed to replace with the new network equipment, when replacing, the step performed is needed to comprise: the new network equipment connects according to the original connected mode of the network equipment that is outmoded or that break down by operating personnel, then configuration information is arranged to the new network equipment, wherein, configuration information comprises: IP (Internet Protocol, procotol) address, the network segment information of route and username information etc.Finally send configuration file when the original network equipment that is outmoded or that break down normally runs by gateway device to the new network equipment, normally run according to this configuration file to make the new network equipment.
In the prior art, the method new network equipment being arranged to configuration information is as follows: gateway device obtains the configuration information of the all-network equipment self managed, and by the IP address in the configuration information of the network equipment of acquisition, the network segment information of route and username information etc. store with the identification information one_to_one corresponding of the network equipment.When the original network equipment that is outmoded or that break down is replaced by the new network equipment, because the new network equipment carries out connecting according to the original circuit of the network equipment that is outmoded or that break down, so the identification information of the new network equipment identification information of the network equipment that is outmoded with original or that break down is identical, the then new network equipment sends to gateway device and carries the original outmoded or configuration request message of the identification information of the network equipment that breaks down, to make gateway device when receiving this configuration request message, search and the original outmoded or configuration information of the identification information match of the network equipment that breaks down, and this configuration information is sent to the new network equipment, to make the new network equipment according to the IP address received in configuration information, the network segment information of route and username information etc. configure accordingly, thus complete layoutprocedure.
But in above-mentioned implementation, gateway device needs to obtain and stores the configuration information of the all-network equipment self managed, so gateway device needs the function possessing the configuration information obtaining the network equipment, and when the network equipment of gateway device management is a lot, require that gateway device needs the configuration information that enough memory spaces carry out storage networking device, and the corresponding relation of the identification information of configuration information and the network equipment, so higher to the performance requirement of gateway device, the cost of network management system is caused to increase.
Summary of the invention
Embodiments of the invention provide a kind of method, the Apparatus and system of preserving configuration information, for the configuration information of the network equipment is stored in other network equipments connected, thus reduce the cost of network management system.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, the embodiment of the present invention provides a kind of method of preserving configuration information, comprising: what first network equipment reception second network equipment sent carries the described identification information of second network equipment and the message of configuration information; Wherein, described configuration information comprises: the procotol IP address of described second network equipment, the network segment information of route that described second network equipment is corresponding and the username information of described second network equipment; Described first network equipment and described second network equipment are neighbor device; Message described in described first network device parses, obtains and stores the identification information of described second network equipment and described configuration information.
In conjunction with first aspect, in the first possible implementation of first aspect, message described in described first network device parses, obtain and after the identification information storing described second network equipment and described configuration information, also comprise: described first network equipment receives the configuration request message that the 3rd network equipment sends; Wherein, the identification information of described second network equipment is carried in described configuration request message; Described first network equipment, according to the identification information of described second network equipment, determines the described configuration information corresponding with the identification information of described second network equipment; Described first network equipment sends configuring request response message to described 3rd network equipment; Wherein, the described configuration information corresponding with the identification information of described second network equipment is carried in described configuring request response message.
In conjunction with first aspect, or the first possible implementation of first aspect, in the second of first aspect mode in the cards, described message comprises Link Layer Discovery Protocol LLDP message.
Second aspect, the embodiment of the present invention provides a kind of method of preserving configuration information, comprising: second network equipment sends at least one first network equipment and carries the described identification information of second network equipment and the message of configuration information; Wherein, described configuration information comprises: the procotol IP address of described second network equipment, the network segment information of route that described second network equipment is corresponding and the username information of described second network equipment; Described second network equipment and at least one first network equipment described are neighbor device.
The third aspect, the embodiment of the present invention provides a kind of method of preserving configuration information, comprising: the 3rd network equipment sends configuration request message at least one first network equipment; Wherein, the identification information of second network equipment is carried in described configuration request message; Described 3rd network equipment receives at least one configuring request response message that at least one first network equipment described sends; Wherein, the configuration information corresponding with the identification information of described second network equipment is carried in described configuring request response message; Described 3rd network equipment, according at least one the configuring request response message described received, determines the configuration information of use during configuration; Described 3rd network equipment is configured according to the configuration information used during the described configuration determined.
In conjunction with the third aspect, in the first implementation of the third aspect, described 3rd network equipment is according at least one the configuring request response message described received, the configuration information used when determining to configure comprises: when described 3rd network equipment receives a configuring request response message, by what carry in described configuring request response message, the configuration information used when the configuration information corresponding with the identification information of described second network equipment is defined as configuring; Or, when described 3rd network equipment receives at least two configuring request response messages, by what carry in described at least two configuring request response messages, the configuration information corresponding with the identification information of described second network equipment compares, and will carry in described at least two configuring request response messages, the configuration information that uses when the identical maximum configuration information of the configuration information corresponding with the identification information of described second network equipment is defined as configuring.
In conjunction with the third aspect, or the first possible implementation of the third aspect, in the implementation that the second of the third aspect is possible, before described 3rd network equipment sends configuration request message at least one first network equipment, also comprise: described 3rd network equipment determines whether the configuration information of self exists; Described 3rd network equipment sends configuration request message at least one first network equipment and comprises: under described 3rd network equipment determines the non-existent situation of the configuration information of self, described 3rd network equipment sends described configuration request message at least one first network equipment.
Fourth aspect, the embodiment of the present invention provides a kind of network equipment, comprising: receiving element, for receive second network equipment send carry the described identification information of second network equipment and the message of configuration information; Wherein, described configuration information comprises: the procotol IP address of described second network equipment, the network segment information of route that described second network equipment is corresponding and the username information of described second network equipment; The described network equipment and described second network equipment are neighbor device; Processing unit, for resolving the message that described receiving element receives, and obtains the identification information of described second network equipment and described configuration information; Memory cell, for storing the identification information of the described second network equipment that described processing unit gets and described configuration information.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, also comprise: transmitting element, described receiving element, also for receiving the configuration request message that the 3rd network equipment sends; Wherein, the identification information of described second network equipment is carried in described configuration request message; Described processing unit, the identification information of described second network equipment also for receiving according to described receiving element, determines the described configuration information corresponding with the identification information of described second network equipment; Transmitting element, for sending configuring request response message to described 3rd network equipment; Wherein, the described configuration information corresponding with the identification information of described second network equipment is carried in described configuring request response message.
In conjunction with fourth aspect, or the first possible implementation of fourth aspect, in the implementation that the second of fourth aspect is possible, described message comprises Link Layer Discovery Protocol LLDP message.
5th aspect, the embodiment of the present invention provides a kind of network equipment, comprising: transmitting element, carries the identification information of the described network equipment and the message of configuration information for sending at least one first network equipment; Wherein, described configuration information comprises: the procotol IP address of the described network equipment, the network segment information of route that the described network equipment is corresponding and the username information of the described network equipment; The described network equipment and at least one first network equipment described are neighbor device.
6th aspect, the embodiment of the present invention provides a kind of network equipment, comprising: transmitting element, for sending configuration request message at least one first network equipment; Wherein, the identification information of second network equipment is carried in described configuration request message; Receiving element, for receiving at least one configuring request response message that at least one first network equipment described sends; Wherein, the configuration information corresponding with the identification information of described second network equipment is carried in described configuring request response message; Processing unit, at least one configuring request response message described in receiving according to described receiving element, the configuration information used when determining to configure; Described processing unit, also for being configured according to the configuration information used during the described configuration determined.
In conjunction with the 6th aspect, in the first possible implementation in the 6th, described processing unit, specifically for when the described network equipment receives a configuring request response message, by what carry in described configuring request response message, the configuration information used when the configuration information corresponding with the identification information of described second network equipment is defined as configuring; Or, when the described network equipment receives at least two configuring request response messages, by what carry in described at least two configuring request response messages, the configuration information corresponding with the identification information of described second network equipment compares, and will carry in described at least two configuring request response messages, the configuration information that uses when the identical maximum configuration information of the configuration information corresponding with the identification information of described second network equipment is defined as configuring.
In conjunction with the 6th aspect, or the first possible implementation of the 6th aspect, in the implementation that the second in the 6th is possible, described processing unit, also for determining whether the configuration information of the described network equipment exists; Described transmitting element, under determining the non-existent situation of the configuration information of the described network equipment at described processing unit, sends described configuration request message at least one first network equipment.
7th aspect, the embodiment of the present invention provides a kind of system of preserving configuration information, comprises the first network equipment described in above-described embodiment, second network equipment and the 3rd network equipment.
Embodiments provide a kind of method of preserving configuration information, Apparatus and system, first network equipment receive second network equipment send carry the identification information of second network equipment and the message of configuration information after, resolve this message, obtain identification information and the configuration information of second network equipment, and the identification information of second network equipment and configuration information one_to_one corresponding are stored, and without the need to the participation of gateway device, namely gateway device does not need the ability possessing the configuration information obtaining the all-network equipment self managed, the configuration information storing all-network equipment is not needed yet, so lower to the performance requirement of gateway device, thus reduce the cost of network management system.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
A kind of computer and network equipment that Fig. 1 provides for the embodiment of the present invention, the connection diagram between the network equipment and the network equipment;
A kind of schematic flow sheet preserving the method for configuration information that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of the method for the another kind preservation configuration information that Fig. 3 provides for the embodiment of the present invention;
The schematic flow sheet of the method for the another kind preservation configuration information that Fig. 4 provides for the embodiment of the present invention;
The functional schematic of a kind of network equipment that Fig. 5 provides for the embodiment of the present invention;
The functional schematic of the another kind of network equipment that Fig. 6 provides for the embodiment of the present invention;
The functional schematic of the another kind of network equipment that Fig. 7 provides for the embodiment of the present invention;
The functional schematic of the another kind of network equipment that Fig. 8 provides for the embodiment of the present invention;
The structural representation of a kind of network equipment that Fig. 9 provides for the embodiment of the present invention;
The structural representation of the another kind of network equipment that Figure 10 provides for the embodiment of the present invention;
The structural representation of the another kind of network equipment that Figure 11 provides for the embodiment of the present invention;
A kind of structural representation preserving the system of configuration information that Figure 12 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The present invention is applied to the scene of preserving configuration information between neighbor device.As shown in Figure 1, it is computer and network equipment, and the connection diagram between the network equipment and the network equipment.Comprise first network equipment, second network equipment, network equipment A, network equipment B, network equipment C, computer A, computer B and computer C.As seen from Figure 1, computer A and first network equipment connection, computer B and second network equipment connection, computer C is connected with network equipment C, first network equipment is connected with second network equipment and network equipment B respectively, second network equipment is also connected with network equipment A, and network equipment C is connected with network equipment B with network equipment A respectively.Therefore, can draw: the neighbor device of first network equipment is second network equipment and network equipment B; The neighbor device of second network equipment is first network equipment and network equipment A; The neighbor device of network equipment A is network equipment B (network equipment C and second network equipment; The neighbor device of network equipment B is network equipment A, network equipment C and first network equipment; The neighbor device of network equipment C is network equipment A and network equipment B.
Embodiments provide a kind of method of preserving configuration information, as shown in Figure 2, comprising:
What 201, first network equipment reception second network equipment sent carries the described identification information of second network equipment and the message of configuration information.
Wherein, described configuration information comprises: IP (Internet Protocol, the procotol) address of described second network equipment, the network segment information of route that described second network equipment is corresponding and the username information of described second network equipment; Described first network equipment and described second network equipment are neighbor device.
It should be noted that, the identification information of second network equipment be generally predefined can the information of unique identification second network equipment, such as: the identification information of second network equipment is Router1, and the identification information of first network equipment is Router2, first network equipment and second network equipment so just can be distinguished.The network segment information of route is generally default gateway address, and such as: the IP address of network equipment A is 192.168.0.5, then the network segment information of corresponding with network equipment A route is 192.168.0.1; The IP address of network equipment B is 192.168.1.5, then the network segment information of corresponding with network equipment B route is 192.168.1.1.Username information refers to the user-defined information for identifying user identity, such as: Administrator, Zhangsan etc.
It should be noted that, first network equipment is switch or router, and second network equipment is switch or router, and the present invention does not limit this.
It should be noted that, second network equipment can be LLDP (Link Layer Discovery to the message that at least one first network equipment sends, Link Layer Discovery Protocol) message, also can be HGMP (Huawei Group Management Protocol, Huawei's igmpinternet) message etc., the present invention does not limit this.
It should be noted that, configuration information can also comprise the encrypted message etc. corresponding with username information, and the present invention does not limit this.
202, message described in described first network device parses, obtains and stores the identification information of described second network equipment and described configuration information.
Concrete, first network equipment is when receiving the identification information carrying second network equipment and the message of configuration information that second network equipment sends, resolve this message, obtain the identification information of second network equipment, the IP address of second network equipment, the network segment information of route and username information, and the identification information of second network equipment and the IP address of second network equipment, the network segment information of route and username information one_to_one corresponding are stored.
Embodiments provide a kind of method of preserving configuration information, first network equipment receive second network equipment send carry the identification information of second network equipment and the message of configuration information after, resolve this message, obtain identification information and the configuration information of second network equipment, and the identification information of second network equipment and configuration information one_to_one corresponding are stored, and without the need to the participation of gateway device, namely gateway device does not need the ability possessing the configuration information obtaining the all-network equipment self managed, the configuration information storing all-network equipment is not needed yet, so lower to the performance requirement of gateway device, thus reduce the cost of network management system.
Embodiments provide a kind of method of preserving configuration information, comprising:
301, second network equipment sends at least one first network equipment and carries the described identification information of second network equipment and the message of configuration information.
Wherein, described configuration information comprises: the IP address of described second network equipment, the network segment information of route that described second network equipment is corresponding and the username information of described second network equipment.Described second network equipment and at least one first network equipment described are neighbor device.
It should be noted that, the identification information of second network equipment be generally predefined can the information of unique identification second network equipment, such as: the identification information of second network equipment is Router1, and the identification information of first network equipment is Router2, first network equipment and second network equipment so just can be distinguished.The network segment information of route is generally default gateway address, and such as: the IP address of network equipment A is 192.168.0.5, then the network segment information of corresponding with network equipment A route is 192.168.0.1; The IP address of network equipment B is 192.168.1.5, then the network segment information of corresponding with network equipment B route is 192.168.1.1.Username information refers to the user-defined information for identifying user identity, such as: Administrator, Zhangsan etc.
It should be noted that, second network equipment can be LLDP message to the message that at least one first network equipment sends, and can be also HGMP message etc., the present invention limit this.
Concrete, second network equipment adopts the mode of broadcast or multicast to send at least one first network equipment and carries the identification information of second network equipment and the message of configuration information.And second network equipment carries the identification information of second network equipment and the method for configuration information according to the difference of message format in message, the method for carrying is also different.
Be LLDP message for message, the method for the identification information and configuration information that carry second network equipment in message has following several method:
First method, second network equipment is respectively by the identification information of second network equipment, IP address, the convert information such as the network segment information of route and username information become character string, by the identification information of the second network equipment of string format, IP address, the network segment information of route and username information etc. add in a TLV field, this TLV (Type) Length will be carried again) Value, type) length) value) the LLDP message of field is sent at least one first network equipment.
Second method, second network equipment defines the identification information carrying the network equipment in LLDP message, IP address, the TLV field of the network segment information of route and username information etc., and this TLV field is divided into different sub-TLV fields, the i.e. sub-TLV field of the identification information of the network equipment, the sub-TLV field in IP address, the network segment information sub-TLV field of route and the sub-TLV field of username information, then respectively the identification information of second network equipment is added in the sub-TLV field of identification information of the network equipment, IP address is added in the sub-TLV field in IP address, the network segment information of route is added in the sub-TLV field of network segment information of route, user name is added in the sub-TLV field of username information, again the LLDP message carrying this TLV field is sent at least one first network equipment.
It should be noted that, configuration information can also comprise the encrypted message etc. corresponding with username information.Namely can also carry encrypted message corresponding to username information in the message that second network equipment sends at least one first network equipment, the present invention does not limit this.
It should be noted that, second network equipment sends at least one first network equipment and carries the described identification information of second network equipment and the message of configuration information, can be send according to predetermined period; Also can be only send once, the present invention limit this.
Embodiments provide a kind of method of preserving configuration information, second network equipment sends at least one the first network equipment be connected with self and carries the identification information of second network equipment and the message of configuration information, with make first network equipment receive second network equipment send carry the identification information of second network equipment and the message of configuration information after, resolve this message, obtain identification information and the configuration information of second network equipment, and the identification information of second network equipment and configuration information one_to_one corresponding are stored, and without the need to the participation of gateway device, namely gateway device does not need the ability possessing the configuration information obtaining the all-network equipment self managed, the configuration information storing all-network equipment is not needed yet, so lower to the performance requirement of gateway device, thus reduce the cost of network management system.
Embodiments provide a kind of method of preserving configuration information, as shown in Figure 3, comprising:
401, the 3rd network equipment sends configuration request message at least one first network equipment.
Wherein, described 3rd network equipment can be second network equipment, also can be the replacement equipment of second network equipment; The identification information of described second network equipment is carried in described 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 equipment carries out connecting according to the circuit of second network equipment, all information that all information used when then the 3rd network equipment runs use when all running with second network equipment are identical, so, the identification information of the 3rd network equipment is also the identification information of second network equipment, and the identification information of the network equipment carried in the configuration request message that the 3rd network equipment sends is the identification information of second network equipment.
Concrete, when the 3rd network equipment is the replacement equipment of second network equipment, because the 3rd network equipment does not have configuration information in system when firm successful installation, then need by configuration information required during connected self configuration of at least one first network equipment acquisition, so need to send configuration request message at least one first network equipment connected, configuration information required when sending configuration to make at least one first network equipment connected to it.
When the 3rd network equipment is second network equipment, if when determining that the configuration information of second network equipment causes owing to breaking down losing, then the 3rd network equipment sends configuration request message at least one first network equipment connected, configuration information required when sending configuration to make at least one first network equipment connected to it.
It should be noted that, the configuration request message that 3rd network equipment sends at least one first network equipment, the indication information that the request of being used to indicate sends configuration information can be carried, to make at least one network equipment when receiving the configuration request message of carrying the indication information being used to indicate request transmission configuration information, can know that what information is the information that the 3rd network equipment needs be; Any information can not added in the respective field representing configuration information yet, to make at least one network equipment when receiving the configuration request message of not adding any information in the respective field representing configuration information, resolve this configuration request message, information in the respective field determining expression configuration information, for time empty, sends configuration information to the 3rd network equipment.
402, described 3rd network equipment receives at least one configuring request response message that at least one first network equipment described sends.
Wherein, the configuration information corresponding with the identification information of described second network equipment is carried in described configuring request response message.
403, described 3rd network equipment is according at least one the configuring request response message described received, the configuration information used when determining to configure.
Concrete, the 3rd network equipment is different according to the number of the configuring request response message received, and the method for the configuration information used when determining to configure is also different, specific as follows:
When described 3rd network equipment receives a configuring request response message, by what carry in described configuring request response message, the configuration information used when the configuration information corresponding with the identification information of described second network equipment is defined as configuring.
When described 3rd network equipment receives at least two configuring request response messages, by what carry in described at least two configuring request response messages, the configuration information corresponding with the identification information of described second network equipment compares, and will carry in described at least two configuring request response messages, the configuration information that uses when the identical maximum configuration information of the configuration information corresponding with the identification information of described second network equipment is defined as configuring.
Exemplary, suppose that the 3rd network equipment receives 3 configuration request message, then these 3 configuring request response messages are resolved, and then 3 configuration informations corresponding with the identification information of second network equipment can be got, be labeled as configuration information 1, configuration information 2 and configuration information 3, then respectively by configuration information 1, configuration information 2 and configuration information 3 compare, if configuration information 1, configuration information 2 is all identical with configuration information 3, then by configuration information 1, and the configuration information used when arbitrary configuration information is defined as configuring in configuration information 2 and configuration information 3; If configuration information 1 is identical with configuration information 2, configuration information 3 is not identical with configuration information 2 with configuration information 1, then the configuration information used when being defined as by arbitrary configuration information in configuration information 1 and configuration information 2 configuring; If configuration information 1 is identical with configuration information 3, configuration information 2 is not identical with configuration information 3 with configuration information 1, then the configuration information used when being defined as by arbitrary configuration information in configuration information 1 and configuration information 3 configuring; If configuration information 2 is identical with configuration information 3, configuration information 1 is not identical with configuration information 3 with configuration information 2, then the configuration information used when being defined as by arbitrary configuration information in configuration information 2 and configuration information 3 configuring.
It should be noted that, if configuration information 1, configuration information 2 and configuration information 3 are all not identical, then the 3rd network equipment can choose configuration information 1, and any one configuration information in configuration information 2 and configuration information 3 is as the configuration information used during configuration; Also again configuration request message can be sent at least one network equipment connected, until the configuration information received has identical, i.e. repeated execution of steps 401) 403, until the configuration information received has identical.
It should be noted that, when the 3rd network equipment receives at least two configuring request response messages, 3rd network equipment can also will to carry at least two the configuring request response messages received, the configuration information that any one configuration information in the configuration information corresponding with the identification information of second network equipment uses when being defined as configuring, and not by what carry at least two the configuring request response messages received, the configuration information corresponding with the identification information of second network equipment compares.
404, described 3rd network equipment is configured according to the configuration information used during the described configuration determined.
Concrete, after the configuration information that the 3rd network equipment uses when determining to configure, the IP address used when namely getting configuration, after the network segment information of route and username information, is added into the position of IP address information input by the IP address of acquisition; The network segment information of the route of acquisition is added into the position of the network segment information input of route; Username information is added into the position of username information input, thus completes the configuration to configuration information.
Embodiments provide a kind of method of preserving configuration information, 3rd network equipment sends the configuration request message of the identification information carrying second network equipment at least one the first network equipment be connected with self, with make first network equipment receive the 3rd the network equipment send carry the configuration request message of the identification information of second network equipment after, the configuring request response message carrying the configuration information corresponding with the identification information of second network equipment is sent to the 3rd network equipment, now, 3rd network equipment gets self configuration information, and be configured according to the configuration information obtained, and without the need to the participation of gateway device, namely gateway device does not need the ability possessing the configuration information obtaining the all-network equipment self managed, the configuration information storing all-network equipment is not needed yet, so lower to the performance requirement of gateway device, thus reduce the cost of network management system.
Embodiments provide a kind of method of preserving configuration information, as shown in Figure 4, comprising:
501, second network equipment sends at least one first network equipment and carries the described identification information of second network equipment and the message of configuration information.What first network equipment reception second network equipment sent carries the described identification information of second network equipment and the message of configuration information.
Wherein, described configuration information comprises: the IP address of described second network equipment, the network segment information of route that described second network equipment is corresponding and the username information of described second network equipment; Described first network equipment and described second network equipment are neighbor device.
Concrete, can refer step 201 and step 301, the present invention does not repeat them here.
502, message described in described first network device parses, obtains and stores the identification information of described second network equipment and described configuration information.
Concrete, can refer step 202, the present invention does not repeat them here.
It should be noted that, according to the difference of the state of the 3rd network equipment, the step of following execution is also different, at the 3rd network equipment for breaking down, and when recovering the second network equipment of fault, then performs step 503; When the 3rd network equipment is the replacement equipment of second network equipment, then do not perform step 503.
503, described 3rd network equipment determines whether the configuration information of self exists.
Concrete, 3rd network equipment searches self configuration information in corresponding Information, the i.e. information such as IP address, route network information and username information, if find the information such as IP address, route network information and username information, then determines that the configuration information of self exists; If do not find the information such as IP address, route network information and username information, then determine that the configuration information of self does not exist.
It should be noted that, under the 3rd network equipment determines the non-existent situation of the configuration information of self, then perform step 504) 508; Determine that the configuration information of self is deposited in case at the 3rd network equipment, then do not perform following arbitrary step.
504, described 3rd network equipment sends described configuration request message at least one first network equipment.Described first network equipment receives the configuration request message that described 3rd network equipment sends.
Wherein, the identification information of described second network equipment is carried in described configuration request message.
It should be noted that, the configuration request message that 3rd network equipment sends at least one first network equipment, the indication information that the request of being used to indicate sends configuration information can be carried, to make at least one network equipment when receiving the configuration request message of carrying the indication information being used to indicate request transmission configuration information, can know that what information is the information that the 3rd network equipment needs be; Any information can not added in the respective field representing configuration information yet, to make at least one network equipment when receiving the configuration request message of not adding any information in the respective field representing configuration information, resolve this configuration request message, information in the respective field determining expression configuration information, for time empty, sends configuration information to the 3rd network equipment.
It should be noted that, when the 3rd network equipment is the replacement equipment of second network equipment, because the 3rd network equipment carries out connecting according to the circuit of second network equipment, all information that all information used when then the 3rd network equipment runs use when all running with second network equipment are identical, so, the identification information of the 3rd network equipment is also the identification information of second network equipment, and the identification information of the network equipment carried in the configuration request message that the 3rd network equipment sends is the identification information of second network equipment.
505, described first network equipment is according to the identification information of described second network equipment, determines the described configuration information corresponding with the identification information of described second network equipment.
Concrete, first network equipment is when receiving the configuration request message that the 3rd network equipment sends, resolve this configuration request message, obtain the identification information of second network equipment, and according to the identification information of second network equipment, in the identification information of the network equipment stored before and the corresponding relation of configuration information, search the configuration information that the identification information of second network equipment is therewith corresponding, namely determine the configuration information corresponding with the identification information of second network equipment.
506, described first network equipment sends configuring request response message to described 3rd network equipment.Described 3rd network equipment receives at least one configuring request response message that at least one first network equipment described sends.
Wherein, the described configuration information corresponding with the identification information of described second network equipment is carried in described configuring request response message.
507, described 3rd network equipment is according at least one the configuring request response message described received, the configuration information used when determining to configure.
Concrete, the 3rd network equipment is different according to the number of the configuring request response message received, and the method for the configuration information used when determining to configure is also different, specific as follows:
When described 3rd network equipment receives a configuring request response message, by what carry in described configuring request response message, the configuration information used when the configuration information corresponding with the identification information of described second network equipment is defined as configuring.
When described 3rd network equipment receives at least two configuring request response messages, by what carry in described at least two configuring request response messages, the configuration information corresponding with the identification information of described second network equipment compares, and will carry in described at least two configuring request response messages, the configuration information that uses when the identical maximum configuration information of the configuration information corresponding with the identification information of described second network equipment is defined as configuring.
Concrete, the method for the configuration information used when the 3rd network equipment is determined to configure can refer step 403, and the present invention does not repeat them here.
It should be noted that, when the 3rd network equipment receives at least two configuring request response messages, 3rd network equipment can also will to carry at least two the configuring request response messages received, the configuration information that any one configuration information in the configuration information corresponding with the identification information of second network equipment uses when being defined as configuring, and not by what carry at least two the configuring request response messages received, the configuration information corresponding with the identification information of second network equipment compares.
508, described 3rd network equipment is configured according to the configuration information used during the described configuration determined.
Concrete, after the configuration information that the 3rd network equipment uses when determining to configure, the IP address used when namely getting configuration, after the network segment information of route and username information, is added into the position of IP address information input by the IP address of acquisition; The network segment information of the route of acquisition is added into the position of the network segment information input of route; Username information is added into the position of username information input, thus completes the configuration to configuration information.
It should be noted that, the first network equipment in Fig. 4 can be a network equipment; Also can be at least two network equipments, the present invention limit this.
Embodiments provide a kind of method of preserving configuration information, first network equipment receive second network equipment send carry the identification information of second network equipment and the message of configuration information after, resolve this message, obtain identification information and the configuration information of second network equipment, and the identification information of second network equipment and configuration information one_to_one corresponding are stored, and receive the 3rd the network equipment send carry the configuration request message of the identification information of second network equipment time, the configuration information corresponding with it is determined according to the identification information of second network equipment, and the configuring request response message carrying this configuration information is sent to the 3rd network equipment, be configured according to this configuration information to make the 3rd network equipment, and without the need to the participation of gateway device, namely gateway device does not need the ability possessing the configuration information obtaining the all-network equipment self managed, the configuration information storing all-network equipment is not needed yet, so lower to the performance requirement of gateway device, reduce further the cost of network management system.
As shown in Figure 5, it provides a kind of functional schematic of the network equipment for the embodiment of the present invention, and shown in figure 5, this network equipment comprises: receiving element 601, processing unit 602 and memory cell 603.
Described receiving element 601, for receive second network equipment send carry the described identification information of second network equipment and the message of configuration information.Described message comprises LLDP message.
Wherein, described configuration information comprises: the IP address of described second network equipment, the network segment information of route that described second network equipment is corresponding and the username information of described second network equipment; The described network equipment and described second network equipment are neighbor device.
Described processing unit 602, for resolving the message that described receiving element 601 receives, and obtains the identification information of described second network equipment and described configuration information.
Described memory cell 603, for storing the identification information of the described second network equipment that described processing unit 602 gets and described configuration information.
Further, described receiving element 601, also for receiving the configuration request message that the 3rd network equipment sends.
Wherein, the identification information of described second network equipment is carried in described configuration request message.
Described processing unit 602, the identification information of described second network equipment also for receiving according to described receiving element 601, determines the described configuration information corresponding with the identification information of described second network equipment.
Further, the described network equipment, as shown in Figure 6, also comprises: transmitting element 604.
Described transmitting element 604, for sending configuring request response message to described 3rd network equipment.
Wherein, the described configuration information corresponding with the identification information of described second network equipment is carried in described configuring request response message.
The embodiment of the present invention provides a kind of network equipment, the described network equipment receive second network equipment send carry the identification information of second network equipment and the message of configuration information after, resolve this message, obtain identification information and the configuration information of second network equipment, and the identification information of second network equipment and configuration information one_to_one corresponding are stored, and without the need to the participation of gateway device, namely gateway device does not need the ability possessing the configuration information obtaining the all-network equipment self managed, the configuration information storing all-network equipment is not needed yet, so lower to the performance requirement of gateway device, thus reduce the cost of network management system.
As shown in Figure 7, it provides a kind of functional schematic of the network equipment for the embodiment of the present invention, and shown in figure 7, this network equipment comprises: transmitting element 701.
Described transmitting element 701, carries the identification information of the described network equipment and the message of configuration information for sending at least one first network equipment.
Wherein, described configuration information comprises: the IP address of the described network equipment, the network segment information of route that the described network equipment is corresponding and the username information of the described network equipment; The described network equipment and at least one first network equipment described are neighbor device.
The embodiment of the present invention provides a kind of network equipment, the described network equipment sends at least one the first network equipment be connected with self and carries the identification information of the described network equipment and the message of configuration information, with make first network equipment receive the described network equipment send carry the identification information of the described network equipment and the message of configuration information after, resolve this message, obtain identification information and the configuration information of the described network equipment, and the identification information of the described network equipment and configuration information one_to_one corresponding are stored, and without the need to the participation of gateway device, namely gateway device does not need the ability possessing the configuration information obtaining the all-network equipment self managed, the configuration information storing all-network equipment is not needed yet, so lower to the performance requirement of gateway device, thus reduce the cost of network management system.
As shown in Figure 8, it provides a kind of functional schematic of the network equipment for the embodiment of the present invention, and shown in figure 8, this network equipment comprises: transmitting element 801, receiving element 802 and processing unit 803.
Described transmitting element 801, for sending configuration request message at least one first network equipment.
Wherein, the identification information of second network equipment is carried in described configuration request message.
Described receiving element 802, for receiving at least one configuring request response message that at least one first network equipment described sends.
Wherein, the configuration information corresponding with the identification information of described second network equipment is carried in described configuring request response message.
Described processing unit 803, at least one configuring request response message described in receiving according to described receiving element 802, the configuration information used when determining to configure.
Described processing unit 803, also for being configured according to the configuration information used during the described configuration determined.
Described processing unit 803, specifically for when the described network equipment receives a configuring request response message, by what carry in described configuring request response message, the configuration information used when the configuration information corresponding with the identification information of described second network equipment is defined as configuring.Or,
When the described network equipment receives at least two configuring request response messages, by what carry in described at least two configuring request response messages, the configuration information corresponding with the identification information of described second network equipment compares, and will carry in described at least two configuring request response messages, the configuration information that uses when the identical maximum configuration information of the configuration information corresponding with the identification information of described second network equipment is defined as configuring.
Further, described processing unit 803, also for determining whether the configuration information of the described network equipment exists.
Described transmitting element 801, under determining the non-existent situation of the configuration information of the described network equipment at described processing unit 803, sends described configuration request message at least one first network equipment.
The embodiment of the present invention provides a kind of network equipment, the described network equipment sends the configuration request message of the identification information carrying second network equipment at least one the first network equipment be connected with self, with make first network equipment receive the described network equipment send carry the configuration request message of the identification information of second network equipment after, the configuring request response message carrying the configuration information corresponding with the identification information of second network equipment is sent to the described network equipment, now, the described network equipment gets self configuration information, and be configured according to the configuration information obtained, and without the need to the participation of gateway device, namely gateway device does not need the ability possessing the configuration information obtaining the all-network equipment self managed, the configuration information storing all-network equipment is not needed yet, so lower to the performance requirement of gateway device, thus reduce the cost of network management system.
As shown in Figure 9, the structural representation of its a kind of network equipment provided for the embodiment of the present invention, shown in figure 9, this network equipment comprises: receiver 901, transmitter 902, memory 903, and the processor 904 be connected with receiver 901, transmitter 902, memory 903 respectively.
Wherein, in memory 903, store batch processing code, and processor 904 is for calling the program code stored in memory 903.Receiver 901, transmitter 902 and processor 904 are for performing following operation:
Described receiver 901, for receive second network equipment send carry the described identification information of second network equipment and the message of configuration information.Described message comprises LLDP message.
Wherein, described configuration information comprises: the IP address of described second network equipment, the network segment information of route that described second network equipment is corresponding and the username information of described second network equipment; The described network equipment and described second network equipment are neighbor device.
Described processor 904, for resolving the message that described receiver 901 receives, and obtains the identification information of described second network equipment and described configuration information.
Described memory 903, for storing the identification information of the described second network equipment that described processor 904 gets and described configuration information.
Further, described receiver 901, also for receiving the configuration request message that the 3rd network equipment sends.
Wherein, the identification information of described second network equipment is carried in described configuration request message.
Described processor 904, the identification information of described second network equipment also for receiving according to described receiver 901, determines the described configuration information corresponding with the identification information of described second network equipment.
Described transmitter 902, for sending configuring request response message to described 3rd network equipment.
Wherein, the described configuration information corresponding with the identification information of described second network equipment is carried in described configuring request response message.
The embodiment of the present invention provides a kind of network equipment, the described network equipment receive second network equipment send carry the identification information of second network equipment and the message of configuration information after, resolve this message, obtain identification information and the configuration information of second network equipment, and the identification information of second network equipment and configuration information one_to_one corresponding are stored, and without the need to the participation of gateway device, namely gateway device does not need the ability possessing the configuration information obtaining the all-network equipment self managed, the configuration information storing all-network equipment is not needed yet, so lower to the performance requirement of gateway device, thus reduce the cost of network management system.
As shown in Figure 10, the structural representation of its a kind of network equipment provided for the embodiment of the present invention, with reference to shown in Figure 10, this network equipment comprises: transmitter 1001 and memory 1002.
Wherein, in memory 1002, store batch processing code, and transmitter 1001 is for calling the program code stored in memory 1002.Transmitter 1002 is for performing following operation:
Described transmitter 1001, carries the identification information of the described network equipment and the message of configuration information for sending at least one first network equipment.
Wherein, described configuration information comprises: the IP address of the described network equipment, the network segment information of route that the described network equipment is corresponding and the username information of the described network equipment; The described network equipment and at least one first network equipment described are neighbor device.
The embodiment of the present invention provides a kind of network equipment, the described network equipment sends at least one the first network equipment be connected with self and carries the identification information of the described network equipment and the message of configuration information, with make first network equipment receive the described network equipment send carry the identification information of the described network equipment and the message of configuration information after, resolve this message, obtain identification information and the configuration information of the described network equipment, and the identification information of the described network equipment and configuration information one_to_one corresponding are stored, and without the need to the participation of gateway device, namely gateway device does not need the ability possessing the configuration information obtaining the all-network equipment self managed, the configuration information storing all-network equipment is not needed yet, so lower to the performance requirement of gateway device, thus reduce the cost of network management system.
As shown in figure 11, the structural representation of its a kind of network equipment provided for the embodiment of the present invention, with reference to shown in Figure 11, this network equipment comprises: transmitter 1101, receiver 1102, memory 1103, and the processor 1104 be connected with transmitter 1101, receiver 1102, memory 1103 respectively.
Wherein, in memory 1103, store batch processing code, and processor 1104 is for calling the program code stored in memory 1103.Transmitter 1101, receiver 1102 and processor 1104 are for performing following operation:
Described transmitter 1101, for sending configuration request message at least one first network equipment.
Wherein, the identification information of second network equipment is carried in described configuration request message.
Described receiver 1102, for receiving at least one configuring request response message that at least one first network equipment described sends.
Wherein, the configuration information corresponding with the identification information of described second network equipment is carried in described configuring request response message.
Described processor 1104, at least one configuring request response message described in receiving according to described receiver 1102, the configuration information used when determining to configure.
Described processor 1104, also for being configured according to the configuration information used during the described configuration determined.
Described processor 1104, specifically for when the described network equipment receives a configuring request response message, by what carry in described configuring request response message, the configuration information used when the configuration information corresponding with the identification information of described second network equipment is defined as configuring.Or,
When the described network equipment receives at least two configuring request response messages, by what carry in described at least two configuring request response messages, the configuration information corresponding with the identification information of described second network equipment compares, and will carry in described at least two configuring request response messages, the configuration information that uses when the identical maximum configuration information of the configuration information corresponding with the identification information of described second network equipment is defined as configuring.
Further, described processor 1104, also for determining whether the configuration information of the described network equipment exists.
Described transmitter 1101, under determining the non-existent situation of the configuration information of the described network equipment at described processor 1104, sends described configuration request message at least one first network equipment.
The embodiment of the present invention provides a kind of network equipment, the described network equipment sends the configuration request message of the identification information carrying second network equipment at least one the first network equipment be connected with self, with make first network equipment receive the described network equipment send carry the configuration request message of the identification information of second network equipment after, the configuring request response message carrying the configuration information corresponding with the identification information of second network equipment is sent to the described network equipment, now, the described network equipment gets self configuration information, and be configured according to the configuration information obtained, and without the need to the participation of gateway device, namely gateway device does not need the ability possessing the configuration information obtaining the all-network equipment self managed, the configuration information storing all-network equipment is not needed yet, so lower to the performance requirement of gateway device, thus reduce the cost of network management system.
The embodiment of the present invention provides a kind of system of preserving configuration information, as shown in figure 12, comprising: first network equipment 1201, second network equipment 1202 and the 3rd network equipment 1203.
Wherein,
Described first network equipment 1201 is the network equipment described in above-described embodiment.
Described second network equipment 1202 is the network equipment described in above-described embodiment.
Described 3rd network equipment 1203 is the network equipment described in above-described embodiment.
Embodiments provide a kind of system of preserving configuration information, comprise first network equipment, second network equipment and the 3rd network equipment, first network equipment receive second network equipment send carry the identification information of second network equipment and the message of configuration information after, resolve this message, obtain identification information and the configuration information of second network equipment, and the identification information of second network equipment and configuration information one_to_one corresponding are stored, and receive the 3rd the network equipment send carry the configuration request message of the identification information of second network equipment time, the configuration information corresponding with it is determined according to the identification information of second network equipment, and the configuring request response message carrying this configuration information is sent to the 3rd network equipment, be configured according to this configuration information to make the 3rd network equipment, and without the need to the participation of gateway device, namely gateway device does not need the ability possessing the configuration information obtaining the all-network equipment self managed, the configuration information storing all-network equipment is not needed yet, so lower to the performance requirement of gateway device, reduce further the cost of network management system.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit comprises, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprising some instructions in order to make a computer network facility (can be personal computer, server, or the network equipment etc.) perform the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (Read) Only Memory, be called for short ROM), random access memory (Random Access Memory, be called for short RAM), magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (15)

1. preserve a method for configuration information, it is characterized in that, comprising:
What first network equipment reception second network equipment sent carries the described identification information of second network equipment and the message of configuration information; Wherein, described configuration information comprises: the procotol IP address of described second network equipment, the network segment information of route that described second network equipment is corresponding and the username information of described second network equipment; Described first network equipment and described second network equipment are neighbor device;
Message described in described first network device parses, obtains and stores the identification information of described second network equipment and described configuration information.
2. method according to claim 1, is characterized in that, message described in described first network device parses, obtains and after the identification information storing described second network equipment and described configuration information, also comprises:
Described first network equipment receives the configuration request message that the 3rd network equipment sends; Wherein, the identification information of described second network equipment is carried in described configuration request message;
Described first network equipment, according to the identification information of described second network equipment, determines the described configuration information corresponding with the identification information of described second network equipment;
Described first network equipment sends configuring request response message to described 3rd network equipment; Wherein, the described configuration information corresponding with the identification information of described second network equipment is carried in described configuring request response message.
3. method according to claim 1 and 2, is characterized in that, described message comprises Link Layer Discovery Protocol LLDP message.
4. preserve a method for configuration information, it is characterized in that, comprising:
Second network equipment sends at least one first network equipment and carries the described identification information of second network equipment and the message of configuration information; Wherein, described configuration information comprises: the procotol IP address of described second network equipment, the network segment information of route that described second network equipment is corresponding and the username information of described second network equipment; Described second network equipment and at least one first network equipment described are neighbor device.
5. preserve a method for configuration information, it is characterized in that, comprising:
3rd network equipment sends configuration request message at least one first network equipment; Wherein, the identification information of second network equipment is carried in described configuration request message;
Described 3rd network equipment receives at least one configuring request response message that at least one first network equipment described sends; Wherein, the configuration information corresponding with the identification information of described second network equipment is carried in described configuring request response message;
Described 3rd network equipment, according at least one the configuring request response message described received, determines the configuration information of use during configuration;
Described 3rd network equipment is configured according to the configuration information used during the described configuration determined.
6. method according to claim 5, is characterized in that, described 3rd network equipment is according at least one the configuring request response message described received, and the configuration information used when determining to configure comprises:
When described 3rd network equipment receives a configuring request response message, by what carry in described configuring request response message, the configuration information used when the configuration information corresponding with the identification information of described second network equipment is defined as configuring; Or,
When described 3rd network equipment receives at least two configuring request response messages, by what carry in described at least two configuring request response messages, the configuration information corresponding with the identification information of described second network equipment compares, and will carry in described at least two configuring request response messages, the configuration information that uses when the identical maximum configuration information of the configuration information corresponding with the identification information of described second network equipment is defined as configuring.
7. the method according to claim 5 or 6, is characterized in that, before described 3rd network equipment sends configuration request message at least one first network equipment, also comprises:
Described 3rd network equipment determines whether the configuration information of self exists;
Described 3rd network equipment sends configuration request message at least one first network equipment and comprises:
Under described 3rd network equipment determines the non-existent situation of the configuration information of self, described 3rd network equipment sends described configuration request message at least one first network equipment.
8. a network equipment, is characterized in that, comprising:
Receiving element, for receive second network equipment send carry the described identification information of second network equipment and the message of configuration information; Wherein, described configuration information comprises: the procotol IP address of described second network equipment, the network segment information of route that described second network equipment is corresponding and the username information of described second network equipment; The described network equipment and described second network equipment are neighbor device;
Processing unit, for resolving the message that described receiving element receives, and obtains the identification information of described second network equipment and described configuration information;
Memory cell, for storing the identification information of the described second network equipment that described processing unit gets and described configuration information.
9. the network equipment according to claim 8, is characterized in that, also comprises: transmitting element,
Described receiving element, also for receiving the configuration request message that the 3rd network equipment sends; Wherein, the identification information of described second network equipment is carried in described configuration request message;
Described processing unit, the identification information of described second network equipment also for receiving according to described receiving element, determines the described configuration information corresponding with the identification information of described second network equipment;
Transmitting element, for sending configuring request response message to described 3rd network equipment; Wherein, the described configuration information corresponding with the identification information of described second network equipment is carried in described configuring request response message.
10. the network equipment according to claim 8 or claim 9, it is characterized in that, described message comprises Link Layer Discovery Protocol LLDP message.
11. 1 kinds of network equipments, is characterized in that, comprising:
Transmitting element, carries the identification information of the described network equipment and the message of configuration information for sending at least one first network equipment; Wherein, described configuration information comprises: the procotol IP address of the described network equipment, the network segment information of route that the described network equipment is corresponding and the username information of the described network equipment; The described network equipment and at least one first network equipment described are neighbor device.
12. 1 kinds of network equipments, is characterized in that, comprising:
Transmitting element, for sending configuration request message at least one first network equipment; Wherein, the identification information of second network equipment is carried in described configuration request message;
Receiving element, for receiving at least one configuring request response message that at least one first network equipment described sends; Wherein, the configuration information corresponding with the identification information of described second network equipment is carried in described configuring request response message;
Processing unit, at least one configuring request response message described in receiving according to described receiving element, the configuration information used when determining to configure;
Described processing unit, also for being configured according to the configuration information used during the described configuration determined.
13. network equipments according to claim 12, is characterized in that,
Described processing unit, specifically for when the described network equipment receives a configuring request response message, by what carry in described configuring request response message, the configuration information used when the configuration information corresponding with the identification information of described second network equipment is defined as configuring; Or,
When the described network equipment receives at least two configuring request response messages, by what carry in described at least two configuring request response messages, the configuration information corresponding with the identification information of described second network equipment compares, and will carry in described at least two configuring request response messages, the configuration information that uses when the identical maximum configuration information of the configuration information corresponding with the identification information of described second network equipment is defined as configuring.
14. network equipments according to claim 12 or 13, is characterized in that,
Described processing unit, also for determining whether the configuration information of the described network equipment exists;
Described transmitting element, under determining the non-existent situation of the configuration information of the described network equipment at described processing unit, sends described configuration request message at least one first network equipment.
15. 1 kinds of systems of preserving configuration information, is characterized in that, comprising: first network equipment, second network equipment and the 3rd network equipment; Wherein,
The network equipment of described first network equipment according to any one of claim 8-10;
Described second network equipment is the network equipment according to claim 11;
Described 3rd network equipment is the network equipment described in claim 12-14.
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 true CN104301141A (en) 2015-01-21
CN104301141B 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 (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
CN106888132A (en) * 2017-04-28 2017-06-23 杭州迪普科技股份有限公司 The management method and device of a kind of configuration information
CN108123833A (en) * 2017-12-15 2018-06-05 成都盯盯科技有限公司 The method of automatic recovery configuring file based on LAN
CN109391316A (en) * 2017-08-11 2019-02-26 维沃移动通信有限公司 A kind of band condition processing method and equipment
CN109495285A (en) * 2017-09-13 2019-03-19 华为技术有限公司 The configuration method and the network equipment of the network equipment
CN110011820A (en) * 2018-01-04 2019-07-12 中兴通讯股份有限公司 Connection method, equipment and computer storage medium between a kind of system
WO2019185062A1 (en) * 2018-03-31 2019-10-03 华为技术有限公司 Communication method and device
CN110417582A (en) * 2019-07-03 2019-11-05 华为技术有限公司 A kind of method for configuring routers, terminal and router
CN111885215A (en) * 2020-07-10 2020-11-03 济南浪潮数据技术有限公司 Configuration method, device, system and medium for IP address of storage equipment

Families Citing this family (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

Citations (5)

* 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
US20100215019A1 (en) * 2007-07-10 2010-08-26 Panasonic Corporation Detection of mobility functions implemented in a mobile node
CN103117913A (en) * 2013-01-31 2013-05-22 杭州华三通信技术有限公司 Method and equipment for informing MAC (media access control) address information

Patent Citations (5)

* 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
US20100215019A1 (en) * 2007-07-10 2010-08-26 Panasonic Corporation Detection of mobility functions implemented in a mobile node
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 (13)

* 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
CN106888132A (en) * 2017-04-28 2017-06-23 杭州迪普科技股份有限公司 The management method and device of a kind of configuration information
CN106888132B (en) * 2017-04-28 2020-09-08 杭州迪普科技股份有限公司 Method and device for managing configuration information
CN109391316A (en) * 2017-08-11 2019-02-26 维沃移动通信有限公司 A kind of band condition processing method and equipment
CN109495285B (en) * 2017-09-13 2020-12-15 华为技术有限公司 Network equipment configuration method and network equipment
CN109495285A (en) * 2017-09-13 2019-03-19 华为技术有限公司 The configuration method and the network equipment of the network equipment
CN108123833A (en) * 2017-12-15 2018-06-05 成都盯盯科技有限公司 The method of automatic recovery configuring file based on LAN
CN110011820A (en) * 2018-01-04 2019-07-12 中兴通讯股份有限公司 Connection method, equipment and computer storage medium between a kind of system
CN110011820B (en) * 2018-01-04 2022-03-18 中兴通讯股份有限公司 Method and device for connecting systems and computer storage medium
WO2019185062A1 (en) * 2018-03-31 2019-10-03 华为技术有限公司 Communication method and device
US11528225B2 (en) 2018-03-31 2022-12-13 Huawei Technologies Co., Ltd. Communication method, session management device, and system for packet routing by access network devices belonging to a same network instance having different network addresses
CN110417582A (en) * 2019-07-03 2019-11-05 华为技术有限公司 A kind of method for configuring routers, terminal and router
CN111885215A (en) * 2020-07-10 2020-11-03 济南浪潮数据技术有限公司 Configuration method, device, system and medium for IP address of storage equipment

Also Published As

Publication number Publication date
CN104301141B (en) 2018-02-09

Similar Documents

Publication Publication Date Title
CN104301141A (en) Method, device and system for storing configuration information
US10855576B2 (en) Information transmission method and device
EP3819732A1 (en) Control method and device employing industrial ethernet
CN104604193A (en) Auto management of a virtual device context enabled network infrastructure
CN103828310A (en) Method, system and equipment for finding link
EP3257205B1 (en) Discovering links between operating domains in a communication network
CN104639348A (en) Network device and configuration method thereof
CN104219144A (en) Method and system for determining forwarding paths of service flow and network management system
CN103825839A (en) Message transmission method and equipment based on aggregated link
CN105577536A (en) Message processing method and network device
CN101631060A (en) Method and device for managing edge port
CN105515970A (en) Method and device for transmitting message
CN109995649B (en) Method and device for acquiring cross-domain link
US20170005912A1 (en) Method, apparatus and system for transmitting information
CN108574637B (en) Address self-learning method and device and switch
CN114301989A (en) Information transmission method, device and system
US10491421B2 (en) Ring protection network module
CN110109933B (en) Information maintenance method, configuration management database system and storage medium
CN108418709B (en) Port aggregation method and device
CN104394081A (en) Data processing method and device
CN104038386A (en) Method for detecting service looped network, node and network management device
CN103780485A (en) Neighbor relationship maintenance method and device
CN116233032B (en) Broadband narrowband fusion networking system and method
CN107733669B (en) SNMP server management method and system based on request ID
CN103546316A (en) OAM message transmission method and device

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