DHCP Server command reference
Dynamic Host Configuration Protocol
5-31
iMG/RG Software Reference Manual (System Administration)
5.1.5.1.43 DHCPSERVER SET SUBNET DEFAULTLEASETIME
Syntax
DHCPSERVER SET SUBNET {<name>|<number>} DEFAULTLEASETIME
<defaultleasetime>
Description
This command sets the default lease time for an existing subnet. This command setting
overrides the global default lease time setting for this particular subnet.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> dhcpserver set subnet sub1 defaultleasetime 30000
See also
DHCPSERVER SHOW SUBNET
5.1.5.1.44 DHCPSERVER SET SUBNET HOSTISDEFAULTGATEWAY
Syntax
DHCPSERVER SET SUBNET <{<name>|<number>} HOSTISDEFAULTGATE-
WAY {ENABLED | DISABLED}
Description
This command tells the DHCP server to give out its own host IP address as the default
gateway address. This is useful when combined with DNS Relay.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option
Description
Default Value
name
An existing subnet. To display subnet names, use the
DHCPSERVER LIST SUBNETS
command.
N/A
number
An existing subnet. To display subnet numbers, use
the
DHCPSERVER LIST SUBNETS
command.
N/A
defaultleasetime
The default time (in seconds) a subnet assigns to a
lease if the client requesting the lease does not ask
for a specific expiry time.
43200