HP Systems Insight Manager 6.0 Command Line Interface Guide

MeaningValue
An error occurred during operation.>0
Example
To view information for the host rose.co.com, enter mxgethostname -n rose.co.com.
mxglobalprotocolsettings
Manages global protocol settings in HP SIM.
Synopsis
mxglobalprotocolsettings -s [-f file-name|- ]
mxglobalprotocolsettings -s {setting=value}...
mxglobalprotocolsettings [-ld]
mxglobalprotocolsettings -lf [-b encoding ]
Description
mxglobalprotocolsettings is used to manage HP SIM's global protocol settings.
Options
-s [-f file-name|- ]
Set global protocol settings from a specified XML file or standard input. See the
mxglobalprotocolsettings(4) manpage for XML file format details.
-s {setting=value}...
Set global protocol settings on the command line. The
setting
is an element name from the
XML file format shown in the mxglobalprotocolsettings(4) manpage, and can be
any element defined in the <xs:element name="global-protocol-settings">
section. The value is the value for the specified setting.
-ld
List global protocol settings in detailed format.
-lf [-b encoding ]
List global protocol settings in XML format. If -b encoding is specified, the XML is written
in the specified encoding; otherwise the default encoding is used.
Return values
MeaningValue
Successful completion.0
Command line syntax error.2
An error occurred during operation.-1
Examples
Example 1
To list the global protocol settings in detailed format, enter mxglobalprotocolsettings -ld. The output
might look like:
Ping type = ICMP
Default ping timeout (in seconds) = 5
Default ping retries = 2
38 Command descriptions