Cisco Cisco Prime Network Registrar 8.0 Riferimenti tecnici

Pagina di 234
appear, and no default values appear. The display in batch mode is less user-friendly, but is more
easily parsable by a program. These examples show how output compares in interactive and batch
modes, respectively:
nrcmd> zone example.com show
100 Ok
example.com. (primary):
checkpoint-interval =
checkpoint-min-interval =
defttl = 12h
dynamic = [default=true]
dynupdate-set =
expire = 7d
...
nrcmd -N admin -P changeme zone example.com show
100 Ok
example.com.: defttl=12h; expire=7d; minttl=10m; nameservers={{0 rr2.example.com.}}; ns=rr2.; origin=example.com.;
person=rr1.; refresh=3h; retry=60m; serial=1; update-acl="key myKey";
         
100 Ok
 
Other custom methods--These are specific operations that you can perform on an object, beyond editing its
attributes. Examples are adding a range of IP addresses to a scope, or removing hosts from a zone.
Command Usage
How you specify a series of arguments depends on the type of command you are using. The following subsections
describe the differences between using the createset, and enable commands.
Create Keyword
When you use the create keyword and there are required arguments, you must supply them. You can also supply
additional arguments. You must supply the required arguments in the specified order; however, you can specify the
optional arguments in any order with the syntax attribute=value.
For example, the syntax for creating a scope is: 
scope name
 
create  ipaddress  mask  [ attribute value
This means that you must supply an IP address and mask when you create a scope, and you can optionally specify
other attributes of the scope. 
scope testScope create 192.168.50.0 255.255.255.0
 
100 Ok
testScope:
addr = 192.168.50.0
bootp = disabled
deactivated =
You can also include attribute definitions on the same line. This example creates the same scope, but also specifies
the name of the DNS zone to which a DHCP client's host name should be added: 
 scope
 
testscope create