Got it

IVS 9000 Packet Capture command: tcpdump

537 0 2 0 0

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

  1. Download the install packet.

  2. Upload the install packet to the virtual machine.

  3. Install the command.

    rpm -ivh xx.rpm

  4. 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!

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.