Chapter 71 Maintenance Tools
ZyWALL Series CLI Reference Guide
590
The following example creates an ARP table entry for IP address 192.168.1.10 and MAC address
01:02:03:04:05:06. Then it shows the ARP table and finally removes the new entry.
71.1.1 Packet Capture Command Example
The following examples show how to configure packet capture settings to capture packets going
through the Zyxel Device WAN1 interface only.
Use Split Size to specify a maximum size for individual packet capture files. After a packet capture file
reaches this size, the Zyxel Device starts another packet capture file.
Use File Size to specify a maximum size limit for the total combined size of all the capture files on the
Zyxel Device, including any existing capture files and any new capture files you generate.
Use Duration to set a limit in seconds for the capture. The Zyxel Device stops the capture and generates
the capture file when either this period of time has passed or when the file reaches the File Size limit you
specify.
Enable Ring Buffer to continuously capture and overwrite old files until you stop capturing packets
manually. The Zyxel Device will not stop even if the File Size limit you specify is reached.You should
specify the File Size limit to a larger number or delete existing captured files if you disable this feature.
This example follows the parameters in the list below.
• IP address: any
• Host IP: any
• Host Port: any (then you do not need to configure this setting)
• File Suffix: Example
• Split Size: 10 megabytes
• File Size: 100 megabytes
• Duration: 150 seconds
• Save the captured packets to: USB storage device
• Ring Buffer: Enable
1 Check if there’s any packet capture running on the Zyxel Device.
2 Check the current packet capture settings.
Router# arp 192.168.1.10 01:02:03:04:05:06
Router# show arp-table
Address HWtype HWaddress Flags Mask Iface
192.168.1.10 ether 01:02:03:04:05:06 CM ge1
172.23.19.254 ether 00:04:80:9B:78:00 C ge2
Router# no arp 192.168.1.10
Router# show arp-table
Address HWtype HWaddress Flags Mask Iface
192.168.1.10 (incomplete) ge1
172.23.19.254 ether 00:04:80:9B:78:00 C ge2
Router(config)# show packet-capture status