New Feature Manual - DHCP
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 DHCP Server Configuration
Commands
Huawei Technologies Proprietary
1-37
# Configure the dynamically assigned IP address range 192.168.8.0/24 for the global
DHCP address pool 0.
[Quidway] dhcp server ip-pool 0
[Quidway-dhcp-pool-0] network 192.168.8.0 mask 255.255.255.0
1.1.33 option
Syntax
option code
{
ascii
ascii-string
|
hex
hex-string
&<1-10> |
ip-address
ip-address
&<1-8> }
undo option
code
View
DHCP address pool view
Parameter
code
: Customized option number ranging from 2 to 254. Note that this argument
cannot be 3, 6, 15, 44, 46, 50 through 55, 57 through 61, 82, or 217. Use the
dhcp
server voice-config
command and the
dhcp server voice-config interface
command to configure option 184. You cannot configure option 184 by executing the
option
command.
ascii ascii-string
: Specifies a string that is of 1 to 63 characters. Note that each
character of the string needs to be an ASCII character.
hex
hex-string
&<1-10>: Specifies strings, each of which comprises of 1 to 8
hexadecimal digits. The &<1-10> means that you can provide up to 10 such strings.
When entering more than one strings, separate two neighboring strings with a space.
Note that the total number of hexadecimal digits (spaces not included) cannot exceed
64.
ip-address ip-address
&<1-8>: Specifies IP addresses. The &<1-8> string means that
you can provide up to eight IP addresses. When entering more than one IP addresses,
separate two neighboring IP addresses with a space.
Description
Use the
option
command to customize DHCP options for a global DHCP address
pool.
Use the
undo option
command to remove the customized DHCP options.
If you execute the
option
command repeatedly, the new configuration overwrites the
previous one.
Related command:
dhcp server ip-pool
and
dhcp server option
.