Technical References

scope-template-policy - Edits a DHCP policy embedded in a scope-
template
Synopsis
scope-template-policy <name> delete
scope-template-policy <name> set
<attribute>=<value>
[<attribute>=<value> ...]
scope-template-policy <name> get <attribute>
scope-template-policy <name> disable <attribute>
scope-template-policy <name> enable <attribute>
scope-template-policy <name> show
scope-template-policy <name> setLeaseTime <time-val>
scope-template-policy <name> getLeaseTime
scope-template-policy <name> setOption <opt-name | id> <value>
scope-template-policy <name> getOption <opt-name | id>
scope-template-policy <name> unsetOption <opt-name | id>
scope-template-policy <name> listOptions
scope-template-policy <name>
setVendorOption <opt-name | id> <opt-set-name> <value>
scope-template-policy <name>
getVendorOption <opt-name | id> <opt-set-name>
scope-template-policy <name>
unsetVendorOption <opt-name | id> <opt-set-name>
scope-template-policy <name> listVendorOptions
Description
The scope-template-policy command lets you configure a DHCP
policy embedded in a DHCP scope template. An embedded policy is a
collection of DHCP option values and settings associated with (and
named by) another object -- in this case a scope template. A
scope-template-policy is created implicitly when you first
reference it, and is deleted when the scope-template 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 will replace any existing value or
create a new one as needed for the given option name.
Examples
nrcmd> scope-template-policy exampleScope set default-prefix-
length=32
nrcmd> scope-template-policy exampleScope enable allow-rapid-
commit
Status