Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and apparatus for obtaining topology

A topology and network device technology, applied in the field of topology obtaining methods and devices, can solve problems such as topology errors of target network devices, and achieve the effect of ensuring topology correctness

Active Publication Date: 2017-05-31
NEW H3C TECH CO LTD
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Usually, the topology of the target network device can be accurately obtained by applying the above method, but in actual applications, there may be duplication of IP addresses, so that the network devices corresponding to the above obtained IP addresses may not all exist with the target network device The network device of the direct link, and then the topology of the target network device obtained may have errors

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for obtaining topology
  • Method and apparatus for obtaining topology
  • Method and apparatus for obtaining topology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0057] figure 1 It is a schematic flowchart of a method for obtaining a topology provided in an embodiment of the present application, the method is applied to a first network device,

[0058] Specifically, the above-mentioned first network device may be a network device that has been added to the network management system.

[0059] The methods for obtaining the above topology include:

[0060] S101: Determine a second network device corresponding to the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the application, which relates to the technical field of communication, discloses a method and apparatus for obtaining topology. The method and apparatus can be applied to a first network device. The method comprises: a second network device corresponding to a first IP address of a next-hop network device of a non-direct-connection instance in an IP routing table of a first network device is determined; according to the first IP address, a first MAC address of the second network device is obtained from a network management system; when a plurality of first MAC addresses are obtained, a second network device corresponding to the first MAC address having a correspondence relationship with the first IP address in an ARP table of the first network device is determined to be a network device having a direct-connection link with the first network device; and according to the determined network device, topology of the first network device is obtained. With the method, the topology can be obtained, so that the topology can be obtained correctly under the circumstance that IP addresses are repeated.

Description

technical field [0001] The present application relates to the field of communication technologies, and in particular to a topology obtaining method and device. Background technique [0002] Because the topology can display the network operation status in real time, users can intuitively capture the source of the fault, and then provide convenience for users to manage the network. Therefore, obtaining the topology has become an essential function of the network management system (referred to as the network management system). [0003] For the three-layer network, because the network equipment at the IP (Internet Protocol, network protocol) network layer is generally a router with forwarding function, it does not belong to any subnet, and is a bridging relationship with the subnet. Based on this, The three-layer topology represents the connection relationship between routers and the connection relationship between routers and subnets. [0004] In the prior art, the three-laye...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/24
CPCH04L41/12
Inventor 李友
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products