Technical References

The applyTemplate command applies the specified
scope-template to the scope. All properties configured
on the scope-template are applied to the scope.
scope report-staged-edits
Displays a list of the scopes that have pending edits that
have not been synchronized with the DHCP server.
Note: The scope command manages a VPN through a virtual attribute:
vpn [] (AT_STRING, Optional, default: <none>)
Use this attribute to set or get the VPN ID by VPN name
instead of by ID.
Examples
nrcmd> scope scope-example create 192.168.0.0 255.255.255.224
nrcmd> scope scope-example addRange 192.168.0.33 192.168.0.62
nrcmd> scope scope-example addReservation 192.168.0.40 00:d0:ba:d3:bd:3b
nrcmd> scope scope-example changeMask 255.255.255.192
Status
See Also
scope-template
Attributes
allocate-first-available bool default = false
Enables you to force the allocation of new IP addresses
from this scope to be the first available IP address;
otherwise, the default of the 'least recently used' IP address is
used.
If this attribute is not set, or is unset, then the DHCP server
attribute priority-address-allocation controls whether
to allocate the first available IP address.
If priority-address-allocation is set, and allocate-first-available
for the scope is unset, then the scope allocates addresses as if
allocate-first-available was set.
If allocate-first-available is enabled or disabled for a scope, then
for that scope the setting of priority-address-allocation has no
meaning.
allocation-priority int default = 0