System Administration Guide: IP Services

ProcedureHow to Create a DHCP Macro (dhtadm)




  2. Create a macro by typing a command of the following format:

    # dhtadm -A -m macroname -d ':option=value:option=value:option=value:' -g

    There is no limit to the number of option=value pairs that can be included in the argument to -d. The argument must begin and end with colons, with colons between each option=value pair. The complete string must be enclosed in quotation marks.

    For example, to create the macro bluenote, type the following command:

    # dhtadm -A -m bluenote -d ':Router=\
    :LeaseNeg=_NULL_VALUE:DNSserv=' -g

    Note that if an option does not require a value, you must use _NULL_VALUE as the value for the option.