Become superuser on the DHCP server system.
Type a command using the following format:
# dhtadm -M -s option-name-d 'category,code,data-type,granularity,maximum' |
is the option name whose definition you want to change.
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.Ultra-1 SUNW.i86pc.
is a numeric value appropriate to the option category, as explained in Table 11-9.
is ASCII, IP, BOOLEAN, NUMBER, or OCTET.
is a non-negative number, as explained in Table 11-9.
is a non-negative number, as explained in Table 11-9.
Note that you must specify all of the DHCP option properties with the -d switch, not just the properties you are changing.
The following two commands are two examples:
# dhtadm -M -s NewOpt -d 'Site,135,NUMBER,1,1' # dhtadm -M -s NewServ -d 'Vendor=SUNW.Ultra-1 SUNW.i86pc,200,IP,1,1' |