Chapter 64 Maintenance Tools
UAG CLI Reference Guide
322
Here are maintenance tool commands that you can use in configure mode.
Table 206
Maintenance Tools Commands in Privilege Mode
COMMAND
DESCRIPTION
[no] packet-capture activate
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.
packet-capture configure
Enters the sub-command mode.
duration <0..300>
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.
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>
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.
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>
Specifies 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.
snaplen <68..1512>
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.
storage <internal|usbstorage>
Sets to have the UAG only store packet capture entries on the UAG
(internal) or on a USB storage connected to the UAG.
ring-buffer <enable|disable>
Enables or disables the ring buffer used as a temporary storage.
split-size <1..2048>
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.
show packet-capture status
Displays whether a packet capture is ongoing.
show packet-capture config
Displays current packet capture settings.
Summary of Contents for UAG Series
Page 5: ...Document Conventions UAG CLI Reference Guide 5 Server Firewall Telephone Switch Router ...
Page 22: ...22 PART I Introduction ...
Page 23: ...23 ...
Page 41: ...41 PART II Reference ...
Page 42: ...42 ...