Difference between revisions of "Capturing Packets"
From Observer GigaFlow Support | VIAVI Solutions Inc.
Kevin Wilkie (Talk | contribs) (Created page with "The below command will capture the full packet (-s 0), write to the file (flows.pcap) and capture 100,000 packets from interface (-i enp2s0f0) matching packets on port 2055 t...") |
Kevin Wilkie (Talk | contribs) |
||
Line 1: | Line 1: | ||
The below command will capture the full packet (-s 0), write to the file (flows.pcap) and capture 100,000 packets from interface (-i enp2s0f0) matching packets on port 2055 | The below command will capture the full packet (-s 0), write to the file (flows.pcap) and capture 100,000 packets from interface (-i enp2s0f0) matching packets on port 2055 | ||
− | tcpdump -s 0 -w flows.pcap -c 100000 -i enp2s0f0 port | + | tcpdump -s 0 -w flows.pcap -c 100000 -i enp2s0f0 port 2055 |
Latest revision as of 11:27, 10 March 2021
The below command will capture the full packet (-s 0), write to the file (flows.pcap) and capture 100,000 packets from interface (-i enp2s0f0) matching packets on port 2055
tcpdump -s 0 -w flows.pcap -c 100000 -i enp2s0f0 port 2055