Installation guide

144
Appendix A Command Line Tools
sg-raid
[-status] [-add] [-re-add]
[-force] [-help]
Firewall,
Layer 2
Firewall,
IPS
Configures a new hard drive. This command is only for McAfee
NGFW appliances that support RAID (Redundant Array of
Independent Disks) and have two hard drives.
-status option displays the status of the hard drive.
-add options adds a new empty hard drive.
Use -add -force if you want to add a hard drive that already
contains data and you want to overwrite it.
-re-add adds a hard drive that is already partitioned. This
command prompts for the drive and partition for each degraded
array.
Use -re-add -force if you want to check all the arrays.
-help option option displays usage information.
sg-reconfigure
[--boot]
[--maybe-contact]
[--no-shutdown]
Firewall,
Layer 2
Firewall,
IPS
Used for reconfiguring the node manually.
--boot option applies bootup behavior. Do not use this option
unless you have a specific need to do so.
--maybe-contact option contacts the Management Server if
requested. This option is only available on firewall engines.
--no-shutdown option allows you to make limited
configuration changes on the node without shutting it down.
Some changes may not be applied until the node is rebooted.
sg-selftest [-d] [-h] Firewall
Runs cryptography tests on the engine.
-d option runs the tests in debug mode.
-h option displays usage information.
sg-status [-l] [-h]
Firewall,
Layer 2
Firewall,
IPS
Displays information on the engine’s status.
-l option displays all available information on engine status.
-h option displays usage information.
Table A.2 NGFW Engine Command Line Tools (Continued)
Command
Engine
Role
Description