Got it

Capture packets on Linux

Created: Jun 24, 2020 14:51:37Latest reply: Jun 24, 2020 14:52:00 438 1 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi,

We need to capture packets during the test. When the Agile Controller-Campus is installed on the Linux, how do we do the capture packets? Thanks.

Featured Answers
Popeye_Wang
Admin Created Jun 24, 2020 14:52:00

Hello,

Kindly refer to the following steps.

1) Use Xftp to upload the package to the root directory and run the following command to install the package: 

rpm -ivh tcpdump-3.9.8-1.21.x86_64.rpm 

3

2) Query the active/standby status of the bond network adapter on the server. 

cat /proc/net/bonding/bond0 

1

3) Capture packets on the server. 

tcpdump -i eth0 -w. /radius.cap //eth0-network adapter for packet capture, radius.cap-storage file 

12

4. Open the Xftp tool and copy the file. 

ll //Query the storage location of the packet capture file.

4

View more
  • x
  • convention:

All Answers

Hello,

Kindly refer to the following steps.

1) Use Xftp to upload the package to the root directory and run the following command to install the package: 

rpm -ivh tcpdump-3.9.8-1.21.x86_64.rpm 

3

2) Query the active/standby status of the bond network adapter on the server. 

cat /proc/net/bonding/bond0 

1

3) Capture packets on the server. 

tcpdump -i eth0 -w. /radius.cap //eth0-network adapter for packet capture, radius.cap-storage file 

12

4. Open the Xftp tool and copy the file. 

ll //Query the storage location of the packet capture file.

4

View more
  • x
  • convention:

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.