Specifying access data for LPAR mode
The snipl command requires access data for the HMC or SE that controls a particular LPAR.
- 1 -L can be omitted if the required information is specified through a configuration file.
- -L <ip_address> or --lparserver <ip_address>
- specifies the IP address or host name of the HMC or SE that controls the
LPAR or LPARs you want to work with. You can use IPv6 or
IPv4 connections.
You can omit this parameter if the IP address or host name is specified through a configuration file.
- -p <community> or --password <community>
- specifies the password in the SNMP configuration settings on the
SE that controls the LPAR or LPARs you want to work with. This parameter
can also be specified through a configuration file. The default password
is
public.Note: The default password feature is deprecated and will be removed in a subsequent release. - -P or --promptpassword
- prompts for a password in protected entry mode.
- -e or --noencryption
- specifies that no encryption is used when connecting to the server. A user name is not allowed if encryption is disabled. This parameter can also be specified through a configuration file.
- -u <user> or --userid <user>
- specifies an SNMPv3 user identifier that is authorized to access an HMC or SE. This parameter can be omitted if it is specified in the configuration file.
- -f <filename> or --configfilename <filename>
- specifies the name of a configuration file that maps LPARs to
the corresponding specifications for the HMC or SE address
and password (community).
If no configuration file is specified, the user-specific default file ~/.snipl.conf is used. If this file does not exist, the system default file /etc/snipl.conf is used.
Be sure that the command-line parameters you provide uniquely identify the configuration-file section you want to work with. If you specify multiple LPARs on the command line, only the first specification is used to identify the section. If your specifications map to multiple sections, the first match is processed.
If conflicting specifications are provided through the command line and the configuration file, the command-line specification is used.
If a configuration file is neither specified nor available at the default locations, all required parameters must be specified on the command line.
- --timeout <timeout>
- specifies the timeout in milliseconds for general management API calls. The default is 60000 ms.