set interface dhcp-client

Configures the DHCP client on a VLAN, to allow the VLAN to obtain its IP interface from a DHCP server.

Syntax: set interface vlan-idip dhcp-client {enable disable}

vlan-idVLAN name or number.

enable Enables the DHCP client on the VLAN.

disable Disables the DHCP client on the VLAN.

Defaults: The DHCP client is disabled by default.

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.

See Also:

clear interface

show dhcp-client

show interface

D-Link DWS-1008 CLI Manual

123

Page 126
Image 126
D-Link dws-1008 manual Set interface dhcp-client