Got it

HOW to capture packets between linux server and GNE node

Latest reply: Oct 27, 2018 06:15:49 724 8 7 0 0
1.

tcpdump -i any host 145.30.215.46 -s 0 -w /opt/oss/001.cap

ip address 145.30.215.46 is transmission GNE node ip address

2. if this command is unavailable , you can found the original install file from u2000 folder

/OPT

3. install tcpdump by command

rpm -ivh tcpdump xxxxxxx

 

hello author, I have a question about this

HOW to capture packets between linux server and GNE node

we only can capture by command? is there any software like wireshark can be installed on system to do capture?

thanks for sharing us the good example.
This post was last edited by Torrent at 2018-10-31 06:51.
View more
  • x
  • convention:

Packet capture is a method to copy the data packet that passes the device.
The device does not support the packet resolution function; therefore, the packet has to be copied to a PC for resolution. With a packet capture tool and a packet analyzing tool, the PC can resolve the binary-data packet for the user to read. Packet capture is classified into local packet capture and remote packet capture.
Local packet capture: The analyzing PC is directly connected to the Ethernet interface on the device. This method which is realized by configuring port mirroring brings little impact on the network, but requires that the PC is directly connected to the device.
This post was last edited by SupperRobin at 2018-10-31 06:35.
View more
  • x
  • convention:

This is a great article, I am interested in this article, which is very helpful for our daily troubleshooting. I always have similar problems in my daily work, but I don't know how to deal with them. Now I have a definite idea. Thank you very much for sharing. Hopefully you can update to continue like this
View more
  • x
  • convention:

View the Transceiver Type field to check whether the local optical module type matches the remote optical module type. For example, if a GE optical module is installed on the remote interface and a 10GE optical module is installed on the local interface, the interfaces do not go Up. You can replace the optical module on the local or remote interface based on actual requirements so that the local and remote optical modules have the same rate. This post was last edited by littlestone at 2018-10-31 05:55.
View more
  • x
  • convention:

helpful information, thanks
View more
  • x
  • convention:

Thanks
View more
  • x
  • convention:

you also can 
(1) tcp: ip icmp arp rarp and tcp, udp, icmp and other options must be placed in the first parameter location, used to filter the type of datagram
(2)-i eth1 : Only capture packets that pass through interface eth1
(3)-t : no timestamp is displayed
(4)-s 0 : The default grab length is 68 bytes when fetching packets. With -S 0, you can capture the complete packet
(5)-c 100 : only capture 100 packets
(6) dst port ! 22 : Do not grab the packet whose destination port is 22
(7) src net 192.168.1.0/24 : The source network address of the packet is 192.168.1.0/24
(8)-w ./target.cap : Save as a cap file for easy analysis with ethereal (wireshark)
This post was last edited by Mark.hu at 2018-10-31 06:09.
View more
  • x
  • convention:

Thanks for your sharing ,which is a wonderful guidance, i really interested in this article, which is useful for us and improvement product technology and become to a professional engineer .
I hope that you can insist post new kownlege and skills, i will alawys keep an eye on your sharing.
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.