3com 8807 Guia De Referência

Página de 1099
824
C
HAPTER
 47: DHCP C
ONFIGURATION
 C
OMMANDS
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. 
Otherwise, the ip relay address command or the dhcp relay security 
address-check enable
 command will not take effect.
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.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] interface vlan-interface 1
 
[3Com-Vlan-interface1] dhcp select global 
dhcp server detect
Syntax
dhcp server detect
undo dhcp server detect