摘要 |
Embodiments of the present invention disclose a method and an apparatus for monitoring a network device, and relate to the field of information network technologies, which can determine an unauthorized wireless network device connected to a network port in a case in which only one device is connected to the network port, thereby improving security of internal network information. The method in the present invention includes: acquiring basic service set identifier BSSIDs of wireless network devices in a network system managed by a network management system; determining BSSIDs of unauthorized wireless network devices in the acquired BSSIDs of the wireless network devices in the network system by using a fingerprint database of authorized wireless network devices; acquiring a media access control MAC forwarding table corresponding to a network port used by a user; and determining, according to the BSSIDs of the unauthorized wireless network devices and a MAC address, an unauthorized wireless network device connected to the network port. The present invention is applicable to a scenario in which a network device is monitored. |