Command Manual - Network Protocol
Quidway S3500 Series Ethernet Switches Chapter 6 DHCP Configuration Commands
Huawei Technologies Proprietary
6-2
6.1.2 dhcp select
Syntax
Following is the command for configuring in VLAN interface view how DHCP messages
are handled on the current VLAN interface:
dhcp select { global | interface | relay }
undo dhcp select
Following is the command for configuring in system view how DHCP messages are
handled on multiple VLAN interfaces:
dhcp select { global | interface | relay } { interface vlan-interface vlan_id [ to
vlan-interface vlan_id ] | all }
undo dhcp select { interface vlan-interface vlan_id [ to vlan-interface vlan_id ] | all }
View
VLAN interface view, system view
Parameter
global: Configured to send DHCP messages to the local DHCP server where
addresses are to be allocated from a global address pool.
interface: Configured to send DHCP messages to the local DHCP server where
addresses are to be allocated from the appropriate VLAN interface address pool.
relay: Configured to relay DHCP messages to an external DHCP server where
addresses are to be allocated.
interface vlan-interface vlan_id [ to vlan-interface vlan_id ]: Specifies VLAN
interfaces.
all: All VLAN interfaces.
Description
Using the dhcp select command, you can configure how DHCP messages destined to
the current device are handled. Using the undo dhcp select command, you can
restore the default DHCP message handling method.
By default, DHCP message handling method is global, that is, DHCP messages
destined to the current device are sent to the local DHCP server where addresses are
to be allocated from a global address pool.
Example
# Allocate addresses selected from a global address pool on the local DHCP server to
the clients sending DHCP messages destined to the current device.
[Quidway-Vlan-interface1] dhcp select global