Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring DHCP Features (Rev. 03)
DHCP Server
© 2008 Foundry Networks, Inc.
Page 23 of 63
Example
Defining the FTP server for the internal DHCP database storage:
device-name
(config)#
service dhcp
device-name
(config-dhcp)#
database ftp 10.12.144.11 username user12
password user123 filename Leases.dat write-delay 75
Setting the Maximal Duration of the Leases
The
max-lease-time
command, in DHCP Server Configuration mode, specifies the maximal
duration of the leases in seconds. The
no
form of the command returns the maximal lease-time to
its default value.
By default, the value is set to 86400 seconds.
Command Syntax
device-name
(config-dhcp)#
max-lease-time
<
value
>
device-name
(config-dhcp)#
no max-lease-time
Argument Description
value
The maximum lease time in seconds. The range is <60-604800> seconds.
Specifying the Pathname of the Boot File
The
option bootfile-name
command, in DHCP Server Configuration mode, specifies the
pathname of the boot file. The
no
form of the command disables the DHCP Option 67.
Command Syntax
device-name
(config-dhcp)#
option
bootfile-name NAME
device-name
(config-dhcp)#
no
option
bootfile-name
Argument Description
NAME
Specifies the name of the boot file.
Defining the IP address of a TFTP server
The
option tftp-server
command, in DHCP Server Configuration mode, specifies the IP address
of a TFTP server. The
no
form of the command disables the DHCP Option 66.
Command Syntax
device-name
(config-dhcp)#
option
tftp-server A.B.C.D
device-name
(config-dhcp)#
no
option
tftp-server
Argument Description
A.B.C.D
Specifies the IP address of the TFTP sever from which the configuration should
be obtained.