摘要 |
A topology discovery method and device, the method comprising: a second master controller receiving a topology discovery message sent by a second switch (301), the topology discovery message comprising: link discovery data packets received by the second switch, ID of the second switch and ID of a second port; the second master controller, when judging that the link discovery data packets are not link discovery data packets of a local domain, generating report information on the basis of the topology discovery message (302), the report information comprising: ID of a first switch, ID of a first port, ID of the second switch and ID of the second port; and the second master controller sending the report information to a global topology broker, allowing the global topology broker to discover inter-domain topology links on the basis of the report information (303), therefore, discovery of cross-domain global topology links can be realized. |