Cisco Cisco Prime IP Express 8.2 Technical References

Page of 267
nrcmd
 
general - options ]   [ command ]   [ options ]
 describes the general options when invoking from the command prompt. 
Table 1-1 General Options to nrcmd Command 
Option
Description
-C
cluster
Cluster (cluster is the name of the machine on which the Cisco Prime IP Express servers
are running). If not specified, the cluster name defaults to localhost.
-N
 
user
Cisco Prime IP Express user name (user).
-P
password
Cisco Prime IP Express user password (password).
-h
Prints help text.
-L
Accesses the local cluster CLI.
-R
Accesses the regional cluster CLI.
-b <
file.txt
Batch file (file.txt is the file of nrcmd commands that run in batch mode, read a line at a
time and with a new line printed after the prompt).
 
Note: The cluster to which you connect determines the CLI attributes that appear and are available for the release of Cisco Prime
IP Express running on the cluster. This CLI Reference describes the attributes for the current release. For the attributes available
for an earlier release, see the CLI Reference for that release.
Batch Mode
The program goes into batch mode if you include a functional command or the -b < file.txt option on the line. The text file can
include any number of nrcmd commands, and you can include comment lines preceded by the pound sign (#). In batch mode,
you return to the normal system prompt. Note that display in batch mode is intended for parsing by an external program and,
therefore, includes only command attributes that have values.
Note: The last line of code in the input file must end with an end-of-line character. It is also a good practice to make the last line
of code an explicit exit command.
Interactive Mode
The program goes into interactive mode if you enter just the nrcmd command, or include the clusteruser, or password options.
To execute the CLI in interactive mode, enter:
nrcmd[-C cluster] [-N user] [-P password]