UAG CLI Reference Guide 321
CHAPTER 64
Maintenance Tools
Use the maintenance tool commands to check the conditions of other devices through the UAG. The
maintenance tools can help you to troubleshoot network problems.
Here are maintenance tool commands that you can use in privilege mode.
Table 205 Maintenance Tools Commands in Privilege Mode
COMMAND DESCRIPTION
packet-trace [interface interface_name]
[ip-proto {<0..255> | protocol_name |
any}] [src-host {ip | hostname | any}]
[dst-host {ip | hostname | any}] [port
{<1..65535> | any}] [file] [duration
<1..3600>] [extension-filter
filter_extension]
Sniffs traffic going through the specified interface with the specified
protocol, source address, destination address, and/or port number.
If you specify
file, the UAG dumps the traffic to /packet_trace/
packet_trace_interface. Use FTP to retrieve the files (see Section
58.6 on page 296).
If you do not assign the duration, the UAG keeps dumping traffic until you
use Ctrl-C.
Use the extension filter to extend the use of this command.
protocol_name: You can use the name, instead of the number, for some IP
protocols, such as
tcp, udp, icmp, and so on. The names consist of 1-16
alphanumeric characters or dashes (-). The first character cannot be a
number.
hostname: You can use up to 252 alphanumeric characters, dashes (-), or
periods (.). The first character cannot be a period.
filter_extension: You can use 1-256 alphanumeric characters, spaces,
or '()+,/:=?;!*#@$_%.- characters.
traceroute {ip | hostname} Displays the route taken by packets to the specified destination. Use
Ctrl+c to return to the prompt.
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.
show packet-capture status Displays whether a packet capture is ongoing.
show packet-capture config Displays current packet capture settings.