安装yum install wireshark使用tshark -f 'udp dst port 5062 or udp dst port 7100' -w 1.pcap-f 过滤2个目标端口,目标端口可以是本机端口或他机端口。-w 保存到文件