문제

I have to collect the snoop traces of the network packets flowing from a switching element to a UNIX server which are on the same network path. Can you please tell me the procedure to do the same.

PS- The switching element can be accessed from browser(mozilla etc) and can be logged in also(via UNIX server).

도움이 되었습니까?

해결책

The snoop utility is designed to capture network packets. Snoop can be configured to collect network traffic from ANY machine (Microsoft® Windows®, Linux® and UNIX®) and is especially helpful in tracking down network bottlenecks.

snoop -o <output file> machine1 and machine2

This syntax collects packets between machine 1 to machine 2. It ignores network traffic involving other machines.

Note: This snoop will only collect data packets if the machines involved are on the same network switch.

snoop -o <output file> machine1,machine2

Note: This syntax collects ALL the packets that enter and leave those two machines.

snoop -o <output file>

Note: This syntax collects ALL the packets that are on the network. This would include ALL packets to and from other machines as well. Regardless of which syntax is used, the following rules apply:

1.The snoop should run while you reproduce the problem.

2.After reproducing the problem, you end the snoop by hitting <Ctrl C>

for more informations link 1

for more informations link 2

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top