N1 Service Provisioning System 4.1 Reference Guide

Authentication by Username and Password or Session ID

All but a few of the commands in the command line interface require authentication by username and password or by session ID.


cr_cli -cmd [command] -u [user] -p [password]

Note –

You do not need a username and password to get help on any of the commands or to list all available commands.


For increased security, place the password in a file and pass the file to the command. You can then use the filesystem to restrict access to the file containing the password. Use the following method to securely enter commands that require authentication. For more information on this technique, see Passing Arguments to the CLI from a File.

Create a file with the password, and pass the file to the command.


cr_cli -cmd [command] -u [user] -p exp:[passwordfile]