Technical References
scope-policy <scope-name> delete
scope-policy <scope-name> set <attribute>=<value> [<attribute>=<value> ...]
scope-policy <scope-name> get <attribute>
scope-policy <scope-name> unset <attribute>
scope-policy <scope-name> disable <attribute>
scope-policy <scope-name> enable <attribute>
scope-policy <scope-name> show
scope-policy <scope-name> setLeaseTime <time-val>
scope-policy <scope-name> getLeaseTime
scope-policy <scope-name> setOption <opt-name | id> <value>
scope-policy <scope-name> getOption <opt-name | id>
scope-policy <scope-name> unsetOption <opt-name | id>
scope-policy <scope-name> listOptions
scope-policy <scope-name>
setVendorOption <opt-name | id> <opt-set-name> <value>
scope-policy <scope-name>
getVendorOption <opt-name | id> <opt-set-name>
scope-policy <scope-name>
unsetVendorOption <opt-name | id> <opt-set-name>
scope-policy <scope-name> listVendorOptions
Description
The scope-policy command lets you configure embedded DHCP policy
information for a DHCP scope. An embedded policy is a collection of
DHCP option values and settings associated with (and named by)
another object -- in this case a scope. A scope policy is created
implicitly when you first reference it, and is deleted when the
scope is deleted.
You can set individual option values with the setOption command,
unset option values with the unsetOption command, and view option
values with the getOption and listOptions commands. When you set an
option value the DHCP server replaces any existing value or
creates a new one as needed for the given option name.
You can use the setLeaseTime command to set the values of lease
times and the getLeaseTime command to display the value of a lease
time.
Examples
nrcmd> scope-policy scope-example set backup-pct=30
nrcmd> scope-policy scope-example enable allocate-first-available
Status
See Also