3Com Switch 8800 Configuration Guide
Chapter 13 DHCP Configuration
13-4
13.2.1 Enabling/Disabling DHCP Service
For both DHCP server and DHCP relay, you must enable the DHCP service first before
performing other DHCP configurations. The other related DHCP configurations take
effect only after the DHCP service is enabled.
Perform the following configuration in system view.
Table 13-1
Enable/Disable DHCP service
Operation
Command
Enable DHCP service
dhcp enable
Disable DHCP service
undo dhcp enable
DHCP service is disabled by default.
13.2.2 Configuring Processing Method of DHCP Packets
You can perform the configurations listed in the following tables on your switch. After
that, the switch processes the DHCP packets it received from DHCP clients in the
methods you have configured.
Perform the following configuration in VLAN interface view to configure the processing
method of DHCP packets for current VLAN interface.
Table 13-2
Configure the processing method for current VLN interface
Operation
Command
Specify to forward DHCP packets to
local DHCP server and let the local
server assign IP addresses in global
address pools to DHCP clients
dhcp select
global
Specify to forward DHCP packets to
local DHCP server and let the local
server assign IP addresses in VLAN
interface address pool to DHCP clients
dhcp select
interface
Specify to forward DHCP packets to
remote DHCP servers. In this case, the
current switch operates as a DHCP
relay, and IP addresses are assigned by
DHCP servers located in other networks
dhcp select
relay
Revert to the default processing mode
undo dhcp select
Perform the following configuration in system view to configure the processing method
of DHCP packets for multiple VLAN interfaces.