ZyXEL Communications 3.1 Security Camera User Manual


 
Chapter 46 Maintenance Tools
ZyWALL (ZLD) CLI Reference Guide
342
file-suffix <profile_name> Specifies text to add to the end of the file name (before the dot and
filename extension) to help you identify the packet capture files. Modifying
the file suffix also avoids making new capture files that overwrite existing
files of the same name.
The file name format is “interface name-file suffix.cap”, for example
“vlan2-packet-capture.cap”.
files-size <1..10000> Specify a maximum size limit in megabytes for the total combined size of
all the capture files on the ZyWALL, including any existing capture files and
any new capture files you generate.
The ZyWALL stops the capture and generates the capture file when either
the file reaches this size or the time period specified ( using the duration
command above) expires.
host-ip {ip-address | profile_name
| any>
Sets a host IP address or a host IP address object for which to capture
packets. any means to capture packets for all hosts.
host-port <0..65535> If you set the IP Type to any, tcp, or udp using the proto-type command
below, you can specify the port number of traffic to capture.
iface {add | del} {interface_name
| virtual_interface_name}
Adds or deletes an interface or a virtual interface for which to capture
packets to the capture interfaces list.
ip-version {ip|ip6|any} Sets wether to capture IPv4 or IPv6 traffic. Any means to capture packets
for all types of traffic.
proto-type {icmp | icmp6 | igmp |
igrp | pim | ah | esp | vrrp | udp
| tcp | any}
Sets the protocol of traffic for which to capture packets. any means to
capture packets for all types of traffic.
snaplen <68..1512> Specifies the maximum number of bytes to capture per packet. The
ZyWALL automatically truncates packets that exceed this size. As a result,
when you view the packet capture files in a packet analyzer, the actual size
of the packets may be larger than the size of captured packets.
storage <internal|usbstorage> Sets to have the ZyWALL only store packet capture entries on the ZyWALL
(internal) or on a USB storage connected to the ZyWALL.
ring-buffer <enable|disable> Enables or disables the ring buffer used as a temporary storage.
split-size <1..2048> Specify a maximum size limit in megabytes for individual packet capture
files. After a packet capture file reaches this size, the ZyWALL starts
another packet capture file.
Ping {ipv4 | hostname} [source ipv4]
[size <0..65507>] [forever| count
<1..4096>]
Sends an ICMP ECHO_REQUEST to test the reachability of a host on an
IPv4 network and to measure the round-trip time for a message sent from
the originating host to the destination computer.
size: specifies the number of data bytes to be sent
count: Stop after sending this number of ECHO_REQUEST packets.
forever: keep sending ECHO_REQUEST packets until you use Ctrl+c to
stop.
ping6{ipv6 | hostname} [source ipv6]
[size <0..65527>] [forever| count
<1..4096>] [interface {interface_name |
virtual_interface_name}][extension
filter_extension]
Sends an ICMP ECHO_REQUEST to test the reachability of a host on an
IPv6 network and to measure the round-trip time for a message sent from
the originating host to the destination computer.
interface_name: specifies interface through which to send the
ECHO_REQUEST packets.
filter_extension: You can use 1-256 alphanumeric characters, spaces,
or '()+,/:=?;!*#@$_%.- characters.
show packet-capture status Displays whether a packet capture is ongoing.
tracepath6 {ipv6 | hostname} Displays the path MTU for the target address.
Table 204 Maintenance Tools Commands in Privilege Mode (continued)
COMMAND DESCRIPTION