H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – DHCP
H3C S7500 Series Ethernet Switches Chapter 1
DHCP Server Configuration Commands
1-3
dhcp select interface { interface interface-type interface-number [ to interface-type
interface-number ] | all }
undo dhcp select { interface interface-type interface-number [ to interface-type
interface-number ] | all }
View
System view, VLAN interface view
Parameters
interface interface-type interface-number [ to interface-type interface-number ]:
Specifies the interface(s) to operate in interface address pool mode.
all: Specifies all interfaces to operate in interface address pool mode.
Description
Use the dhcp select interface command to configure the specified interface(s) to
operate in DHCP interface address pool mode. Upon receiving a DHCP packet from a
DHCP client through an interface operating in interface address pool mode, the DHCP
server chooses an IP address from the interface address pool of the local DHCP server
and assigns the address to the DHCP client.
Use the undo dhcp select command to restore the default DHCP packet processing
mode.
By default, an interface operates in local DHCP server global address pool mode.
Examples
# Configure all interfaces to operate in interface address pool mode, so that when a
DHCP packet is received from a DHCP client through any interface, the DHCP server
assigns an IP address in the local interface address pool to the DHCP client.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] dhcp select interface all
1.1.4 dhcp server detect
Syntax
dhcp server detect
undo dhcp server detect
View
System view