Secure Mobile Access 100 10.2 NetExtender Feature Guide

Using the NetExtender Command Line Interface

The NetExtender command line interface is only available on Windows platforms.

To launch the NetExtender CLI

  1. Launch the Windows Command Prompt by going to the Start > Run, enter cmd, and click OK.

  2. Change directory to where NetExtender is installed. Type cd Program Files\SonicWall\SSL-VPN\NetExtender.

    The specific command directory could be different on your computer. Use Windows Explorer to find the directory path where NetExtender is located.

    NetExtender CLI commands and options
    Command Option Description
    NECLI addprofile Creates a NetExtender profile
    -s server The IP address or hostname of the SMA server
    -u user-name The username for the account.
    -p password The password for the account.
    -d domain-name The domain to connect to.
    NECLI connect Initiates a NetExtender session.
    -s server The IP address or hostname of the SMA server.
    -u user-name The username for the account.
    -p password The password for the account.
    -d domain-name The domain to connect to.
    - clientcertificatethumb thumb The SSL Client Certificate thumbprint value.
    - clientcertificatename name The SSL Client Certificate name.
    NECLI deleteprofile Deletes a saved NetExtender profile.
    -s server The IP address or hostname of the SMA server.
    -u user-name The username for the account.
    -d domain-name The domain to connect to.
    NECLI disconnect Disconnects
    timeout (Optional) Timeout duration, after which the session is disconnected.
    NECLI displayprofile Displays all NetExtender profiles.
    -s server (Optional) Displays only the profiles that are saved for the specified server
    -u user-name (Optional) Displays only the profiles that are saved for the specified user name.
    -d domain-name (Optional) Displays only the profiles that are saved for the specified domain name.
    NECLI queryproxy Checks the connect to the proxy server.
    NECLI reconnect Attempts to reconnect to the server.
    NECLI showstatus Displays the status of the current NetExtender session.
    NECLI setproxy Configures proxy settings for NetExtender
    -t [0 |1 | 2 | 3]

    There are three options for setting proxy settings:

    0 - Disable proxy.

    1 - Automatically detects proxy settings. The proxy server must support Web Proxy Auto Discovery Protocol (WPAD).

    2 - Uses a proxy configuration script.

    3 - Manually configure the proxy server

    -s proxy address The address of the proxy script or proxy server
    -o port The port number.
    -u user name The user name for the proxy server.
    -p password The password name for the proxy server.
    -b bypass-proxy Bypasses the previously configured proxy settings.
    -save Saves the proxy settings.
    NECLI viewlog Displays the NetExtender log.

Was This Article Helpful?

Help us to improve our support portal

Techdocs Article Helpful form

  • Hidden
  • Hidden

Techdocs Article NOT Helpful form

  • Still can't find what you're looking for? Try our knowledge base or ask our community for more help.
  • Hidden
  • Hidden