Multi-blade Traffic Capture (tcpdump -mcap, tcpdump -view)
Check Point Maestro R80.20SP Administration Guide | 94
Below are some examples:
Example 1 - Capture all Security Appliances
[Expert@MyChassis-ch01-01:0]# gclish
[Global] MyChassis-ch01-01 > tcpdump -mcap -w /tmp/capture
Capturing packets...
Write "stop" and press enter to stop the packets capture process.
1_01:
tcpdump: listening on eth1-Mgmt4, link-type EN10MB (Ethernet), capture size 96 bytes
stop
Received user request to stop the packets capture process.
Copying captured packets from all SGMs...
Merging captured packets from SGMs to /tmp/capture...
Done.
[Global] MyChassis-ch01-01>
Example 2 - Capture packets from specified Security Appliances and interfaces
[Expert@MyChassis-ch01-01:0]# gclish
[Global] MyChassis-ch01-01 > tcpdump -b 1_1,1_3,2_1 -mcap -w /tmp/capture -nnni eth1-Mgmt4
... ...
[Global] MyChassis-ch01-01 >
Example 3 - Show captured packets from file
[Expert@MyChassis-ch01-01:0]# gclish
[Global] MyChassis-ch01-01> tcpdump -view -r /tmp/capture
Reading from file /tmp/capture, link-type EN10MB (Ethernet)
[1_3] 14:11:57.971587 IP 0.0.0.0.cp-cluster > 172.16.6.0.cp-cluster: UDP, length 45
[2_3] 14:12:07.625171 IP 0.0.0.0.cp-cluster > 172.16.6.0.cp-cluster: UDP, length 45
[2_3] 14:12:09.974195 IP 0.0.0.0.cp-cluster > 172.16.6.0.cp-cluster: UDP, length 37
[2_1] 14:12:09.989745 IP 0.0.0.0.cp-cluster > 172.16.6.0.cp-cluster: UDP, length 45
[2_3] 14:12:10.022995 IP 0.0.0.0.cp-cluster > 172.23.9.0.cp-cluster: UDP, length 32
... ...
[Global] MyChassis-ch01-01>