H3C S7500 Series Ethernet Switches Release 3135 DHCP Configuration Examples
DHCP Configuration Examples
H3C S7500 Series Ethernet Switches Release 3135 Chapter 1 DHCP Functions Overvie
w
1-4
Operation Command Description
interface interface-type
interface-number
dhcp select global
On the current
interface
quit
Configure
the global
address
pool mode
On multiple
interfaces in
system view
dhcp select global
{ interface interface-type
interface-number [ to
interface-type
interface-number ] | all }
Optional
By default, an
interface operates in
the global address
pool mode.
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-2 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