Technical data

Table Of Contents
80
Example:
To set the global value for the domain name server option, enter:
dhcp set valueoption domainnameserver 192.168.254.2 192.168.254.3
Commands for specific option values for a subnetwork
To set the value for an option associated with a subnetwork, use:
dhcp set valueoption <
net
> <
code
> <
value
>...
To clear the value for an option associated with a subnetwork, use:
dhcp clear valueoption <
net
> <
code
>
Examples:
dhcp set valueoption 192.168.254.0 gateway 192.168.254.254
dhcp set valueoption 6 192.84.210.75 192.84.210.68
Commands for specific option values for a client lease
To set the value for an option associated with a specific client, use:
dhcp set valueoption
<ipaddr
> <
code
> <
value
>...
To clear the value for an option associated with a specific client, use:
dhcp clear valueoption <
ipaddr
> <
code
>
Example:
dhcp set valueoption 192.168.254.251 winserver 192.168.254.7
Commands for listing and checking option values
To list the values for global options as well as subnet and client lease information, use:
dhcp list
To list options that are set for that subnet/client lease as well as subnet/client lease information, use:
dhcp list <
net
>|<
ipaddr
>
This command lists all available options (predefined and user-defined options):
dhcp list definedoptions
This command lists all available options starting with the string "name".
dhcp list definedoptions name
To list the lease time use:
dhcp list lease