摘要 |
A network topology discovery method and system are disclosed, which relates to the field of software defined network architecture, and solves a problem that greater pressure is easily put on a control channel in a case that a great many switches and ports exist. The method includes: a controller receiving a message sent by a network device, wherein the message carries a device ID of a network device where a link far-end port of the network device is located and a port number of the link far-end port; and the controller performing topology discovery on a network according to the message. The technical scheme provided in the present invention is applicable to a software defined network, which achieves that related parameters are carried to the controller via an OpenFlow protocol. |