capture-packet interface 100GE1/0/5 destination file 001.cap packet-len 64
注:早期版本(disp device)可能在系統視圖下(sys)
抓完包后可以看到對應文件(早期版本在根目錄下):
使用ftp把文件傳輸出去:
如果ftp server是linux,需要安裝啟動vsftpd:
apt install vsftpd
修改/etc/vsftpd.conf中 write_enable=YES
systemctl restart vsftpd
注意:這個抓包頻率是有限制的,較高的流量速率只能抓到其中一小部分