User`s manual

407
DWS-1008 User’s Manual
D-Link Systems, Inc.
Appendix C - DHCP Server
The following command enables the DHCP server on VLAN red-vlan to serve addresses
from the 192.168.1.5 to 192.168.1.25 range:
DWS-1008# set interface red-vlan ip dhcp-server enable start 192.168.1.5 stop
192.168.1.25
success: change accepted.
To remove all IP information from a VLAN, including the DHCP client and user-congured
DHCP server, use the following command:
clear interface vlan-id ip
Note: This command clears all IP conguration information from the interface.
Displaying DHCP Server Information
To display information about the MSS DHCP server, use the following command:
show dhcp-server [interface vlan-id] [verbose]
If you enter the command without the interface or verbose option, the command displays a
table of all the IP addresses leased by the server. You can use the interface option to display
addresses leased by a specic VLAN.
If you use the verbose option, conguration and status information is displayed instead.
The following command displays the addresses leased by the DHCP server:
DWS-1008# show dhcp-server
VLAN Name Address MAC Lease Remaining (sec)
-----------------------------------------------------------------------------------------------------------------
1 default 10.10.20.2 00:01:02:03:04:05 12345
1 default 10.10.20.3 00:01:03:04:06:07 2103
2 red-vlan 192.168.1.5 00:01:03:04:06:08 102
2 red-vlan 192.168.1.7 00:01:03:04:06:09 16789
The following command displays conguration and status information for each VLAN on
which the DHCP server is congured:
DWS-1008# show dhcp-server
Interface: 0 (Direct AP)
Status: UP
Address Range: 10.0.0.1-10.0.0.253
Interface: default(1)
Status: UP
Address Range: 10.10.20.2-10.10.20.254