Solaris DHCP Administration Guide

How to Create DHCP Options (dhtadm)

  1. Become superuser or a user assigned to the DHCP Management profile .

  2. Type a command using the following format:


    # dhtadm -A -s option-name-d 'category,code,data-type,granularity,maximum'
    

    where

    option-name

    is an alphanumeric string of 128 characters or less. 

    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. See Table 4–9 for information about how to determine the vendor client class.

    code

    is a numeric value appropriate to the option category, as explained in Table 4–9.

    data-type

    is a keyword that indicates the type of data passed with the option, as explained in Table 4–9.

    granularity

    is a nonnegative number, as explained in Table 4–9.

    maximum

    is a nonnegative number, as explained in as explained in Table 4–9.

    The following two commands are examples:

    # dhtadm -A -s NewOpt -d 'Site,130,UNUMBER8,1,1'
    

    # dhtadm -A -s NewServ -d 'Vendor=SUNW.Ultra-1 \ 
    SUNW.SPARCstation10,200,IP,1,1'