Installation guide

132
Appendix A Command Line Tools
sgChangeMgtIPOnMgtSrv <IP address>
Changes the Management Server’s IP address in the local
configuration to the IP address you give as a parameter. Use this
command if you change the Management Server’s IP address.
Restart the Management Server service after running this
command.
sgClient Starts a locally installed Management Client.
sgCreateAdmin
Creates an unrestricted (superuser) administrator account.
The Management Server needs to be stopped before running
this command.
sgExport
[host=<Management Server Address
[\Domain]>]
[login=<login name>]
[pass=<password>]
file=<file path and name>
[type=<all|nw|ips|sv|rb|al>
[name= <element name 1, element
name 2, ...>]
[recursion]
[-system]
[-h | -help | -?]
Exports elements stored on the Management Server to an XML
file.
Enclose details in double quotes if they contain spaces.
host specifies the address of the Management Server. If the
parameter is not defined, the loopback address (localhost) is
used.
Domain specifies the administrative Domain for this operation if
the system is divided into administrative Domains. If the Domain
is not specified, the Shared Domain is used.
login defines the username for the account that is used for
this operation. If this parameter is not defined, the username
root is used.
pass defines the password for the user account.
file defines the name and location of the export ZIP file.
type specifies which types of elements are included in the
export file:
all for all exportable elements
nw for network elements
ips for IPS elements
sv for services
rb for security policies
al for alerts
vpn for VPN elements.
name
allows you to specify by name the element(s) that you want
to e
xport
.
recursion includes referenced elements in the export, for
example, the network elements used in a policy that you export.
-system includes any system elements that are referenced by
the other elements in the export.
-h, -help, or -? displays information on using the script.
Table A.1 Security Management Center Command Line Tools (Continued)
Command Description