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]     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 | IPADDRESS            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 2000 Server and Windows Server 2003.                          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 2000 Server and                           Windows Server 2003. Otherwise these                           parameters are ignored.            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 2000 Server and                 Windows Server 2003, and if used, the field tags for                 each are required.     Example:       set optionvalue 003 IPADDRESS 1.1.1.1 1.1.1.2 1.1.1.3                 set optionvalue 003 IPADDRESS vendor=Vendor1 10.1.1.1 10.1.1.2 10.1.1.3                   The first command sets the value of the option with                 code 3(Router) and of data type IPADDRESS to the values                 given (10.1.1.1, 10.1.1.2, 10.1.1.3) for the current                 scope. 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 003) using the same data type IPADDRESS to                 the optional values provided.
English
English (United States)
日本語
Japanese