摘要 |
The present application provides a method, system and apparatus for acquiring the topological connection relationship between devices, which realize determination of the topological relationship between switches. In the method, a first switch sends, through each LINK UP port of the first switch, a MAC notification packet having a destination address and a source address being a MAC address of the port or a bridge MAC of the first switch; and it is determined, according to the number of second switches comprised in an associated switch group corresponding to each port, whether the port of the first switch is connected to ports, learning the MAC address of the port of the first switch, of the second switches in the associated switch group. In embodiments of the present application, each switch sends a MAC notification packet through each LINK UP port of the switch, and the connection relationship between the ports of the switches is determined according to the information of each switch in an associated switch group and a non-associated switch group, and therefore determination of the topological connection relationship between devices is achieved. |