CN101345655A - Method for discovering protocol and acquiring network connection information by utilization of link layer - Google Patents
Method for discovering protocol and acquiring network connection information by utilization of link layer Download PDFInfo
- Publication number
- CN101345655A CN101345655A CNA2008101346764A CN200810134676A CN101345655A CN 101345655 A CN101345655 A CN 101345655A CN A2008101346764 A CNA2008101346764 A CN A2008101346764A CN 200810134676 A CN200810134676 A CN 200810134676A CN 101345655 A CN101345655 A CN 101345655A
- Authority
- CN
- China
- Prior art keywords
- information
- equipment
- link layer
- far
- end network
- 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.)
- Pending
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention provides a method of obtaining network connection information using a link layer finding protocol, comprising: transmitting link layer finding protocol message to other devices by a device, wherein the message is carried with local device information in the device; receiving the link layer finding protocol message from other devices by the device, resolving the link layer finding protocol message, composing a far-end network device information according to the local device information carried therein, storing the far-end network device information in the device; storing the far-end network device information stored locally into a link layer finding protocol management information base. The invention performs network information performs network information double ply through using LLDP protocol, stores neighbor network information in LLDP MIBs, used for network management software unified finding, thereby ensuring network mapping discovery between isomerization network, advancing accuracy of plotting topology by network management software.
Description
Technical field
The present invention relates to data product switch field, relate in particular at the method for obtaining network connection information in the network management system according to LLDP (Link Layer Discovery Protocol, Link Layer Discovery Protocol).
Background technology
Present many network management softwares all use " finding automatically ", and function (Automated Discovery) is followed the tracks of the variation and the condition of topology, but most software at most also just arrives the 3rd layer, and device packets is arrived each IP subnet.But these all are very original data, it is the elementary event that relevant devices increases and removes, rather than where or how these equipment details such as operate with the network service, promptly do not have the information of the second layer, and the network topology that causes network management system to be set up is accurate inadequately.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of method of utilizing Link Layer Discovery Protocol to obtain network connection information, makes network management system can utilize this network connection information to set up more accurate network topology.
In order to solve the problems of the technologies described above, the invention provides a kind of method of utilizing Link Layer Discovery Protocol to obtain network connection information, comprise:
Equipment sends the Link Layer Discovery Protocol message to other equipment, carries the local device information of this equipment in the message;
Equipment receives the Link Layer Discovery Protocol message from other equipment, resolves described Link Layer Discovery Protocol message, and the local device information architecture one far-end network facility information according to wherein carrying is stored in described far-end network facility information in the equipment;
Equipment deposits the far-end network facility information of this locality storage in the link layer to discover protocol management information bank in.
Further, said method also can have following characteristics, and the transmission Link Layer Discovery Protocol message of described equipment periodic is to other equipment.
Further, said method also can have following characteristics, and the far-end network facility information that described equipment is stored this locality deposits in and specifically comprises following steps in the link layer to discover protocol management information bank:
Whether the checkout facility of described equipment periodic collects new far-end network facility information, if the new far-end network facility information of collecting is stored in the link layer to discover protocol management information bank.
Further, said method also can have following characteristics, and described local device information comprises a kind of or its combination in the following information: device name, device description, physical address and layer 3 address.
Further, said method also can have following characteristics, comprises VLAN and/or MTU information in the described local device information.
Further, said method also can have following characteristics, behind the described device build one far-end network facility information, at first the far-end network facility information with the local storage of equipment compares, if the local far-end network facility information of not storing described structure is stored in this far-end network facility information in the equipment, and abandons described Link Layer Discovery Protocol message, otherwise, directly abandon described Link Layer Discovery Protocol message.
Further, said method also can have following characteristics, described equipment is with the far-end network facility information of this locality storage particular requirement according to described link layer to discover protocol management information bank, again after being combined into the information that the link layer to discover protocol management information bank can discern, in the described link layer to discover protocol management information bank of restoring.
Further, said method also can have following characteristics, and described other equipment are meant the equipment in the same ethernet link layer of described equipment.
Compared with prior art, because the used advertizing protocol LLDP of the present invention is a two-layer protocol, good ability of discovery is also arranged for some equipment that only are operated in two layers; Because what the used advertizing protocol of the present invention was used is the 802.1ab LLDP agreement of the standard of IEEE proposition, has ability of discovery equally for the discovering network topology between some heterogeneous networks; This discovery principle is simple in addition, realizes flexibly, has improved the network management software and has drawn topological accuracy.
Description of drawings
Fig. 1 is the flow chart that the present invention utilizes the LLDP protocol and acquiring network connection information;
Fig. 2 flow chart that is the periodic transmitting apparatus local information of present device to the link field;
Fig. 3 is that present device receives LLDP protocol massages reprocessing flow chart;
Fig. 4 present device with the far-end network information stores of this locality to LLDP MIBs flow chart.
Embodiment
The second layer finds that (Layer 2 Discovery) degree of depth touched such as which equipment is subsidiary which port arranged, and which switch and other equipment such as interconnect at information, and having demonstrated path between client, switch, router and application server and the webserver, the root that these detailed information are failed to plan and requester network will be highly significant.Pass through Link Layer Discovery Protocol, it can make equipment send the notice of its state information to neighbor devices, and all storing the information of definition oneself on each port of all devices, if desired can also be to sending updated information with their direct-connected neighbor devices, neighbour's equipment can be with information stores at the SNMP of standard (Simple Network Management Protocol) MIBs (management information bank).Network management system can inquire the connection situation of the current second layer from MIBs.LLDP can not dispose not yet can Control Network element or flow, just reports the configuration of the second layer.
802.1ab be the current automatic Layer 2Discovery and the best candidate of network-management tool widely.The present invention uses 802.1ab LLDP protocol and acquiring network connection information.
The present invention proposes a kind of method of obtaining network connection information, as shown in Figure 1, comprises following steps:
Step 110, equipment periodic according to local device information, send the LLDP protocol massages to other equipment, carry local device information in the message, the own positional information in network of sign;
After step 120, equipment received LLDP protocol massages from other equipment, analytic message information made up far-end network equipment according to message information, is combined into a far-end network facility information and is stored in this locality;
Step 130, equipment reconfigures the far-end network facility information of this locality storage, deposits among the LLDPMIBs, uses for the network management system inquiry.
The described particular requirement that is meant according to LLDP MIBs database that reconfigures, the far-end network facility information that this locality is stored is reassembled into the information that this database can be discerned.
As shown in Figure 2, equipment periodic advertised network information comprises following steps in the step 110:
Local device information comprises device name, device description, physical address or the like, if network management system needs, can also increase VLAN (VLAN), MTU information such as (MTUs).This information slave unit this locality obtains.
Comprise local device information in the message, as a kind of or its combination among device name, device description, physical address, layer 3 address, VLAN, the MTU.
This LLDP protocol massages is the Layer 2 Multicast bag, and not based on VLAN, only sends to other equipment in the link of equipment place.Equipment place link is meant equipment place ethernet link layer (Ethernet linklayer).
As shown in Figure 3, equipment reception LLDP protocol massages specifically comprises in the step 120:
As shown in Figure 4, equipment is stored to LLDP MIBs with the far-end network facility information of equipment this locality and specifically comprises following steps in the step 130:
Whether step 420, equipment inspection collect new far-end network facility information; If new far-end network facility information is arranged, change step 430; Otherwise, wait for that next proof cycle arrives, and changes step 410;
The present invention carries out two layers of announcement of the network information by IEEE 802.1ab LLDP agreement, and with the neighbour Occupy the network information and be stored among the LLDP MIBs, search use for network management software unification, guaranteed different The Finding possibility of network mapping between the network forming network has improved the network management software and has drawn topological accuracy. In addition Outward, the present invention has the advantages such as configuration is simple, application is convenient, system stability is reliable.
Claims (8)
1, a kind of method of utilizing Link Layer Discovery Protocol to obtain network connection information is characterized in that, comprises:
Equipment sends the Link Layer Discovery Protocol message to other equipment, carries the local device information of this equipment in the message;
Equipment receives the Link Layer Discovery Protocol message from other equipment, resolves described Link Layer Discovery Protocol message, and the local device information architecture one far-end network facility information according to wherein carrying is stored in described far-end network facility information in the equipment;
Equipment deposits the far-end network facility information of this locality storage in the link layer to discover protocol management information bank in.
2, the method for claim 1 is characterized in that, the transmission Link Layer Discovery Protocol message of described equipment periodic is to other equipment.
3, method as claimed in claim 1 or 2 is characterized in that, the far-end network facility information that described equipment is stored this locality deposits in and specifically comprises following steps in the link layer to discover protocol management information bank:
Whether the checkout facility of described equipment periodic collects new far-end network facility information, if the new far-end network facility information of collecting is stored in the link layer to discover protocol management information bank.
4, the method for claim 1 is characterized in that, described local device information comprises a kind of or its combination in the following information: device name, device description, physical address and layer 3 address.
5, as claim 1 or 4 described methods, it is characterized in that, comprise VLAN and/or MTU information in the described local device information.
6, the method for claim 1, it is characterized in that, behind the described device build one far-end network facility information, at first the far-end network facility information with the local storage of equipment compares, if the local far-end network facility information of not storing described structure is stored in this far-end network facility information in the equipment, and abandons described Link Layer Discovery Protocol message, otherwise, directly abandon described Link Layer Discovery Protocol message.
7, the method for claim 1, it is characterized in that, described equipment is with the far-end network facility information of this locality storage particular requirement according to described link layer to discover protocol management information bank, again after being combined into the information that the link layer to discover protocol management information bank can discern, in the described link layer to discover protocol management information bank of restoring.
8, method as claimed in claim 1 or 2 is characterized in that, described other equipment are meant the equipment in the same ethernet link layer of described equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008101346764A CN101345655A (en) | 2008-08-15 | 2008-08-15 | Method for discovering protocol and acquiring network connection information by utilization of link layer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008101346764A CN101345655A (en) | 2008-08-15 | 2008-08-15 | Method for discovering protocol and acquiring network connection information by utilization of link layer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101345655A true CN101345655A (en) | 2009-01-14 |
Family
ID=40247550
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2008101346764A Pending CN101345655A (en) | 2008-08-15 | 2008-08-15 | Method for discovering protocol and acquiring network connection information by utilization of link layer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101345655A (en) |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101888308A (en) * | 2010-06-10 | 2010-11-17 | 北京东土科技股份有限公司 | Method for realizing integrated management of multi-board embedded device |
CN102082710A (en) * | 2011-01-24 | 2011-06-01 | 中兴通讯股份有限公司 | Method and system for implementing detection on network topology fault of nodes in network |
CN102137007A (en) * | 2011-01-17 | 2011-07-27 | 华为技术有限公司 | Method and system for generating network topology as well as coordinator |
CN102307249A (en) * | 2011-09-28 | 2012-01-04 | 北京东土科技股份有限公司 | IP address automatic configuration method based on link layer topology |
CN102377679A (en) * | 2011-12-06 | 2012-03-14 | 烽火通信科技股份有限公司 | Method for realizing link discovery and management in FTTX access system |
WO2012109855A1 (en) * | 2011-07-29 | 2012-08-23 | 华为技术有限公司 | Method and system for obtaining network connection information by utilizing lldp |
WO2012155549A1 (en) * | 2011-05-17 | 2012-11-22 | 中兴通讯股份有限公司 | A realization method and system of enabling lldp function on non-ethernet link |
CN102857377A (en) * | 2012-09-12 | 2013-01-02 | 南车株洲电力机车研究所有限公司 | Automatic generation method for train communication network online topology |
CN103684841A (en) * | 2012-09-26 | 2014-03-26 | 中兴通讯股份有限公司 | Network management server and link discovery comparison method |
CN103780389A (en) * | 2012-10-26 | 2014-05-07 | 华为技术有限公司 | Port based authentication method and network device |
CN104283802A (en) * | 2014-10-09 | 2015-01-14 | 杭州华三通信技术有限公司 | Neighbor discovery method and device |
CN105207909A (en) * | 2014-06-24 | 2015-12-30 | 华为技术有限公司 | Method for transmitting information and network apparatus |
CN107465622A (en) * | 2017-10-09 | 2017-12-12 | 安徽皖通邮电股份有限公司 | A kind of method and system that discovering network topology is realized using LLDP |
CN109951325A (en) * | 2019-02-28 | 2019-06-28 | 华为技术有限公司 | A kind of network cable connection inspection method and device |
CN110401568A (en) * | 2019-07-31 | 2019-11-01 | 普联技术有限公司 | A kind of method for discovering network topology and equipment |
CN111464326A (en) * | 2019-04-25 | 2020-07-28 | 上海自恒信息科技有限公司 | System for realizing industrial communication equipment management based on embedded module and simple network management protocol |
CN111817886A (en) * | 2020-06-29 | 2020-10-23 | 新华三信息安全技术有限公司 | Method and equipment for acquiring management object data |
CN112737883A (en) * | 2020-12-28 | 2021-04-30 | 咪咕音乐有限公司 | Two-layer network data packet transmission method, device and network equipment |
-
2008
- 2008-08-15 CN CNA2008101346764A patent/CN101345655A/en active Pending
Cited By (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101888308A (en) * | 2010-06-10 | 2010-11-17 | 北京东土科技股份有限公司 | Method for realizing integrated management of multi-board embedded device |
CN101888308B (en) * | 2010-06-10 | 2014-04-16 | 北京东土科技股份有限公司 | Method for realizing integrated management of multi-board embedded device |
CN102137007B (en) * | 2011-01-17 | 2014-05-21 | 华为技术有限公司 | Method and system for generating network topology as well as coordinator |
CN102137007A (en) * | 2011-01-17 | 2011-07-27 | 华为技术有限公司 | Method and system for generating network topology as well as coordinator |
CN102082710A (en) * | 2011-01-24 | 2011-06-01 | 中兴通讯股份有限公司 | Method and system for implementing detection on network topology fault of nodes in network |
US9729400B2 (en) | 2011-05-17 | 2017-08-08 | Zte Corporation | Realization method and system for enabling LLDP function on non-ethernet link |
WO2012155549A1 (en) * | 2011-05-17 | 2012-11-22 | 中兴通讯股份有限公司 | A realization method and system of enabling lldp function on non-ethernet link |
AU2012255543B2 (en) * | 2011-05-17 | 2015-02-05 | Zte Corporation | A realization method and system of enabling LLDP function on non-Ethernet link |
WO2012109855A1 (en) * | 2011-07-29 | 2012-08-23 | 华为技术有限公司 | Method and system for obtaining network connection information by utilizing lldp |
CN102307249A (en) * | 2011-09-28 | 2012-01-04 | 北京东土科技股份有限公司 | IP address automatic configuration method based on link layer topology |
CN102377679B (en) * | 2011-12-06 | 2014-12-31 | 烽火通信科技股份有限公司 | Method for realizing link discovery and management in FTTX access system |
CN102377679A (en) * | 2011-12-06 | 2012-03-14 | 烽火通信科技股份有限公司 | Method for realizing link discovery and management in FTTX access system |
CN102857377A (en) * | 2012-09-12 | 2013-01-02 | 南车株洲电力机车研究所有限公司 | Automatic generation method for train communication network online topology |
CN102857377B (en) * | 2012-09-12 | 2015-08-05 | 南车株洲电力机车研究所有限公司 | The online topological automatic generation method of a kind of train network |
CN103684841A (en) * | 2012-09-26 | 2014-03-26 | 中兴通讯股份有限公司 | Network management server and link discovery comparison method |
CN103780389A (en) * | 2012-10-26 | 2014-05-07 | 华为技术有限公司 | Port based authentication method and network device |
CN105207909A (en) * | 2014-06-24 | 2015-12-30 | 华为技术有限公司 | Method for transmitting information and network apparatus |
CN104283802A (en) * | 2014-10-09 | 2015-01-14 | 杭州华三通信技术有限公司 | Neighbor discovery method and device |
CN107465622B (en) * | 2017-10-09 | 2020-05-12 | 安徽皖通邮电股份有限公司 | Method for realizing network topology discovery by utilizing LLDP |
CN107465622A (en) * | 2017-10-09 | 2017-12-12 | 安徽皖通邮电股份有限公司 | A kind of method and system that discovering network topology is realized using LLDP |
CN109951325A (en) * | 2019-02-28 | 2019-06-28 | 华为技术有限公司 | A kind of network cable connection inspection method and device |
CN111464326A (en) * | 2019-04-25 | 2020-07-28 | 上海自恒信息科技有限公司 | System for realizing industrial communication equipment management based on embedded module and simple network management protocol |
CN110401568A (en) * | 2019-07-31 | 2019-11-01 | 普联技术有限公司 | A kind of method for discovering network topology and equipment |
CN110401568B (en) * | 2019-07-31 | 2022-05-24 | 普联技术有限公司 | Network topology discovery method and equipment |
CN111817886A (en) * | 2020-06-29 | 2020-10-23 | 新华三信息安全技术有限公司 | Method and equipment for acquiring management object data |
CN111817886B (en) * | 2020-06-29 | 2023-12-26 | 新华三信息安全技术有限公司 | Method and equipment for acquiring management object data |
CN112737883A (en) * | 2020-12-28 | 2021-04-30 | 咪咕音乐有限公司 | Two-layer network data packet transmission method, device and network equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101345655A (en) | Method for discovering protocol and acquiring network connection information by utilization of link layer | |
US10516590B2 (en) | External health checking of virtual private cloud network environments | |
JP5255653B2 (en) | Mapless global traffic load balancing via anycast | |
CN102315961B (en) | Performing path-orientated systems management | |
CN100493003C (en) | Automatic discovering and managing method for extendable interconnection network measurement server | |
EP2451125B1 (en) | Method and system for realizing network topology discovery | |
CN107231262B (en) | Message routing method based on MQTT multi-layer cascade | |
EP3326074A1 (en) | Methods, systems, and apparatus for geographic location using trace routes | |
EP2951953A1 (en) | Method of managing zigbee network in the internet of things | |
CN107733713B (en) | Method, system, device and storage medium for acquiring network topology in hybrid network | |
WO2014001216A1 (en) | Determining the network topology of a communication network | |
CN103905251A (en) | Network topology obtaining method and device | |
CN111988439B (en) | ARP request suppression system, method, equipment and storage medium | |
CN106067862A (en) | The construction method of network topology and device | |
CN110493366A (en) | The method and device of network management is added in a kind of access point | |
CN113452561A (en) | Topology generation method, device and equipment and readable storage medium | |
CN100490394C (en) | Method and apparatus for detecting topology of network | |
CN102594839B (en) | Method for distinguishing pseudo dynamic host configuration protocol (DHCP) servers and switchboards | |
CN104579978A (en) | Link-layer topology discovery method for dynamic network | |
CN108924011A (en) | Monitoring system, relevant device, method and medium for OSPF+ Routing Protocol | |
CN101635732B (en) | Network management system integrated with IP network and cluster network as well as method thereof | |
Alhanani et al. | An overview of different techniques and algorithms for network topology discovery | |
CN109842692B (en) | VxLAN switch, system and method for obtaining host information in physical network | |
CN109587064B (en) | IPv4/IPv6 address management system and method | |
JPWO2013001655A1 (en) | Route search program and information processing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20090114 |