System information

63
DWS-1008 CLI Reference Guide
D-Link Systems, Inc.
IP Services Commands
set interface
Configures an IP interface on a VLAN.
Syntax: set interface vlan-id ip {ip-addr mask | ip-addr/mask-length}
vlan-id VLAN name or number.
ip-addr mask IP address and subnet mask in dotted decimal notation (for
example, 10.10.10.10 255.255.255.0).
ip-addr/mask-length IP address and subnet mask length in CIDR format (for example,
10.10.10.10/24).
Defaults: None Access: Enabled
Usage: You can assign one IP interface to each VLAN. If an interface is already configured
on the VLAN you specify, this command replaces the interface. If you replace an
interface that is in use as the system IP address, replacing the interface can interfere
with system tasks that use the system IP address, including the following:
Topology reporting for dual-homed DWL-8220AP access points
• Default source IP address used in unsolicited communications such as AAA
accounting reports and SNMP traps.
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
set interface dhcp-client
Configures the DHCP client on a VLAN, to allow the VLAN to obtain its IP interface from a
DHCP server.