Command Manual – DHCP
H3C S7500E Series Ethernet Switches
Chapter 1 DHCP Server Configuration Commands
1-4
Description
Use the
dhcp select
server
global-pool
command to enable the DHCP server on
specified interface(s). After the interface receives a DHCP request, the DHCP server
will allocate an IP address from the address pool.
Use the
undo dhcp select
server
global-pool subaddress
command to cancel the
support for subaddress allocation.
By default, the DHCP server is enabled on an interface.
Examples
# Enable the DHCP server on VLAN-interface 1.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] dhcp select server global-pool
1.1.5 dhcp server detect
Syntax
dhcp server detect
undo dhcp server detect
View
System view
Parameters
None
Description
Use the
dhcp server detect
command to enable unauthorized DHCP server detection.
Use the
undo dhcp server detect
command to disable the function.
By default, the function is disabled.
Examples
# Enable unauthorized DHCP server detection.
<Sysname> system-view
[Sysname] dhcp server detect
1.1.6 dhcp server forbidden-ip
Syntax
dhcp server forbidden-ip low-ip-address
[
high-ip-address
]