cc/td/doc/product/rtrmgmt/ciscoasu/nr/nr_2_5
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Network Registrar User Interface

Network Registrar User Interface

Through Network Registrar's graphical user interface(GUI), ntwkreg, or command line interface (CLI), nrcmd, you control your servers' operations. The nrcmd commands that control the server include the following.

Commands

The commands handle administration and affect the way you can view Network Registrar activity.

Admin Commands

The Admin commands allow you to address the Network Registrar database, to specify system administrator information, and to exit Network Registrar.

Handling Administration

The admin command allows you to configure administrators for the cluster. You can choose any string for the administrator's name. Network Registrar uses the password to authenticate the names. If you create an administrator without a password, Network Registrar cannot authenticate the name and thus will deny that user access to the cluster.

Adding an Administrator

Use the admin create command to create an administrator and associated password. For example, to create the administrator bob with the password of xyz, type:

nrcmd> admin bob create password=xyz
Creating a Password Without Displaying It

If you want to enter a password and not have Network Registrar display the password on your screen, create an administrator and do not supply a password. Then use the enterPassword command to enter a password and prevent Network Registrar from echoing it on the screen. Network Registrar prompts you to verify the password before it accepts it.

Use the admin enterPassword command to associate a password with an administrator. For example, to cause nrcmd to prompt you for a password for administrator bob, type:

nrcmd> admin bob enterPassword
Changing the Administrator's Password

Use the admin setcommand to change an existing password. For example to change bob's password to abc, type:

nrcmd> admin bob set password=abc

Exiting Network Registrar

Exiting Network Registrar's user interface does not affect your network servers' or your hosts' ability to request leases or access the Internet.

To exit Network Registrar's CLI, use the exit command. Network Registrar writes all your unsaved changes to the database. If Network Registrar is unable to save your changes, it displays the same error code as if you had used the save command.

Use the exit command to quit Network Registrar's command line interface when you are in interactive mode.

nrcmd> exit

Server Commands

The server command allows you to affect the behavior of the server. After you have used the server command or any other time you have changed the server's configuration, you need to reload the server.

Controlling Servers

Administration includes:

Starting Network Registrar's Servers

Use the server start command to start the specified server. For example, to start Network Registrar's DNS server, type:

nrcmd> server DNS start
Stopping Network Registrar's Servers

Use the server stop command to stop the specified server. For example, to stop Network Registrar's DHCP server, type:

nrcmd> server DHCP stop
Reloading Network Registrar's Servers

Use the server reload command to reload the specified server. For example, to reload Network Registrar's DHCP server, type:

nrcmd> server DHCP reload
 

Network Registrar stops the server you have selected, updates the database with the new configuration information, and restarts the server.

Displaying the Server's Health

Use the server getHealth command to display the specified server's health. For example, to display Network Registrar's DHCP server's health, type:

nrcmd> server DHCP getHealth
Displaying Server Statistics

Use the server getStats command to display the specified server's statistics. For example, to display Network Registrar's DHCP server's statistics, type:

nrcmd> server DHCP getStats

Setting and Unsetting Debugging

You can use the server setDebug and server unsetDebug to set or unset the debugging level and the location of the debug messages. You can specify either MLOG or WINDOW as locations. The default is MLOG.

Use the server setdebug command to specify the debugging level. For example, to set the DNS debugging level to 5, type:

nrcmd> server DNS setDebug D=5

hometocprevnextglossaryfeedbacksearchhelp
Posted: Thu Jul 13 11:36:04 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.