New Feature Manual - DHCP
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 DHCP Server Configuration
Commands
Huawei Technologies Proprietary
1-4
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.
Example
# Enter system view.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
# 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.
[Quidway] dhcp select global all
1.1.4 dhcp select interface
Syntax
VLAN interface view:
dhcp select interface
undo dhcp select
System view:
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 and VLAN interface view
Parameter
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.