Technical data

Table Of Contents
190
DHCP SET MASK
Used to conveniently change the mask of a DHCP subnet without deleting and recreating the subnet and all of its
entries.
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
This command is used to set values for global options, options specific to a subnetwork, or options specific to a
client lease.
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.
Examples:
dhcp set value option 192.168.254.0 gateway 192.168.254.254
(sets the value for an option associated with a subnetwork
).
dhcp set valueoption domainnameserver 192.168.254.2 192.168.254.3
(sets a global value for the domain name server option)
dhcp set valueoption 192.168.254.251 winserver 192.168.254.7
(
sets a value for an option associated with a specific client
)
dhcp set mask
<net
>
<mask
>
dhcp set valueoption
[<
ipaddr>|<net
>
<code> <value>....