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-configured
DHCP server, use the following command:
clear
interface
vlan-id
ip
Note:
This command clears all IP configuration 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 specific VLAN.
If you use the
verbose
option, configuration 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 configuration and status information for each VLAN on
which the DHCP server is configured:
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
Summary of Contents for DWS-1008
Page 1: ......