Cisco Systems Dial NMS manual Using Cisco Network Registrar CLI Command s

Models: Dial NMS

1 132
Download 132 pages 47.44 Kb
Page 92
Image 92
Using Cisco Network Registrar CLI Command s

Task 6—Managing IP Addresses by Using DNS

About Managing IP Addresses

Using Cisco Network Registrar CLI Command s

Database locking prevents multiple users from writing to the same database records concurrently. However, an administrator may occasionally not exit a session properly, and the database may be left locked. To release the lock on the database, use the force-locknetwork registrar command.

Network registrar commands sent from the Unix shell lock the database only while commands are running.

The name for a reverse zone is the inverse of your Internet network number, added to the special domain in-addr.arpa. For example if the network number is 1.2.3.0, the reverse zone name is 3.2.1.in-addr.arpa. A second example is the network number 1.2.0.0 with the reverse zone of 2.1.in-addr.arpa.

For a description of the network registrar CLI commands, go to http://www.cisco.com/univercd/cc/td/doc/product/rtrmgmt/ciscoasu/nr/nr30t/cliref/cli01.htm#68483

To quickly perform administrative tasks by using CNR CLI commands, follow these steps:

Step 1 Log in to the Cisco Network Registrar application by entering the following directory path:

/opt/nwreg2/usrbin/nrcmd

nrcmd>

After logging in, the command mode is accessed and the prompt “nrcmd>” appears.

Step 2 To create an account for an administrator, enter the admin command and an associated password:

nrcmd> admin bob create password=xyz

In this example, the administrator name is bob. The password is xyz.

Step 3 To see a list of existing administrators, enter the admin list command:

nrcmd> admin list

bob: password=********;

omar: password=********;

padma: password=********;

Note The admin list command is a read-only command.

Step 4 Inspect a reverse zone by entering the zone command and listRR option:

nrcmd> zone 101.21.172.in-addr.arpa. listRR

100

Ok

 

 

 

Static Resource Records

 

 

@

 

IN

SOA

onionring.the.net. netadmin.the.net 1997121601

3600

1800

86400 86400

 

 

@

 

IN

NS

onionring.the.net.com.

205

 

IN

PTR

unused-205.the.net.

203

 

IN

PTR

unused-203.the.net.

210

 

IN

PTR

unused-210.the.net.

204

 

IN

PTR

unused-204.the.net.

1

 

IN

PTR

unused-1.the.net.

10

 

IN

PTR

unused-10.the.net.

101

 

IN

PTR

unused-101.the.net.

102

 

IN

PTR

unused-102.the.net.

103

 

IN

PTR

unused-103.the.net.

104

 

IN

PTR

unused-104.the.net.

(truncated for brevity)

Basic Dial NMS Implementation Guide

'

Page 92
Image 92
Cisco Systems Dial NMS manual Using Cisco Network Registrar CLI Command s