R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

55
Usage guidelines
Upon startup, the DHCP client obtains an IP address and the specified server IP address. Then it contacts
the specified server, such as a TFTP server, to get other boot information.
If you use the next-server command multiple times, the most recent configuration takes effect.
Examples
# Specify a server's IP address 10.1.1.254 in DHCP address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] next-server 10.1.1.254
Related commands
display dhcp server pool
option
Use option to customize a DHCP option.
Use undo option to remove a customized option.
Syntax
option code { ascii ascii-string | hex hex-string | ip-address ip-address&<1-8> }
undo option code
Default
No DHCP option is customized.
Views
DHCP address pool view
Predefined user roles
network-admin
Parameters
code: Specifies the number of the customized option, in the range of 2 to 254, excluding 12, 50 through
61, and 82.
ascii ascii-string: Specifies an ASCII string of 1 to 255 characters as the option content.
hex hex-string: Specifies a hex string of even numbers from 2 to 256 as the option content.
ip-address ip-address&<1-8>: Specifies the IP addresses as the option content. &<1-8> indicates that you
can specify up to eight IP addresses separated by spaces.
Usage guidelines
The DHCP server fills the customized option with the specified ASCII string, hex string, or IP addresses,
and sends it in a response to the client.
If you use the option command with the same code specified, the most recent configuration takes effect.
You can customize options for the following purposes:
Add newly released options.
Add options for which the vendor defines the contents, for example, Option 43.