Hello, everyone. I want to share a packet capture guidance.
Background
When some issue happens, sometimes we need to capture network interaction packets to determine the issue.
The following describes the operation steps of IVS9000 for packet capture.
Method introduction & Solution
Download the tcpdump
IVS 9000 uses a virtual machine, so we first need to install the tcpdump command.
Download Link: http://3ms.huawei.com/km/blogs/details/8512221 (If you don't have permission, you can download the packet on the official website.)
x86: tcpdump_euler_x86.zip
ARM: tcpdump-4.9.2-6.eulerosv3r1.aarch64.rpm
Install the tcpdump command
Download the install packet.
Upload the install packet to the virtual machine.
Install the command.
rpm -ivh xx.rpm
Start caputering.
How to use it
tcpdump -i any -s0 -vv port 5061 -w pcg.pcap
-i: <Network interface>Send data packets using the specified netwrok section.
-vv: displays the instruction execution process in more detail.
-s : <data packet size> Set the size of each packet.
-w: <data packet file> Write the packet data to the specified file.
Thanks for reading!