User Guide
Chapter 5. Command Line Interface Reference 195
DHCP SET MASK
Used to conveniently change the mask of a DHCP subnet without having to delete and recreate the subnet and all
its entries.
DHCP SET VALUEOPTION
Sets values for global options, options specific to a subnetwork, or options specific to a client lease.
dhcp set mask
<net
>
<mask
>
net
IP address of the subnetwork lease in the format of 4 decimals separated by periods.
mask
IP network mask, in the format of 4 decimals separated by periods.
Example:
dhcp set mask 192.168.254.0 255.255.255.0
dhcp set valueoption
[<
ipaddr>|<net
>
<code> <value>....
ipaddr
IP address of the client lease in the format of 4 decimals separated by periods.
net
IP address of the subnetwork lease in the format of 4 decimals separated by periods.
code
Code can be a number between 1 and 61 or a keyword. Use the command
dhcp
list
definedoptions
to list the codes and keywords.
value
Can be a byte, word, signed long, unsigned long, binary, IP address, or string depending on the
type of option.
Example 1:
dhcp set value option 192.168.254.0 gateway 192.168.254.254
(sets the value for an option associated with a subnetwork).
Example 2:
dhcp set valueoption domainnameserver 192.168.254.2 192.168.254.3
(sets a
global
value for the domain name server option)
Example 3:
dhcp set valueoption 192.168.254.251 winserver 192.168.254.7
(sets a value for an option associated with a
specific client)










