Cisco Systems Dial NMS manual Note The NRCMD command mode is not used

Models: Dial NMS

1 132
Download 132 pages 47.44 Kb
Page 93
Image 93
Note The NRCMD command mode is not used.

Task 6—Managing IP Addresses by Using DNS

About Managing IP Addresses

Step 5 When working with a reverse zone, you can map an IP address to a router by entering the zone command and the addRR resource record (RR) option:

nrcmd> zone 101.21.172.in-addr.arpa. addRR 7 PTR bobslake-nas-01.the.net

Step 6 Remove a resource record by entering the zone command and removeRR option:

nrcmd> zone 101.21.172.in-addr.arpa. removeRR 7 PTR unused-07.the.net

Step 7 To minimize the lock-time on the database, enter the following CNR command from the Unix command line. Use quotations (“ ”) to contain the command and pass it to the shell.

/opt/nwreg2/usrbin/nrcmd "zone 101.21.172.in-addr.arpa. listRR"

Note The NRCMD command mode is not used.

Step 8 Sort the records and parse the output by entering the following CNR command from the Unix command line:

/opt/nwreg2/usrbin/nrcmd "zone 101.21.172.in-addr.arpa. listRR" sort -n more

username: password:

 

 

 

0

IN

PTR

broadcast-0.the.net.

@

IN

NS

onionring.the.net.

@

IN

SOA

onionring.the.net. netadmin.the.net.101.

21.172.in-addr.arpa. 1997121606 3600 1800 86400 86400

Dynamic Resource Records

 

 

 

Static Resource Records

 

 

 

1

IN

PTR

unused-1.the.net.

2

IN

PTR

unused-2.the.net.

3

IN

PTR

unused-3.the.net.

4

IN

PTR

unused-4.the.net.

5

IN

PTR

unused-5.the.net.

6

IN

PTR

unused-6.the.net.

7

IN

PTR

unused-7.the.net.

8

IN

PTR

unused-8.the.net.

9

IN

PTR

unused-9.the.net.

10

IN

PTR

unused-10.the.net.

(truncated for brevity)

 

 

 

Basic Dial NMS Implementation Guide

'!

Page 93
Image 93
Cisco Systems Dial NMS manual Note The NRCMD command mode is not used