CN106411603A - Intranet network topology structure automatic discovery realization method - Google Patents
Intranet network topology structure automatic discovery realization method Download PDFInfo
- Publication number
- CN106411603A CN106411603A CN201610946378.XA CN201610946378A CN106411603A CN 106411603 A CN106411603 A CN 106411603A CN 201610946378 A CN201610946378 A CN 201610946378A CN 106411603 A CN106411603 A CN 106411603A
- Authority
- CN
- China
- Prior art keywords
- network
- address
- subnet
- equipment
- topology structure
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0213—Standardised network management protocols, e.g. simple network management protocol [SNMP]
Abstract
The present invention provides an intranet network topology structure automatic discovery realization method, and relates to the system operation field. The intranet network topology structure automatic discovery realization method solves the problem that the network maintenance of the topological graph by hands is more and more difficult. The method comprises: automatically discovering and distinguishing a network device and a host, and obtaining a network topology structure. The intranet network topology structure automatic discovery realization method is applied to the business system operation so as to greatly improve the network management efficiency.
Description
Technical field
The present invention relates to system O&M field, more particularly, to a kind of realization side of inner-mesh network automatic discovery of topological structure
Method.
Background technology
With the rapid growth of network size, network structure also assumes situation complicated and changeable.Traditional dependence webmaster handss
Work safeguards that latticed form has become extremely difficult carrying out network management.What this change in order to solve network brought asks
Topic is it is necessary to take the automatization of network management, and the premise of network automatically management is exactly opening up of our networks to be fully understood
Flutter structure and its change.Network topology can help network manager clearly to recognize current network condition, and network produces
Change and rapid locating network fault point.The method obtaining the most original of network topology is exactly to rely on network manager according to reality
Network draws its topology by hand, but in network that is complicated now huge and being in expansion growth trend, hand drawing to go out this
One network of sample needs to take a lot of time or energy, and accuracy and real-time also cannot ensure.
Content of the invention
In order to solve above technical problem, the present invention proposes a kind of realization side of inner-mesh network automatic discovery of topological structure
Method, can greatly improve the efficiency of network management
Technical scheme is as follows:
A kind of implementation method of inner-mesh network automatic discovery of topological structure, needs the network equipments such as switch in Intranet, router
Open SNMP.
Need to ensure all of equipment in same subnet.
For determining the IP address range of subnet, need to obtain IP address and subnet mask on a first main frame in subnet,
Then calculate the IP address range of subnet.
After taking IP address range, the IP address in scope is sent one by one arp request, record response IP and
MAC Address.
The IP address having response is attempted one by one with SNMP and obtains sysDesr information, and sysDesr information is filtered,
Obtain the list of the network equipment.
Obtain main frame default gateway IP and MAC Address, as the root node of topological structure.
To the network equipment in subnet, obtain the subordinate equipment list of the network equipment.One by one net is obtained by snmp protocol
The mac address of memory under each port of network equipment, removes the mac address of default gateway, obtains the subordinate equipment of this network equipment
List.
Calculate, sort out network topology structure according to the information getting.
The present invention can effectively reduce work time can energy it is ensured that accuracy and real-time, greatly improve
The efficiency of network management.
Brief description
Fig. 1 is the network equipment and lower extension list of devices;
Fig. 2 is the topology diagram being calculated according to list of devices.
Specific embodiment
Below more detailed elaboration is carried out to present disclosure:
1st, obtain IP address and subnet mask on a main frame first in subnet, then calculate the IP address range of subnet.
2nd, the IP address in scope is sent one by one with arp request, records IP and the MAC Address of response.
3rd, the IP address having response is attempted one by one with SNMP and obtains sysDesr information, and sysDesr information was carried out
Filter, obtains the list of the network equipment.The purpose filtering is the main frame opening SNMP service to remove some.
4th, main frame default gateway IP and MAC Address are obtained, as the root node of topological structure.Can pass through to access outer net,
Or read CONFIG.SYS obtaining.
5th, to the network equipment all of in subnet, obtain the subordinate equipment list of the network equipment.Pass through snmp protocol one by one
Obtain the mac address of memory under each port of the network equipment, remove the mac address of default gateway, obtain under this network equipment
Level list of devices.
6th, calculate, sort out network topology structure according to the information getting.As shown in Figure 1, Figure 2, with default gateway
(192.168.3.1)For starting point, find the most network equipment of the sub- equipment of lower extension(192.168.3.196), it is that default gateway is straight
Connect child node.Then same operation is continued to child node, finds the lower most network equipment of child node of hanging as its child node,
Until subordinate does not have the network equipment, connect main process equipment to the corresponding network equipment.
7th, to the not treatable network equipment in the 6th step, calculate again lower extension child node most, straight as root node
Connect child node, circulated with this.
8th, to the 6th step and the not treatable main process equipment of the 7th step, it is directly connected to root node, direct as root node
Child node.
Due to hang under upper network equipment standby comprise to hang under undernet equipment standby, often processed and hung under one
Need after equipment to record, it is to avoid repeat to process same under hang standby.
Claims (3)
1. a kind of implementation method of inner-mesh network automatic discovery of topological structure it is characterised in that
Comprise the steps:
1)Need switch in Intranet, router network opening of device SNMP it is ensured that all of equipment is in same subnet;
2)First obtain IP address and subnet mask on a main frame in subnet, then calculate the IP address range of subnet;
3)After taking IP address range, the IP address in scope is sent one by one arp request, record response IP and
MAC Address;
4)The IP address having response is attempted one by one with SNMP and obtains sysDesr information, and sysDesr information is filtered, obtain
List to the network equipment;
5)Obtain main frame default gateway IP and MAC Address, as the root node of topological structure;
6)To the network equipment in subnet, obtain the subordinate equipment list of the network equipment;
7)Calculate, sort out network topology structure according to the information getting.
2. method according to claim 1 is it is characterised in that step 5)In, by access outer net, or system can be read
Configuration file is obtaining.
3. method according to claim 1 is it is characterised in that step 6)In, one by one network is obtained by snmp protocol and set
Under each port standby, the mac address of memory, removes the mac address of default gateway, obtains the subordinate equipment list of this network equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610946378.XA CN106411603A (en) | 2016-10-26 | 2016-10-26 | Intranet network topology structure automatic discovery realization method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610946378.XA CN106411603A (en) | 2016-10-26 | 2016-10-26 | Intranet network topology structure automatic discovery realization method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106411603A true CN106411603A (en) | 2017-02-15 |
Family
ID=58013716
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610946378.XA Pending CN106411603A (en) | 2016-10-26 | 2016-10-26 | Intranet network topology structure automatic discovery realization method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106411603A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107147522A (en) * | 2017-05-11 | 2017-09-08 | 京信通信系统(中国)有限公司 | A kind of method and device for determining networking topological structure |
CN110022219A (en) * | 2019-04-12 | 2019-07-16 | 深圳市网心科技有限公司 | A kind of network cluster detection method, system and electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1756189A (en) * | 2004-09-30 | 2006-04-05 | 北京航空航天大学 | IP network topology discovering method based on SNMP |
CN102143007A (en) * | 2011-05-03 | 2011-08-03 | 中国南方电网有限责任公司 | Distribution-based hierarchical network topology discovery method |
CN102158348A (en) * | 2011-01-30 | 2011-08-17 | 北京星网锐捷网络技术有限公司 | Network topology discovery method, device and network equipment |
CN105991334A (en) * | 2015-02-28 | 2016-10-05 | 中国移动通信集团广西有限公司 | Network topology self-discovering method and device |
-
2016
- 2016-10-26 CN CN201610946378.XA patent/CN106411603A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1756189A (en) * | 2004-09-30 | 2006-04-05 | 北京航空航天大学 | IP network topology discovering method based on SNMP |
CN102158348A (en) * | 2011-01-30 | 2011-08-17 | 北京星网锐捷网络技术有限公司 | Network topology discovery method, device and network equipment |
CN102143007A (en) * | 2011-05-03 | 2011-08-03 | 中国南方电网有限责任公司 | Distribution-based hierarchical network topology discovery method |
CN105991334A (en) * | 2015-02-28 | 2016-10-05 | 中国移动通信集团广西有限公司 | Network topology self-discovering method and device |
Non-Patent Citations (1)
Title |
---|
郑锐: ""基于SNMP和ARP的网络拓扑算法的研究与应用"", 《中国优秀硕士学位论文全文数据库(电子期刊)》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107147522A (en) * | 2017-05-11 | 2017-09-08 | 京信通信系统(中国)有限公司 | A kind of method and device for determining networking topological structure |
CN107147522B (en) * | 2017-05-11 | 2019-11-19 | 京信通信系统(中国)有限公司 | A kind of method and device of determining networking topological structure |
CN110022219A (en) * | 2019-04-12 | 2019-07-16 | 深圳市网心科技有限公司 | A kind of network cluster detection method, system and electronic equipment and storage medium |
CN110022219B (en) * | 2019-04-12 | 2021-09-24 | 深圳市网心科技有限公司 | Network cluster detection method and system, electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104283980B (en) | A kind of address resolution protocol pickup method and device | |
JP2013502130A (en) | Automatic address range detection for IP networks | |
CN101330405A (en) | Method for discovering network topology and related equipment | |
CN106130796A (en) | SDN topology traffic visualization monitoring method and control terminal | |
CN104468219A (en) | Virtual networking network topology discovery method and device | |
CN106899478B (en) | Method for realizing resource elastic expansion of power test service through cloud platform | |
WO2006118203A1 (en) | Network map creating method | |
CN104135446A (en) | System and method of implementing transition from IPv4 (Internet Protocol Version4) to IPv6 (Internet Protocol Version6) based on SDN (Software Defined Network) | |
CN104219100A (en) | Information acquiring method and device | |
CN104579978B (en) | A kind of dynamic network Datalink Layer Topology Discovery method | |
CN105245386A (en) | Method and system for automatic positioning of server connection relation | |
CN104092630A (en) | Configuration file for automatic operation of switchboards and operation method thereof | |
CN111464454A (en) | Load sharing method and system for virtual BRAS (broadband remote Access Server) equipment in data center | |
CN104283802A (en) | Neighbor discovery method and device | |
CN106411603A (en) | Intranet network topology structure automatic discovery realization method | |
CN107094187A (en) | A kind of method of the access switch port of automatic lookup MAC Address | |
CN107124297A (en) | SNMP method for discovering network topology and device based on zabbix | |
CN103117880A (en) | Web technology based network topological generation method | |
WO2020132949A1 (en) | Industrial control system monitoring method, device and system, and computer-readable medium | |
US10097400B1 (en) | Apparatus, system, and method for distributing management data to network management stations | |
CN107547676B (en) | Address processing method and device | |
Jiang et al. | Research on improved physical topology discovery based on SNMP | |
CN107017998B (en) | Method and system for implementing CGN flexible backup | |
CN105812168B (en) | A kind of method and apparatus for drawing network topological diagram | |
CN107579988A (en) | The method and apparatus for configuring security strategy |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170215 |