Method and network management device for network topology discovery
A technology for network management equipment and network topology, which is applied in the field of network topology discovery, methods and network management equipment, and can solve problems such as undiscoverable layer 2 equipment, undiscoverable network topology, undiscoverable layer 3 equipment, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0078] The embodiment of the present invention provides a method for network topology discovery, such as figure 1 As shown, the method includes:
[0079] 101. The network management device determines a root device in the subnet.
[0080] It should be noted that the subnet described in the embodiment of the present invention is only limited to a tree-structured network. For a network with a loop, because the loop network will cause a broadcast storm, the entire LAN environment is unavailable, and link discovery cannot be performed correctly, so the embodiment of the present invention does not consider the situation of a network with a loop. Of course, for a network with link redundancy, the network management device can start the Spanning Tree Protocol (Spanning Tree Protocol, STP protocol for short) to perform pruning, so as to avoid the formation of loops.
[0081] In the embodiment, before the network management device determines the root device of the subnet, the network ...
Embodiment 2
[0113] On the basis of the network topology discovery method provided in Embodiment 1, the embodiment of the present invention also provides a network topology discovery method. This embodiment takes the entire local area network as an example, and the entire network includes more than one subnet , specifically, the method as figure 2 As shown, the method includes:
[0114] 201. The network management device determines a device to perform network topology discovery.
[0115] The device to perform network topology discovery is at least one device managed by the network management device.
[0116] In the embodiment of the present invention, the network topology discovery method supports full discovery and partial discovery.
[0117] Wherein, the full discovery means that the network management device discovers the links of all managed subnets, and the partial discovery means that the network management device discovers the links of the subnets where some subnets are located. ...
Embodiment 3
[0174] An embodiment of the present invention provides a network management device, such as Figure 4 As shown, the equipment includes:
[0175] The first determining unit 41 is configured to determine a root device in the subnet.
[0176] The first obtaining unit 42 is configured to obtain a MAC forwarding table and / or an ARP table of each device in the subnet.
[0177] The first discovery unit 43 is configured to discover the first layer network topology device to the Nth layer network topology device of the subnet according to the MAC forwarding table and / or ARP table of each device in the subnet, where N is all The number of network topology layers of the subnet, wherein the M layer network topology device is its MAC address and the MAC address of the root device, stored in the subnet from the M+1 layer network topology device to the N layer network topology For devices with different interfaces of the same device, the M ranges from 1 to N.
[0178] The second discovery...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 