lsvpn

The lsvpn command displays a report that lists the outbound VPN information such as management consoles and connection status.

Note: VPN is no longer supported as a remote support connectivity option for call home and remote access functions. As a result, starting with Release 8, the lsvpn command is no longer supported.
Read syntax diagramSkip visual syntax diagram lsvpn  -s  -l  -vpnaddr smc1smc2 -vpnstatus  connected  disconnected

Parameters

-s
(Optional) Displays the management console (SMC) and connection status. You cannot use the -l and -s parameters together.
-l
(Optional) Displays the management console (SMC) and connection status. You cannot use the -l and -s parameters together.
-vpnaddr smc1 | smc2
(Optional) The VPN server machine. In addition, you can specify where the outbound VPN was started from by designating the following values:
smc1
The management console (SMC) where the outbound VPN was started from. The console in your profile for hmc1 starts your DS CLI session, unless you specify a console that is not designated in your profile. In this case, the console you specified to start your session is the one reported where the connection was made.
smc2
The management console where the outbound VPN was started from if you did not start it from the management console that is identified by smc1. The console in your profile for hmc2 starts your DS CLI session, unless you specified a console that is not designated in your profile. In this case, the console that you specified to start your session is the one reported where the connection was made.
Note: The default value is to display the address for smc1 and smc2. If you do not specify the -vpnaddr parameter, the generated report displays both the smc1 and smc2 addresses as they are recorded in your profile.
-vpnstatus connected | disconnected
(Optional) You receive a report that displays only the SMC for the connection status specified.
Note: The default value is to display the connection status for all SMCs. The generated report displays all connected and disconnected SMCs.

Example: Displaying a report that lists the outbound VPN information

dscli> lsvpn -l 

Output

Note: For DS CLI list commands, the results are shown in table format for 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 lsvpn command.

VPN Address VPN Status
smc1 Connected
smc2 Disconnected