Cisco Cisco Prime Network Registrar 8.1 Technical References
Cisco Prime
Network Registrar CLI Reference Guide
Network Registrar CLI Introduction
About the nrcmd Program
The nrcmd command line interface (CLI) enables you to configure and manage your DNS, DHCP, and TFTP servers.
This section describes how to use the nrcmd CLI. It specifically describes:
Invoking the command in batch and interactive modes
Command organization and syntax
Special keyboard navigation characters
Invoking the nrcmd Command
You can invoke the nrcmd command in batch mode and run scripts that use the commands; or you can invoke the
nrcmd command in interactive mode and enter commands at the nrcmd command prompt. By default, the nrcmd
command is located in C:\Program Files\Network Registrar\Local\bin on Windows and in /opt/nwreg2/local/usrbin on
Solaris and Linux.
Note: On Windows, if you want to run the nrcmd program from outside the installed path, you must set the
CNR_HOME environment variable.
On Windows, you can invoke the nrcmd command window from the Start menu:
Start
> Programs > Network Registrar 8.1.3.4 > Network Registrar 8.1.3.4 CLI
This method prompts for your user name and password. On Solaris and Linux (as well as Windows alternatively),
invoke the command from the command prompt using this syntax:
nrcmd
[general-options] [command] [options]
Table 1-1 General Options to nrcmd Command
Option
Description