Technical data

Table Of Contents
188
To list options starting with the string “ga”,
use:
dhcp list definedoptions ga
Response:
code, number of values, type of value
code GATEWAY (3), occurrence 1, type IPADDRESS
DHCP LIST LEASE
This command lists the lease time.
Example:
dhcp list lease
Response:
Default lease time ......... 168 hours
DHCP RELAY
Lets the router relay DHCP or BootP requests to a DHCP server on the WAN, when a PC attempts to acquire an
IP address using DHCP. This command disables the router’s DHCP server.
ipaddr
IP address of the target router in the format of 4 decimals separated by periods.
Example:
dhcp relay 128.1.210.64
DHCP SET ADDRESSES
This command is used to create or change a pool of IP addresses that are associated with a subnetwork.
first ipaddr
First address in a pool of addresses for a particular subnetwork.
last ipaddr
Last address in a pool of addresses for a particular subnetwork.
Example:
dhcp set addresses 192.168.254.1 192.168.254.250
DHCP SET EXPIRE
This command is used to manually change a client lease expiration time to a certain value.
Note 1:
Changing a client lease time manually is rarely required.
Note 2:
The client information does not get updated. It will still have the old value.
dhcp list lease
dhcp relay <
ipaddr
>
dhcp set addresses <
first ipaddr> <last ipaddr
>