Manage and report on an Edge Services VPN-Plus device using NSX Edge and client OS CLI commands

 
Once you have an SSH session into the NSX Edge that SSL VPN PLus configured there are a few different commands you can run. In order to see what ssl-vpn plus service information you can view, type show service sslvpn-plus then hit enter. The output is displayed below.
 

vShield-edge-1-0> show service sslvpn-plus
  
  sessions  Show SSL VPN-Plus active sessions.
  stats     Show SSL VPN-Plus statistics.
  tunnels   Show SSL VPN-Plus tunnel information.

Let’s analyze some of these commands.
 
Command: show service sslvpn-plus sessions
 
Functionality: Show active SSL VPN Plus sessions
 
Example output
 

vShield-edge-7-0> show service sslvpn-plus sessions
4                    vpn-user                  0 Hr. 2 Min. 53 Sec

No sessions configured

 
Command: show service sslvpn-plus stats
 
Functionality: Show SSL VPN Plus statistics
 
Example output
 

vShield-edge-7-0> show service sslvpn-plus stats
Total full access tunnels connected since gateway start : 0
Current full access authenticated tunnels               : 1
Current number of tunnels not authenticated             : 0
Current number of tunnels using clientless mode         : 0
Total bytes sent                                        : 2483925
Total bytes received                                    : 47527

 
Command: show service sslvpn-plus tunnels
 
Functionality: Show active SSL VPN Tunnels
 
Example output
 

vShield-edge-7-0> show service sslvpn-plus tunnels
Tunnel  User       Authenticated  W-bytes  R-bytes  Uptime(s) Client-ip
 68      vpn-user   YES            0        0        0        0.0.0.0

Total tunnels configured: 1

Lastly, there are two commands I would like to reference. One to get the service status, and one to get the configuration of the SSL VPN PLUS.
 

vShield-edge-7-0> show configuration sslvpn-plus
-----------------------------------------------------------------------
vShield Edge SSL VPN-Plus Config:
{
   "sslvpn" : {
      "enable" : true,
      "webResources" : [],
      "serverSettings" : {
         "vmSize" : 0,
         "certificateId" : null,
         "cipherList" : [
            "AES256-SHA"
         ],
         "ips" : [
            "192.168.130.4"
         ],
         "ccu" : 50,
         "port" : 443
      },
      "users" : [
         {
            "firstName" : "",
            "disableUserAccount" : false,
            "userId" : "vpn-user",

 

vShield-edge-7-0> show service sslvpn-plus
-----------------------------------------------------------------------
vShield Edge SSL VPN-Plus Status:
SSL VPN-PLUS is running.

 

Leave A Comment

Your email address will not be published. Required fields are marked (required):

Back to Top