Product specifications

Efficient Networks
®
Router family
Technical Reference Guide
Chapter 4: System Management
Efficient Networks
®
Page 4-7
Commands
The following commands are used by network administrators to control lease time.
To set the lease time explicitly for the client lease, use:
-> dhcp set lease <ipaddr> <hours>
To set the lease time explicitly for the subnetwork lease, use:
-> dhcp set lease <net> <hours>
To set the lease time explicitly for the global lease, use:
-> dhcp list lease <hours>
Example 1:
To set the lease time to default for the client 192.168.254.17, enter:
-> dhcp set lease 192.168.254.17 default
Example 2:
To set the subnetwork lease time to infinite for the subnet 192.168.254.0, enter:
-> dhcp set lease 192.168.254.0 infinite
Example 3:
To set the global lease time to 2 hours, enter:
-> dhcp set lease 2
Manually Changing Client Leases
In general, administrators do not need to change client leases manually. However, if
the need arises to do so, the following two commands are used.
CAUTION:
The client will not be aware that the administrator has changed or released a client
lease!
To change the client lease expiration time to a given value, use the following
command:
-> dhcp set expire <ipaddr> <hours>
Setting the expiration time to default will cause the server to compute the lease time
using the algorithm as described in Setting the Lease Time on page 4-6.