Chapter 71 Maintenance Tools
ZyWALL Series CLI Reference Guide
591
3 Enter packet capture sub-command mode to configure settings to capture traffic that goes through
the specific interface.
4 Configure the packet capture settings according to the list above.
5 Exit the sub-command mode. Activate packet capture to have the Zyxel Device capture packets
according to the settings you just configured.
6 Manually stop the running packet capturing when you get the information you need. Otherwise, with
Ring Buffer enabled, the Zyxel Device will keep capturing and overwriting old captured files.
7 Check current packet capture status and list all stored packet captures.
Router(config)# show packet-capture config
iface: None
ip-version: any
proto-type: any
host-port: 0
host-ip: any
file-suffix: -packet-capture
snaplen: 1500
duration: 0
file-size: 10
split-size: 2
ring-buffer: 0
storage: 0
Router(config)# packet-capture configure
Router(packet-capture)#
Router(packet-capture)# iface add wan1
Router(packet-capture)# ip-type any
Router(packet-capture)# host-ip any
Router(packet-capture)# file-suffix Example
Router(packet-capture)# files-size 10o
Router(packet-capture)# duration 150
Router(packet-capture)# storage usbstorage
Router(packet-capture)# ring-buffer enable
Router(packet-capture)# split-size 10
Router(packet-capture)#
Router(packet-capture)# exit
Router(config)# packet-capture activate
Router(config)#
Router(config)# no packet-capture activate
Router(config)#