User Guide

194 Chapter 5. Command Line Interface Reference
DHCP SET LEASE
Controls lease time.
DHCP SET OTHERSERVER
This command instructs the router’s DHCP server to either continue or stop sending DHCP requests when another
DHCP server is detected on the LAN. The default is
stop
.
dhcp set lease
[<
net>|<ipaddr
>]
<hours
>|default|infinite
net
IP address of the subnetwork lease in the format of 4 decimals separated by periods.
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 d
efault 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 1:
dhcp set lease 192.168.254.17 default
(sets client lease time to default)
Example 2:
dhcp set lease 192.168.254.0 infinite
(sets lease time to infinite for this subnet)
Example 3:
dhcp set lease 192.168.254.0 infinite
(sets lease time to infinite for this subnet)
dhcp set otherserver
<net
> continue|stop
net
IP address of the subnetwork lease in the format of 4 decimals separated by periods.
continue The routers DHCP server continues sending DHCP requests, even if another DHCP server is
detected on the LAN.
stop The routers DHCP server stops sending DHCP requests when another DHCP server is detected
on the LAN.
Example:
dhcp set otherserver 192.168.254.17 stop