Configuring NetScaler CPX
Configuring a NetScaler CPX Instance by Using the Command Line Interface
Support for using a non-default password in NetScaler CPX
nsroot. A default password is generated and assigned to the user once NetScaler CPX has been deployed. This default password is also updated for SSH users: root and nsroot. You can change this default password manually. You can also reset the default SSH password for root and nsroot user accounts manually. Citrix recommends changing this password manually to preserve the security of the system.
cli_script.sh executions. The default root account password is stored in plain text in the /var/deviceinfo/random_id file in the NetScaler CPX file system.
cli_script.sh with the credentials:
cli_script.sh "<command>" ":<user>:<password>"
cli_script.sh for displaying IP addresses with user nsroot and password Citrix123, use the following:
cli_script.sh "show ns ip" ":nsroot:Citrix123"
Configuring a NetScaler CPX Instance by Using the NITRO API
http://<host_IP_address>:<port>/nitro/v1/config/<resource-type\
http://<host\_IP\_address\>:\<port\>/nitro/v1/stat/\<resource-type\
CPX IP address:port where netscaler-ip-address is mentioned.
Configuring a NetScaler CPX Instance by Using Jobs
-
Log on to NetScaler Console by using the administrative credentials.
-
Navigate to Networks \> Configuration Jobs, and then click Create Job.
-
Specify the required values, and select the configuration source. You can also type the commands you want to run.

-
Select the NetScaler CPX instances on which you want to run the configuration and click Next.

-
Specify the execution settings and click Finish to run the commands on the NetScaler CPX instance. If you want to save the configuration and run it later, click Save and Exit.
