Our test scenario will capture packets for ping requests from 192.168.1.35 in LAN1 to 192.168.2.35 in LAN2.
Step by step guide
- Login to the USG's web interface
- Navigate to Maintenance > Diagnostics > Packet Capture
- Select interfaces LAN1 and LAN2
- In the section "Filter", choose IPv4 as IP Version and ICMP as Protocol Type
- Pressing the "Capture"-button starts the capture. Make sure to send ping requests when starting the capture
- After pressing Stop, a file for each interface can be found under Maintenance > Diagnostics > Packet Capture > Files
- You can open these files with Wireshark once you downloaded them
There is also the option to capture the traffic via the CLI interface.
1. Login to the USG via SSH or Console with a program like Putty or TeraTerm
2. Type in the following command via CLI to display the packet-capture live:
Router# packet-trace interface lan1 ip-proto icmp
3. The same can be done on LAN2 with the following command:
Router# packet-trace interface lan2 ip-proto icmp