Operation Manual - Network Protocol
Quidway S3500 Series Ethernet Switches Chapter 5 DHCP Configuration
Huawei Technologies Proprietary
5-5
5.2.1 Enable/Disable the DHCP Service
Before you can configure a DHCP server or DHCP relay, you must enable the DHCP
service. Only after the service is enabled can other DHCP configurations take effect.
Perform the following configuration in the system view.
Table 5-1 Enable/Disable the DHCP service
Operation Command
Enable the DHCP service
dhcp enable
Disable the DHCP service
undo dhcp enable
By default, the DHCP service is enabled.
5.2.2 Define DHCP Message Handling Method
The switch handles the received DHCP messages destined to it based on the
configured DHCP message handling method.
Perform the following configuration in VLAN interface view to define how to handle
DHCP messages on the current VLAN interface.
Table 5-2 Define DHCP message handling method on the current VLAN interface
Operation Command
Send DHCP messages to the local DHCP server
where addresses are to be allocated from a global
address pool
dhcp select global
Send DHCP messages to the local DHCP server
where addresses are to be allocated from the
appropriate VLAN interface address pool
dhcp select interface
Relay DHCP messages to an external DHCP server
for address allocation
dhcp select relay
Restore the DHCP message handling method to the
default
undo dhcp select
Perform the following configuration in system view to define how to handle DHCP
messages on multiple VLAN interfaces.
Table 5-3 Configure a DHCP message handling method on multiple VLAN interfaces
Operation Command
Send DHCP messages to the local DHCP
server where addresses are to be allocated
from a global address pool
dhcp select global { interface
vlan-interface vlan_id [ to
vlan-interface vlan_id ] | all }