Chapter 46 Maintenance Tools

Table 204 Maintenance Tools Commands in Privilege Mode (continued)

COMMAND

DESCRIPTION

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

Sets a host IP address or a host IP address object for which to capture

any>

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-typecommand

 

below, you can specify the port number of traffic to capture.

iface {add del} {interface_name

Adds or deletes an interface or a virtual interface for which to capture

virtual_interface_name}

packets to the capture interfaces list.

ip-version {ipip6any}

Sets wether to capture IPv4 or IPv6 traffic. Any means to capture packets

 

for all types of traffic.

 

 

proto-type {icmp icmp6 igmp

Sets the protocol of traffic for which to capture packets. any means to

igrp pim ah esp vrrp udp

capture packets for all types of traffic.

tcp any}

 

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 <internalusbstorage>

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 <enabledisable>

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]

Sends an ICMP ECHO_REQUEST to test the reachability of a host on an

[size <0..65507>] [forever count

IPv4 network and to measure the round-trip time for a message sent from

<1..4096>]

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]

Sends an ICMP ECHO_REQUEST to test the reachability of a host on an

[size <0..65527>] [forever count

IPv6 network and to measure the round-trip time for a message sent from

<1..4096>] [interface {interface_name

the originating host to the destination computer.

virtual_interface_name}][extension

interface_name: specifies interface through which to send the

filter_extension]

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.

342

 

ZyWALL (ZLD) CLI Reference Guide