39-23
Follow these steps to configure the TFTP server and bootfile name for the DHCP client:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type
interface-number
—
Specify the TFTP
server
dhcp server tftp-server ip-address
ip-address
Specify the TFTP
server name
dhcp server tftp-server
domain-name domain-name
Specify the bootfile
name
dhcp server bootfile-name
bootfile-name
Optional
Not specified by
default.
Specify the
IP address
and name of
the TFTP
server and
the bootfile
name in the
current
interface
address pool
Return to system view
quit
—
Specify the TFTP
server
dhcp server tftp-server ip-address
ip-address
{
all
|
interface
interface-type interface-number
}
Specify the TFTP
server name
dhcp server tftp-server
domain-name domain-name
{
all
|
interface interface-type
interface-number
}
Specify the
IP address
and name of
the TFTP
server and
the bootfile
name in the
specified
interface
address pool
Specify the bootfile
name
dhcp server
bootfile-name
bootfile-name
{
all
|
interface
interface-type interface-number
}
Optional
Not specified by
default.
Configuring a Self-Defined DHCP Option
By configuring self-defined DHCP options, you can:
z
Define new DHCP options. New configuration options will come out with DHCP development. To
support new options, you can add them into the attribute list of the DHCP server.
z
Extend existing DHCP options. When the current DHCP options cannot meet customers’
requirements (for example, you cannot use the
dns-list
command to configure more than eight
DNS server addresses), you can configure a self defined option for extension.
Follow these steps to customize the DHCP service:
To do…
Use the command…
Remarks
Enter system view
system-view
—
interface interface-type interface-number
dhcp server option code
{
ascii
ascii-string
|
hex
hex-string
&<1-10> |
ip-address ip-address
&<1-8> }
Configure the
current interface
quit
Configure
customized
options
Configure
multiple
interfaces in
system view
dhcp server option code
{
ascii
ascii-string
|
hex
hex-string
&<1-10> |
ip-address ip-address
&<1-8> } {
interface
interface-type interface-number
[
to
interface-type interface-number
] |
all
}
Required
By default, no
customized
option is
configured.