CN104205729B - Method, device, and system for configuring device in network - Google Patents

Method, device, and system for configuring device in network Download PDF

Info

Publication number
CN104205729B
CN104205729B CN201380000237.3A CN201380000237A CN104205729B CN 104205729 B CN104205729 B CN 104205729B CN 201380000237 A CN201380000237 A CN 201380000237A CN 104205729 B CN104205729 B CN 104205729B
Authority
CN
China
Prior art keywords
lldp
target devices
main equipments
messages
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201380000237.3A
Other languages
Chinese (zh)
Other versions
CN104205729A (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.)
Chongqing Hanyuan Machinery 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
Publication of CN104205729A publication Critical patent/CN104205729A/en
Application granted granted Critical
Publication of CN104205729B publication Critical patent/CN104205729B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a method, a device, and a system for configuring a device in a network. The method comprises: an LLDP main device receiving an IP packet of an OSS, and extracting a Simple Network Management Protocol (SNMP) packet in the IP packet; the LLDP main device querying a local neighbor list according to identification information of an LLDP target device to be configured, to obtain forwarding information to the target device and SNMP information; and the LLDP main device completing SNMP packet format conversion and LLDP encapsulation according to the SNMP information, and forwarding the information from an obtained outbound interface to a specific LLDP target device, so that the LLDP target device is enabled to perform configuration by using the configuration information. Therefore, in the present invention, communication is performed in a manner of encapsulating an SNMP packet into an LLDP packet, which reduces the operation complexity of remote management by an OSS, and enables remote management of the OSS without acquiring an IP address.

Description

Equipment configuration method, equipment and system in network
Technical field
The present invention relates to the equipment configuration method, equipment and system in the communications field, more particularly to a kind of network.
Background technology
With the development of communication technology, the species of the network equipment is increasingly various and respective configuration is intricate.Network sets Standby plug and play technique can cause user very easily to increase the new network equipment in systems, and the technology can be applied In the middle of various fields, and bring great convenience.
At present, the plug and play technique of the network equipment is all the agreement (Internet by interconnecting between network Protocol, IP) carrying out device configuration.Wherein, when equipment is configured using IP, need the forwarding of configuration of IP message logical Road, including VLAN (Virtual Local Area Network, VLAN), IP address, route etc..
Fig. 1 is a kind of structural representation of long-distance management system in prior art.As shown in figure 1, in the remote management system In system, need to the network equipment and DHCP (Dynamic Host Configuration Protocol, DHCP) server is configured.Wherein, the configuration content of the network equipment includes portfolio and DHCP configurations;Configuration DHCP is serviced Device purpose is to distribute IP address for PnP device.When PnP device is inserted in configuration system, network equipment record The IP address for getting, OSS (Operation Support System, OSS) is according to the IP address pair for getting PnP device is configured.
Fig. 2 is the structural representation of another kind of long-distance management system in prior art.As shown in Fig. 2 in the remote management In system, need also exist for configuring the network equipment and Dynamic Host Configuration Protocol server.After PnP device is inserted in configuration system, The IP address that network equipment record PnP device gets, PnP device 2 and the network equipment are found by link layer Agreement (Link Layer Discovery Protocol, LLDP) perceives mutually other side, and will in the way of LLDP neighbor informations The facility information of PnP device 2 is sent to OSS.Positions of the OSS according to neighbor information perception PnP device, and according to The positional information of the PnP device issues configuration information.
But, it is required for configuring the network equipment and Dynamic Host Configuration Protocol server in above two long-distance management system;In addition, Regardless of whether using LLDP agreements, all need to configure IP address to PnP device, configuration process is very complicated.
The content of the invention
The invention provides the equipment configuration method, equipment and system in a kind of network, needs in solving prior art The network equipment and Dynamic Host Configuration Protocol server are configured, while the problem of IP address is configured to PnP device, using extension LLDP agreements, reduce the operation complexity of remote management, and realize and need not obtain IP address and also can be carried out far by OSS Thread management.
In a first aspect, the invention provides a kind of equipment configuration method in network, the network includes operation support System OSS, Link Layer Discovery Protocol LLDP main equipments and one or more LLDP target devices, one or more of LLDP Target device connects the OSS by the LLDP main equipments, and methods described includes:
The LLDP main equipments receive the IP messages of the OSS, from the IP messages extract Simple Network Management Protocol SNMP messages, carry the identification information of LLDP target devices to be configured and described to be configured in the SNMP messages Configuration information needed for LLDP target devices;
Identification information-enquiry LLDP target device of the LLDP main equipments according to the LLDP target devices to be configured Identification information and LLDP target devices forwarding information corresponding relation, so as to obtain the LLDP target devices to be configured Forwarding information;
The SNMP messages are packaged into LLDP messages by the LLDP main equipments, will be described according to the forwarding information for obtaining LLDP messages are sent to the LLDP target devices to be configured, so that the LLDP target devices utilize the configuration file Configured.
Wherein, the forwarding information of the acquisition includes that connecting the LLDP targets to be configured on the LLDP main equipments sets Standby outgoing interface.
Further, the SNMP messages are packaged into LLDP messages and are specifically included by the LLDP main equipments:
The SNMP messages are encapsulated into the LLDP messages in the form of type lengths values TLV by the LLDP main equipments In.The LLDP messages are also carried for identifying the TLV of the LLDP target devices to be configured, described to wait to match somebody with somebody for identifying The TLV of the LLDP target devices put carries the identification information of the LLDP target devices to be configured.
In the first possible implementation, also include before the IP messages that the LLDP main equipments receive the OSS: The topological structure of one or more of LLDP target devices is obtained, the topological structure of acquisition is reported into the OSS, and at this Ground generates neighbours-topology list item, and the list item includes neighbor device mark, neighbours SNMP version numbers and SNMP marks, and reaches The network topological information of neighbours.
In second possible implementation, one or more of LLDP target devices and the LLDP main equipments group Into ring network structure, then the topological structure for obtaining one or more of LLDP target devices is specifically included:The LLDP main equipments Neighbor advertisement message is sent to one or more of LLDP target devices, so that receiving the LLDP mesh of neighbor advertisement message Marking device by the identification information of itself and receive neighbor advertisement message interface message be added in neighbor advertisement message to Next-hop LLDP target device sends;The LLDP main equipments receive neighbor advertisement message, from the neighbor advertisement message for receiving Obtain the topological structure of one or more of LLDP target devices.
With reference to second possible implementation of first aspect, in the third possible implementation, the LLDP Main equipment connects a LLDP target devices in side, connects the 2nd LLDP target devices, the LLDP main equipments in opposite side Neighbor advertisement message is sent to one or more of LLDP target devices to specifically include:The LLDP main equipments are to described first LLDP target devices send the first neighbor advertisement message, so that receiving the LLDP target devices of the first neighbor advertisement message The identification information of itself and the interface message for receiving the first neighbor advertisement message are added in the first neighbor advertisement message, And the forwarding of down hop LLDP target device;The LLDP main equipments send the second neighbours to the 2nd LLDP target devices and lead to Accuse message so that receive the second neighbor advertisement message LLDP target devices are by the identification information of itself and receive The interface message of the second neighbor advertisement message is added in the second neighbor advertisement message, and down hop LLDP target device turns Send out;The LLDP main equipments receive the first neighbor advertisement message and the second neighbor advertisement message, are led to according to the first neighbours for receiving Accuse the topological structure of message and the one or more of LLDP target devices of the second neighbor advertisement Receive message.
Further, before the SNMP messages are encapsulated into LLDP messages by the LLDP main equipments, methods described is also wrapped Include:
The LLDP main equipments are additionally operable to treat according to the identification information of the LLDP target devices to be configured is obtained The SNMP version informations that the LLDP target devices of configuration can be recognized, according to the SNMP version informations to described to be configured Configuration information needed for LLDP target devices is changed.
In second aspect, the invention provides a kind of Link Layer Discovery Protocol LLDP equipment, the equipment includes:
First interface, for connecting OSS OSS;
Second interface, for connecting one or more LLDP target devices;
Data sink, for receiving the IP messages of the OSS, extracts Simple Network Management Protocol from the IP messages SNMP messages, carry the identification information of LLDP target devices to be configured and described to be configured in the SNMP messages Configuration information needed for LLDP target devices;
Processor, for the mark of the identification information-enquiry LLDP target devices according to the LLDP target devices to be configured The corresponding relation of the forwarding information of knowledge information and LLDP target devices, so as to obtain the forwarding of the LLDP target devices to be configured Information;And the SNMP messages are encapsulated in LLDP messages;
Data transmitter, it is described to be configured for being sent to the LLDP messages according to the forwarding information of the acquisition LLDP target devices, so that the LLDP target devices are configured using the configuration file.
In the first possible implementation, the processor is additionally operable to obtain one or more of LLDP targets and sets Standby topological structure;The data transmitter is additionally operable to for the topological structure of acquisition to report the OSS.
It is with reference to the first possible implementation of second aspect, in second possible implementation, one Or multiple LLDP target devices and LLDP main equipments composition ring network structure, the then data transmitter, it is additionally operable to described One or more LLDP target devices send neighbor advertisement message, so that receiving the LLDP target devices of neighbor advertisement message The identification information of itself and the interface message for receiving neighbor advertisement message are added to into down hop in neighbor advertisement message LLDP target devices send;The data sink, is additionally operable to receive neighbor advertisement message;The processor, is additionally operable to from connecing The topological structure of one or more of LLDP target devices is obtained in the neighbor advertisement message of receipts.
In the third aspect, the invention provides a kind of equipment configuration system, the system includes Link Layer Discovery Protocol LLDP main equipments and one or more LLDP target devices, one or more of LLDP target devices pass through the LLDP master Equipment connects the OSS,
The LLDP main equipments, for receiving the IP messages of OSS OSS, extract simple from the IP messages Network Management Protocols SNMP message, carries identification information and the institute of LLDP target devices to be configured in the SNMP messages State the configuration information needed for LLDP target devices to be configured;Looked into according to the identification information of the LLDP target devices to be configured The corresponding relation of the identification information of LLDP target devices and the forwarding information of LLDP target devices is ask, it is described to be configured so as to obtain The forwarding information of LLDP target devices;And the SNMP messages are encapsulated in LLDP messages, according to the forwarding of the acquisition The LLDP messages are sent to the LLDP target devices to be configured by information, so that the LLDP target devices utilize institute State configuration file to be configured.
In the first possible implementation, the LLDP main equipments are additionally operable to obtain one or more of LLDP mesh The topological structure of acquisition is reported the OSS by the topological structure of marking device.
It is with reference to the first possible implementation of the third aspect, in second possible implementation, one Or multiple LLDP target devices constitute ring network structure with the LLDP main equipments, then the LLDP main equipments are specifically for institute State one or more LLDP target devices and send neighbor advertisement message;Neighbor advertisement message is received, from the neighbor advertisement report for receiving The topological structure of one or more of LLDP target devices is obtained in text;The LLDP target devices are used for, and receive neighbours and lead to Accuse message, by the identification information of itself and receive neighbor advertisement message interface message be added in neighbor advertisement message to Next-hop LLDP target device sends.
By the equipment configuration method using above-mentioned offer, equipment and system, LLDP main equipments receive the IP messages of OSS, Simple Network Management Protocol SNMP message is extracted from IP messages, LLDP target devices to be configured in SNMP messages, are carried Configuration file needed for identification information and LLDP target devices to be configured;LLDP main equipments are according to LLDP targets to be configured The local neighbor table of the identification information-enquiry of equipment, obtains reaching the forwarding information and SNMP information of target device, and the forwarding is believed The outgoing interface up to target device is covered in breath, SNMP information then includes the information such as the SNMP versions and mark of target;LLDP master Equipment completes the conversion of SNMP message formats and LLDP encapsulation according to SNMP information, is transmitted to characteristic LLDP mesh from the outgoing interface for obtaining Marking device, so that LLDP target devices are configured using configuration file, realizes the LLDP agreements using extension, in LLDP The form that LLDP messages are encapsulated into by SNMP messages between main equipment and LLDP target devices is communicated, so as to reduce OSS carries out the operation complexity of remote management, and need not obtain the remote management that IP address can also realize OSS.
Description of the drawings
Fig. 1 is a kind of structural representation of long-distance management system in prior art;
Fig. 2 is the structural representation of another kind of long-distance management system in prior art;
Fig. 3 is the flow chart of the equipment configuration method in network provided in an embodiment of the present invention;
Fig. 4 is the structural representation of management system provided in an embodiment of the present invention;
Fig. 5 is the flow chart of the equipment configuration method in network provided in an embodiment of the present invention;
Fig. 6 is the flow chart of the equipment configuration method in network provided in an embodiment of the present invention;
Fig. 7 is the information exchange figure of this equipment configuration method provided in an embodiment of the present invention;
Fig. 8 is the structural representation of Link Layer Discovery Protocol LLDP main equipments provided in an embodiment of the present invention;
Fig. 9 is the structural representation of equipment configuration system provided in an embodiment of the present invention.
Specific embodiment
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
One embodiment of the invention provides a kind of equipment configuration method, as shown in figure 3, the method for being provided includes:
Step 300, LLDP main equipments receive the IP messages of OSS, and Simple Network Management Protocol SNMP is extracted from IP messages Message, carries the identification information of LLDP target devices to be configured and LLDP target devices institute to be configured in SNMP messages The configuration information for needing;
Wherein, the identification information of LLDP target devices to be configured can be the MAC of LLDP target devices to be configured (Meidia Access Control, media access control) address, the device identification of LLDP target devices to be configured or Other can identify identification information of LLDP target devices to be configured etc..
Configuration information can be the parameter for needing configuration, and the value of relevant parameter etc..
The identification information-enquiry LLDP target devices of step 310, LLDP main equipments according to LLDP target devices to be configured Identification information and LLDP target devices forwarding information corresponding relation, so as to obtain the LLDP target devices to be configured Forwarding information;
Specifically, forwarding information can connect outgoing interface of LLDP target devices to be configured etc. on LLDP main equipments, Be stored with the neighbor table of LLDP main equipments LLDP target devices identification information it is right with the forwarding information of LLDP target devices Should be related to, LLDP main equipments can utilize the identification information-enquiry neighbor table of LLDP target devices to be configured, so as to obtain phase The outgoing interface answered.
SNMP messages are packaged into LLDP messages by step 320, LLDP main equipments, are transmitted to treating according to the forwarding information The LLDP target devices of configuration, so that LLDP target devices to be configured are configured using configuration information.
Specifically, LLDP main equipments can be by configuration information with TLV's (Type-Length-Valve, type lengths values) Form is encapsulated in LLDP messages, LLDP main equipments can with the identification information of LLDP target devices to be configured with TLV's Form is encapsulated in LLDP messages, and the LLDP target devices for so receiving LLDP messages may determine that the identification information in TLV is It is no consistent with oneself, the message is processed if consistent, if it is inconsistent, refreshing local neighbor table, obtain from neighbor table Corresponding outgoing interface is taken, so as to forward.
The method that the present embodiment is provided, realizes the LLDP agreements using extension, sets in LLDP main equipments and LLDP targets The form that LLDP messages are encapsulated into by SNMP messages between standby is communicated, and the behaviour of remote management is carried out so as to reduce OSS Make complexity, and IP address need not be obtained also realize remote managements of the OSS to LLDP target devices.
Specifically, Fig. 4 is the structural representation of management system provided in an embodiment of the present invention.As shown in figure 4, the system bag Include OSS41, LLDP main equipment 42 and one or more LLDP target devices.Wherein one or more LLDP target devices pass through LLDP main equipments connect OSS41.Such as, LLDP main equipments 42 have multiple for connecting LLDP PnP device interfaces, such as: Interface 1, interface 2 ..., interface m.Each interface of LLDP main equipments 42 can connect one or more LLDP target devices, than Such as:Interface 1 connection multiple LLDP PnP devices be respectively LLDP target devices 1, LLDP target devices 2 ..., LLDP Target device n-1 and LLDP target device n.
In addition, the self-defining message name being related in elaborating all embodiments of the invention and form Form.
First, TLV full name is Type-Length-Value.Wherein, Type is label, and Length is length, and Value is Value.T, the length of L field are often fixed, and modal T is 8 bits, and L is also 8 bits, and V field lengths are variable.As its name suggests, T Field represents type of message, and L field represents message length, V fields often for depositing the content of message.
(1) agent identification TLV (LLDP proxy TLV):Type in message is not specific, it is possible to use 32, i.e., Type is equal to 32, and the inside record acts on behalf of priority.Priority is mainly used in choosing home agent apparatus, different agent equipments from equipment Redundancy backup can be realized, the ability that the TLV shows that equipment possesses proxy management, typically all LLDP main equipments is carried.Lattice Formula is as shown in table 1.
Table 1
7 bits 9 bits 8 bits
Type 32 Length Priority
(2) target device TLV (LLDP Destination TLV):Type in message is not specific, it is possible to use 33, i.e. Type are equal to 33, and the inside record specifies target device mark.It is mainly used in specifying target when request or response to set It is standby.Form is as shown in table 2.
Table 2
7 bits 9 bits 48 bits
Type 33 Length Target device is identified
(3) Query of Topological TLV (LLDP topo query TLV):Type in message is not specific, it is possible to use 34, i.e. Type are equal to 34, and the TLV is used for showing that the message is the request of equipment Query of Topological.Message format is as shown in table 3.
Table 3
7 bits 9 bits
Type 34 Length=0
(4) topological response TLV (LLDP topo answer TLV):Type in message is not specific, it is possible to use 35, i.e. Type are equal to 35, and the TLV is used for showing that the message is equipment Query of Topological response.Message format is as shown in table 4.
Table 4
7 bits 9 bits
Type 35 Length=0
(5) link topology TLV (LLDP topo TLV):Type in message is not specific, it is possible to use 36, i.e., Type is equal to 36.In equipment topology response message, link topology information is carried using this TLV, the information is typically by equipment mark Know and interface identifier composition, the device identification TLV and interface identifier TLV is defined in LLDP standard agreements.Message format As shown in table 5.
Table 5
(6) Simple Network Management Protocol message TLV (SNMP TLV):Which is a self-defining function noun, is meant that SNMP messages are encapsulated in LLDP messages.LLDP main equipments or target device are referred specifically in embodiments of the present invention by institute There is original Simple Network Management Protocol (Simple Network Management Protocol, SNMP) message to be all encapsulated into LLDP messages, including OSS downward messages, LLDP target device response messages, and LLDP target devices break down or change When the proactive notification message that sends.This TLV is not specific to Type, it is possible to use 37, i.e. Type are equal to 37.Message format is such as Shown in table 6.
Table 6
7 bits 9 bits N*8 bits
Type 37 Length (n bytes) SNMP message informations
(7) Simple Network Management Protocol mark TLV (SNMP Identification TLV):Using in LLDP standards Self-defined TLV types Type, are not specific to Type here, it is possible to use 38, i.e. Type are equal to 38.Distinguish LLDP equipment SNMP is identified, for recognizing that OSS issues the target device of configuration.Wherein, V can include version number and the identifier of SNMP (SNMP V1/V2 versions can use group's name, V3 versions use USM USER and key information), as shown in table 7.
Table 7
7 bits 9 bits 8 bits N-bit
Type 38 Length (n+8 bits) SNMP versions SNMP is identified
Second, forward table definition.
(1) neighbor table of LLDP main equipments:For finding the information of maintenance of neighbor, neighbours include direct-connected and indirectly connected , and outgoing interface can be found when E-Packeting, necessary information is only listed here, can also add description etc. Information.LLDP neighbor tables are as shown in table 8.
Table 8
Neighbours identify Jumping figure Interface SNMP versions SNMP is identified
(2) neighbor table of LLDP target devices:After LLDP equipment receives LLDP messages, the table will be recorded or refresh.Mainly Forwarding outlet is found for networking intermediate equipment, and target device active reporting information is selected according to Proxy priority to during OSS Main equipment is taken, if neighbours do not possess Proxy abilities, can be represented using Proxy priority 0.LLDP neighbor tables such as table 9 It is shown.
Table 9
Neighbours identify Jumping figure Interface Proxy priority
According to above-mentioned message and forwarding-table item, below elaborating the work(of LLDP main equipments and LLDP target devices Energy.
(1) LLDP master device functionalities:Act on behalf of LLDP messages and the mutual phase transformation of SNMP over IP messages, then forward the packet to corresponding equipment and OSS, need including original The information such as the neighbours is reported to by OSS);LLDP main equipments information is notified into regularly or manually other LLDP target devices;Learn Practise neighbours' topology and report OSS systems, including directly-connected neighbor and indirectly connected neighbours.
Specifically, after LLDP main equipments receive the SNMP configurations or inquiry request that OSS issues, according in SNMP messages Mark judge whether be configure this equipment, if it is, on give SNMP Agent complete configuration;If it is not, then root Neighbor entry is inquired about according to the mark, after completing SNMP messages version and mark conversion, LLDP messages is packaged into, is added target device Outgoing interface after the specified target devices of TLV from neighbor entry is sent to next hop neighbor, is finally transmitted to the target specified and sets It is standby.
If LLDP main equipments receive target device respond or the SNMP over LLDP messages that report after, complete SNMP After version and mark conversion, OSS systems are sent in the way of IP messages.
When the study of LLDP main equipments is to neighbours, the request of target device Query of Topological is sent by equipment Query of Topological TLV, Specified by target device TLV and be sent to the target device;After the target device receives the request, equipment topology response is responded Message, the equipment TLV and receiving interface TLV of each intermediate equipment addition from the message of LLDP main equipments, and link topology TLV In, the link topology information complete with target device is obtained, the SNMP information of the information and neighbor advertisement is reported into OSS together System, facilitates OSS systems to issue configuration.
(2) LLDP target devices function:Forwarding LLDP messages and process LLDP Query of Topological requests, process SNMP Over LLDP are configured or inquiry request, and give OSS systems using SNMP over LLDP active reporting informations.
Specifically, after LLDP target devices receive LLDP messages, if target device TLV is not carried in message, This equipment TLV and receiving interface TLV is inserted, the directly-connected neighbor of all non-reception interfaces is sent to;If target is carried in message Equipment TLV, then judge whether it is this equipment according to the TLV, if it is not, then inquiry neighbor entry is transmitted to next-hop device.
If judging it is this equipment according to target device TLV, according to whether judging whether comprising link topology inquiry TLV It is Query of Topological request, if it is, link topology information is obtained from the message, after being encapsulated in the way of link topology TLV, Addition equipment topology response TLV and specified target device TLV, it is intended that response to the source device for initiating neighbor queries.
If judging it is this equipment according to target device TLV, also need to whether simple network management is carried according to message Protocol massages TLV come judge whether SNMP over LLDP configuration or inquiry request, if it is, on give at SNMP agent The request is managed, SNMP response messages are constructed according to result, the response message is also with Simple Network Management Protocol message TLV side Formula is encapsulated, and is specified by way of target device TLV response to source request equipment, usually LLDP main equipments.
When target device needs active reporting information to OSS, also encapsulated in the way of SNMP over LLDP, according to neighbour The Proxy priority in residence chooses LLDP main equipments, is then sent to LLDP main equipments in the way of specifying target device TLV.
Based on Fig. 4, one embodiment of the invention provides the equipment configuration method in a kind of network, as shown in figure 5, being provided Method can specifically include:
Step 510, LLDP main equipments receive the IP messages of OSS, and Simple Network Management Protocol SNMP is extracted from IP messages Message, carries the identification information of LLDP target devices to be configured and LLDP target devices institute to be configured in SNMP messages The configuration information for needing.
Specifically, OSS is the service operation and management platform of a synthesis, can manage LLDP main equipments.LLDP master sets The standby SNMP abilities for receiving LLDP target devices, the SNMP version informations such as supported etc..LLDP main equipments can be by LLDP SNMP abilities report OSS after being changed.The transformation process mainly consider the SNMP versions that LLDP main equipments support and The SNMP versions that LLDP target devices are supported may be inconsistent, the SNMP marks that typically can be carried according to LLDP target devices, will The SNMP versions that the SNMP version conversions that LLDP target devices are supported are supported into LLDP main equipments and OSS.Different SNMP versions marks The mode of knowledge equipment is different, and such as some versions are that some versions are with user's identifier with group's name mark LLDP target devices Know LLDP target devices, then specific converted contents can be changed between group's name and user name.LLDP master sets It is standby can also receive that OSS issues carry LLDP target devices mark management solicited message, such as:Inquiry request information is matched somebody with somebody Put solicited message.The management solicited message is to need the LLDP target device corresponding with LLDP target devices mark to receive.And The LLDP main equipments for serving as proxy role are responsible for the management solicited message being sent to LLDP target devices.
Configuration information can include that LLDP target devices to be configured need parameter and correlation of configuration etc..
Device management method provided in an embodiment of the present invention, before step 510, also includes:Step 500, LLDP master set The topological structure of LLDP target devices is reported OSS by the standby topological structure for also needing to obtain LLDP target devices.
If the LLDP target devices composition ring network structure of LLDP main equipments connection, obtains the topology of LLDP target devices Structure can be specifically:
LLDP main equipments send neighbor advertisement message to LLDP target devices.
LLDP target devices are by the identification information of itself and receive the interface message of neighbor advertisement message and be added to neighbour In occupying notification packet, down hop LLDP target device sends.LLDP target devices can be with device identification TLV and interface identifier The mode of TLV is by the identification information of itself and receives the interface message of neighbor advertisement message and is added to neighbor advertisement message In, LLDP target devices can also be added to the SNMP version numbers of itself support and mark in neighbor advertisement message, LLDP mesh The SNMP version numbers and SNMP marks that marking device is supported can be added in neighbor advertisement message in the form of the TLV shown in table 7.
Due to being ring network structure, the neighbor advertisement message sent by LLDP main equipments is eventually returned on LLDP main equipments, The neighbor advertisement message that LLDP main equipments are received can carry the device identification TLV of the LLDP target devices on a direction and connect Mouth mark TLV, so, LLDP main equipments are known that the topological structure on a direction.
In order to be able to obtain two-way topological structure, LLDP main equipments can send a neighbours respectively to two different directions Notification packet, so, LLDP main equipments can receive two neighbor advertisement messages, from the two neighbor advertisement messages obtain two Topological structure on direction.
Assume that LLDP main equipments connect a LLDP target devices in side, connect the 2nd LLDP targets in opposite side and set Standby, then LLDP main equipments obtain the process of the topological structure of both direction can specifically include:
(1) LLDP main equipments send the first neighbor advertisement message to a LLDP target devices.Receive the first neighbor advertisement The LLDP target devices of message are by the identification information of itself and receive the interface message of the first neighbor advertisement message and be added to In first neighbor advertisement message, and the forwarding of down hop LLDP target device;Jump can also be carried in first neighbor advertisement message Number information, the LLDP target devices for receiving the first neighbor advertisement message can be changed the hop count information, such as plus 1.
(2) LLDP main equipments send the second neighbor advertisement message to the 2nd LLDP target devices.Receive second neighbours The LLDP target devices of notification packet are by the identification information of itself and receive the interface message of the second neighbor advertisement message and add It is added in the second neighbor advertisement message, and the forwarding of down hop LLDP target device;Can also take in second neighbor advertisement message Jumping figure can be added 1 by band hop count information, the LLDP target devices for receiving the second neighbor advertisement message.
(3) LLDP main equipments receive the first neighbor advertisement message and the second neighbor advertisement message, adjacent according to first for receiving Occupy the topological structure of notification packet and the one or more of LLDP target devices of the second neighbor advertisement Receive message.
LLDP targets are carried in the first neighbor advertisement message and the second neighbor advertisement message of the reception of LLDP main equipments to set Standby device identification TLV and interface identifier TLV, can obtain whole looped network from these device identifications TLV and interface identifier TLV Topological structure in both direction.
In order to be able to allow LLDP target devices to recognize LLDP main equipments, LLDP main equipments can be with the neighbor advertisement report for sending Proxy marks are carried in text, such LLDP target devices can be identified according to this Proxy can be with OSS communications LLDP main equipments.
After LLDP main equipments obtain the topological structure of both direction, neighbor entry, neighbor entry can also be locally generated The identification information of neighbor device can be included, the network topological information of neighbours is reached, such as outgoing interface etc. can be with neighbor entry SNMP version numbers and SNMP mark including neighbours etc..Can also set to each LLDP target including LLDP main equipments in neighbor table Standby jumping figure etc..
If the LLDP target devices of LLDP main equipments connection constitute non-ring network structure, opening up for LLDP target devices is obtained Flutterring structure can be specifically:
(1) LLDP main equipments receive neighbor advertisement message, carry device identification TLV and interface in the neighbor advertisement message Mark TLV, LLDP main equipments identify the LLDP mesh in link end from these device identifications TLV and interface identifier TLV Marking device, obtain LLDP target devices in link end identification information and from the LLDP target devices of link end to The network topology structure of LLDP main equipments;
(2) LLDP main equipments send Query of Topological request, the Query of Topological to the LLDP target devices in link end The TLV shown in table 3 is carried in request, the LLDP target devices for receiving the Query of Topological request can be known according to this TLV It is not Query of Topological request.
(3), after LLDP target devices receive Query of Topological request, identify after being Query of Topological request, by the mark of itself Information and receive Query of Topological request interface message be added to Query of Topological request in, down hop LLDP target device Forwarding.LLDP target devices can be in the form of device identification TLV and interface identifier TLV by the identification information of itself and reception Interface message to Query of Topological request is added in Query of Topological request.
Hop count information can be carried in Query of Topological request, after middle LLDP target devices receive Query of Topological request, Jumping figure can be subtracted 1, the LLDP target devices after subtracting 1 for 0 can be exactly the LLDP target devices of link end, certainly, LLDP According to the identification information of the LLDP target devices in Query of Topological request, target device can also recognize whether oneself is link The LLDP target devices of meter Duan.
(4) the LLDP target devices of link end receive Query of Topological request after, carry during Query of Topological is asked its The topology information of his LLDP target devices is encapsulated in the way of link topology TLV (referring to table 5), with reference to LLDP main equipments , response to LLDP main equipments, the identification information of LLDP main equipments can be in the form of targets option TLV shown in table 2 for identification information Carry in response message;In response message repeating process, other target devices continue addition link topology information.So, The topological structure from LLDP main equipments to link end LLDP target devices is carried in the response message that LLDP main equipments are received And from link end LLDP target devices to the topological structure of LLDP main equipments, LLDP main equipments can be from the response message It was found that the two-way link topology between LLDP main equipments and LLDP target devices to be configured.
In order to be able to allow LLDP target devices to recognize LLDP main equipments, LLDP main equipments can be with the neighbor advertisement report for sending Proxy marks are carried in text, such LLDP target devices can be identified according to this Proxy can be with OSS communications LLDP main equipments.
After LLDP main equipments obtain the topological structure of LLDP target devices, neighbor entry, neighbours can also be locally generated List item can include the identification information of neighbor device, and the network topological information of arrival neighbours, such as outgoing interface etc. are gone back in neighbor entry SNMP version numbers and SNMP marks of neighbours etc. can be included.LLDP main equipments can also be included to each LLDP mesh in neighbor table Jumping figure of marking device etc..
Step 520, identification information-enquiry LLDP target device of the LLDP main equipments according to LLDP target devices to be configured Identification information and LLDP target devices forwarding information corresponding relation, so as to obtain the LLDP target devices to be configured Forwarding information.
Specifically, the forwarding information that LLDP main equipments are obtained can connect LLDP targets to be configured on LLDP main equipments The outgoing interface information of equipment, the process for obtaining forwarding information are to inquire about neighbor table by LLDP main equipments, are stored with neighbor table The corresponding relation of the identification information of LLDP target devices and the forwarding information of LLDP target devices.
It is after LLDP main equipments receive the management solicited message for carrying LLDP target devices mark, adjacent in LLDP main equipments The forwarding information corresponding with LLDP target devices mark is inquired about in occupying table.Wherein, LLDP main equipments neighbor table is as shown in table 8.
In addition, LLDP host device interfaces are changed into closing down from up is opened, then the neighbor entry through the end interface is deleted. When the state for having neighbor device changes, LLDP target devices are packaged into the neighbor information that oneself is safeguarded on LLDP messages LLDP main equipments are offered, IP is packaged into by LLDP main equipments is wrapped and offer OSS.
SNMP messages are packaged into LLDP messages by step 530, LLDP main equipments, are reported LLDP according to the forwarding information for obtaining Text is transmitted to LLDP target devices to be configured, so that LLDP target devices to be configured are configured using configuration information.
SNMP messages can be encapsulated in LLDP messages, before encapsulation in the form of TLV by LLDP main equipments, LLDP master Equipment can be with according to the identification information of the LLDP target devices to be configured acquisition LLDP target devices to be configured Can identification SNMP version informations, according to the SNMP version informations to the LLDP target devices to be configured needed for match somebody with somebody Confidence breath is changed.
Configuration information is carried in SNMP messages, LLDP target devices to be configured can be according to the parameter in configuration information And corresponding value is configured.
Therefore, the equipment configuration method in network provided in an embodiment of the present invention, LLDP main equipments receive OSS and pass through SNMP What message form sent carries the management solicited message of LLDP target devices mark, is obtained according to LLDP target devices mark The forwarding information of LLDP target devices, is sealed solicited message is managed by SNMP messages according to the forwarding information of LLDP target devices The form for being attached to LLDP messages is sent to LLDP target devices, is encapsulated into LLDP by SNMP messages when LLDP target devices are received After the management request response message that message form sends, SNMP messages are dressed up in management request response message deblocking, and is sent out to OSS Send, remote managements of the OSS to LLDP target devices can be also realized so as to IP address need not be obtained.
Fig. 6 is the flow chart of the equipment configuration method in network provided in an embodiment of the present invention.As illustrated, the present invention is real Apply example to specifically include:
Step 610, LLDP target devices are received LLDP main equipments and are sent out by the form that SNMP messages are encapsulated into LLDP messages That what is sent carries the management solicited message of LLDP target devices mark.Wherein, manage solicited message include inquiry request information or Configuring request information.
Step 620, when LLDP target devices mark is identical with LLDP target device marks, then will management solicited message solution SNMP messages are packaged into, and carry out the process corresponding with management solicited message, so as to obtain management request response message.
Further, step 620 also includes:When in message, target device mark is different from LLDP target devices mark, The forwarding information corresponding with target device mark in message is inquired about in LLDP target device forward tables;And according to forwarding information, By the SNMP over LLDP message down hop LLDP target devices or LLDP main equipments after insertion equipment TLV and interface TLV Forwarding.
Further, also included before step 620:LLDP target devices actively send neighbor advertisement, facilitate intermediate objective Equipment and LLDP main equipments study neighbor entry.Except the standard capability of LLDP protocol definitions in the advertised information, also include SNMP version numbers, SNMP marks.
LLDP target devices set up LLDP target device neighbor tables, and neighbours' forward table result is as shown in table 9.When LLDP targets Equipment receives the LLDP messages of neighbours' transmission, then study or neighbor table refreshing item, and the list item also learns in addition to neighbours' mark The Proxy priority of jumping figure, receiving interface and neighbours to neighbours, the interface is typically exactly the outgoing interface for E-Packeting, and is somebody's turn to do Priority is used for recognizing the priority whether neighbours have proxy management ability and proxy management.In general, with agency Operating capability is exactly LLDP main equipments, when network size is larger or it is higher to reliability requirement when, can arrange two or Plural LLDP main equipments, different LLDP main equipments should show the priority of proxy management with Proxy.
When LLDP target device interfaces are changed into closing down from up is opened, the neighbor entry learnt by the interface is deleted, wrapped Include directly-connected neighbor and indirectly connected neighbours.And when there is neighbor state to change, the neighbours for oneself safeguarding are believed by LLDP target devices Breath is packaged into LLDP messages and reports LLDP main equipments, is packaged into IP by LLDP main equipments and wraps and offers OSS.
Management request response message is sent LLDP master by the form that SNMP messages are encapsulated into LLDP messages by step 630 Equipment, will manage request response message to LLDP main equipments and is forwarded to OSS OSS by SNMP message forms.
Further, step 630 also includes:When being sent response to LLDP main equipments using SNMP over LLDP, using mesh Specifying LLDP main equipments, the LLDP main equipments can be with recognizing according to the source MAC in management request message, and not for marking device TLV Consider the Proxy priority of LLDP main equipments.Before the message is forwarded, LLDP target devices are also required to study arrival LLDP master and set Standby forwarding information, the forwarding information can learn or refresh when SNMP over LLDP management requests are received.
Therefore, the equipment configuration method in network provided in an embodiment of the present invention, LLDP target devices receive LLDP master The management request letter for carrying LLDP target devices mark that equipment is sent by the form that SNMP messages are encapsulated into LLDP messages Management solicited message deblocking when the target device mark in message is identical with LLDP target device marks, is then dressed up by breath SNMP messages, and the process corresponding with management solicited message is carried out, so as to obtain management request response message, by management request Response message is sent to LLDP main equipments by the form that SNMP messages are encapsulated into LLDP messages, will manage to LLDP main equipments Request response message is forwarded to OSS OSS by SNMP message forms, can also realize so as to obtain IP address Remote managements of the OSS to LLDP target devices.
Fig. 7 is the information exchange figure of the equipment configuration method in this network provided in an embodiment of the present invention.As illustrated, this Inventive embodiments are specifically included:
Step 701, OSS send the pipe for carrying LLDP target devices mark to LLDP main equipments by SNMP messages form Reason solicited message.Wherein, managing solicited message includes inquiry request information or configuring request information.
Step 702, after LLDP main equipments receive the management solicited message for carrying LLDP target devices mark, judges to need Target device to be configured.If the goal setting is consistent with LLDP main equipments, the configuration or inquiry request are directly processed; If other LLDP target devices then inquire about neighbor table, and execution step 703 as proxy configurations.
Step 703, LLDP main equipments complete SNMP versions according to the SNMP versions and SNMP mark inquired in neighbor table With mark conversion, and add LLDP encapsulation, used in encapsulation target device TLV specifying target device to be configured, use Encapsulating original SNMP messages, the message does not include IP and UDP heads to SNMP TLV.
Step 704, after LLDP target devices 1 receive the SNMP over LLDP messages of LLDP main equipments transmission, study Or neighbor table refreshing item, and be compared with the device identification of itself according to the LLDP target devices mark of message carrying, when Target device mark in message identifies identical, then execution step 707 with LLDP target devices 1;When the target device in message Mark identifies different, then execution step 705 from LLDP target devices 1.
Step 705, the inquiry neighbor table of LLDP target devices 1, according to the outgoing interface forwarding management configuration request in neighbor table; Before forwarding, equipment TLV can be inserted and the interface TLV of the message is received, learnt or neighbor table refreshing item.
Step 706, after LLDP target devices 2 receive the management configuration request message of the forwarding of LLDP target devices 1, study Or neighbor table refreshing item, and the target device mark that the equipment query message is carried can be compared with the device identification of itself Compared with when target device mark identifies identical, then execution step 707 with LLDP target devices 1;When target device mark and LLDP mesh Marking device 1 identifies difference, then inquire about neighbor entry and be transmitted to next-hop LLDP target according to the outgoing interface in neighbor entry setting It is standby, equipment TLV can be inserted before forwarding and the interface TLV of the message is received.
Step 707, LLDP target devices 2 will manage solicited message deblocking and dress up SNMP messages, and carry out and management request The corresponding process of information, so as to obtain management request response message.Then execution step 708.
Step 708, LLDP target devices 2 will manage form of the request response message by SNMP over LLDP messages, By SNMP response messages with SNMP TLV encapsulating, specified by target device TLV and be sent to LLDP main equipments, can be looked into before transmission Ask outgoing interface of the neighbor table from neighbor table to send.
Step 709, after LLDP target devices 1 receive the management request response message of SNMP over LLDP encapsulation, Study or neighbor table refreshing, and outgoing interface is obtained by target device TLV inquiries neighbor table.Then execution step 710.
Step 710, LLDP target devices 1 forward the LLDP messages, meeting before forwarding according to the outgoing interface that neighbor table is inquired The insertion equipment TLV and interface TLV for receiving the message.
Step 711, after the management request response message that LLDP main equipments are received, being identified by target device TLV should The message is processed, original SNMP messages are taken out from SNMP TLV, after completing SNMP forms and mark conversion, reported with standard SNMP Literary form is step 712 response to OSS OSS, and the SNMP messages of the standard are encapsulated with IP message formats.
Therefore, the equipment configuration method in network provided in an embodiment of the present invention, LLDP main equipments receive OSS and pass through SNMP What message form sent carries the management solicited message of LLDP target devices mark, is obtained according to the target device mark in message Take the forwarding information of LLDP target devices, according to the forwarding information will manage solicited message be forwarded to LLDP target devices 1 or LLDP target devices 2, LLDP target devices 1 or LLDP target devices 2 receive management solicited message, when the target in message sets During for identifying identical with LLDP target device marks, then SNMP messages are dressed up in management solicited message deblocking, and carry out and management Management request response message, so as to obtain management request response message, is passed through SNMP messages by the corresponding process of solicited message The form for being encapsulated into LLDP messages is sent to LLDP main equipments, when LLDP main equipments receive LLDP target devices 1 or LLDP mesh Marking device 2 asks response message by the management that SNMP messages are encapsulated into the transmission of LLDP messages form, by management request response letter SNMP messages are dressed up in breath deblocking, and are sent to OSS with standard SNMP message format after changing SNMP versions and mark, so as to nothing IP address need to be obtained and can also realize remote managements of the OSS to LLDP target devices.
Fig. 8 is the structural representation of Link Layer Discovery Protocol LLDP equipment provided in an embodiment of the present invention.The LLDP equipment For perform Fig. 3 to and Fig. 7 offer network in equipment configuration method.As illustrated, the embodiment of the present invention is specifically included:The Single port 81, second port 82, data sink 83, processor 84 and data transmitter 85.
First port 81 is used to connect OSS OSS;
Second port 82 is used to connect one or more LLDP target devices;
Data sink 83 is used for the IP messages for receiving OSS, and Simple Network Management Protocol SNMP report is extracted from IP messages Text, carries in SNMP messages needed for the identification information and LLDP target devices to be configured of LLDP target devices to be configured Configuration information;
Mark of the processor 84 for the identification information-enquiry LLDP target devices according to LLDP target devices to be configured The corresponding relation of the forwarding information of information and LLDP target devices, so as to obtain the forwarding information of LLDP target devices to be configured; And SNMP messages are encapsulated in LLDP messages;
Data transmitter 85 is set for LLDP messages are sent to LLDP targets to be configured according to the forwarding information for obtaining It is standby, so that LLDP target devices are configured using configuration information.
In one embodiment, processor 84 is additionally operable to the topological structure for obtaining one or more LLDP target devices;Number It is additionally operable to for the topological structure of acquisition to report OSS according to transmitter.
In another embodiment, one or more LLDP target devices constitute ring network structure with LLDP main equipments, then data Transmitter 85, is additionally operable to send neighbor advertisement message to one or more LLDP target devices, so that receiving neighbor advertisement The LLDP target devices of message are by the identification information of itself and receive the interface message of neighbor advertisement message and be added to neighbours In notification packet, down hop LLDP target device sends;Data sink 83, is additionally operable to receive neighbor advertisement message;Processor 84, it is additionally operable to from the neighbor advertisement message for receiving obtain the topological structure of one or more LLDP target devices.
Therefore, LLDP equipment provided in an embodiment of the present invention, receives OSS by carrying that SNMP messages form sends The management solicited message of LLDP target devices mark, identifies the forwarding letter for obtaining LLDP target devices according to LLDP target devices Breath, is sent out solicited message is managed by the form that SNMP messages are encapsulated into LLDP messages according to the forwarding information of LLDP target devices LLDP target devices are delivered to, please by the management that SNMP messages are encapsulated into the transmission of LLDP messages form when LLDP target devices are received After seeking response message, SNMP messages are dressed up in management request response message deblocking, and is sent to OSS, so as to IP ground need not be obtained Remote managements of the OSS to LLDP target devices can also be realized in location.
Fig. 9 is the structural representation of equipment configuration system provided in an embodiment of the present invention.As illustrated, the device configuration system System Link Layer Discovery Protocol LLDP main equipments 91 and one or more LLDP target devices 92, one or more LLDP targets set Standby 92 connect OSS by LLDP main equipments 91.
LLDP main equipments 91, for receiving the IP messages of OSS OSS, extract simple network pipe from IP messages Reason agreement SNMP message, carries the identification information and LLDP to be configured of LLDP target devices to be configured in SNMP messages Configuration information needed for target device;According to the mark of the identification information-enquiry LLDP target devices of LLDP target devices to be configured The corresponding relation of the forwarding information of knowledge information and LLDP target devices, so as to the forwarding for obtaining LLDP target devices to be configured is believed Breath;And SNMP messages are encapsulated in LLDP messages, LLDP messages are sent to according to the forwarding information for obtaining to be configured LLDP target devices, so that LLDP target devices are configured using configuration information.
In one embodiment, LLDP main equipments 91 are additionally operable to the topology knot for obtaining one or more LLDP target devices The topological structure of acquisition is reported OSS by structure.
In another embodiment, one or more LLDP target devices 92 constitute ring network structure with LLDP main equipments 91, then LLDP main equipments 91 are specifically for sending neighbor advertisement message to one or more LLDP target devices;Receive neighbor advertisement report Text, obtains the topological structure of one or more LLDP target devices from the neighbor advertisement message for receiving;LLDP target devices are used In the identification information of itself and the interface message for receiving neighbor advertisement message are added to neighbour by reception neighbor advertisement message In occupying notification packet, down hop LLDP target device sends.
Professional should further appreciate that, with reference to each example of the embodiments described herein description Unit and algorithm steps, can with electronic hardware, computer software or the two be implemented in combination in, it is hard in order to clearly demonstrate The interchangeability of part and software, generally describes the composition and step of each example in the above description according to function. These functions actually with hardware or software mode performing, depending on the application-specific and design constraint of technical scheme. Professional and technical personnel can use different methods to realize to each specific application described function, but this realization It is not considered that beyond the scope of this invention.
Hardware, computing device can be used with reference to the method for the embodiments described herein description or the step of algorithm Software module, or the combination of the two is implementing.Software module can be placed in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable ROM, depositor, hard disk, moveable magnetic disc, CD-ROM or technical field In any other form of storage medium well known to interior.
Above-described specific embodiment, has been carried out further to the purpose of the present invention, technical scheme and beneficial effect Describe in detail, the be should be understood that specific embodiment that the foregoing is only the present invention is not intended to limit the present invention Protection domain, all any modification, equivalent substitution and improvements within the spirit and principles in the present invention, done etc. all should include Within protection scope of the present invention.

Claims (17)

1. the equipment configuration method in a kind of network, the network include OSS OSS, Link Layer Discovery Protocol LLDP Main equipment and one or more LLDP target devices, one or more of LLDP target devices pass through the LLDP main equipments Connect the OSS, methods described includes:
The LLDP main equipments receive the IP messages of the OSS, and Simple Network Management Protocol SNMP is extracted from the IP messages Message, carries the identification information and the LLDP mesh to be configured of LLDP target devices to be configured in the SNMP messages Configuration information needed for marking device;
Mark of the LLDP main equipments according to the identification information-enquiry LLDP target devices of the LLDP target devices to be configured The corresponding relation of the forwarding information of knowledge information and LLDP target devices, so as to obtain the forwarding of the LLDP target devices to be configured Information;
The SNMP messages are packaged into LLDP messages by the LLDP main equipments, are reported the LLDP according to the forwarding information for obtaining Text is sent to the LLDP target devices to be configured, so that the LLDP target devices are matched somebody with somebody using the configuration information Put.
2. the equipment configuration method in network according to claim 1, it is characterised in that the forward packets of the acquisition Include the outgoing interface for connecting the LLDP target devices to be configured on the LLDP main equipments.
3. the equipment configuration method in network according to claim 1, it is characterised in that the LLDP main equipments will be described SNMP messages are packaged into LLDP messages and specifically include:
The LLDP main equipments are encapsulated into the SNMP messages in the LLDP messages in the form of type lengths values TLV.
4. the equipment configuration method in network according to claim 3, it is characterised in that the LLDP messages are also carried For identifying the TLV of the LLDP target devices to be configured, the TLV for identifying LLDP target devices to be configured takes Identification information with the LLDP target devices to be configured.
5. the equipment configuration method in network according to claim 1, it is characterised in that the LLDP main equipments receive institute Also include before the IP messages for stating OSS:
The topological structure of one or more of LLDP target devices is obtained, the topological structure of acquisition is reported into the OSS.
6. the equipment configuration method in network according to claim 5, it is characterised in that one or more of LLDP mesh Marking device constitutes ring network structure with the LLDP main equipments, then obtain the topological structure of one or more of LLDP target devices Specifically include:
The LLDP main equipments send neighbor advertisement message to one or more of LLDP target devices, so that receiving neighbour The LLDP target devices of notification packet are occupied by the identification information of itself and the interface message addition of neighbor advertisement message is received To in neighbor advertisement message, down hop LLDP target device sends;
The LLDP main equipments receive neighbor advertisement message, from the neighbor advertisement message for receiving obtain one or more of The topological structure of LLDP target devices.
7. the equipment configuration method in network according to claim 6, it is characterised in that the LLDP main equipments are in side Connect a LLDP target devices, connect the 2nd LLDP target devices in opposite side, the LLDP main equipments to one or Multiple LLDP target devices send neighbor advertisement message and specifically include:
The LLDP main equipments send the first neighbor advertisement message to a LLDP target devices, so that receiving described the The LLDP target devices of one neighbor advertisement message are by the identification information of itself and receive the interface of the first neighbor advertisement message Information is added in the first neighbor advertisement message, and the forwarding of down hop LLDP target device;
The LLDP main equipments send the second neighbor advertisement message to the 2nd LLDP target devices, so that receiving described the The LLDP target devices of two neighbor advertisement messages are by the identification information of itself and receive the interface of the second neighbor advertisement message Information is added in the second neighbor advertisement message, and the forwarding of down hop LLDP target device;
The LLDP main equipments receive the first neighbor advertisement message and the second neighbor advertisement message, are led to according to the first neighbours for receiving Accuse the topological structure of message and the one or more of LLDP target devices of the second neighbor advertisement Receive message.
8. the equipment configuration method in network according to claim 7, it is characterised in that the first neighbor advertisement message Proxy marks are acted on behalf of with also carrying in the second neighbor advertisement message, so that reception the first neighbor advertisement message, Or the LLDP target devices of the second neighbor advertisement message learn the identification information of the LLDP main equipments.
9. the equipment configuration method in network according to claim 5, it is characterised in that one or more of LLDP mesh Marking device constitutes non-ring network structure with the LLDP main equipments, then obtain the topology knot of one or more of LLDP target devices Structure is specifically included:
The LLDP main equipments receive the neighbor advertisement message of LLDP target devices, obtain and be in from the neighbor advertisement message The topology of the identification information of the LLDP target devices of link end and the arrival LLDP target devices in link end Information;
The LLDP main equipments are according to the topology information of the LLDP target devices for reaching the link end to the link end LLDP target devices send Query of Topological request so that receive the LLDP target devices of Query of Topological request by itself Identification information and receive the interface message of Query of Topological request and be added in Query of Topological request, and down hop LLDP Target device is forwarded;
Receive the response message for Query of Topological request of the LLDP target devices from link end, the response message In carry from the LLDP main equipments to the topological structure of the link end LLDP target devices and from the link end Topological structure of the end LLDP target devices to the LLDP main equipments;
The LLDP main equipments according to the response message of link end equipment carry from the LLDP main equipments to the link The topological structure of end LLDP target devices and from link end LLDP target devices the opening up to the LLDP main equipments Flutter Structure Calculation and go out full link topology.
10. the equipment configuration method in network according to claim 9, it is characterised in that in the Query of Topological request Proxy marks are carried also, so that the LLDP target devices for receiving the Query of Topological request learn the LLDP main equipments Identification information.
Equipment configuration method in 11. networks according to claim 1-10 any one, it is characterised in that the LLDP Before the SNMP messages are encapsulated into LLDP messages by main equipment, methods described also includes:
The LLDP main equipments are additionally operable to obtain described to be configured according to the identification information of the LLDP target devices to be configured The SNMP version informations that can recognize of LLDP target devices, according to the SNMP version informations to the LLDP mesh to be configured Configuration information needed for marking device is changed.
12. a kind of Link Layer Discovery Protocol LLDP equipment, it is characterised in that the equipment includes:
First interface, for connecting OSS OSS;
Second interface, for connecting one or more LLDP target devices;
Data sink, for receiving the IP messages of the OSS, extracts Simple Network Management Protocol SNMP from the IP messages Message, carries the identification information and the LLDP mesh to be configured of LLDP target devices to be configured in the SNMP messages Configuration information needed for marking device;
Processor, the mark for the identification information-enquiry LLDP target devices according to the LLDP target devices to be configured are believed The corresponding relation of the forwarding information of breath and LLDP target devices, so as to the forwarding for obtaining the LLDP target devices to be configured is believed Breath;And the SNMP messages are encapsulated in LLDP messages;
Data transmitter, for the LLDP messages are sent to the LLDP to be configured according to the forwarding information of the acquisition Target device, so that the LLDP target devices are configured using the configuration information.
13. LLDP equipment according to claim 12, it is characterised in that
The processor is additionally operable to the topological structure for obtaining one or more of LLDP target devices;
The data transmitter is additionally operable to for the topological structure of acquisition to report the OSS.
14. LLDP equipment according to claim 13, it is characterised in that one or more of LLDP target devices and institute LLDP main equipments composition ring network structure is stated, then
The data transmitter, is additionally operable to send neighbor advertisement message to one or more of LLDP target devices, so that The LLDP target devices of neighbor advertisement message are received by the identification information of itself and the interface of neighbor advertisement message is received During information is added to neighbor advertisement message, down hop LLDP target device sends;
The data sink, is additionally operable to receive neighbor advertisement message;
The processor, is additionally operable to obtain opening up for one or more of LLDP target devices from the neighbor advertisement message for receiving Flutter structure.
15. a kind of equipment configuration systems, it is characterised in that the system includes Link Layer Discovery Protocol LLDP main equipments and one Individual or multiple LLDP target devices, one or more of LLDP target devices connect OSS by the LLDP main equipments,
The LLDP main equipments, for receiving the IP messages of OSS OSS, extract simple network from the IP messages Management agreement SNMP messages, carry the identification information of LLDP target devices to be configured and described treat in the SNMP messages Configuration information needed for the LLDP target devices of configuration;According to the identification information-enquiry of the LLDP target devices to be configured The corresponding relation of the identification information of LLDP target devices and the forwarding information of LLDP target devices, it is described to be configured so as to obtain The forwarding information of LLDP target devices;And the SNMP messages are encapsulated in LLDP messages, according to the forwarding of the acquisition The LLDP messages are sent to the LLDP target devices to be configured by information, so that the LLDP target devices utilize institute State configuration information to be configured.
16. equipment configuration systems according to claim 15, it is characterised in that the LLDP main equipments are additionally operable to obtain institute The topological structure of one or more LLDP target devices is stated, the topological structure of acquisition is reported into the OSS.
17. equipment configuration systems according to claim 16, it is characterised in that one or more of LLDP target devices Ring network structure is constituted with the LLDP main equipments, then
The LLDP main equipments are specifically for sending neighbor advertisement message to one or more of LLDP target devices;Receive Neighbor advertisement message, obtains the topological structure of one or more of LLDP target devices from the neighbor advertisement message for receiving;
The LLDP target devices are used for, and receive neighbor advertisement message, by the identification information of itself and receive neighbor advertisement During the interface message of message is added to neighbor advertisement message, down hop LLDP target device sends.
CN201380000237.3A 2013-01-16 2013-01-16 Method, device, and system for configuring device in network Active CN104205729B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/070547 WO2014110737A1 (en) 2013-01-16 2013-01-16 Method, device, and system for configuring device in network

Publications (2)

Publication Number Publication Date
CN104205729A CN104205729A (en) 2014-12-10
CN104205729B true CN104205729B (en) 2017-04-19

Family

ID=51208933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201380000237.3A Active CN104205729B (en) 2013-01-16 2013-01-16 Method, device, and system for configuring device in network

Country Status (2)

Country Link
CN (1) CN104205729B (en)
WO (1) WO2014110737A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833606A (en) * 2018-05-31 2018-11-16 郑州云海信息技术有限公司 A kind of two-layer equipment configuration method, tension management equipment, infrastructure devices and system
CN115277401B (en) * 2022-07-20 2024-05-14 浪潮思科网络科技有限公司 Equipment capacity expansion method, device, equipment and medium for established networking

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110011820B (en) * 2018-01-04 2022-03-18 中兴通讯股份有限公司 Method and device for connecting systems and computer storage medium
CN110808847B (en) * 2019-09-23 2021-10-15 三维通信股份有限公司 Method and device for managing DAS (data-based system), electronic device and storage medium
CN113972995B (en) * 2020-07-24 2023-04-28 华为技术有限公司 Network configuration method and device
CN114095374B (en) * 2021-11-11 2024-06-14 北京金山云网络技术有限公司 Network topology determination method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459536A (en) * 2008-12-29 2009-06-17 杭州华三通信技术有限公司 Port configuration method and switching device
CN101826981A (en) * 2010-03-18 2010-09-08 华为技术有限公司 Method for processing event message, north interface and operation support system
CN102318274A (en) * 2011-07-29 2012-01-11 华为技术有限公司 Utilize LLDP to obtain the method and system of network connection information
WO2012080251A1 (en) * 2010-12-17 2012-06-21 Siemens Aktiengesellschaft Method for configuring one or more devices in an ethernet-based communication network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8140654B2 (en) * 2007-04-27 2012-03-20 Futurewei Technologies, Inc. Verifying management virtual local area network identifier provisioning consistency
US8442072B2 (en) * 2007-05-25 2013-05-14 Futurewei Technologies, Inc. Method of preventing transport leaks in hybrid switching networks by extension of the link layer discovery protocol (LLDP)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459536A (en) * 2008-12-29 2009-06-17 杭州华三通信技术有限公司 Port configuration method and switching device
CN101826981A (en) * 2010-03-18 2010-09-08 华为技术有限公司 Method for processing event message, north interface and operation support system
WO2012080251A1 (en) * 2010-12-17 2012-06-21 Siemens Aktiengesellschaft Method for configuring one or more devices in an ethernet-based communication network
CN102318274A (en) * 2011-07-29 2012-01-11 华为技术有限公司 Utilize LLDP to obtain the method and system of network connection information

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833606A (en) * 2018-05-31 2018-11-16 郑州云海信息技术有限公司 A kind of two-layer equipment configuration method, tension management equipment, infrastructure devices and system
CN115277401B (en) * 2022-07-20 2024-05-14 浪潮思科网络科技有限公司 Equipment capacity expansion method, device, equipment and medium for established networking

Also Published As

Publication number Publication date
CN104205729A (en) 2014-12-10
WO2014110737A1 (en) 2014-07-24

Similar Documents

Publication Publication Date Title
CN104205729B (en) Method, device, and system for configuring device in network
CN101310486B (en) Techniques for inserting internet protocol services in a broadband access network
CN104010049B (en) Ethernet ip message encapsulating method and Network Isolation and DHCP implementation methods based on SDN
CN103944826B (en) List item polymerization and equipment in SPBM network
CN1592259B (en) Exchanger for network, route managing server, network interface device and its controlling method
CN102801625B (en) A kind of method of heterogeneous network double layer intercommunication and equipment
CN101197703B (en) Method, system and equipment for managing Zigbee network
CN103404084B (en) MAC Address forces retransmission unit and method
CN107040469A (en) The network equipment and method
CN110266592A (en) The communication means and device of SRV6 network and IP MPLS network
CN102594711A (en) Message forwarding method and edge device therefor
CN103166874A (en) Message forwarding method and device
CN101335646A (en) Determining the state of a tunnel with respect to a control protocol
CN101335711A (en) Determining a logical neighbor of a network element
CN102724118A (en) Label distribution method and device
CN101335645A (en) Obtaining identification information for a neighboring network element
CN107968751B (en) Information processing method and device
CN106789748A (en) A kind of distributed couple in multiplexer DAM stacking network system and its apparatus
CN100382531C (en) Switching in method for virtual special network and realizing apparatus
CN108964940A (en) Message method and device, storage medium
CN109981329A (en) Determine the method, equipment and system of network equipment connection relationship
WO2006007789A1 (en) A method for realizing terminals management in the network device
CN107222342A (en) A kind of cluster management network collocation method
CN107820262A (en) Method for parameter configuration, apparatus and system
CN109981819A (en) MDNS message processing method, device and group network system

Legal Events

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

Effective date of registration: 20171213

Address after: 510640 Guangdong City, Tianhe District Province, No. five, road, public education building, unit 371-1, unit 2401

Patentee after: Guangdong Gaohang Intellectual Property Operation Co., Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: Huawei Technologies Co., Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171220

Address after: 402260 Chongqing city Jiangjin Luohuang Industrial Park B District

Patentee after: Chongqing Hanyuan Machinery Co., Ltd.

Address before: 510640 Guangdong City, Tianhe District Province, No. five, road, public education building, unit 371-1, unit 2401

Patentee before: Guangdong Gaohang Intellectual Property Operation Co., Ltd.