Command Manual – Network Protocol
Quidway S8500 Series Routing Switches
Chapter 4 DHCP Configuration Commands
Huawei Technologies Proprietary
4-2
undo dhcp select
{
interface
vlan-interface
vlan-id
[
to
vlan-interface
vlan-id
] |
all
}
View
VLAN interface view, system view
Parameter
global
: Specifies to forward DHCP packets to local DHCP server and let the local
server assign IP addresses in global address pools to DHCP clients.
interface
: Specifies to forward DHCP packets to local DHCP server and let the local
server assign IP addresses in VLAN interface address pool to DHCP clients.
relay
: Specifies to forward DHCP packets to remote DHCP servers and let remote
servers assign IP addresses to DHCP clients. In this case, the current switch operates
as a DHCP relay.
interface
vlan-interface
vlan-id
[
to
vlan-interface
vlan-id
]: Specifies a VLAN
interface or a range of VLAN interfaces.
all
: Specifies all the VLAN interfaces.
Caution:
The
dhcp select interface
command cannot be used together with the
ip relay
address
or
dhcp relay security address-check enable
command.
Description
Use the
dhcp select
command to specify a method used by the switch to process the
DHCP packets it received. You can use this command in VLAN interface view to specify
a processing method of DHCP packets for current VLAN interface, or in system view to
specify a processing method for multiple VLAN interfaces.
Use the
undo dhcp select
command to revert to the default processing mode of DHCP
packets.
By default, the switch forwards the DHCP packets it received to the local DHCP server
and let the local server assign IP addresses in global address pools to DHCP clients.
(That is, the switch processes the DHCP packets in the
global
method.)
Example
# Specify to forward DHCP packets to the local DHCP server and let the local server
assign IP addresses in global address pools to DHCP clients.
<Quidway> system-view
System View: return to User View with Ctrl+Z.