DHCP
H3C Low-End Ethernet Switches Configuration Examples
Chapter 1 DHCP Functions Overview
1-5
Operation
Command
Description
Enable the detection of
unauthorized DHCP
servers
dhcp server detect
Required
By default, the
detection of
unauthorized DHCP
servers is disabled.
Set the
maximum
number of
ping
packets
sent by the
DHCP
server for
each IP
address
dhcp server ping packets
number
Optional
The default
maximum number is
2.
Configure
duplicate
IP
address
detection
Set a
response
timeout for
each ping
packet
dhcp server ping timeout
milliseconds
Optional
The default timeout
is 500 milliseconds.
Enable the DHCP
server to support Option
82
dhcp server relay information
enable
Optional
By default, the DHCP
server supports
Option 82.
2) Use the following commands to configure IP address allocation through the
interface address pool.
Table 1-3
Configure IP address allocation through the interface address pool
Operation
Command
Description
Enter system view
system-view
—
Enable the DHCP
service
dhcp enable
Optional
By default, the DHCP
service is enabled.
Configure multiple or all
the VLAN interfaces to
operate in interface
address pool mode
dhcp select
interface
{
interface
interface-type
interface-number
[
to
interface-type
interface-number
] |
all
}
Optional
interface
interface-type
interface-number
Configure a VLAN
interface to operate in
interface address pool
mode
dhcp select
interface
Required
By default, a VLAN
interface operates in
global address pool
mode.