User Guide

Chapter 5. Command Line Interface Reference 193
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.
DHCP SET ADDRESSES
Creates or changes a pool of IP addresses that are associated with a subnetwork.
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 relay
<
ipaddr
>
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
<
first ipaddr> <last ipaddr
>
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
<
ipaddr><hours>|
default|infinite
ipaddr
IP address of the client lease in the format of 4 decimals separated by periods.
hours
Lease time; minimum is 1 hour; the global default is 168 hours.
default Lease time that has been specified at the subnetwork or global level.
infinite No lease time limit; the lease becomes permanent.
Example:
dhcp set expire 192.168.254.18 8