HP Systems Insight Manager 7.1 Command Line Interface Guide

Example 14
The command below removes all default/global (and only default/global) type credentials in the
HP SIM of the specified protocol type/name.
mxnodesecurity -r -p protocol
Example 15
The command below removes the specified default/global type credential (as specified by the
numeric N value) in the HP SIM of the specified protocol type/name. The nodename reference
used in the command below would be acquired from an mxnodesecurity list (-l) command. Note
that when listing default/global credentials, the node names are in the form of @defaultN, where
N is an auto-assigned numerical value indicating usage precedence.
mxnodesecurity -r -p protocol -n @defaultN
Example 16
The command below removes credentials in the HP SIM database based on the contents of the
XML file named /home/user1/defs/oldcredentials.xml.
mxnodesecurity -r -f /home/user1/defs/oldcredentials.xml
Example 17
The command below displays the list of all default/global and node/system credentials contained
in the HP SIM database.
mxnodesecurity -l
Example 18
The command below displays a list of all credentials (default and node) of type WBEM protocol.
mxnodesecurity -l -p wbem
Example 19
The command below displays a list of all credentials (node) of type VME protocol scvmm (can also
be - vCenter, rhevm).
mxnodesecurity -l -p vme:scvmm
Example 20
The command below displays all node/system credential(s) for the specified node
mycomputer.ak.hp.com.
mxnodesecurity -l -n mycomputer.ak.hp.com
Example 21
The command below displays the WBEM node/system credential(s) and for the specified node
mycomputer.ak.hp.com.
mxnodesecurity -l -p wbem -n mycomputer.ak.hp.com
Example listing output
The example output below shows the format for the -1 command that lists all Default/Global and
Node/System credentials. Note that the Default/Global and Node/System credentials are divided
into two separate listings. The @defaultN node naming convention and the specific numeric N
value used in the Default/Global credentials list. When wanting to Modify an existing Default
credential, you *must* use this listing output as a reference for the specific credential that you wish
to modify as you will be required to provide a @defaultN value string as a node name in either
(1) a commandline nodename -n value or (2) as a name attribute value in an XML file. Another
mxnodesecurity 85