1 使用nc
nc -zvu 192.168.10.144 161
Connection to 192.168.10.144 161 port [udp/snmp] succeeded!
如果啥都不返回,就是没有打开
2 使用nmap
sudo nmap 192.168.10.144 -sU -p 161
Starting Nmap 7.01 ( ) at 2020-12-15 18:01 CST
Nmap scan report for 192.168.10.144
Host is up (0.00032s latency).
PORT STATE SERVICE
161/udp open|filtered snmp
MAC Address: B4:4B:D6:58:47:EC (Unknown)
Nmap done: 1 IP address (1 host up) scanned in 0.65 seconds
表示端口可以打开
阅读(5351) | 评论(0) | 转发(0) |