lsaccess

The lsaccess command displays the access settings and virtual private network (VPN) status of the primary and backup hardware management consoles (HMCs).

Read syntax diagramSkip visual syntax diagram
>>- lsaccess--+-----+--+-----------------+---------------------><
              +- -s-+  '- -hmc--+- 1---+-'   
              '- -l-'           +- 2---+     
                                '- all-'     

Parameters

-s
(Optional) Displays only attributes that are identified as short output. You cannot use the -s and the -l parameters together.
-l
(Optional) Displays default output plus additional attributes that are identified as long output. You cannot use the -l and the -s parameters together.
-hmc 1 | 2 | all
(Optional) A value of 1 specifies the primary HMC, and a value of 2 specifies the secondary HMC. The default value (all) specifies the primary HMC on a single HMC system and both the primary and secondary HMCs on a dual HMC system.

Example

For this command and all other DS CLI list commands, the results are shown in table format to provide clarity. The actual reports do not display as tables.

The following table represents the headers that are displayed on the output report that is associated with the lsaccess command using the -hmc parameter.

Invoking the lsaccess command to display a list of 
the HMC access settings.

dscli> lsaccess -hmc all -l   

The resulting output

hmc cmdline wui modem vpn
hmc1 enabled enabled enabled disabled
hmc2 - - - -

Report field definitions

hmc*
Displays the HMC identifier.
cmdline
Indicates whether the command line interface is enabled or disabled for service access through an Internet or VPN connection. If the client is not connected to an HMC, a dash (-) indicates that the information is unavailable.

This field is for service access only and is not related to access to the machine through the DS CLI.

wui
Indicates whether the Web user interface (WUI) is enabled or disabled for service access through an Internet or VPN connection. If the client is not connected to an HMC, a dash (-) indicates that the information is unavailable.
modem
Indicates whether the modem is enabled or disabled for access through an Internet or VPN connection. If the client is not connected to an HMC, a dash (-) indicates that the information is unavailable.
vpn+
Indicates the connection status (enabled or disabled) of the outbound VPN connection. A status of enabled means a VPN connection exists, and a status of disabled means that a VPN connection does not exist.
Key:
*
Displayed when the -s parameter is specified.
+
Displayed only when the -l parameter is specified.