When a switch starts up without loading any configuration file, the system sets an active interface
1.
(such as the interface of the default VLAN ) as the DHCP client to request from the DHCP server for
parameters, such as an IP address and name of a TFTP server, and the bootfile name.
After getting related parameters, the DHCP client will send a TFTP request to obtain the
2.
configuration file from the specified TFTP server for system initialization. If the client cannot get
such parameters, it will perform system initialization without loading any configuration file.
Follow these steps to configure the IP address and name of the TFTP server and the bootfile name in the
DHCP address pool:
To do...
Enter system view
Enter DHCP address pool view
Specify the TFTP server
Specify the name of the TFTP server
Specify the bootfile name
Specifying a server's IP address for the DHCP client
Some DHCP clients need to obtain configuration information from a server, such as a TFTP server. You
can specify the IP address of that server in each address pool of the DHCP server. The DHCP server sends
the server's IP address to DHCP clients along with other configuration information.
Follow these steps to specify the IP address of a server:
To do...
Enter system view
Enter DHCP address pool view
Specify the IP address of a server
Configuring self-defined DHCP options
CAUTION:
Be cautious when configuring self-defined DHCP options because such configuration may affect the DHCP
operation process.
By configuring self-defined DHCP options, you can
Define new DHCP options. New configuration options will come out with DHCP development. To
•
support these new options, you can add them into the attribute list of the DHCP server.
•
Define existing DHCP options. Vendors use Option 43 to define options that have no unified
definitions in RFC 2132. The self-defined DHCP option enables DHCP clients to obtain
vendor-specific information.
Use the command...
system-view
dhcp server ip-pool pool-name
[ extended ]
tftp-server ip-address ip-address
tftp-server domain-name domain-name
bootfile-name bootfile-name
Use the command...
system-view
dhcp server ip-pool pool-name
[ extended ]
next-server ip-address
44
Remarks
—
—
Required
Use either command
Not specified by default.
Required
Not specified by default.
Remarks
—
—
Required
Not specified by default.