ZyXEL Communications UAG Series Cli Reference Manual page 252

Unified access gateway
Hide thumbs Also See for UAG Series:
Table of Contents

Advertisement

Chapter 40 Maintenance Tools
Here are maintenance tool commands that you can use in configure mode.
Table 145 Maintenance Tools Commands in Privilege Mode
COMMAND
[no] packet-capture activate
packet-capture configure
duration <0..300>
file-suffix <profile_name>
files-size <1..10000>
host-ip {ip-address | profile_name
| any>
host-port <0..65535>
iface {add | del} {interface_name
| virtual_interface_name}
snaplen <68..1512>
storage <internal|usbstorage>
ring-buffer <enable|disable>
split-size <1..2048>
show packet-capture status
show packet-capture config
252
DESCRIPTION
Performs a packet capture that captures network traffic going through the
set interface(s). Studying these packet captures may help you identify
network problems.
The no command stops the running packet capture on the UAG.
Note: Use the packet-capture configure command to configure the
packet-capture settings before using this command.
Enters the sub-command mode.
Sets a time limit in seconds for the capture. The UAG stops the capture and
generates the capture file when either this period of time has passed or the
file reaches the size specified using the files-size command below. 0
means there is no time limit.
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".
Specifies a maximum size limit in megabytes for the total combined size of
all the capture files on the UAG, including any existing capture files and any
new capture files you generate.
The UAG 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.
Sets a host IP address or a host IP address object for which to capture
packets. any means to capture packets for all hosts.
Specifies the port number of traffic to capture.
Adds or deletes an interface or a virtual interface for which to capture
packets to the capture interfaces list.
Specifies the maximum number of bytes to capture per packet. The UAG
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.
Sets to have the UAG only store packet capture entries on the UAG
(internal) or on a USB storage connected to the UAG.
Enables or disables the ring buffer used as a temporary storage.
Specifies a maximum size limit in megabytes for individual packet capture
files. After a packet capture file reaches this size, the UAG starts another
packet capture file.
Displays whether a packet capture is ongoing.
Displays current packet capture settings.
UAG CLI Reference Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents