Installation guide

146
Appendix A Command Line Tools
The table below lists some general Linux operating system commands that may be useful in
running your engines. Some commands can be stopped by pressing
Ctrl+c.
sginfo
[-f] [-d] [-s] [-p] [--] [--help]
Firewall,
Layer 2
Firewall,
IPS
Gathers system information you can send to McAfee support if
you are having problems. Use this command only when
instructed to do so by McAfee support.
-f option forces sgInfo even if the configuration is encrypted.
-d option includes core dumps in the sgInfo file.
-s option includes slapcat output in the sgInfo file.
-p option includes passwords in the sgInfo file (by default
passwords are erased from the output).
-- option creates the sgInfo file without displaying the progress
--help option displays usage information.
Table A.2 NGFW Engine Command Line Tools (Continued)
Command
Engine
Role
Description
Table A.3 General Command Line Tools on Engines
Command Description
dmesg Shows system logs and other information. Use the -h option to see usage.
halt Shuts down the system.
ip
Displays IP address information. Type the command without options to see usage. Example:
type ip addr for basic information on all interfaces.
ping Tests connectivity with ICMP echo requests. Type the command without options to see usage.
ps Reports the status of running processes.
reboot Reboots the system.
scp Secure copy. Type the command without options to see usage.
sftp Secure FTP. Type the command without options to see usage.
ssh
SSH client (for opening a terminal connection to other hosts). Type the command without
options to see usage.
tcpdump
Gives information on network traffic. Use the -h option to see usage.
You can also analyze network traffic by creating tcpdump files from the Management Client with
the Traffic Capture feature. See the McAfee SMC Administrator’s Guide for more information.
top Displays the top CPU processes taking most processor time. Use the -h option to see usage.
traceroute
Traces the route packets take to the specified destination. Type the command without options to
see usage.
vpninfo
Displays VPN information and allows you to issue some basic commands. Type the command
without options to see usage.