Become superuser or a user assigned to the DHCP Management profile.
Type a command using the following format:
# dhtadm -M -s option-name-d 'category,code,data-type,granularity,maximum' |
where
option-name |
is the option name whose definition you want to change. |
category |
is Site, Extend, or Vendor=list-of-classes, and list-of-classes is a space-separated list of vendor client classes to which the option applies. For example, SUNW.Ultra5_10 SUNW.Ultra-1 SUNWi86pc. |
code |
is a numeric value appropriate to the option category, as explained in Table 10–3. |
data-type |
is a keyword that indicates the type of data passed with the option, as explained in Table 10–3. |
granularity |
is a nonnegative number, as explained in Table 10–3. |
maximum |
is a nonnegative number, as explained in as explained in Table 10–3. |
Note that you must specify all of the DHCP option properties with the -d switch, not just the properties you want to change.
The following two commands are examples:
# dhtadm -M -s NewOpt -d 'Site,135,UNUMBER8,1,1' # dhtadm -M -s NewServ -d 'Vendor=SUNW.Ultra-1 \ SUNW.i86pc,200,IP,1,1'