Configuring self-defined dhcp options – H3C Technologies H3C S10500 Series Switches User Manual
Page 55

44
1.
When a switch starts up without loading any configuration file, the system sets an active interface
(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.
2.
After getting related parameters, the DHCP client will send a TFTP request to obtain the
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…
Use the command…
Remarks
Enter system view
system-view
—
Enter DHCP address pool view
dhcp server ip-pool pool-name
[ extended ]
—
Specify the TFTP server
tftp-server ip-address ip-address
Specify the name of the TFTP server tftp-server domain-name domain-name
Required
Use either command
Not specified by default.
Specify the bootfile name
bootfile-name bootfile-name
Required
Not specified by default.
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…
Use the command…
Remarks
Enter system view
system-view
—
Enter DHCP address pool view
dhcp server ip-pool pool-name
[ extended ]
—
Specify the IP address of a server next-server ip-address
Required
Not specified by default.
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.