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-2
dhcp select global { 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 global address pool mode. The interface-type
and interface-number arguments are the type and number of an interface. The to
keyword separates the start and the end of an interface range.
all: Specifies all ports to operate in global address pool mode.
Description
Use the dhcp select global command to configure the specified interface(s) or all
interfaces to operate in global DHCP address pool mode. Upon receiving a DHCP
packet from a DHCP client through an interface operating in global DHCP address pool
mode, the DHCP server chooses an IP address from a global DHCP 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 global DHCP 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 local global DHCP address pools to the DHCP client.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] dhcp select global all
1.1.3 dhcp select interface
Syntax
VLAN interface view:
dhcp select interface
undo dhcp select
System view: