System information

64
DWS-1008 CLI Reference Guide
D-Link Systems, Inc.
IP Services Commands
set interface dhcp-client (continued)
Syntax: set interface vlan-id ip dhcp-client {enable | disable}
vlan-id VLAN name or number.
enable Enables the DHCP client on the VLAN.
disable Disables the DHCP client on the VLAN.
Defaults: Disabled
Access: Enabled
Usage: You can enable the DHCP client on one VLAN only. You can configure the DHCP
client on more than one VLAN, but the client can be active on only one VLAN.
MSS also has a configurable DHCP server. You can configure a DHCP client and DHCP
server on the same VLAN, but only the client or the server can be enabled. The DHCP client
and DHCP server cannot both be enabled on the same VLAN at the same time.
Examples: The following command enables the DHCP client on VLAN corpvlan:
DWS-1008# set interface corpvlan ip dhcp-client enable
success: change accepted.
set interface dhcp-server
Configures the MSS DHCP server.
Note: Use of the MSS DHCP server to allocate client addresses is intended for temporary,
demonstration deployments and not for production networks. D-Link recommends that you
do not use the MSS DHCP server to allocate client addresses in a production network.
Syntax: set interface vlan-id ip dhcp-server [enable | disable]
[start ip-addr1 stop ip-addr2]
vlan-id VLAN name or number.
enable Enables the DHCP server.
disable Disables the DHCP server.
start ip-addr1 Specifies the beginning address of the address range (also called the
address pool).
stop ip-addr2 Specifies the ending address of the address range.