Specifications
Chapter 4. Configuring Special Features 87
To clear the value for a global option, use:
dhcp clear valueoption <code>
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
Example:
This command lists the subnet 192.168.254.0 including any options set specifically for that subnet:
dhcp list 192.168.254.0
Managing BootP
Administrators can enable and disable BootP and specify the BootP server. BootP can be enabled at the
subnetwork and at the client lease level.