User guide
DHCP Server command reference Dynamic Host Configuration Protocol
5-33
iMG/RG Software Reference Manual (System Administration)
Example --> dhcpserver set subnet sub1 hostisdnsserver enabled
See also DHCPSERVER LIST SUBNETS
5.1.5.1.46 DHCPSERVER SET SUBNET MAXLEASETIME
Syntax DHCPSERVER SET SUBNET {<name>|<number>} MAXLEASETIME <max-
leasetime>
Description This command sets the maximum lease time for an existing subnet. This command setting
overrides the global maximum 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 maxleasetime 70000
See also DHCPSERVER SHOW SUBNET
5.1.5.1.47 DHCPSERVER SET SUBNET SUBNET
Syntax DHCPSERVER SET SUBNET {<name>|<number>} SUBNET <ip address>
<netmask>
Description This command allows you to change the IP address and netmask used by an existing
DHCP server 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).
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
maxleasetime The maximum time (in seconds) that a subnet
assigns to a lease if the client requesting the lease
does not ask for a specific expiry time.
86400