tcpdump -i eth0 -nn ' udp and dst host xxxx(IP地址)' -w /home/111.pcap
wireshark过滤:
snmp && udp.dstport == 162
snmp.version==v2c && udp.dstport == 162
tcpdump -i eth0 -nn ' udp and dst host xxxx(IP地址)' -w /home/111.pcap
wireshark过滤:
snmp && udp.dstport == 162
snmp.version==v2c && udp.dstport == 162