To set a default value for a specified option type at the DHCP server. Syntax: set optionvalue user=UserName vendor= VendorName ...

To set a default value for a specified option type at the DHCP 
server.  
 
Syntax: 
 
        set optionvalue   [user=UserName]  
        [vendor= VendorName] [ForceFlag]  
 
Parameters: 
 
        OptCode        - Unique code for the defined option type for 
                         which a value is to be set. 
 
        DataType       - The data type of the defined option 
                         type. Should be of the following:  
                         BYTE | WORD | DWORD | STRING | IPV6ADDRESS 
 
        UserName       - Sets the applicable user class name that this 
                         command will apply towards. If not specified, 
                         the Default User Class is assumed. This is valid 
                         only for Windows Server 2008. 
                         Otherwise these parameters are ignored. 
 
        VendorName     - Sets the applicable vendor class name that 
                         this command will apply towards. If not specified, 
                         the DHCP Standard Options class is assumed. This 
                         is valid only for Windows Server 2008.
                          Otherwise these parameters are ignored. 
 
        ForceFlag     - DhcpNoForce/DhcpFullForce  can be specified. 
                         This is specifically for OptCode 023 DNS validation.
                         If DhcpFullForce is specified then DNS addresses are 
                         added in the server even if DNS validation.fails. If 
                         DhcpNoForce is specified then DNS addresses are 
                         added only when DNS validation succeeds. 
                         Default  value is DhcpNoForce.
 
        OptValue       - The new server default value for the option 
                         type identified by OptCode. The value must be 
                         of the associated data type.  
 
Notes:         For OptValue, if BYTE is the data type, the value 
               should be stated as hexadecimal. The UserName and 
               VendorName are available only for Windows Server 2008, 
               and if used, the field tags for each are required.  
 
Example:       set optionvalue 027 IPV6ADDRESS 2089:2e34::1200 
               set optionvalue 027 IPV6ADDRESS vendor=Vendor1 2089:2e34::1256 
 
               The first command sets the value of the option with 
               code 027 (Network Information Service (NIS) Servers Option) 
               and of data type IPV6ADDRESS to the values given 
               (2089:2e34::1200). The second command performs similar results 
               for the vendor class Vendor1. For this example, Vendor1 
               class must already be defined with the specified option 
               type (code 027) using the same data type IPV6ADDRESS to 
               the optional values provided.