Examples: The following command configures IP interface 10.10.10.10/24 on VLAN default:

DWS-1008#set interface default ip 10.10.10.10/24

success: set ip address 10.10.10.10 netmask 255.255.255.0 on vlan default

The following command configures IP interface 10.10.20.10 255.255.255.0 on VLAN mauve:

DWS-1008#set interface mauve ip 10.10.20.10 255.255.255.0

success: set ip address 10.10.20.10 netmask 255.255.255.0 on vlan mauve

See Also:

clear interface

set interface status

show interface

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 on the DWS-1008.

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

89

Page 92
Image 92
D-Link dws-1008 manual Set interface dhcp-client, DWS-1008#set interface default ip 10.10.10.10/24