Solaris DHCP Administration Guide

How to Create a DHCP Macro (dhtadm)

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

  2. Type a command of the following format:

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

    There is no limit to the number of option/value pairs included in the argument to -d. The argument must begin and end with colons, with colons separating each option/value pair.

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

    # dhtadm -A -m bluenote -d \

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