Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Setting up to run BLCLI commands in an NSH shell


For quick reference, this topic provides an authentication and connection sequence that you can use at the start of an NSH shell session. Substitute appropriate values for your environment (service profile name, user name, password, and so forth.)

  1. Open a command prompt and start NSH by typing nsh.
    C:\some_directory>nsh

    The prompt changes to your NSH prompt.
    MY_NSH_PROMPT%
  2. Assuming that you have set up authentication, (see Authentication), use the blcli_setoption command to specify the service profile and role you want to use. 


    MY_NSH_PROMPT% blcli_setoption serviceProfileName myServiceProfile
    MY_NSH_PROMPT% blcli_setoption roleName BLAdmins
  3. Populate the credentials cache. 


    MY_NSH_PROMPT% blcred cred -acquire -profile myServiceProfile -username testUser
    -password testPassword
    Authentication succeeded: acquired session credential
  4. Connect to the Application Server.
    MY_NSH_PROMPT% blcli_connect

Now you can run any BLCLI commands that you want to run.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*